Solved

informix packing

Posted on 1998-03-01
3
410 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
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
jpk041897 earned 50 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

In today’s complex data management environments, it is not unusual for UNIX servers to be dedicated to a particular department, purpose, or database.  As a result, a SAS® data analyst often works with multiple servers, each with its own data storage…
CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
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…

823 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