Solved

How to free unused space (blanks)

Posted on 2002-06-07
1
368 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 is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

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…
As technology users and professionals, we’re always learning. Our universal interest in advancing our knowledge of the trade is unmatched by most industries. It’s a curiosity that makes sense, given the climate of change. Within that, there lies a…
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…

808 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