Create index intermittent deadlock problem

Hi. Apologies but I'm a newbie to Oracle Text. I have a batch process which occasionally (twice so far) falls over with:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-50857: oracle error in drekmap (lob write)
ORA-00060: deadlock detected while waiting for resource
ORA-06512: at "CTXSYS.DRUE", line 157
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 204
This is when trying to create a multi_column index defined as
BEGIN
CTX_DDL.CREATE_PREFERENCE('mikec_test', 'MULTI_COLUMN_DATASTORE');
CTX_DDL.SET_ATTRIBUTE ('mikec_test', 'columns',
'title, result_text, location, origin, inc_details');
END;
The create index is:
CREATE INDEX schema.idx_freetext_new
ON schema.freetext_search_new(title)
INDEXTYPE IS CTXSYS.CONTEXT
PARAMETERS ('datastore ctxsys.mikec_test');
Most of the time the above works fine. I'm using Oracle 9.2.0.4 on a SunOS 5.8 machine. Could anyone please give me a hint how/where to start tracking this deadlock down? Should I specify tablespace storage for the i/k/n/r thingummies? Is it something I need to get a patch for? Oracle 10/11?
Many thanks.

Starting places:
select * from ctxsys.ctx_index_errors;
check your alert log
turn tracing on and check trace file
search metalink for drekmap

