Solved

informix packing

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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…

861 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now