Oracle text in oracle 10g

Hi friends,
thinking about migration from oracle 9i to oracle 10g. We use Oracle Text indexes on text columns of some tables. Is there any advantage with oracle 10g intermedia? Which are the most significant changes?
Thanks for answers.

The following links describe the new Text features in Oracle 10g and 11g.
http://download.oracle.com/docs/cd/B19306_01/text.102/b14218/whatsnew.htm#i969790
http://download.oracle.com/docs/cd/B28359_01/text.111/b28304/whatsnew.htm#sthref6

Similar Messages

  • Installation of Oracle Text in Oracle 10g

    Hi All,
    Could you please help me in installing ORACLE TEXT in Oracle 10g. What exactly ils this feature and how I can install it.
    Regards
    Harpreet Singh

    You don't need the companion CD to install Oracle Text.
    Oracle Text is installed by default if you have created your database using DBCA.
    However, if your database has been installed manually you may need to install this feature additionally.
    In order to check if the feature is already present check if CTXSYS schema exists:
    SQL> select username
      2  from dba_users
      3  where username='CTXSYS';
    USERNAME
    CTXSYS
    SQL>Cheers,
    Mihajlo

  • Oracle Text iwth Oracle TimesTen

    Hi!
    I'm trying to use Oracle Text with Oracle TimesTen In-Memory. In this customer, we are using Oracle Text to index the names of the company clients. There are about 13 million names to index. We're trying to speed up even more the search using Oracle TimesTen.
    Does anybody as any experience using simultanely this two technologies?
    Thanks in advance

    Please, consider this thread closed. By mistake I've created another one. Here is the link:
    Oracle Text with Oracle TimesTen
    Sorry by the mistake
    Tiago Soares

  • Oracle Text with Oracle TimesTen

    Hi!
    I'm trying to use Oracle Text with Oracle TimesTen In-Memory. In this customer, we are using Oracle Text to index the names of the company clients. There are about 13 million names to index. We're trying to speed up even more the search using Oracle TimesTen.
    Does anybody as any experience using simultanely this two technologies?
    Thanks in advance
    Tiago Soares

    TimesTen doesn't support the CONTEXT indextype or CONTAINS clause (or other domain indexes/operators), so you can't create Oracle Text indexes in it.

  • Upgrade Oracle Text 8i to 10g

    Hi,
    I have to upgrade a database 8i in Sun to Linux 10g, I know that I have to upgrade via export/import but I don't know how to migrate Oracle text.
    In the new server I have installed oracle text, but I don't know if i need to make and export/import of CTXSYS user or if I need to recreate all indexes in the new database ...
    Can anyone help me please!?
    Thanks.

    Hi,
    it safer to make CTXSYS user in 10g with 10g options, then export and import tables for indexes, then make new indexes. But you have to test it and find if Oracle Text work the same way for you application as on 8i.
    dap

  • Oracle Text with Oracle Lite 10G?

    I would like to be able to perform text searches in my OLITE 10g R2 database. Is is possible to install Oracle Text for use with OLITE? If so, how to I install it -- do I use the manual procedure described elsewhere, by taking the script files from an Oracle Enterprise or Standard Edition installation, and running those scripts against my OLITE db? Thanks.
    Marty

    Marty,
    Did you ever resolve this issue? We would also like to run Oracle Text with OLite, but I cannot find any information on doing this.

  • Using Oracle Text in Oracle XML DB .

    Hi all ,
    The idea is simple ,i need to index all stored files in Oracle XML DB and the index should stay in Oracle DB . Using some 3 party index software is also possible but you need to write a mapping to move the index file in Oracle DB .
    So i thought of using Oracle Text but i am not sure about how to retrieve such a document from Oracle XML DB , let me say over ftp or http ? . And if these documents are password protected -> how can Oracle Text allow this ?

    [11gR2 XMLDB Developers Guide -- Full-Text Search over XML Data|http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10492/xdb09sea.htm#i1006756] would be the first place to start.
    For document display, there a bunch of potential solutions, you can look at [XML DB Repository|http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10492/xdb03usg.htm#insertedID18], or the Text Application Developers Guide [Presenting Documents in Oracle Text|http://download.oracle.com/docs/cd/B28359_01/text.111/b28303/view.htm#i1006687] .
    Password protected documents can't be indexed using the auto_filter.

  • Oracle Text And Oracle Ultra search

    Hi all,
    I have a problem. I have some files in the server file system e.g C:/docs. I want to search these MS Office word files in order to see if they contain a word. I tried oracle ultra search but when i put File data source it provides a form file:/// and when i put C:/docs it gives me file://localhost/C:/docs. Can i configure Oracle ultra search to search into the server file system?Where is the directory that oracle ultra search searches a file?
    How can index and search the files in the file systems exept oracle ultra search? Can Oracle Text do my job?
    Sorry to bother and thank you in advance for your help
    Antonis.

    Hi,
    Searching a word in a document (MS Word) can definitely be done using Oracle Text.
    But, you other requirements can make things a bit complicated.
    Oracle Text have something called file_datastore, where you need to mention the file_path/s and individual file names too.
    Once you mention them, i.e. path and file names, oracle text can read the file , index them and you can query using simple queries.
    If the number of files are huge, entering all the file names can be difficult. In that case you can give the following a try.
    -- You can use a perl script to read the file name in a directory, put it into a file in a particular format (1 file name per line) and then load that text file into a table using ctxloader.
    You can go through the FILE_DATASTORE and CTXLOADER examples from oracle text reference document.

  • Memory leak in Oracle Text under Oracle 8.1.7!!!

    When I wanted to use USER_DATASOTRE preference to use my own formatting tag in Oracle Text, the memory leak occured in Oracle Text!
    Memory just freed when I close SQL*Plus program
    My formatting procedure is so easy
    PROCEDURE format_tag(r IN ROWID, tlob IN OUT NOCOPY CLOB) IS
    BEGIN
    SELECT '<C>' &#0124; &#0124; catalog_id &#0124; &#0124; '</C></T>' &#0124; &#0124; tag_id &#0124; &#0124; '</T><V>' &#0124; &#0124; tag_value &#0124; &#0124; '</V>' INTO buf
    FROM tbl_catalog WHERE ROWID=r;
    dbms_lob.trim(tlob, 0); -- set LOB's size to zero
    dbms_lob.write(tlob, length(buf), 1, buf);
    END;
    The typical rows are about 100,000 ( The actual records are tens of millions )
    How can I solve this problem?

    Thanks for your reply
    I'm using Oracle 8.1.7.0.0 on Windows 2000
    The preferences are as follows:
    DECLARE
    ds VARCHAR2(30):= 'dts_catalog';
    grp VARCHAR2(30):= 'grp_catalog';
    lxr VARCHAR2(30):= 'lxr_catalog';
    wrd VARCHAR2(30):= 'wrd_catalog';
    BEGIN
    ctx_ddl.create_preference(wrd, 'BASIC_WORDLIST');
    ctx_ddl.set_attribute(wrd, 'STEMMER', 'NULL');
    ctx_ddl.create_preference(lxr, 'BASIC_LEXER');
    ctx_ddl.set_attribute(lxr, 'INDEX_TEXT', 'TRUE');
    ctx_ddl.set_attribute(lxr, 'INDEX_THEMES', 'FALSE');
    ctx_ddl.create_preference(ds, 'USER_DATASTORE');
    ctx_ddl.set_attribute(ds, 'OUTPUT_TYPE', 'VARCHAR2');
    ctx_ddl.set_attribute(ds, 'PROCEDURE', 'pkg_catalog.format');
    ctx_ddl.create_section_group(grp, 'BASIC_SECTION_GROUP');
    ctx_ddl.add_field_section(grp, 'catalog', 'C', TRUE);
    ctx_ddl.add_field_section(grp, 'tag', 'T', TRUE);
    TRUE);
    ctx_ddl.add_field_section(grp, 'value', 'V', TRUE);
    END;
    the STORAGE preferences are not here ( because they are long )
    Index statement that I used for indexing
    CREATE INDEX idx_catalog_info ON tbl_catalog_info(val)
    INDEXTYPE IS ctxsys.context
    PARAMETERS(
    'STORAGE stg_catalog
    DATASTORE dts_catalog
    SECTION GROUP grp_catalog
    LEXER lxr_catalog
    WORDLIST wrd_catalog
    MEMORY 24M'
    I changed my last version of procedure and using VARCHAR2 parameter type instead of CLOB, but memory leak persist during building index.
    so I used a simple trick by writing a package and counting the records to be indexed, after each 100,000 records I used DBMS_SESSION.FREE_UNUSED_USER_MEMORY procedure to free unused session's memory.
    the package is as follows:
    CREATE OR REPLACE PACKAGE pkg_catalog IS
    PROCEDURE format(r ROWID, buf IN OUT NOCOPY VARCHAR2);
    END pkg_catalog;
    CREATE OR REPLACE PACKAGE BODY pkg_catalog IS
    recs PLS_INTEGER:= 0;
    PROCEDURE format(r ROWID, buf IN OUT NOCOPY VARCHAR2) IS
    BEGIN
    SELECT '<C>'&#0124; &#0124;catalog_id&#0124; &#0124;'</C><T>'&#0124; &#0124;tag_id&#0124; &#0124;subfield_id&#0124; &#0124;'</T><V>'&#0124; &#0124;val&#0124; &#0124;'</V>' INTO buf FROM &usr.tbl_catalog_info WHERE ROWID=r;
    recs:= recs + 1;
    IF recs>100000 THEN
    recs:= 0;
    dbms_session.free_unused_user_memory; -- clean-out memory garbage
    END IF;
    END format;
    END pkg_catalog;
    My problem solved, but it is very marvelous "Why Oracle does not free unused session's memory?"

  • Reinstalling/Repairing Oracle Text in Oracle 11g R2

    I happened to execute 'create or replace operator contains...' How do I restore Oracle Text to its previous state?
    Edited by: 932881 on May 9, 2012 1:05 AM

    Having run '/u01/app/oracle/product/11.2.0/db_1/ctx/admin/catctx.sql CTXSYS SYSAUX TEMP NOLOCK', I tried to create a CTXSYS.CONTEXT index on a VARCHAR2 column but I got this error:
    Error at Command Line:1 Column:26
    Error report:
    SQL Error: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-10700: preference does not exist: CTXSYS.DEFAULT_LEXER
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
    29855. 00000 - "error occurred in the execution of ODCIINDEXCREATE routine"
    *Cause:    Failed to successfully execute the ODCIIndexCreate routine.
    *Action:   Check to see if the routine has been coded correctly.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to install Oracle text in 10g database.

    Hi ,
    I need to install Oracle text in a 10g database which is a pre-requisite for Application express 3.1.1.I checked for the user CTXSYS user in the database and i did not find that.
    Thanks in advance

    If you dont see CTXSYS user, you have to use the OUI to install the Oracle text. You have to connect as sys to do it. See the metalink post below,
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:1539928194117127807::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,275689.1,1,1,1,helvetica

  • Oracle Text installation in Oracle 9i(9.2.0.5.0)

    Can anybody give me reference to any document about installing "Oracle Text" on Oracle 9i(9.2.0.5.0)? I could not find the entry in the dba_registry in the first place?
    Regards,
    Anirban

    You should be using a currently supported version, 10g or 11g. In 10g, the Text stuff is on the "companion cd" and in 11g, the Text stuff is on the "examples". These things must be downloaded separately. Just follow the instructions on the download page. Download, unzip, then install, following the instructions that you see on the screen. When you are done, check for the CTXSYS schema and remember that you need to grant the appropriate privileges in order to use it. There is a Text Reference and a Text Application Developer's Guide included in the Oracle online documentation.

  • Oracle Secure enterprise Search versus Oracle Text

    I'm involeved in a project where we're using Oracle text for its text search capability. Yesterday during a meeting Oracles Secure Enterprise search engine came up. I see similar functionality offered in both products - Oracle text comes with 10g - not sure if SES comes with additional cost. Has anyone done analysis on why one would implement one over the other - I understand that SES gives the customer a federated option and some internet search capabilities but since I'm not concerned with that for this project does it make a difference?

    SES is a complete seaerch application with connectors to many different data sources, such as email systems and document management systems.
    Oracle Text, on the other hand, is a toolkit for building applications (and is used as such by SES).
    Oracle Text comes free with the database. SES is chargable, but comes with a free database (though it's restricted to use by SES only!)
    Generally speaking, if your data is in the database and you want fine control over how to search it, Oracle Text is a better option.
    If your data is scattered around diverse enterprise sources, and you want a ready-built application to collect, index and search that data, SES is the proper choice.
    Here's a slide from my OpenWorld presentation, which I guess says much the same thing:
    Oracle Text is the toolkit and platform for building sophisticated Information Retrieval applications and services
    - Fine control over indexes, partitioning, etc
    Oracle Secure Enterprise Search is a stand-alone application built on the foundation of Oracle Text
    - Includes its own database
    - No programming needed
    - Includes crawlers and an end-user UI

  • Oracle Text index

    Hi,
    I created an oracle text index on 10G database on a fairly large table (59 Mil recs) but when i go to Analyze it, i get the ora-29864 error message 'analyzing domain indexes marked LOADING/FAILED not supported'. The status of the index is valid. The index was created well over 24 hours ago. is it perhaps because the index is still loading?
    Has anyone run across this problem?
    Thanks

    "ORA-29864: analyzing domain indexes marked LOADING/FAILED not supported
    Cause: Tried to analyze a domain index which was marked as LOADING or FAILED.
    Action: If the index was marked LOADING, wait till it is marked valid before retrying the analyze. If index was marked FAILED, drop it OR rebuild it and retry the analyze."

  • Oracle Text Storage Issue

    Hi Everyone,
    My name is John and I just have 3 small queries which your expertise and assistance is greatly needed and appreciated.
    I'm currently using Oracle Text on Oracle 10g Enterprise Edition Release 10.2.0.2.0 database and experiencing some kind of space storage problem. I have a table with 2 BLOB columns. One of the column is storing the TIF image file and the other column is storing the TIF's OCR version in PDF format. We are indexing on the PDF format column for rapid text retrieval. As we are loading them into the table, the index and table tablespaces were used up very rapidly. I've used and created my context index storage using the statements below:
    ctx_ddl.create_preference('OCR_DOC_OCR_CONTENT_I_STORAGE','BASIC_STORAGE');
    ctx_ddl.set_attribute('OCR_DOC_OCR_CONTENT_I_STORAGE','I_INDEX_CLAUSE',
    'tablespace TS_OCR_IDX_LGE compress 2');
    ctx_ddl.set_attribute('OCR_DOC_OCR_CONTENT_I_STORAGE','I_TABLE_CLAUSE',
    'tablespace TS_OCR_IDX_LGE');
    ctx_ddl.set_attribute('OCR_DOC_OCR_CONTENT_I_STORAGE','K_TABLE_CLAUSE',
    'tablespace TS_OCR_IDX_LGE');
    ctx_ddl.set_attribute('OCR_DOC_OCR_CONTENT_I_STORAGE','N_TABLE_CLAUSE',
    'tablespace TS_OCR_IDX_LGE');
    ctx_ddl.set_attribute('OCR_DOC_OCR_CONTENT_I_STORAGE','P_TABLE_CLAUSE',
    'tablespace TS_OCR_IDX_LGE');
    ctx_ddl.set_attribute('OCR_DOC_OCR_CONTENT_I_STORAGE','R_TABLE_CLAUSE',
    'tablespace TS_OCR_IDX_LGE lob (data) store as (cache)');
    I've created my table using the following commands below:
    create table OCR_DOCUMENT (
    DOC_ID number
    ,DOC_NAME varchar2(255)
    ,DOC_DIRECTORY varchar2(255)
    ,DOC_EXTENSION varchar2(10)
    ,DOC_CONTENT blob
    ,OCR_EXTENSION varchar2(10)
    ,OCR_CONTENT blob
    ,HAS_BLOB varchar2(1)
    ,CREATED_DATETIME date
    ,FILE_NAME VARCHAR2(2000)
    ,DW_DOC_ID NUMBER
    ,PAGE_NO NUMBER
    ,DOC_TYPE VARCHAR2(100)
    ,DOC_CLASS VARCHAR2(100)
    ,DOC_DESCRIPTION VARCHAR2(2000)
    ,PAGES NUMBER(10)
    ,CLT_NUMBER NUMBER(10)
    ,TAXENT_NUMBER NUMBER(10)
    ,REG_DATE DATE
    ,TAX_YEAR VARCHAR2(20)
    ,ORIG_FILE_NAME VARCHAR2(2000)
    tablespace TS_OCR_TBL_LGE
    pctfree 5 initrans 2 maxtrans 255
    nologging noparallel;
    My first question is, is there anything wrong with my storage clauses so I can improve and save some additional space?
    Second question is, is there a way that I can compress and save some space on the table blob columns, i.e. DOC_CONTENT and OCR_CONTENT, without affecting the document service retreival?
    Because at the beginning of the project, I've used utl_compress.lz_uncompress to compress the BLOB content before storing them to the table but I soon ditched such idea after finding out when I attempt to retrieve the compressed BLOB content using ctx_doc.markup for highlight document service (to highlight the text which I've used in my searching), it displayed some sort of garbage text information and I could not find any workaround to it.
    Also, if we are preapred NOT to use the THEME and GIST features of Oracle Text, can I perhaps remove them to save some addition space? Any feedback that I can save space would be welcomed and appreciated. Have a nice day.
    Thanks and Regards,
    John

    The BEST solution to your problem is to move to 11gRelease1
    I am not sure how feasible that will be on your part, but 11gR1 have exactly the same capabilities as you are looking for.
    You can compress, deduplicate all the LOB fields (with SECUREFILE clause) in all the tables including internal index tables ($R etc) and the base table (OCR_DOCUMENT).
    This is just for your information.
    I dont reallyhave any other information to share with you to resolve your problem :(

Maybe you are looking for

  • MAC Pro 2.66 quad core Intel Xeon Power supply

    Does any one perhaps know how many watts this MAC's power supply is ? Can not find it anyware. Thanks Freddie

  • When intalling ver.8.0 error revd: Error creating directory: C:/Program Files/Mozilla Firefox/jsloader/recource

    Had trouble installing ver 8.0. So uninstalled and did clean intall,not upgrade. Now I'm receiving error above. Have tried the uninstall/reinstall twice now. This started because another user with their own desktop the computer could not access Firef

  • Quicktime 7.5.5 will not download quicktime movies from webpage sources

    I had no difficulty downloading movies before I upgraded to 7.5.5. All I had to do was click on the down-pointing arrow on the lower right-hand corner of the preview, and I could make a permanent copy of the download. I cannot do that with 7.5.5 alth

  • Report 2.5 and Graphics

    I cannot embed any Graphics Display into Report. I run Reports 2.5.5.2.7 on Windows 2000. every time I get the following error: << REP-0075 Error occurred when running called product. OG-00064 Program unit parameter extraction failed. >> I have tried

  • Third party case

    Dear friends I wanted to run a third-party scenario for my client. I enter the item in the order screen and change the item category to TAS. After that I am able to enter the Purchase Requisition screen. However as soon as I enter the purchasing grou