Solved

informix packing

Posted on 1998-03-01
3
417 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
Creating and Managing Databases with phpMyAdmin in cPanel.
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…

840 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