In IDS?..SE?.. SQL Server, Oracle, MySQL and others automatically insert new rows into the appropiate location in the datafile to maintain the clustering.
In IDS?..SE?.. SQL Server, Oracle, MySQL and others automatically insert new rows into the
Share
The way Informix handles clustered indexes is by rebuilding the table (and index) so that the data in the table is in the correct physical sequence for the index at the time when the index is created. Thereafter, rows are inserted wherever seems most appropriate, which does not continue to preserve the clustered order. This has been the case since (
Informix-SQL 1.10 in 1985) Informix-SQL 2.10 from 1986 (possibly 2.00; I don’t have a manual for that still) through Informix Dynamic Server 11.70 in 2010.The statement:
is always very quick. The complementary statement:
is often a slow process, involving creating a full new version of the table and the index before dropping the old table and index.
The ISQL 1.10 manual does not have ALTER INDEX; the 2.10 manual does has ALTER INDEX.