Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to free unused space (blanks)

Posted on 2002-06-07
1
Medium Priority
?
387 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
thegroup earned 800 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
In this article, I’ll look at how you can use a backup to start a secondary instance for MongoDB.
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…

721 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