Home | Previous Page | Next Page   The Database Server > Initializing the Database Server >

Initializing Disk Space

The database server must be in offline mode when you begin initialization.

If you are starting a database server for the first time or you want to remove all dbspaces and their associated data, use the following methods to initialize the disk space and to bring the database server into online mode.

Operating System Action to Bring Database Server into Online Mode
UNIX You must be logged in as informix or root to initialize the database server. Execute oninit -iy.
Windows You must be a member of the Administrators or Power Users group to initialize the database server.
  • The database server runs as a service. In the Services control application, choose the database server service and type -iy in the Startup parameters field. Then click Start.
  • On the command line, use the starts dbservername -iy command.

Warning:
When you execute these commands, all existing data in the database server disk space is destroyed. Use the -i flag only when you are starting a new instance of the database server.

You can use the oninit -s option to initialize shared memory and leave the database server in quiescent mode.

Windows Only

When you install the database server and choose to initialize a new instance of the database server, or when you use the instance manager program to create a new instance of the database server, the database server is initialized for you.

Recommendation: Do not use the oninit -iy command to initialize the database server unless you are diagnosing a problem.

End of Windows Only

For more information about oninit, see the IBM Informix Dynamic Server Administrator's Reference.

For information on using these utilities to initialize the database server and change the database server mode, see Starting the Database Server and Initializing Disk Space.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]