Re: Can you reorg a Table without stopping the DB?
Posted in 1997
>Can anyone tell me if it is possible to do a reorg. on a table within IN >FORMIX without shutting down the database? I.E. keeping it online and >working. Yes. See TFM on ALTER INDEX TO CLUSTER. The database stays online and working. The table, however, is locked in exclusive mode, which may mean your app is not able to do what it would otherwise do. The long answer is TANSTAAFL. (There Ain't No Such Thing As A Free Lunch.) You cannot currently have the engine reorganize an entire table, keep track of the changes to the table during the reorg, and apply those changes to the "new" table. A creative programmer might be able to do all that in the application, though. 'Hope that helps, ______________________________________________________ Clem Akins (aka clema@informix.com) Informix Software, Inc (Standard disclaimers apply) International Technical Support Last seen: Reading 800+ emails accumulated "en conference..."