Database Parameter Tuning Tips


Sybase in the NetWare and Windows Environment

To change the database cache size on the database server on NetWare database server:

  1. Stop the Inventory service. For more information, see Starting and Stopping the Inventory Service.

  2. Close all connections to the Inventory database.

  3. Quit the Sybase server.

  4. Open the mgmtdbs.ncf file in the sys:\system directory.

  5. Modify the -c parameter.

    For example, -c 64M sets the cache size to 64 MB.

  6. Save the file.

  7. On the server console, load the Inventory database. Enter MGMTDBS.

  8. Start the Inventory service. For more information, see Starting and Stopping the Inventory Service.

To change the database cache size on a Windows database server:

  1. Stop the Inventory service. For more information, see Starting and Stopping the Inventory Service.

  2. Stop the Sybase service.

    On Windows 2000/2003, in the Control Panel, double-click Administrative Tools, double-click Services, select Novell Database - Sybase, then click Stop.

  3. On the database server, run the ntdbconfig.exe file from the inventory_database_installation_path\zenworks\database\dbengine directory.

    Ntdbconfig.exe is a ZENworks database configuration utility for the ZENworks database using Sybase on Windows servers. This utility enables you to reconfigure the Sybase service. For the list of parameters recommended by Sybase, see Understanding the Sybase Database Startup Parameters.

  4. Modify the -c parameter.

  5. Click OK.

  6. Restart the Sybase service.

    On Windows 2000/2003, in the Control Panel, double-click Administrative Tools, double-click Services, select Novell Database - Sybase, then click Start.

  7. Stop the Inventory service. For more information, see Starting and Stopping the Inventory Service.

For more information on Performance tips, see Database Parameter Tuning Tips.


Oracle in the Windows Environment


Optimizing the Performance of the Oracle Database

If you have an Inventory database on Oracle, you can improve the performance of the database when you generate the inventory reports or query the database.

You use the database buffer cache to store the most recently used data blocks. The database cache is determined as db_block_buffers * db_block_size. These parameters are specified in the zenworks\database\init.ora file on the database server.

DB_BLOCK_BUFFERS specifies the number of database buffers. DB_BLOCK_SIZE specifies the size of each database buffer in bytes.

The size of each buffer in the buffer cache is equal to the size of the data block.

If there is additional memory, you configure the database cache size by increasing the DB_BLOCK_BUFFERS parameter in the init.ora file. If you run Inventory database on Oracle9i, you can set db_cache_size instead of db_block_buffers * db_block_size

For more information for Performing tips, see Database Parameter Tuning Tips.


MS SQL in the Windows Environment