Similar Messages

  • Problem in create index on file system repository

    I want to create an index on file system repository,but have some problem. 
    1) create a windows filesystem repository
    2) I can found the repository entry in KM content
    3) go into "index administration" and create index,but I can not found the entry when I pressed "add" button on datasources page

    hello Karsten
    thanks for your consideration.
    After create a Windows file system Repository,I create the index as the fowllowing step.
    1) go to the page System Administration=>Knowledge Managment=>Index Administration and click Create button for creating index, then a form appeared.
    2) fill in the for specified value, then press Create Index button to create index
    3) click on DataSource link, in the Datasource Tab, click the Add button, then I could see all of folders on the screen( such as documents,calendar,etc), but I can not found the Windows File system Entry that just I created.
    I can not create a index for the Windows File System
    what is the wrong with it?
    thanks

  • Problems with creating index

    I have over 1500MB free in tablespace
    I use for indexes. When I attempt to create
    index which should have about 300MB
    it ends with error ORA-01652
    unable to extend temp segment in tablespace
    where my indexes reside.
    Why Oracle needs so much space to create an index,
    is there any way to do it without increasing
    the size of tablespace?

    Oracle needs no extra space in the tablespace beyond what is required to hold the index (INITIAL plus any additional extents allocated). My guess would be that you do not have a large enough contiginous chunk of free space to hold an additional extent.
    If your tablespace is dictionary managed, look at the INITIAL, NEXT and PCTINCREASE parameters of your CREATE INDEX statement (or the tablespace defaults if you are not supplying them). Compare these to the sizes of the free space chunks in your index tablespace.
    SELECT file_id, block_id, blocks, bytes
    FROM dba_free_space
    WHERE tablespace_name = 'YOUR_INDEX_TBS'
    ORDER BY blocks DESCcompare the sizes of the first few rows here with the sizes of INITIAL and NEXT.
    HTH
    John

  • Problems on Creating INDEX for ORDSYS.ORDDOC type

    I have a table 'docs'
    CREATE TABLE "TEST"."DOCS"
    ("ID" VARCHAR2(2048 byte) NOT NULL,
    "DOCUMENT" "ORDSYS"."ORDDOC",
    "DUMMY" CHAR(1 byte) NOT NULL)
    The field DOCUMENT contains a number of documents a mixture of .doc and .pdf files. These where uploaded using the code wizards for the web toolkit. Now I want to INDEX DOCUMENT so I can implement a web search facility.
    I'm currently following the xamples on http://download-west.oracle.com/otndoc/oracle9i/901_doc/text.901/a90121/cdatadi3.htm#43365 NESTED_DATASTORE Example (Intermedia Documentation)
    I did this
    ctx_ddl.create_preference('ntds','nested_datastore');
    ctx_ddl.set_attribute('ntds','nested_column', 'dummy');
    ctx_ddl.set_attribute('ntds','nested_type', 'ordsys.orddoc');
    ctx_ddl.set_attribute('ntds','nested_lineno','source');
    ctx_ddl.set_attribute('ntds','nested_text', 'comments');
    when creating the index using ntds it is complaining about ordsys.orddoc
    create index docindx on docs(dummy) indextype is ctxsys.context parameters('data
    store ntds')
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-50857: oracle error in dricon.get_type_data_type
    ORA-20000: Oracle Text error:
    DRG-12801: invalid type: ORDSYS.ORDDOC
    ORA-06512: at "CTXSYS.DRUE", line 157
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 176
    I'm not convince on the 'nested_lineno' parameter can anybody tell me how this can be done.

    I'm forced to use ordsys.orddoc since 'interMedia Code Wizard for the PL/SQL Gateway' won't generate the code for a clob it only recognizes intermedia objects.
    since orddoc.comments is a clob I cannot see why there shouldn't be a way to index it. What's the use of storing documents in ORDDOC when you can't search them??

  • Problem while creating index for temporary table...

    Hi,
    i have created index for a temporary table and this script should used by multiusers.So when second user connecting to it is giving index i mean object already exists.
    So what i need is when the second user connected the script should create one more index on temporary table.Will sql server provide any random way of creating indexes if the index exists already with that name??
    Thank You,

    Nope..
    SQL Server is cleaver enough to handel this situation.
    When you create a index or constraint on the Temp Table, eventhough the index name is duplicate it will allow.
    But it only possible on temp tables (prefixed with single #).
    To Test this,
    Open Two window,
    Execute the below window on the opened 2 window..
    create table #test
                id int
    Insert Into #test values(1);
    Insert Into #test values(2);
    Create clustered index testindex on #test(id)
    Now you wont get any error on any of the window. Rite?
    To fetch the created index details, execute the below code on any one of the window..
    select * from sysindexes where name like '%test%'
    Now you can see the 2 rows with same indexname but refereing with different table. Yes. all the temp tables (#) will be suffixed with unique number to avoid the object already found error while multiple users connects.
     

  • Problem creating index on global temporary table

    Running Oracle DB Oracle9i Release 9.2.0.7.0.
    I'm trying to create 3 indexes on a temporary table, the first index creates fine but the other remaining 2 result in the following error:
    ERROR at line 1: ORA-00600: internal error code, arguments: [kftts2bz_many_files], [0], [20], [], [], [], [], []
    Have tried searching with not much success, any pointers, tips, hints would be appreciated, below is the table and the indexes:-
    create global temporary TABLE contacts (
    ID VARCHAR2(20) NOT NULL,
    DOB VARCHAR2(8),
    HH_LASTNAME VARCHAR2(90),
    PERSON VARCHAR2(10) NOT NULL,
    CONT_JOB VARCHAR2(90) NOT NULL,
    SOURCE VARCHAR2(8) NOT NULL,
    ADS VARCHAR2(8) NOT NULL,
    CONT VARCHAR2(8) NOT NULL,
    SRCPERSONID VARCHAR2(15),
    FIRSTNAME VARCHAR2(90),
    MIDDLENAME VARCHAR2(90),
    LASTNAME VARCHAR2(90),
    FULLNAME VARCHAR2(90),
    TITLE VARCHAR2(50),
    SALUTATION VARCHAR2(90),
    ) on commit delete rows;
    create index i_contact_1 on contacts(dob, soundex(hh_lastname ));
    create index i_contact_pk on contacts(id, person, cont_job, source, ads, cont);
    create index i_contact_2 on contacts(srcpersonid, source);

    Bug 3238525 - Upgrade from 9.0 can leave corruptdata for global temporary table indices
    ORA-600 [kftts2bz_many_files]
         Doc ID:      285592.1

  • Error while creating index on  ep 6.0 9 sr1   (trex 6.1).

    Hell o all,
        I am getting following error while creating index on  ep 6.0 9 sr1   (trex 6.1).
    Index could not be created; creating index failed: general configuration error (Errorcode 2030)
    can any on ehelp.
    thanks and regards
    Rajendra

    Hi,
    We are running TREX 6.1.09.00 on EP6.0.9.0.0 and KMC6.0.9.0.0.
    We are experiencing the same problems, even after changing the value in the .ini file as specified in NOTE 766197.
    After doing changes, I restarted the server after doing the changes.
    Alessandro, have you got any ideas for fixing this?
    Message was edited by: Bjorn Bjornstad

  • Configuration error while creating index in KM

    Hi KM Expets,
    I am getting the following error while creating a new index via System Adminstration > System Configuration > Knowledge Management > Index Adminstration.
    Index could not be created; creating index failed: Invalid entry in configuration: section nameserver, key address, value tcpip://<nameserverhost>:<nameserverport> is invalid (Errorcode 7213)
    I guess all the field values filled by me are correct, so not able to get the problem.
    Any suggestions/help ?
    Regards,
    Saurabh

    HI
    check this links:
    https://www.sdn.sap.com/irj/sdn/thread?messageID=551325
    https://forums.sdn.sap.com/thread.jspa?threadID=953575&messageID=5752406#5752406
    Hope this may help you.
    Thanks
    Hussain.

  • How to create index on a xmltype column stored as CLOB

    actually i have two problems.
    i uploaded this schemaA.xsd file into xmldb repository without problems. registration also went ok.
    BEGIN
    DBMS_XMLSCHEMA.registerSchema(
    schemaURL => 'http://xmlns.example.com/xdb/documentation/schemaA.xsd'
    ,schemaDoc => sys.UriFactory.getUri('/home/dev/schemaA.xsd')
    ,local => TRUE
    ,genBean => false
    ,genTypes => TRUE
    ,genTables => false
    ,enableHierarchy => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    END;
    then i run this:
    create table pf_table_a(
         id VARCHAR2(100) primary key,
         xsd VARCHAR2(3000),
    xml_document XMLType
    ) XMLTYPE COLUMN xml_document
    STORE AS CLOB
    XMLSCHEMA "http://xmlns.example.com/xdb/documentation/schemaA.xsd"
    ELEMENT "order";
    and got this error:
    SQL> @d:\usr\dev\perftest\create_tables.sql
    Table created.
    create table pf_table_a(
    ERROR at line 1:
    ORA-00955: name is already used by an existing object
    anyway the table was created. so i went on to create indexes.
    SQL> create index pf_a_index on pf_table_a(extractValue(OBJECT_VALUE, '/order@or
    derNo'));
    create index pf_a_index on pf_table_a(extractValue(OBJECT_VALUE, '/order@orderNo
    ERROR at line 1:
    ORA-04063: table "BAUSER1.PF_TABLE_A" has errors
    this of course is wrong. because the command is for creating index of a XMLTYPE table. no a column. but what is the correct command? thanks.
    jack.

    actually i have two problems.
    i uploaded this schemaA.xsd file into xmldb repository without problems. registration also went ok.
    BEGIN
    DBMS_XMLSCHEMA.registerSchema(
    schemaURL => 'http://xmlns.example.com/xdb/documentation/schemaA.xsd'
    ,schemaDoc => sys.UriFactory.getUri('/home/dev/schemaA.xsd')
    ,local => TRUE
    ,genBean => false
    ,genTypes => TRUE
    ,genTables => false
    ,enableHierarchy => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    END;
    then i run this:
    create table pf_table_a(
         id VARCHAR2(100) primary key,
         xsd VARCHAR2(3000),
    xml_document XMLType
    ) XMLTYPE COLUMN xml_document
    STORE AS CLOB
    XMLSCHEMA "http://xmlns.example.com/xdb/documentation/schemaA.xsd"
    ELEMENT "order";
    and got this error:
    SQL> @d:\usr\dev\perftest\create_tables.sql
    Table created.
    create table pf_table_a(
    ERROR at line 1:
    ORA-00955: name is already used by an existing object
    anyway the table was created. so i went on to create indexes.
    SQL> create index pf_a_index on pf_table_a(extractValue(OBJECT_VALUE, '/order@or
    derNo'));
    create index pf_a_index on pf_table_a(extractValue(OBJECT_VALUE, '/order@orderNo
    ERROR at line 1:
    ORA-04063: table "BAUSER1.PF_TABLE_A" has errors
    this of course is wrong. because the command is for creating index of a XMLTYPE table. no a column. but what is the correct command? thanks.
    jack.

  • How can I create index(uniqie index) for a existed table?

    Hi guys,
    I want to create a index for a existed table, it should be unique index. I did it using se11, "indexes," and select the radio button "unqiue index", of course the fields as well. But when I activate it, I get a waring and therefore can not create this index. But if I select radio button "non-uniqe index", it works.
    However I have to reate a unqiue index.
    How can I do it?
    Thanks in advance
    Regards,
    Liying

    HI Wang
    You can create your index via SE11, enter the table name, click change, choose Go To, Indexes. Here create your index with the key fields that you want. To use the index, your select statement WHERE clause, you must have the key fields of the index in the order that they appear in the index. The "optimizer" will choose the index depending on your fields of the WHERE clause.
    One thing to remember is that when you create indexes for tables, the update or insert of these tables may have a slower response then before, I for one have never seen a big problem as of yet.
    this Document may help u on primary and secondary indexes :
    http://jdc.joy.com/helpdata/EN/cf/21eb20446011d189700000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb47446011d189700000e8322d00/content.htm
    If it helps Reward the points
    Regards,
    Rk
    Message was edited by:
            Rk Pasupuleti

  • Unable to create index FND_CONCURRENT_REQUESTS_N2

    Hi
    We are on 10g
    I tried rebuilding the index FND_CONCURRENT_REQUESTS_N2 initially and it errored as shown below:
    SQL> ALTER INDEX FND_CONCURRENT_REQUESTS_N2 REBUILD;
    ALTER INDEX FND_CONCURRENT_REQUESTS_N2 REBUILD
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [13004], [], [], [], [], [], [], []
    SQL>
    Then I droped that index and tried to recreate it, but still erroring as shown below:
    SQL> drop index APPLSYS.FND_CONCURRENT_REQUESTS_N2;
    Index dropped.
    SQL> create index FND_CONCURRENT_REQUESTS_N2
    2 on APPLSYS.FND_CONCURRENT_REQUESTS
    3 (status_code);
    on APPLSYS.FND_CONCURRENT_REQUESTS
    ERROR at line 2:
    ORA-00600: internal error code, arguments: [13004], [], [], [], [], [], [], []
    SQL>
    Can someone help me about this problem.
    Prashanthi

    [email protected] wrote:
    ERROR at line 2:
    ORA-00600: internal error code, arguments: [13004], [], [], [], [], [], [], []
    Can someone help me about this problem.Sure.
    Since it's an ORA-00600, which indicates an internal error inside the database software, the proper steps to resolve this problem are
    1) log on to Oracle Support and
    2) Use the ORa-600 tool to determine ifthis is a known problem, taking the action recommended if it is; and
    3) Open a Service Request with Oracle
    Anything less than that, and you risk corrupting your database. Hope you are taking (usable) backups.

  • How to create index - Fuzzy Matching and Stemming

    Hi,
    I have a problem with creating and index for fuzzy matching and stemming with my expect behavious
    I Have table customer and column sortname. This table ussally contains values in format: "Surname, FirstName"
    "Lenox, Carl"
    "Svensson, Max"
    "Hamlberg, Ulf"
    etc...
    1. Previously I have index created like this:
    CREATE INDEX IX_CUST_TMP_CTXSORTNAME ON CUSTOMER (SORTNAME) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS ('SYNC(ON COMMIT)');
    If I run:
    select * from CUSTOMER where contains(sortname,'Hamlberg') > 0; -- "Hamlberg, Ulf" is returned - OK
    select * from CUSTOMER where contains(sortname,'Ulf') > 0; -- "Hamlberg, Ulf" is returned - OK
    2. I drop the index and create new one for fuzzy matching and stemming
    --NOTE: something is commented out, but I try to run pretty much all the possible varations 
    exec ctx_ddl.create_preference('MYYY_SWEDISH_LEXER', 'BASIC_LEXER');
    --exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'printjoins', '_-');
    --exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'skipjoins', ',');
    exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'index_themes', 'NO');
    exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'index_text', 'YES');
    exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'index_stems', 'SWEDISH');
    exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'alternate_spelling', 'SWEDISH');
    exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'base_letter', 'YES');
    exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'base_letter_type', 'GENERIC');
    exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'override_base_letter', 'TRUE');
    --exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'whitespace', ',');
    exec ctx_ddl.create_preference('MYYY_SWEDISH_FUZZY_PREF', 'BASIC_WORDLIST');
    exec ctx_ddl.set_attribute('MYYY_SWEDISH_FUZZY_PREF','FUZZY_MATCH','AUTO');
    exec ctx_ddl.set_attribute('MYYY_SWEDISH_FUZZY_PREF','FUZZY_SCORE','60');
    exec ctx_ddl.set_attribute('MYYY_SWEDISH_FUZZY_PREF','FUZZY_NUMRESULTS','100');
    exec ctx_ddl.set_attribute('MYYY_SWEDISH_FUZZY_PREF','SUBSTRING_INDEX','TRUE');
    exec ctx_ddl.set_attribute('MYYY_SWEDISH_FUZZY_PREF','STEMMER','AUTO');
    create index IX_CUST_TMP_CTXSORTNAME on CUSTOMER (sortname) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS ('LEXER MYYY_SWEDISH_LEXER Wordlist MYYY_SWEDISH_FUZZY_PREF SYNC(ON COMMIT)');
    If I run:
    select * from CUSTOMER where contains(sortname,'Hamlberg') > 0; -- "Hamlberg, Ulf" is returned - OK
    select * from CUSTOMER where contains(sortname,'Ulf') > 0; -- "Hamlberg, Ulf" is returned - NOT OK - Why it is not returned ??
    3. Then I want to use fuzzy for searching names:
    a. SELECT score(1), sortname FROM CUSTOMER where CONTAINS(sortname, 'fuzzy({Hamlberg}, 50, 10, weight)',1) > 0; - it should return "Hamlberg, Ulf"
    b. SELECT score(1), sortname FROM CUSTOMER where CONTAINS(sortname, 'fuzzy({Ulf}, 50, 10, weight)',1) > 0; - it should return "Hamlberg, Ulf"
    c. SELECT score(1), sortname FROM CUSTOMER where CONTAINS(sortname, 'fuzzy({Hamlberg Ulf}, 50, 10, weight)',1) > 0; - it should return "Hamlberg, Ulf"
    d. SELECT score(1), sortname FROM CUSTOMER where CONTAINS(sortname, 'fuzzy({Hamlberg, Ulf}, 50, 10, weight)',1) > 0; - it should return "Hamlberg, Ulf"
    Is it possible to do that somehow ?
    Thx for answers.
    Edited by: 906314 on 7.3.2012 4:01

    It works fine for me:
    SQL> create table customer (sortname varchar2(40));
    Table created.
    SQL> insert into customer values ('Lenox, Carl');
    1 row created.
    SQL> insert into customer values ('Svensson, Max');
    1 row created.
    SQL> insert into customer values ('Hamlberg, Ulf');
    1 row created.
    SQL> exec ctx_ddl.create_preference('MYYY_SWEDISH_LEXER', 'BASIC_LEXER');
    PL/SQL procedure successfully completed.
    SQL> --exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'printjoins', '_-');
    SQL> --exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'skipjoins', ',');
    SQL> exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'index_themes', 'NO');
    PL/SQL procedure successfully completed.
    SQL> exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'index_text', 'YES');
    PL/SQL procedure successfully completed.
    SQL> exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'index_stems', 'SWEDISH');
    PL/SQL procedure successfully completed.
    SQL> exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'alternate_spelling', 'SWEDISH');
    PL/SQL procedure successfully completed.
    SQL> exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'base_letter', 'YES');
    PL/SQL procedure successfully completed.
    SQL> exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'base_letter_type', 'GENERIC');
    PL/SQL procedure successfully completed.
    SQL> exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'override_base_letter', 'TRUE');
    PL/SQL procedure successfully completed.
    SQL> --exec ctx_ddl.set_attribute('MYYY_SWEDISH_LEXER', 'whitespace', ',');
    SQL>
    SQL> exec ctx_ddl.create_preference('MYYY_SWEDISH_FUZZY_PREF', 'BASIC_WORDLIST');
    PL/SQL procedure successfully completed.
    SQL> exec ctx_ddl.set_attribute('MYYY_SWEDISH_FUZZY_PREF','FUZZY_MATCH','AUTO');
    PL/SQL procedure successfully completed.
    SQL> exec ctx_ddl.set_attribute('MYYY_SWEDISH_FUZZY_PREF','FUZZY_SCORE','60');
    PL/SQL procedure successfully completed.
    SQL> exec ctx_ddl.set_attribute('MYYY_SWEDISH_FUZZY_PREF','FUZZY_NUMRESULTS','100');
    PL/SQL procedure successfully completed.
    SQL> exec ctx_ddl.set_attribute('MYYY_SWEDISH_FUZZY_PREF','SUBSTRING_INDEX','TRUE');
    PL/SQL procedure successfully completed.
    SQL> exec ctx_ddl.set_attribute('MYYY_SWEDISH_FUZZY_PREF','STEMMER','AUTO');
    PL/SQL procedure successfully completed.
    SQL>
    SQL> create index IX_CUST_TMP_CTXSORTNAME on CUSTOMER (sortname) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS ('LEXER MYYY_SWEDISH_LEXER Wordlist
    MYYY_SWEDISH_FUZZY_PREF SYNC(ON COMMIT)');
    Index created.
    SQL> select * from CUSTOMER where contains(sortname,'Hamlberg') > 0;
    SORTNAME
    Hamlberg, Ulf
    SQL> select * from CUSTOMER where contains(sortname,'Ulf') > 0;
    SORTNAME
    Hamlberg, Ulf
    SQL> SELECT score(1), sortname FROM CUSTOMER where CONTAINS(sortname, 'fuzzy({Hamlberg}, 50, 10, weight)',1) > 0;
      SCORE(1) SORTNAME
            44 Hamlberg, Ulf
    SQL> SELECT score(1), sortname FROM CUSTOMER where CONTAINS(sortname, 'fuzzy({Ulf}, 50, 10, weight)',1) > 0;
      SCORE(1) SORTNAME
            44 Hamlberg, Ulf
    SQL> SELECT score(1), sortname FROM CUSTOMER where CONTAINS(sortname, 'fuzzy({Hamlberg Ulf}, 50, 10, weight)',1) > 0;
      SCORE(1) SORTNAME
            44 Hamlberg, Ulf
    SQL> SELECT score(1), sortname FROM CUSTOMER where CONTAINS(sortname, 'fuzzy({Hamlberg, Ulf}, 50, 10, weight)',1) > 0;
      SCORE(1) SORTNAME
            44 Hamlberg, UlfIs this different from what you see? If so, please show a complete session (as I have) so we can check you're not doing anything wrong.
    I don't understand your:
    select * from CUSTOMER where contains(sortname,'Ulf') > 0; -- "Hamlberg, Ulf" is returned - NOT OK - Why it is not returned ??
    Do you mean "why is it returned?" It's because the "contains" operator matches any word in the original text. That's the whole point of it.

  • Can I create index on Materialized view log

    Hello
    The ADDM suggest me to create index on some fields of my materialized view log , I don't know does it cause any problem ? Is it safe ? have you done it before ?
    thanks

    Actually you can do it since materialized view log is in fact a table.
    SQL> create table t(x int primary key);
    Table created.
    SQL> create materialized view log  on t;
    Materialized view log created.
    SQL> select segment_name, segment_type from user_segments;
    SEGMENT_NAME
    SEGMENT_TYPE
    MLOG$_T
    TABLE
    T
    TABLE
    SYS_C004857
    INDEX
    SQL> desc mlog$_t;
    Name                                      Null?    Type
    X                                                  NUMBER
    SNAPTIME$$                                         DATE
    DMLTYPE$$                                          VARCHAR2(1)
    OLD_NEW$$                                          VARCHAR2(1)
    CHANGE_VECTOR$$                                    RAW(255)
    SQL> create index i on mlog$_t(x);
    Index created.However I don't know if this is really supported and makes sense.

  • Not able to connect to DB in Redhat Linux - intermittent wired problem

    Hi,
    I need some help from you if possible please help me. There is a wired problem in the Linux based Oracle server.
    OS: Redhat Linux 8
    Database: Oracle Enterprise server 9.2
    There is an intermittent wired problem.
    After some time (it happen twice last Saturday and Yesterday), either from application or from SQL Plus we are not able to connect it from outside. But we are able to connect to the oracle server on Linux server.
    We checked the Listener status on the server and it was UP and running.
    We can ping the server from outside.
    We are not able to do an FTP from inside the server or from Outside to the Linux server.
    During this time the http protocol is working we can upload any file to the other sites.
    We tried to shutdown the oracle server and even we tried to restart the OS itself and not able to resole this issue.
    If we create a new Listener and starts the server and all blocking thing were released and now working.
    Currently we are monitoring the server at ALIF’s premises if it going to happen for the third time or not.
    Thanks a lot
    Regards
    Kumar

    What is the error that you get when you try to get connection ?
    to check the log file is a good option: <ORACLE_HOME>/network/log/listener.log
    Joel Pérez

  • Create Index fail in process chain

    Hi Friends,
    I have a process chain in production system which loads inventory data everyday at 6:00Am.
    2 days back R3 production system failed and the data is not loaded into BI.  It was stopped at Delete Index step. I have started again by selecting Repeat then it worked and the infopackage is also executed successfully.
    After that it is failed at Create index step and giving message " Job cancelled after system exception ERROR_MESSAGE". Till then it is giving same problem everyday.
    Could you guys help me how to solve this and execute the chain successfully.
    Thanks & Regards

    Hi,
    Try to create index for the cube manually i.e got info cube , Right Click -> manage->performance-> perform check index - if red do repair index, if it will not help then create index. After that run it though process chain
    Hope it will resolve your problem.
    Sangita

Maybe you are looking for