Hello dear IIUG members,
i have a database without shrinking/repacks capabilities.
I have a couple of huge tables with lenghtly records.
I have a couple of dbspace that i could use but with limited space (it won't be a long term solution; and there are IO issues if i put all heavily read/write tables in the same ones)
I use mainly linux command line or dbaccess but i have ServerStudio which is quite cool to visualize things (but i hardly use it to send admin commands to the db and i do not have Sentinel)
But
I must minimize the downtime (especially during that covid period^^)
I can
unload quite some records from the tables and
delete them
but i forgot..
1) will the
space in the extents/new extents will be
available again for the new records i try to insert? (so i won't have to add a new extents)
2) or must i be prepared to
truncate the table (which takes aaaaages to: turn off the db, unload the datas that i wont reload, unload datas that i will reload, load those latter datas (maybe though external table to quick-up this step), rebuild the stats (as auto update statitics doesnt work with complex index so i had to write custom update stats :'(), put the db online in solomode, check if it is working and put it in multiple mode)
3) or must i be prepared to
fragment the table (same issues with the unload/load/stats-index rebuild but i prefer it to the truncate honestly so i can still access all the datas)
4) or do you have any other ideas?
Kr/Bàv/Mvg,
------------------------------
Marc H
------------------------------
#Informix