Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: MicheleMarconPosted on 2008-06-30 at 06:45:18ID: 21899050
Firebird will re-use the space that has become available in the file.
The reason that your file doesn't "shrink", is that files simply cannot shrink, they can only become larger. Whenever some application creates a smaller file, it will re-create the file and remove the old file.
Obviously, for a database, this doesn't make sense. You don't want to delete the database file and re-create a new one, just to free up some disk space. Imagine Firebird doing this every now and then on huge files like 40 or 100 Gb. Instead, it will re-use empty space inside the file.
If you really want to do this, create a new database with the same structure... but I don't think this is what you want.