dbTalk Databases Forums  

File system fragmentation

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss File system fragmentation in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Florian Weimer
 
Posts: n/a

Default File system fragmentation - 07-16-2008 , 02:40 PM






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.)

Reply With Quote
  #2  
Old   
wawawawa
 
Posts: n/a

Default Re: File system fragmentation - 07-20-2008 , 11:36 PM






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) deneb (DOT) 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.)


Reply With Quote
  #3  
Old   
wawawawa
 
Posts: n/a

Default Re: File system fragmentation - 07-20-2008 , 11:36 PM



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) deneb (DOT) 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.)


Reply With Quote
  #4  
Old   
wawawawa
 
Posts: n/a

Default Re: File system fragmentation - 07-20-2008 , 11:36 PM



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) deneb (DOT) 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.)


Reply With Quote
  #5  
Old   
Florian Weimer
 
Posts: n/a

Default Re: File system fragmentation - 07-21-2008 , 03:33 AM



* wawawawa:

Quote:
post to http://forums.oracle.com/forums/forum.jspa?forumID=271
they have bdb dev taking questions
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.


Reply With Quote
  #6  
Old   
Florian Weimer
 
Posts: n/a

Default Re: File system fragmentation - 07-21-2008 , 03:33 AM



* wawawawa:

Quote:
post to http://forums.oracle.com/forums/forum.jspa?forumID=271
they have bdb dev taking questions
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.


Reply With Quote
  #7  
Old   
Florian Weimer
 
Posts: n/a

Default Re: File system fragmentation - 07-21-2008 , 03:33 AM



* wawawawa:

Quote:
post to http://forums.oracle.com/forums/forum.jspa?forumID=271
they have bdb dev taking questions
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.


Reply With Quote
  #8  
Old   
Florian Weimer
 
Posts: n/a

Default Re: File system fragmentation - 07-21-2008 , 03:33 AM



* wawawawa:

Quote:
post to http://forums.oracle.com/forums/forum.jspa?forumID=271
they have bdb dev taking questions
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.


Reply With Quote
  #9  
Old   
Florian Weimer
 
Posts: n/a

Default Re: File system fragmentation - 07-21-2008 , 03:33 AM



* wawawawa:

Quote:
post to http://forums.oracle.com/forums/forum.jspa?forumID=271
they have bdb dev taking questions
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.


Reply With Quote
  #10  
Old   
Florian Weimer
 
Posts: n/a

Default Re: File system fragmentation - 07-21-2008 , 03:33 AM



* wawawawa:

Quote:
post to http://forums.oracle.com/forums/forum.jspa?forumID=271
they have bdb dev taking questions
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.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.