forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
7.6 KiB
7.6 KiB
Managing Indexes
You can create indexes in a table to search for data efficiently.
After a table is created, you can add indexes to it.
Creating an Index
- Right-click Indexes and choose Create Index from the shortcut menu.
The Create Index dialog box is displayed.
- Enter the details and click Create. You can also view the SQL statement by clicking the Preview Query button. Items in Available Columns are not sorted. Items moved back from Index Columns to Available Columns are unsorted, and is not related to the column order in the table. You can set the order of the Index Columns using the arrow buttons. Data Studio displays the operation status in the status bar.
Setting a Tablespace
Changing a Fill Factor
To change a fill factor, perform the following steps:
Renaming an Index
Follow the steps below to rename an index:
- Right-click the selected index and select Rename Index.
The Rename Index dialog box is displayed.
- Enter a new name and click OK. Data Studio displays the operation status in the status bar.
Deleting an Index
Perform the following steps to delete an index:
- Right-click an index and choose Drop Index from the shortcut menu.
The Drop Index dialog box is displayed.
- In the confirmation dialog box, click OK. Data Studio displays the operation status in the status bar. The index will be deleted from the table.
Parent topic: Creating a Regular Table



