Find out  indexes

Hi
How to find out which columns on the table indexes and type of index(Bit map or Btree index)
Regards
Mrao

Here is your query :
select i.table_name, i.index_name, i.uniqueness, c.column_name, c.descend, c.column_position
from user_ind_columns c
, user_indexes i
where i.index_name = c.index_name
and i.table_name = 'MYTABLE'
order by i.table_name, i.index_name, column_position
You have to change MYTABLE with the name of the table you want indexes.
You can also find out more information (tablespace, storage...) in user_indexes view.
Hope this help.
Regards.

Similar Messages

  • How to find out index of string

    Hi,
    Can you help me to find out index of following strting.
    "sss.xxxxx_pain.001.001.02_1002225618.xml"
    need to get value "1002225618".
    ideally i need to get the value inbetween after second "_"  and value before ".xml".
    Thanks
    Mahi

    Hi Mahi,
    UDF should be like this:
    If you do not want .xml in the out replace statement
    var1=var1.substring(sublen+1, len);
    with
    var1=var1.substring(sublen+1, len-4);
    Regards,
    Krupa

  • How to find out index from table?

    Hi all,
    I've tried to create indexes to some columns from some tables to use for Oracle Text.
    I ve got a error message saying that I can not create an index:
    "cannot create multiple domain indexes on a column list using same indextype".
    I was wondering if an index already exists for that column, how do I find out the name of the index that points to that paticular colum?
    Thanks a lot
    E.

    Check the view dba_ind_columns
    That will tell you.
    something like;
    select index_name, column_position, column_name from dba_ind_columns
    where table_name = '<table name>'
    order by 1,2

  • How to find out Index Rebuild times?

    Hi,
    We have many indexes but I can't find out when they were rebuilded last. Is it possible to find index last rebuild time?
    db version: 9.2.0.8
    Regards and thanks

    Query for LAST_DDL_TIME in DBA_OBJECTS / USER_OBJECTS for those indexes.
    Hemant K Chitale

  • How to find out which documents have been indexed?

    Hi,
    How can we find out which documents have been indexed by intermedia - I get a lot of errors when i look in ctx_user_index_errors - but how can I relate or find which error row means which row or document in the table on which the index is created??
    Thanks
    Dhwanil Shah

    You can enable the log to see what's going. That will tell you the exact number of documets that failed.

  • How to find out the index in string.

    Hello Experts,
    I have a requirement in which i have to find out the index of the last space before the 50th position in a string.
    is there any way other than spliting the string.
    e.g. if string is - 'aaaa aaaa aaa........ aaa aaa'(length is more than 50)
    i want the last space before 50th char.because i want to split the string before last word withing 50 th character
    please help.
    Thanks,
    Shweta

    Hi Shweta,
    You can build up the logic from this below program.
    data: line(75) value 'abcdefghijk lmnopqrstuvwxyz zyxwvutsrqponml kjihgfedc ba',
           n_line(50),
           off type i,
           val1(50),
           val2(50).
    CALL FUNCTION 'STRING_REVERSE'
      EXPORTING
        STRING          = line(50)
        LANG            = ' '
    IMPORTING
       RSTRING         = n_line
    EXCEPTIONS
       TOO_SMALL       = 1
       OTHERS          = 2.
    IF SY-SUBRC NE 0.
       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    SPLIT n_line at space into val1 val2.
    off = strlen( val1 ).
    off = 50 - off.
    write: 'The index of the last space before the 50th position is at ', off.
    Hope this may help you.
    Regards,
    Smart Varghese

  • How to find out the stop words of an index?

    I am sure it's something very easy but:
    I want to find out the stop words that i am using in a particular index via SQL query?
    I had several indexes with diferent stoplists.
    Thanks

    I already found out.
    thanks.
    for anyone also looking see
    select * from ctx_stopwords;

  • How to find out if an INDEX is corrupt and how to rebuild it ?

    How can I find out (from SQL script) if a given INDEX is corrupt and needs to be rebuild ?
    And how do I rebuild it ?

    How can I find out (from SQL script) if a given INDEX is corruptin 9i (not sure about 10g):
    ANALYZE INDEX index_name VALIDATE  STRUCTURE ;

  • Finding out subsetted paths in an XML index

    Hi,
    CREATE INDEX IDX_1 ON t1(c1) INDEXTYPE IS XDB.XMLINDEX PARAMETERS
    ( 'PATHS (INCLUDE (/A/B))' );
    ALTER INDEX IDX_1 REBUILD PARAMETERS ('PATHS (INCLUDE ADD( /C/D ))' );
    If I issue CREATE INDEX followed by ALTER INDEX, SELECT PARAMETERS FROM DBA_INDEXES shows only the parameters string specified in the last ALTER INDEX, but the effective set for the case above should be /A/B and /C/D.
    Is there a way to find out the entire set of the subsetted paths for a given XML index?
    Thanks.
    Peter

    what about...
    SQL> select owner, index_name, index_type, parameters
      2  from DBA_INDEXES
      3  where PARAMETERS is not NULL;
    OWNER                          INDEX_NAME                     INDEX_TYPE
    PARAMETERS
    XDB                            XDB$ACL_XIDX                   FUNCTION-BASED DOMAIN
    PATH TABLE XDBACL_PATH_TAB VALUE INDEX XDBACL_PATH_TAB_VALUE_IDX
    WK_TEST                        WK$DOC_PATH_IDX                DOMAIN
    filter wksys.wk_filter lexer wksys.wk_lexer language column lang stoplist wksys.wk_stoplist storage wksys.wk_storage wordlist wksys
    .wk_wordlist section group wksys.wk_section_group datastore wksys.wk_datastore
    2 rows selected.
    SQL> select INDEX_OWNER, INDEX_NAME, PARAMETERS
      2  from DBA_XML_INDEXES;
    INDEX_OWNER                    INDEX_NAME
    PARAMETERS
    XDB                            XDB$ACL_XIDX
    1 row selected.
    SQL> desc DBA_XML_INDEXES;
    Name                                                                     Null?    Type
    INDEX_OWNER                                                              NOT NULL VARCHAR2(30)
    INDEX_NAME                                                               NOT NULL VARCHAR2(30)
    TABLE_OWNER                                                              NOT NULL VARCHAR2(30)
    TABLE_NAME                                                               NOT NULL VARCHAR2(30)
    PATH_TABLE_NAME                                                          NOT NULL VARCHAR2(30)
    PARAMETERS                                                                        SYS.XMLTYPE
    ASYNC                                                                             VARCHAR2(9)
    STALE                                                                             VARCHAR2(5)
    PEND_TABLE_NAME                                                                   VARCHAR2(30)
    TYPE                                                                              VARCHAR2(10)
    EX_OR_INCLUDE                                                                     VARCHAR2(8)
    SQL> set long 100000000
    SQL> select dbms_metadata.get_ddl('INDEX','XDB$ACL_XIDX','XDB') from dual
      2  ;
    DBMS_METADATA.GET_DDL('INDEX','XDB$ACL_XIDX','XDB')
      CREATE INDEX "XDB"."XDB$ACL_XIDX" ON "XDB"."XDB$ACL" (SYS
    _MAKEXML('600B617F01DE4718A70B2AE0B2E4CE
    7E',2036,256,"XMLDATA"))
       INDEXTYPE IS "XDB"."XMLINDEX" PARAMETERS ('PATH TAB
    LE XDBACL_PATH_TAB VALUE INDEX XDBACL_PA
    TH_TAB_VALUE_IDX')
    1 row selected.Message was edited by:
    Marco Gralike

  • Script to find out table and index candidates to keep in the buffer pool

    I am looking for a script to find out tables and indexes to keep in the buffer pool.
    Could you help me on this ?
    thanks...
    Markus

    this is more of a open question. As you know ur data well. We do not know whats ur data. cachin tables in buffer pool is okay, but it might age out after not being used...instead you can use the KEEP POOL...to cache small tables/popular tables into the keep pool...as keep pool guarantees full caching .....
    here are some links on keep pool cacheing
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/memory.htm#sthref410
    http://www.dba-oracle.com/oracle_tips_cache_small_fts.htm
    http://www.dba-oracle.com/t_script_automate_keep_pool_tables_indexes.htm
    http://www.dba-oracle.com/oracle_news/news_caching_keep_pool_large_objects_clob_blob.htm
    Edited by: user630084 on Apr 8, 2009 5:48 AM

  • I want to buy a hard case for my macbook pro, but I don't know what year it is. When I use the serial number to try and find out, all it says is, "~VIN,MacBook Pro (15-inch Glossy)". When I type that into amazon for a case it gives me nothing!

    I want to buy a hard case for my macbook pro, but I don't know what year it is. When I use the serial number to try and find out, all it says is, "~VIN,MacBook Pro (15-inch Glossy)". When I type that into amazon for a case it gives me nothing!

    Hi T,
    Either of these will give you the info you seek:
    http://www.appleserialnumberinfo.com/Desktop/index.php
    http://www.chipmunk.nl/klantenservice/applemodel.html

  • How can I find out what apple IDs are tied to an email address

    We are trying to set up FaceTime and got the verification error on the email address.  We went in to the Apple ID account and when we verify the email address, it tells us that it's tied to another AppleID.  My daughter has 3 other AppleIDs and we've checked each one of them and the email address is not tied to any of them.
    How can we find out what apple ID is tied to this email address?
    We have used the "Forgot my Apple ID" function and used all 3 of the different email addresses she's used on the accounts and when we access the one that says there's a duplicate, it takes us to the account and it's the one with the email address that I noted above.
    Any thougts or help?
    Thanks!

    Itunes limit includes computers. 
    http://www.ilounge.com/index.php/articles/comments/managing-devices-in-your-itun es-store-account/

  • How Do I Find Out Which Version Of Appleworks I have

    Can anyone tell me how I find out what version my Appleworks is? I have two folders for Appleworks as it is loaded twice on my computer and I want to delete one of them.

    Hello
    In fact, I assumes that Linda want to know which version is the US one and which is the UK one.
    She may download the free Dale Gillard's "What AppleWorks Version? "
    from
    <http://www.geocities.com/dmgsoftware/appleworks/index.html>
    Yvan KOENIG (from FRANCE dimanche 15 janvier 2006 10:44:26)

  • How can you find out if another VI running on the same computer and how can you find out the name of that VI?

    Suppose that several VIs running simultaneously on the same computer. How can I find out the names of the running VIs, from another VI?
    If the already running VIs are clones of the same basic VI, open and run with the option "Prepare to call and forget", how can I find out the names and index of each clone? 

    I had an application where I spawned (= ran with Start Asynchronous Call) multiple (reentrant) copies of VIs, and would occasionally "lose control" of them.  I needed a way to find all VIs that were running "Top Level" and stop them (so I didn't have to log off from Windows).
    I used the Application Property "All VIs in Memory" to get an array of (wait for it ...) All VIs in Memory.  I took each name, opened a VI reference to it (simply wire the name string in, as the VI is, by definition, "in memory"), looked at its VI Execution State, and if it was Run Top Level, Invoked the FP.Close and Abort VI Methods.  [To prevent the VI that did all this from "committing Suicide", I compared the name string with the current Call Chain, and did nothing if there was a match].
    I think you could adopt this idea to do what you need.
    BS

  • Using migration assistant I transferred my complete MacBookPro to my nex iMac. Now I find out that all jampacks are missing in GarageBand. Can anyone advise? Thanks!

    Using migration assistant I transferred my complete MacBookPro to my nex iMac. Now I find out that all jampacks are missing in GarageBand. Can anyone advise? Thanks!

    I would think the migration assistant transfers 100% of all contents...
    When you are setting up a new Mac you can use Setup assistant the moment you boot the mac the first time. Setup Assistant will usually transfer everything. If you miss tha t moment and later launch Migration Assistant some library files will not be transferred. Migration assistant will not transfer system files, only User Files and Application files. I think, that is why your files are missing.
    so could you please tell how this copying is done?
    Best take an external drive with plenty of free disk space and plug it into your MacBook Pro.
    Open the System drive, your Macintosh HD in the Finder and open the folder "Library", then "Application Support", then "GarageBand". Copy the folder
    /Library/Application Support/GarageBand/Instrument Library/  to your external drive by dragging it there.
    Then open again the folder "Library" on your Macintosh HD, and this time open the folder "Audio" inside. Copy the folder
    /Library/Audio/Apple Loops/
    to your externall drive. Eject the drive and plug it into your iMac.
    Now compare the AppleLoops folders and instrument library folders and copy all missing items over to the corresponding folders in the iMac's Library.
    Afterwards you need to reindex the loops, by dragging any loop you newly installed onto the Loop Browser in garageband, see: Rebuilding the Loop Index in GarageBand

Maybe you are looking for

  • ITunes 12 bugs 1 - right-click to Transfer Purchases no longer available

    After upgrading OS X Yosemite and iTunes 12.0.1, when an iPhone is connected to iTunes, I cannot find the usual way to right-click on it and select Transfer Purchases.  So, when I upgraded the iPhone to iOS8.1, I was warned that some purchases on my

  • Managed Role Scope

    I learned that roles in DS are scoped to where they are created. Meaning if I create a managed role called role1 in ou=Roles,dc=sun,dc=com only entries (ie users and groups) under the ou=Roles branch will have visibility to role1. But since all my us

  • Problem in select statment writing

    Hi, I have two tables. P_PLAN_ITEM_DTL --> A table P_SCHDLE_ITEM_UPLOAD --> B table A and B tables contain same structure. A table contain Lot of records. B contain data or may not contanain data. If B contain records then data should filter based on

  • 3.3.74: NullPointerException in RecoveryManager

    Hi all, The following occurred twice in the past week: 2009-01-07 09:39:50,224 FATAL [collection.Slave] Failed to initialise the local datastore: Could not open BDB: (JE 3.3.74) last LSN=0x13d6/0xa5b642 com.arantech.assure.collection.data.DBInitialis

  • Good Receipt (movment type : 161) for a PO (PO with Return items) -- Error

    Hi, When i post a good receipt (movment type : 161) for a PO (PO with Return items), i have this Error Message : " Account 61522200 requires an assignment to a CO object " Note : in this GR i have already : Profit center, Funds center and Order (CO o