Subject RE: [firebird-support] initial database filesize / avoiding database file fragmentation
Author Nick
I'd have thought the index rebuild done in the restore was giving you much
more improvement that the fragmentation



--
Nick
-----We Solve your Computer Problems---
Panther, Ingres, UNIX, Interbase, Firebird - Available Shortly

-----Original Message-----
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of demigheldmarco
Sent: 12 August 2005 16:21
To: firebird-support@yahoogroups.com
Subject: [firebird-support] initial database filesize / avoiding database
file fragmentation


hello,

I have the following situation:
- Windows 2003 Server and NTFS
- Firebird 1.5.2 SuperServer Installation
- database size: > 3 GB
- page size: 4096 (default)
- buffers: 32786

I got in trouble with the speed. Checking the OAT/OIT values give
normal results. Then I did a backup/restore and got an acceptable
speed again. Interesting thing was, that the effective database file
size did not change so much. So what was the problem?
I checked the hard disk fragmentaion and found out that my old
database file (before backup/restore cycle) which I renamed, was
fragmented terrible, but the new one was quite not fragmented (as
expected).

Now what I ask for is any good idea to avoid this fragmentation. I
thougth about two possibilities:
1. Running the database file on its own harddisk/partition: problem
on existing systems.
2. Preallocation of diskspace at database creation time to avoid
slowly fragmented growing of the database file. But I foud no
function/parameter to do this.


Thanks for help!

Marco







++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Visit http://firebird.sourceforge.net and click the Resources item
on the main (top) menu. Try Knowledgebase and FAQ links !

Also search the knowledgebases at http://www.ibphoenix.com

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++





SPONSORED LINKS
Technical
<http://groups.yahoo.com/gads?t=ms&k=Technical+support&w1=Technical+support&
w2=Computer+security&w3=Computer+technical+support&w4=Computer+training&w5=F
ree+computer+technical+support&c=5&s=138&.sig=77sbeaNS_CB99ND1NpQ02w>
support Computer
<http://groups.yahoo.com/gads?t=ms&k=Computer+security&w1=Technical+support&
w2=Computer+security&w3=Computer+technical+support&w4=Computer+training&w5=F
ree+computer+technical+support&c=5&s=138&.sig=h-vpfglcVDyMom6ZGRj-AA>
security Computer
<http://groups.yahoo.com/gads?t=ms&k=Computer+technical+support&w1=Technical
+support&w2=Computer+security&w3=Computer+technical+support&w4=Computer+trai
ning&w5=Free+computer+technical+support&c=5&s=138&.sig=0PtYe-giICy1KkECNuG2E
A> technical support
Computer
<http://groups.yahoo.com/gads?t=ms&k=Computer+training&w1=Technical+support&
w2=Computer+security&w3=Computer+technical+support&w4=Computer+training&w5=F
ree+computer+technical+support&c=5&s=138&.sig=psUjUcHSklN7Uvu_cJch-g>
training Free
<http://groups.yahoo.com/gads?t=ms&k=Free+computer+technical+support&w1=Tech
nical+support&w2=Computer+security&w3=Computer+technical+support&w4=Computer
+training&w5=Free+computer+technical+support&c=5&s=138&.sig=isTctikpuewr3b60
7bkoUA> computer technical support

_____

YAHOO! GROUPS LINKS



* Visit your group "firebird-support
<http://groups.yahoo.com/group/firebird-support> " on the web.


* To unsubscribe from this group, send an email to:
firebird-support-unsubscribe@yahoogroups.com
<mailto:firebird-support-unsubscribe@yahoogroups.com?subject=Unsubscribe>


* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .


_____




[Non-text portions of this message have been removed]