Package | Description |
---|---|
com.sleepycat.client |
Modifier and Type | Method and Description |
---|---|
SCompactConfig |
SCompactConfig.setFillPercent(int fillpercent)
Set the desired fill percentage.
|
SCompactConfig |
SCompactConfig.setFreeListOnly(boolean freeListOnly)
Configure whether to skip page compaction, only returning pages to the
filesystem that are already free and at the end of the file.
|
SCompactConfig |
SCompactConfig.setFreeSpace(boolean freeSpace)
Return pages to the filesystem if possible.
|
SCompactConfig |
SCompactConfig.setMaxPages(int maxPages)
Set the maximum number of pages to free.
|
SCompactConfig |
SCompactConfig.setTimeout(int timeout)
Set the lock timeout for implicit transactions.
|
Modifier and Type | Method and Description |
---|---|
SCompactStats |
SDatabase.compact(STransaction txn,
SDatabaseEntry start,
SDatabaseEntry stop,
SDatabaseEntry end,
SCompactConfig config)
Compact a Btree or Recno database or returns unused Btree, Hash or Recno
database pages to the underlying filesystem.
|
Copyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved.