Using hint when creating index

Hi,
is it possible to use a hint when creating an index.
for example normally when creating an index, optimizer does full table scan, but i want it to use a different index to walk through the table.
any ideas?
technically impossible?

If the new index is a subset of an existing index, Oracle should be able to read the existing index to create the new index.
However, if the index consists of such a combination of columns that one or more is not in the subset then it has to read all the rows of the table.
Hemant K Chitale

Similar Messages

  • WHEN TO USE LOGGER IN CREATE INDEX?

    HI ALL,
    WHEN TO USE LOGGER IN CREATE INDEX STATEMENT? AND WHEN TO USE NOLOGGING?
    HOW IS INDEX PHYSICALLY STORED IN DATABASE?
    THANKS IN ADVANCE.
    SANDESH

    NOLOGGING means that information is not written into the redo logs (relatively faster than LOGGING). However, this also means that if you need to recover your database, the index cannot be recovered (since the info cannot be found in the redo logs).
    Use NOLOGGING if you need the speed (big indexes) and/or you don't care about being able to recover the index (i.e. if it is acceptable if you recreate it manually after possible database recovery). Alternatively, create the index with NOLOGGING, alter the index to LOGGING and backup the database. Only after the successfull backup will the index be recoverable (with that backup, not an older one).
    Typically you should use LOGGING rather than NOLOGGING because the overhead of creating the backup/recovery and insecurity on being able to recover (and pressure that goes along with it) is to great. This option will be handy only in rare cases (e.g. when creating staging area tables/indexes in a datawarehouse. They don't need recovery and will therefore speed up when using NOLOGGING).
    Hope this helps,
    Lennert

  • Can't select "include book documents" when creating index in InDesign CC

    I'm trying to make an index for several dokuments in a book. I've made the index but when I try to generate the index the checkbox is greyed out so I can't check it. Do You know what's wrong?

    Thank You. That worked well.
    One more question: It looks as if the index does not include the words of all the documents in the book. Is it something I do wrong?
    Thanks
    Henning
    Fra: Peter Spier <[email protected]<mailto:[email protected]>>
    Svar til: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Dato: onsdag 10. juli 2013 13:04
    Til: Henning Kristoffersen <[email protected]<mailto:[email protected]>>
    Emne: Can't select "include book documents" when creating index in InDesign CC
    Re: Can't select "include book documents" when creating index in InDesign CC
    created by Peter Spier<http://forums.adobe.com/people/P+Spier> in InDesign - View the full discussion<http://forums.adobe.com/message/5491834#5491834

  • Insufficient priviledge when creating index

    upon creating new indexes, using the command :
    create index im_art_s_idx_2 on article(cl_story)
    indextype is ctxsys.context;
    i get the following error :
    create index im_art_s_idx_2 on article(cl_story)
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE
    routine
    ORA-20000: interMedia Text error:
    ORA-01031: insufficient privileges
    ORA-06512: at "CTXSYS.DRUE", line 126
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 54
    ORA-06512: at line 1
    I can, however create normal indexes (i.e. by not specifying
    the indextype argument). Has anybody got any idea what this
    could be about?

    grant to user who's gonna create the index CTXAPP
    grant ctxapp to xxxx;

  • Oracle Error when creating indexes

    Help!! I'm getting an error on a spatial create. I read the documents here on this error and I've tried every suggestion.
    1. Plenty of free space in the tablespace indx
    2. Plenty of free space in the temp tablespace
    Does anyone have any ideas??
    Thanx in Advance..
    Frank
    SQL> CREATE INDEX iseechart_geometry_idx ON iseechart (isee_geometry)
    2 INDEXTYPE IS MDSYS.SPATIAL_INDEX
    3 PARAMETERS('TABLESPACE=INDX SDO_INDX_DIM=2');
    CREATE INDEX iseechart_geometry_idx ON iseechart (isee_geometry)
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: [mdidxrbd]
    ORA-13249: Error in Spatial index: index build failed
    ORA-13236: internal error in R-tree processing: [failed to cluster in memory]
    ORA-13249: Internal error in Spatial index: [mdrcrclmem]
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_9I", line 7
    ORA-06512: at line 1

    Hi Frank,
    When you specified "sdo_indx_dim" instead of "sdo_indx_dims",
    the parser is ignoring the parameter. Since the default
    is 2, it still works fine.
    Regarding sdo_rtr_override:
    Glad that the workaround helped. This is a non-documented parameter
    for R-tree that gives a workaround for any possible bugs that
    are introduced as part of new features in new releases. Given
    the nature of spatial, there could be some data-specific bugs. In 9.2,
    there are some new clustering improvements (internal) and guessing
    from the error stack the new one is running out of some stack space
    internally due to data outliers (does not occur in all datasets though).
    The sdo_rtr_override=0 defaults the behavior of the current operation
    (create-index or query) to prior releases (like 9.1). This parameter
    allows the users to work uninterrupted while things improve in new
    releases. The behavior of this parameter should not be used to compare
    performance etc. in different versions though and should be used only
    as a workaround. (It is not documented due to these implications
    and only recommended when needed by spatial).
    Spatial will definitely try to improve on the error messages.
    Please file a bug with some sample data or send Oracle
    the data at the earliest so that this can be fixed properly.
    - Ravi.

  • ORA-19025: EXTRACTVALUE returns value of only one nod- When creating index

    Hi,
    My table have 2 columns . Columns are
    Key varchar2(50)
    Attribute XMLType
    Below is my sample XML which is stored in Attribute column.
    <resource>
    <lang>
    <lc>FRE</lc>
    <lc>ARA</lc>
    </lang>
    <site>
    <sp>257204</sp>
    <sp>3664</sp>
    </site>
    <page>
    <pp>64272714</pp>
    <pp>64031775</pp>
    <pp>256635</pp>
    </page>
    <key>
    <kt>1</kt>
    </key>
    </resource>
    When i try to create a index on XML column and i am getting the above exception. kindly help me out becz i'm not familar with oracle.
    Query is
    create index XMLTest_ind on language_resource_wrapper
         (extractValue(attribute, '/resource/site/sp') )
    index on sp,pp elements in the above XML.

    Thanks for the suggestion...
    The problem is that in one row, information in a data dump about two different things was combined into one, due to a gap in the input file. The starting delimiter for the second thing and the ending delimiter for the first were missing. The result was that many entity tags that should have been unique were duplicated, ion that particular row.
    I was able to guard the view against future such errors with occurrences using this
    in the WHERE clause ...
    AND NOT ( XMLCLOB LIKE '%<TAG1>%<TAG1>%'
    OR XMLCLOB LIKE '%<TAG2>%<TAG2>%'
    OR XMLCLOB LIKE '%<TAG3>%<TAG3>%'
    /* ... Repeated once for each tag used with extractvalue */
    OR XMLCLOB LIKE '%<TAGN>%<TAGN>%'
    It filters out any row with two identical starting tags, where one is expected.
    I am pleased to see that the suggestion got through.

  • Error when creating index with parallel option on very large table

    I am getting a
    "7:15:52 AM ORA-00600: internal error code, arguments: [kxfqupp_bad_cvl], [7940], [6], [0], [], [], [], []"
    error when creating an index with parallel option. Which is strange because this has not been a problem until now. We just hit 60 million rows in a 45 column table, and I wonder if we've hit a bug.
    Version 10.2.0.4
    O/S Linux
    As a test I removed the parallel option and several of the indexes were created with no problem, but many still threw the same error... Strange. Do I need a patch update of some kind?

    This is most certainly a bug.
    From metalink it looks like bug 4695511 - fixed in 10.2.0.4.1

  • Error when create index

    Hi,
    Platform Tru64 BD 8.1.7.
    When i create some index for intermedia search, i get some errors:
    CREATE TABLE DOCUMENTO (
    ID NUMBER (15) NOT NULL,
    NOME VARCHAR2 (100) NOT NULL,
    DESCRICAO VARCHAR2 (255),
    FORMATO VARCHAR2 (128),
    AUTOR VARCHAR2 (100),
    RESPONSAVEL VARCHAR2 (100) NOT NULL,
    DATA_DOCUMENTO DATE,
    DATA_CATALOGACAO DATE DEFAULT SYSDATE NOT NULL,
    ESTADO VARCHAR2 (2) DEFAULT 'AC' NOT NULL,
    DOCUMENTO BLOB,
    INTERMEDIA VARCHAR2 (4000),
    NAME VARCHAR2 (90),
    CRIADO_POR VARCHAR2 (90),
    CRIADO_EM DATE,
    ALTERADO_POR VARCHAR2 (90),
    ALTERADO_EM DATE,
    CONSTRAINT ESTADO_CK
    CHECK (ESTADO IN ('AC','AN')) ,
    CONSTRAINT ID_CONSTRAINTS
    UNIQUE (ID),
    PRIMARY KEY ( ID ));
    CREATE INDEX DOCUMENTO_INDEX ON
    DOCUMENTO(DOCUMENTO);
    ERROR at line 2:
    ORA-02327: cannot create index on expression with datatype LOB
    CREATE INDEX INTERMEDIA_INDEX ON
    DOCUMENTO(INTERMEDIA);
    ERROR at line 2:
    ORA-01450: maximum key length (1578) exceeded
    Could you give me some help?

    Forget last message, i forget to specify index type
    Pedro Ribeiro

  • InterMedia Error when creating Index

    Sorry, the error texts are in French, hopefully someone will help me.
    I have checked listner.ora and tnsmanes.ora: they look fine, (however, we have ....KEY=EXTPROC)), not EXTPROC0 as it appears sometimes in the doc) but something must be wrong someplace.
    Seems to be related to another question in this forum.
    Thanks for any help.
    (actually, when running from sql worksheet, I get a Net8 listener ids not running or cannot start external procedure ??
    create index quick_text on kd.kd_enseigne(desc_long) indextype is ctxsys.context
    ORA-29855: erreur d'exZcution de la routine ODCIINDEXCREATE
    ORA-20000: erreur interMedia Text :
    DRG-11422: initialisation des services linguistiques impossible
    DRG-00100: internal error, arguments : [52100],[drxs.c],[557],[gxtopen],[0]
    ORA-06512: S "CTXSYS.DRUE", ligne 126
    ORA-06512: S "CTXSYS.TEXTINDEXMETHODS", ligne 54
    ORA-06512: S ligne 1
    SVRMGR>

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Omar Alonso:
    Please post db version and platform. Are you sure the listener is running?<HR></BLOCKQUOTE>
    db version is 8.1.5, platform is Linux.
    By running the check script we saw that the cartridge was invalid. We had to reinstall anither instance, now it works.
    Thank you.

  • How can I pass value in status and reason for rejection using BAPI_LEAD_CREATEMULTI when creating multiple lead

    Hello,
    I want pass value in STATUS and Reason for rejection according to requirement when i am creating multiple lead using BAPI_LEAD_CREATEMULTI. Please help me how can i pass value. Please give some sample code that in which table i have to pass values and please also tell me INPUT_FIELDS values. Please help me
    Regards,
    Kshitij Rathore

    Hello,
    Please help me for solve this problem. I am trying to solve problem from last 4 days but i didn't get any solution.
    Regards,
    Kshitij Rathore

  • Why do I get an error message saying unable to use disk when creating a DVD

    I have successfully burned two DVD's of a group of three I am burning of my last vacation pictures. I have successfully created WMV files for each day of the trip which I have combined to create the three DVD's so they won't be too lengthy. I created a menu with main menu and stop menu markers. When I went to burn the third disk, which is the shortest of the group the program would encode to the 96% and then the disk would eject and it would give an errow message saying the disk was not compatable. This was the same type of DVD-RW disks I used on the two successful disks. I tried redoing the burn 3  times with each time getting to 96% on the encription and then the same error message occurred. I used fresh disks each time. On the forth try I cut the number of WMV files down to 3 to make the DVD half as long. The same thing happened at the 96th% spot of the encription process. Nothing had ever been put on the disks. I am using top quality Memorex DVD-RW disks. Please let me know what else I can do. I am very frustrated. Oh yes, I closed the program down each time I got the error and also shut down and restarted the computer afer each error. I really want to finish this project as I have been working on it now for two weeks non stop. Thank you.

    Good, that gets one possibility out of the way.
    Since the error about the disc indicates that the Transcoding has already finished, I think that we can probably rule out the next step, but let's look anyway.
    Now, for Transcoding to DVD, PrE uses 2-pass Encoding, so it would seem that this problem is comng right at the end of the second pass, at the end of the Timeline. Look very closely at that point, and see if there is anything odd there. Things like gaps in the Video of a Timeline, or sometimes Assets that are not proper, can cause Transcoding to stop. Anything there? [I think that with a disc error, Transcoding HAS completed, and the progress bar is just lagging slightly behind, but more questions are probably needed.]
    Last, what brand of blank media are you using? The reason that I ask this is that some companies, like Memorex, buy the cheapest disc that day, and rebrand them, so in a spindle of 25, you might end up with blank discs by different mfgrs., and some can be much better, than others.
    Good luck,
    Hunt

  • Can I use Argo to create Indexes for Structured data?

    Hi, To search for employees who has stored some <i>word</i> in an infotype's text cluster takes time, specially when we also want those who has an relation in infotype 1001 to an object which again is connected to some other object where <i>word</i> appears in infotype 1002 - subtype 0001.
    Open SQL cannot select directly from text clusters, so we need to read all entries for all employees an the scan the entries for <i>word</i>. So an index which connects <i>word</i> or <i>this is a phrase</i> or  <i>department - description - all parent org.units</i> with employees would be nice to build to replace the open SQL.
    The question is if Argo is a solution to build, develope, store and administrate such indexes?
    Robert

    Hello Robert,
    Argo by itself does not index the content. Its our search engine TREX which does the indexing and searching.
    If you are using ERP 2005, quite a few objects are already indexed by TREX. We have a Framework services called SES (Search Engine Services) which expects you to implement couple of methods viz. 1) the data to index and b) any updates to the index. SES interacts with TREX to index the content.
    Regards,
    Bala.

  • Using CDATA when creating an xml message

    I'm currently trying to create an XML message in one of my tags I'm trying to put the following string "&#13;&#10;". However when I create the xml document I receive the following string &#13;&#10;. I think the conversion is happening when I call
    setStringNodeData
    Here is my code
    strCaseNotes = "&#13;&#10;" + "This is a test message";
    CreatedElement = setStringNodeData(doc,"strCaseNotes",CaseInfo, strCaseNotes);
    doc = getXMLDoc();
    doc.write (baos);
    String strXMLDoc = baos.toString ();          
    log.log("strXMLDoc: " + strXMLDoc, "SSDRulesEngine.txt");
    This is the ouput &#13;&#10;
    I assume the conversion is happening in setStringNodeData. Anyway to stop the conversion of & to amp. Any help is greatly appreciated, thanks

    Don't get mixed up between the string you see in your program and what you see in your XML file. If you want a CR-LF pair in your XML output you need to do this:strCaseNotes = "\r\n" + "This is a test message";In other words, within your program just use strings as you would normally. Don't try to second-guess the XML parser. You may find the XML software outputs that string in a text node as "&#13;&#10;This is a test message" or you may see something slightly different. Again, don't try to affect the output. If your XML software outputs it then any XML parser can read it. But if you mess with it after it's output, then you will probably break the XML in such a way that another XML parser will reject it.

  • The "Adobe Reader 11.0.08 security update - All languages" is not working with "Adobe Reader 11.0 - Multilingual (MUI) installer" using msiexec when creating an msi package. is there going to be a release of Adobe Reader 11.0.08 update - Multilingual (MUI

    Is it possible to create an msi package if the product you are upgrading is Multilingual (MUI) and the update(msp) you are applying is not Multilingual (MUI) but "All languages"?

    Please download the latest Adobe Reader patch from the below mentioned location, it will work with MUI installer.
    ftp://ftp.adobe.com/pub/adobe/reader/
    ~Deepak

  • Can I use FormsCentral when creating a form from existing document?

    Hi,
    I am trying to make a template in Formscentral. I want to use a picture with our corporate design for forms. I can change that in a PDF, but if I want to use that in FormsCentral, The picture is not paper wide (as it should), but leaves white margins an header and footer. But if I try to make a form and chose 'from existing document' I seem to not be able to end up in FormsCentral. What am I doing wrong?
    Isabella

    Hello George,
    How do I upload a PDF to the FormsCentral service? Wil I see that form then in My Forms or in the the standard templates list? I want to be able to re-use a collored PDF with no fields in it. I use this one to make several forms which will all look the same in the background.

Maybe you are looking for

  • My I messages won't send. Any ideas ?

    All of a sudden my I messages will not go through. It says it was sent, and within a second it says it was not sent. When I retry, it still won't send. These messages are to a person that I text all the time, so I know it did work. Any ideas?

  • Connecting via switch

    Hi i have already ordered a Airport Express and i have some questions about connecting it wired to my existing network we have a computer in another room connected to the network via a router and which the router is connected to the internet by cable

  • Can SQL injection output rows to hacker?

    Can a hacker retrieve rows through SQL injection or simply just jumble up the data? I wouldn't see how they could get the rows without coldfusion code that will actually be instructed to output the query. If not, are there any hot cf/mssql hacking te

  • Pulseaudio doesn't detect all profiles

    Hello archlinux forum I have problems setting up pulseaudio on my new archlinux installation, it fails to detect the full capabilities of my soundcards. alsa detects every sound card (there are 3: my audigy sound card, my internal intel hda and my gr

  • Can't I access iTunes from any device... why!?!

    I have just upgraded my iPhone 5s to 8.2. After that it was impossible to connect with my Apple ID. Now it turns out that it can not connect from any of my devices ... what's going on?