Home | Previous Page | Next Page   Disk, Memory, and Process Management > Table Fragmentation and PDQ > Fragmentation >

Fragmentation Strategies

A fragmentation strategy consists of two parts:

The database server supports the following distribution schemes:

Table Fragmentation

Formulating a fragmentation strategy for a table requires you to make the following decisions:

  1. Decide what your primary fragmentation goal is.

    Your fragmentation goals depend, to a large extent, on the types of applications that access the table.

  2. Decide how the table should be fragmented.

    You must make the following decisions:

  3. Decide on a distribution scheme.
  4. To complete the fragmentation strategy, you must decide on the number and location of the fragments.

For more information on the decisions that you must make to formulate a fragmentation strategy, see the IBM Informix: Database Design and Implementation Guide. For information on optimizing the performance of your fragmentation scheme, refer to your IBM Informix: Performance Guide.

Temporary Table Fragmentation

Just as you fragment permanent tables, you also can fragment an explicit temporary table across multiple disks.

To create a temporary, fragmented table, use the TEMP or SCRATCH keyword of the CREATE TABLE statement.

You can specify what distribution scheme and which dbspaces to use for the temporary table. For more information on the types of temporary tables, refer to Temporary Tables.

You can define your own fragmentation strategy for an explicit temporary table, or you can let the database server dynamically determine the fragmentation strategy. For more information, refer to your IBM Informix: Performance Guide.

Table Index Fragmentation

You can fragment both table data and table indexes. When you create an index, you can:

Fragmenting table data and table indexes can greatly affect performance. For detailed information on fragmenting table data and table indexes, see your IBM Informix: Performance Guide.

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