Solved

How to free unused space (blanks)

Posted on 2002-06-07
1
357 Views
Last Modified: 2013-12-09
Hi all,
My quesion is in 3 parts :

1- I would lik to know if there is another way to get back unused space except than doing a backup/restore on the database ?

2- Is there is a way to do this automatically (i.e. at night)

3- It seems (regarding used disk space) that Interbase server NEVER deletes rows. Do you think that deletes rows are only 'flaged' ? If yes, is there is a way to have a look on those deleted rows (and maybe unflag some of them)?

regards.

EKIM
0
Comment
Question by:EKIM
1 Comment
 
LVL 1

Accepted Solution

by:
thegroup earned 200 total points
ID: 7062313
The mecanism that do that is backup/restore because of garbage collection.
You could try doing a select of all records to force the garbage collection.
The Interbase server reserves a space to work without overhead while inserting records, that space "reserved" remains in that state until a restore reclaims the storage unused by the database.

I don't know the use of flags or some way to "undelete" records.

You could use standard scheduling utilities to backup/restore the database at night.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now