Considerable File Fragmentation for Berkeley DB Database Files
(Doc ID 1332501.1)
Last updated on AUGUST 23, 2018
Applies to:Berkeley DB - Version 4.0.14 to 5.2.28
Information in this document applies to any platform.
***Checked for relevance on 14-Dec-2012***
Berkeley DB database files might become seriously fragmented on disk. This could happen even on Linux/Unix filesystems which are less susceptible of fragmentation.
File fragmentation can be observed using various tools, such as the filefrag command on Linux/Unix. Bellow is a sample output of running filefrag on a Berkeley DB database file, which shows considerable fragmentation:
<BDB_database_name.db>: 62002 extents found, perfection would be 98 extents
This might impact the random reads' performance, as the disk heads have to move intensively through non-contiguous disk space.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document