Reverting from Version 15.0.0

As long as your Version 15.0.0 instance is running in compatibility mode, you can revert to the version of the database server from which you migrated. When you run the reversion utility, you specify the target server for reversion and then Informix® checks your database. If necessary, Informix® might tell you to drop new objects, before automatically converting your data into the target server.

If Informix® cannot revert a database, Informix® prevents reversion.

There are multiple methods of determining whether an instance is in compatibility mode.
  1. Run onstat -
    IBM Informix Dynamic Server Version 15.0.0.0 -- On-Line -- Up 00:00:42 -- 715340 Kbytes
    2024-11-08 14:54:12 -- Infrastructure Version: 0 (Compatibility mode)
    
  2. View the message log
    The server will write messages like the following to the log during startup or a graceful shutdown:
    08:37:23  On-Line Mode
    08:37:23  (Compatibility mode)
    …
    …
    08:46:41  Shutdown Mode
    08:46:43  Quiescent Mode
    08:46:43  (Compatibility mode)
    
  3. Run oncheck -pr
    …
    …
        Database system flags          0x9
            64-bit server                 
            BigChunk page flags are not in use
            Version 1 infrastructure has not been enabled
    …
    …
    
  4. Execute a sysmaster query
    database sysmaster;
    select hex(value) from sysshmhdr where name = "sysflags";
    
    The hexadecimal 8-byte integer returned by that query will not contain 0x1000000 if the instance is in compatibility mode.

Normally, reversion takes only a few minutes.

If you created databases or stored procedures, or altered tables in Version 15.0.0, reversion time is longer, because you must prepare your database and data for reversion. In general the more DDL work you complete in the new version, the more time consuming the reversion. See Preparing to revert before you revert.

If you did not create databases or stored procedures and did not alter tables in Version 15.0.0 and you did not complete much work using the new server, you can run the reversion utility and modify the values of the configuration parameters. See Reverting from Version 15.0.0.