?
Solved

informix packing

Posted on 1998-03-01
3
Medium Priority
?
435 Views
Last Modified: 2008-03-06
I have a huge database in Informix that keeps track of username, date, computer etc... of every plot sent to our plotter.  This database has over 150,000 records in it now.  I removed about 100,000 records but the file size of the database files remained the same.
Is there a pack tool or something like that that will purge the removed records from the database?  Searching is awful slow now!!
0
Comment
Question by:j_k
[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
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
jpk041897 earned 200 total points
ID: 1025997
No there is no such tool perse, Informix is desgined to reuse all  space occupied by deleted records when writting new records.

The only way you can recover the space is to upload the data (using menus backup the data) physicly delete and recreate the table, and then restore the database.

This BTW, also applies to ORACLE, SYBASE, SQLWindows, etc.

The only DB that actualy has a pack function (that I am aware of anyways) is DBASE, and its there because it does not reuse the space.
0
 

Author Comment

by:j_k
ID: 1025998
Can you elaborate on "upload the data (using menus backup the data)".
What menus are you referring to?

0
 
LVL 6

Expert Comment

by:jpk041897
ID: 1025999
Use the Informix admin utilities and store  the DB.

Sorry about the referance to menus, got it mixed up with isql. (Haven't used Infrmix in over a year)


0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

In this article, I’ll look at how you can use a backup to start a secondary instance for MongoDB.
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

752 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