/
Index for log table
Index for log table
Create Index
Create an index on a specific column using the CREATE INDEX statement.
CREATE INDEX index_name ON table_name (column_name) [index_type] [tablespace] [index_prop_list] index_type ::= INDEX_TYPE { LSM | KEYWORD } tablespace ::= TABLESPACE tablesapce_name index_prop_list ::= value_pair, value_pair, ... value_pair ::= property_name = property_value
Mach> CREATE INDEX id_index ON log_data(id) INDEX_TYPE LSM TABLESPACE tbs_data MAX_LEVEL=3; Created successfully.
Change Index
Change the index attribute using the ALTER INDEX statement.
ALTER INDEX index_name SET KEY_COMPRESS = { 0 | 1 }
Mach> ALTER INDEX id_index SET KEY_COMPRESS = 1;
Delete Index
Delete the specified index using the DROP INDEX statement. However, if there is another session in which the table is being searched, it will fail with an error.
DROP INDEX index_name;
Mach> DROP INDEX id_index; Dropped successfully.
Related content
Index for log table
Index for log table
More like this
Index for log table
Index for log table
More like this
로그 인덱스 생성 및 관리
로그 인덱스 생성 및 관리
More like this
로그 인덱스 생성 및 관리
로그 인덱스 생성 및 관리
More like this
로그 인덱스 생성 및 관리
로그 인덱스 생성 및 관리
More like this
Creating and Managing Log Table
Creating and Managing Log Table
More like this