User 0908c5ccdd
26-07-2007 09:13:16
Hi
I'm still not entirely sure about the Index on my Chemistry table. Can the index only be on one column in the table? If I am routinely searching using CD_SMILES strings should I index that column? Or should I index on the CD_STRUCTURE column?
I have an error message currently of:
This may be due to the fact that I had previously created an index on the table (CD_SMILES column) but then renamed the table from JCHEMISTRY to COMPOUNDS.
Can anybody help please? I am now unable to index my COMPOUNDS table.
I'm still not entirely sure about the Index on my Chemistry table. Can the index only be on one column in the table? If I am routinely searching using CD_SMILES strings should I index that column? Or should I index on the CD_STRUCTURE column?
I have an error message currently of:
Code: |
SQL> create index jc_index on compounds(cd_smiles) indextype is jc_idxtype; create index jc_index on compounds(cd_smiles) indextype is jc_idxtype * ERROR at line 1: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-29532: Java call terminated by uncaught Java exception: java.lang.RuntimeException: The index on table 'JCHEM.COMPOUNDS' contains obsolete data. (Current index version: 34, index version for 'JCHEM.COMPOUNDS': -1.) Please recreate the index with the 'regenerateTable' option. ORA-06512: at "JCHEM.JCHEM_CORE_PKG", line 47 ORA-06512: at "JCHEM.JC_IDXTYPE_IM", line 17 |
This may be due to the fact that I had previously created an index on the table (CD_SMILES column) but then renamed the table from JCHEMISTRY to COMPOUNDS.
Can anybody help please? I am now unable to index my COMPOUNDS table.