| Computers Forum Index » Computer - Databases - Berkeley » File system fragmentation... |
|
Page 1 of 1 |
|
| Author |
Message |
| Florian Weimer... |
Posted: Thu Jul 17, 2008 12:40 am |
|
|
|
Guest
|
I tested this again after a couple of years, and the behavior doesn't
seem to have changed: If a Berkeley DB database is written using TDS
with a reasonably sized cache, data is written from the cache to the
file system in what a appears to be a random fashion. Apparently, a lot
of holes are created, which are then filled. This degrades file system
performance and makes hot backups somewhat difficult (because the read
performance is a fraction of that what can actually achieved).
Is there still no way to preallocate the contents of B-tree files?
(Without TDS, the problem disappears, it seems to be related TDS or the
cache size.) |
|
|
| Back to top |
|
|
|
| wawawawa... |
Posted: Mon Jul 21, 2008 4:36 am |
|
|
|
Guest
|
post to http://forums.oracle.com/forums/forum.jspa?forumID=271
they have bdb dev taking questions
On Jul 16, 12:40 pm, Florian Weimer <f... at (no spam) deneb.enyo.de> wrote:
Quote: I tested this again after a couple of years, and the behavior doesn't
seem to have changed: If a Berkeley DB database is written using TDS
with a reasonably sized cache, data is written from the cache to the
file system in what a appears to be a random fashion. Apparently, a lot
of holes are created, which are then filled. This degrades file system
performance and makes hot backups somewhat difficult (because the read
performance is a fraction of that what can actually achieved).
Is there still no way to preallocate the contents of B-tree files?
(Without TDS, the problem disappears, it seems to be related TDS or the
cache size.) |
|
|
| Back to top |
|
|
|
| Florian Weimer... |
Posted: Mon Jul 21, 2008 1:33 pm |
|
|
|
Guest
|
* wawawawa:
Some Sleepycat folks used to be around here, too.
Registering for forums is always a bit of a hassle, and they require
tons of informatio$n. |
|
|
| Back to top |
|
|
|
| Florian Weimer... |
Posted: Mon Jul 21, 2008 1:33 pm |
|
|
|
Guest
|
* wawawawa:
Some Sleepycat folks used to be around here, too.
Registering for forums is always a bit of a hassle, and they require
tons of information. |
|
|
| Back to top |
|
|
|
|