Previous Topic: Define SQL Server 2000 Index Storage PropertiesNext Topic: Define Sybase IQ Table Index Properties


Define Sybase Table Index Properties

Use the Sybase Table Index Editor to specify properties for a table index in a physical model.

To define Sybase table index properties

  1. Right-click a table index in the Model Explorer and click Properties.

    The Sybase Table Index Editor opens.

  2. Select the table from the Table drop-down that contains the index that you want to define.
  3. Select the index in the Navigation Grid that you want to define.

    Note: Click New New icon in property editors to create a new object on the toolbar to create a new index. Use the Enter filter text box to filter a very large list of indexes to quickly locate the one that you want to define.

  4. Work with the following options:
    Table

    Displays the table to which the selected table index belongs.

    property editor PREVIOUS icon Previous

    Positions the editor on the previous table index in the Navigation Grid.

    property editor NEXT icon Next

    Positions the editor on the next table index in the Navigation Grid.

    Table Index Editor Toolbar_Index Sort Order Button Sort

    Sorts the table indexes by alphabetic, reverse alphabetic, or index order. You select the method you want using the drop-down menu that opens after you click the Sort button.

    New icon in property editors to create a new object New

    Creates a new table index that becomes the current object in the editor.

    property editor DELETE button Delete

    Deletes the selected table index.

    property editor HELP button Help

    Accesses online help for the editor.

    enter filter text box in a property editor to filter object list

    Lets you enter text to filter a large list of table index objects so you can quickly locate the one that you want.

    Show FK Indexes

    Specifies to display FK (foreign key) indexes in the Navigation Grid.

    Physical Name

    Displays the physical name of the table index.

    Type

    Displays the table index type.

    Is Unique

    Specifies to allow only unique values in the table index. Clear this check box to allow non-unique values.

    Note: This option is unavailable when a primary or foreign key index is selected.

    Physical Only

    Specifies whether to have the index appear in the physical model only. If you want the index to appear in the logical model as a key group, clear the check box.

    Note: This option is unavailable when a primary or foreign key index is selected.

    Generate

    Generates SQL during forward engineering. Clear the check box if you do not want to generate SQL.

  5. Click the General tab and work with the following options:
    DB Owner

    Lets you specify the index owner.

    Clustered

    Specifies whether the index is clustered or nonclustered.

    MAXROWS

    Lets you specify a number to limit the maximum number of rows.

    Sybase Reserve Page Gap

    Lets you specify the ratio of filled pages to empty pages to leave during extent I/O operations. This applies to both tables and indexes.

    Fill Factor

    Lets you enter the percentage to use to indicate how full Sybase should make each index page during index creation.

    Ignore Duplicate Keys

    Specifies to include the WITH IGNORE_DUP_KEY clause in the CREATE INDEX clause when it generates the schema.

    Sorted Data

    Specifies to utilize sorted_data. This option speeds the creation of clustered indexes or unique non-clustered indexes when the data in the table is already in sorted order.

    Duplicate Row

    Lets you select whether to allow duplicate rows in non-unique clustered indexes.

    Sybase Segment

    Lets you select a segment in which to store the table that contains the selected index. Click New New icon in property editors to create a new object on the Sybase Segment drop-down to add a new segment or click the Sybase Segment Editor Button button to open the Sybase Segment Editor to work with an existing segment.

  6. Click the Members tab to specify the columns to place into the index. You can also include non-key columns in the index; these columns are not part of the index but are stored along with the index columns in the index data area for fast retrieval. This optimizes retrieval speed because a read of this column is satisfied from the index data area, without accessing the row from the row data area.
  7. (Optional) Click the Where Used tab to view where the index is used within the model.
  8. (Optional) Click the Comment tab and enter any comments that you want to associate with the table index.
  9. (Optional) Click the UDP tab to work with user-defined properties for the table index.
  10. (Optional) Click the Notes tab to view or enter notes that you want to associate with the table index.
  11. Click Close.

    The table index is defined and the Sybase Table Index Editor closes.

More information:

Define Sybase Segments