Oracle DDで索引を作成したい(Oracle Database 11g Enterprise Editionリリース11.2.0.4.0 - 64ビット生産) Oracleドキュメントから読んだ問合せのパフォーマンスを向上させるために、パーティション化されたLOB列に索引を作成できます。たとえば:Oracle:パーティション化されたLOB列を含む表に索引を作成する
CREATE INDEX index_name
ON table_name (LOB_column_1, LOB_column_2, ...) LOCAL;
私は
CREATE INDEX fullsearch_description ON T_DESCRIPTION (UPPER(text));
を試みたが、私はエラーました:
エロ
r starting at line : 1 in command -
CREATE INDEX fullsearch_description ON T_DESCRIPTION (UPPER(text))
Error at Command Line : 1 Column : 55
Error report -
SQL Error: ORA-02327: cannot create index on expression with datatype LOB
02327. 00000 - "cannot create index on expression with datatype %s"
*Cause: An attempt was made to create an index on a non-indexable
expression.
*Action: Change the column datatype or do not create the index on an
expression whose datatype is one of VARRAY, nested table, object,
LOB, or REF.