20 May 2009

oninit in Informix

oninit

The command is to start up the Informix database, in case it is in shut down mode.

oninit -iy

Take not that oninit -iy will clear all of the existing data in your Informix database. This is called "disk space initialisation".

It uses the values that are stored in the onconfig file to create the initial space on disk for storing data.

When you initialize disk space, the database server automatically initializes shared memory as part of the process.

When you initialize disk space, you overwrite whatever is on that disk space.

If you re-initialize disk space for an existing database server, all of the data in the earlier database server becomes inaccessible and destroyed.

No comments: