Solved

How to free unused space (blanks)

Posted on 2002-06-07
1
350 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
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…

708 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

20 Experts available now in Live!

Get 1:1 Help Now