How to find the index is local and the global in the dictionary of the oracle

Is there a way to know if the index partition is global or local oracle dictionary.

Is there a way to know if the index partition is global or local oracle dictionary.

select index_name, locality from all_part_indexes

Tags: Database

Similar Questions

  • How to find the bpel instance in 11 g based on the index values

    We have 10 GB BPEL processes where we define the 4 index values for all instances. Whenever the support request comes, ask us the values of index and based on what we're looking for the process instance.

    We have now migrated bpel 10g and 11g process. How to find the bpel instance in 11 g based on the index values?

    You can go there. http://soasphere.blogspot.com/2011/04/how-to-Serch-composites-for-index.html. Do a join on the cube_instance and ci_indexes tables.

  • How to find the value max and min for each column in a table 2d?

    How to find the value max and min for each column in a table 2d?

    For example, in the table max/min for the first three columns would be 45/23, 14/10, 80/67.

    Thank you

    Chuck,

    With color on your bars, you should have enough experience to understand this.

    You're a loop in the table already.  Now you just need a function like table Max and min. loop.  And you may need to transpose the table 2D.

  • How to find the windows xp machine index experience?

    It is really... How to find the Windows experience index on a XP machine. I have this okay on my windows machine 7, but I was wondering how to find it on XP?

    Thank you

    There is no such note on Windows XP.

  • How to find the right server to use windowsmail to send and receive e-mails?

    How to find the right server to use windowsmail to send and receive e-mails?

    Who is your current e-mail server? (Which is after the @ in your address).
     
  • How to find the library files that are not due to problems of indexing

    I need help to know how to find the library files that are not as a result of indexing problems?

    I use Windows 7

    Thank you

    Charlene

    Try to open the folder that the library uses directly.  For example, if it is your Documents folder, open C:\Users\Charlene\Documents

  • How to find the book, THE, Op units, Org (All) names and ID?

    How to find the book, THE, Op units, Org (All) names and ID?

    With regard to:

    Mr. Shahzad Saleem

    Please run the following query

    SELECT gl.NAME ledger_name, hou.NAME operating_unit_name,

    xep.NAME legal_entity_name

    Gl_ledgers gl, hr_operating_units hou, xle_entity_profiles xep

    WHERE gl.ledger_id = hou.set_of_books_id

    AND hou.default_legal_context_id = xep.legal_entity_id

  • How to find the first Sunday and the second Saturday of each month

    Hi all

    How to find the first Sunday and the second Saturday of each month

    Thank you

    Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production

    994122 wrote:

    Hello

    I need to pass the months parameter how to do this? like Jan, Feb etc... (one of those)

    Do you have a procedure?

    Should you output only for the months you passed in the parameter?

    The easiest way is to set the parameter as date. When you go such as p_date as DATE ' 2014-10-01', then you can

    PROCEDURE two_dates)

    p_date IN DATE

    p_first_sunday DATE

    p_second_saturday DATE

    )

    IS

    BEGIN

    p_first_sunday: = NEXT_DAY (TRUNC (p_date, 'MM') - 1, TO_CHAR (DATE ' 2014-10-12', 'DAY'));

    p_second_saturday: = NEXT_DAY (TRUNC (p_date, 'MM') - 1, TO_CHAR (DATE ' 2014-10-11', 'DAY')) + 7;

    END two_dates;

    Or you describe what you need.

  • How to find the age of a child and snapshot number snapshot for a virtual machine.

    Hi all

    How to find the age of a snapshot for a virtual machine child count and snapshot.

    This code snippet should help... Assuming that you have the following entries:

    VM (VC:VirtualMachine)

    snapshot (VC:VirtualMachineSnapshot)

    System.log("====== Snapshot details for VM: "+snapshot.config.name+" ======");
    var snapshotTrees = vm.snapshot.rootSnapshotList;
    System.log("Snapshot Tree Count: "+snapshotTrees.length);
    for each (snapshotTree in snapshotTrees){
        showSnapshotInfo(snapshotTree, snapshot);
    }
    
    function showSnapshotInfo(snapshotTree, selectedSnapshot){
        if(selectedSnapshot == snapshotTree.snapshot){
            System.log("====================");
            System.log("Name: "+snapshotTree.name);
            System.log("Id: "+snapshotTree.id);
            System.log("Description: "+snapshotTree.description);
            System.log("createTime: "+snapshotTree.createTime);
            System.log("quiesced: "+snapshotTree.quiesced);
            System.log("replaySupported: "+snapshotTree.replaySupported);
            System.log("backupManifest: "+snapshotTree.backupManifest);
            System.log("snapshot id: "+snapshotTree.snapshot.id);
            System.log("state: "+snapshotTree.state.value);
            var childSnapshotList = snapshotTree.childSnapshotList;
            if(childSnapshotList != null){
                System.log("childSnapshotList length: "+snapshotTree.childSnapshotList.length);
            }
            System.log("");
        }
        if(snapshotTree.childSnapshotList != null){
            System.log("Children found: "+snapshotTree.childSnapshotList.length);
            for each (childSnapshotTree in snapshotTree.childSnapshotList){
                showSnapshotInfo(childSnapshotTree, selectedSnapshot);
            }
        }
    }
    

    During the passage of one of my virtual machines, here is an example of output I get:

    [2014-06-12 15:19:21.493] [I] Snapshot Tree Count: 1
    [2014-06-12 15:19:21.493] [I] ====================
    [2014-06-12 15:19:21.494] [I] Name: before upgrade to 5.0.1
    [2014-06-12 15:19:21.494] [I] Id: 31
    [2014-06-12 15:19:21.494] [I] Description:
    [2014-06-12 15:19:21.495] [I] createTime: Mon Mar 19 2012 13:48:57 GMT-0400 (EDT)
    [2014-06-12 15:19:21.495] [I] quiesced: false
    [2014-06-12 15:19:21.495] [I] replaySupported: null
    [2014-06-12 15:19:21.495] [I] backupManifest: null
    [2014-06-12 15:19:21.496] [I] snapshot id: snapshot-83
    [2014-06-12 15:19:21.496] [I] state: poweredOff
    [2014-06-12 15:19:21.496] [I] childSnapshotList length: 1
    [2014-06-12 15:19:21.496] [I]
    [2014-06-12 15:19:21.497] [I] ====================
    [2014-06-12 15:19:21.497] [I] Name: Before 5.1 upgrade
    [2014-06-12 15:19:21.497] [I] Id: 36
    [2014-06-12 15:19:21.497] [I] Description:
    [2014-06-12 15:19:21.498] [I] createTime: Fri Sep 21 2012 21:59:58 GMT-0400 (EDT)
    [2014-06-12 15:19:21.498] [I] quiesced: false
    [2014-06-12 15:19:21.498] [I] replaySupported: null
    [2014-06-12 15:19:21.498] [I] backupManifest: null
    [2014-06-12 15:19:21.499] [I] snapshot id: snapshot-84
    [2014-06-12 15:19:21.499] [I] state: poweredOff
    [2014-06-12 15:19:21.499] [I] childSnapshotList length: 1
    [2014-06-12 15:19:21.499] [I]
    [2014-06-12 15:19:21.500] [I] ====================
    [2014-06-12 15:19:21.500] [I] Name: Before Named Instance
    [2014-06-12 15:19:21.500] [I] Id: 37
    [2014-06-12 15:19:21.501] [I] Description:
    [2014-06-12 15:19:21.501] [I] createTime: Mon Nov 11 2013 13:40:46 GMT-0500 (EST)
    [2014-06-12 15:19:21.501] [I] quiesced: false
    [2014-06-12 15:19:21.501] [I] replaySupported: null
    [2014-06-12 15:19:21.502] [I] backupManifest: null
    [2014-06-12 15:19:21.502] [I] snapshot id: snapshot-236
    [2014-06-12 15:19:21.502] [I] state: poweredOff
    [2014-06-12 15:19:21.502] [I]
    
  • How to find the difference between standard edition and standard edition one

    How to find the difference between oracle database standard edition and standard edition one 64 bit

    (a) using sql
    (b) using the configuration/installation files

    How to find the difference between oracle database standard edition and standard edition one 64 bit

    (a) using sql

    Select * the option of $ v;

    (b) using the configuration/installation files

    opatch lsinventory-details

  • How to find the path of reports to PDF and send them via JAVA?

    Hi expert,

    We have created many reports of OBIEE, how to find the way of reports to PDF and send them via JAVA?
    Catalog/shared /..., but it is a binary file that is not sent to the customers.

    Hey kobe,.

    You can try this:

    http://satyaobieesolutions.blogspot.com/2012/07/setting-up-iBOT-to-save-report-to.html

  • How to find the OS ppid in v$ session and V$ process

    Hello

    Oracle 11gDB

    I have this suspiscious process in my session of $ v which is always running and connected to a 'HR' scheme, even if the 'HR' application is also stopped and other HR related batch process.
    And he also told me that it came from the UNIX sun-server1. My problem is that I can not locate the PPID OS for this process when I login to the operating system to the Sun-server1.
    I tried to kill this session, but he maintains the connection. Even if I bounce the database, it come back.

    How to find the source of this process to the Sun-server1?

    I tried this script:
    SELECT     p.program, p.spid
    FROM v$session s, v$process p
    WHERE s.paddr = p.addr
    AND s.sid IN (39)
    Program                                                 Spid
    ============    ====
    ORACLE.EXE (SHAD)     6404
    But if I have a ps - ef | grep 6404 there is no existing process OS. No matter what other script that can identify the process id of the operating system?


    Thank you very much

    KinsaKaUy? wrote:
    Thanks Sb, what is your new name :)

    Who do you think is the culprit?

    root@sun-server1 # ps -ef|grep "May 16"
    v231sys  7065  7051   0   May 16 pts/1      11:16 /usr/jdk/jdk1.5.0_13/bin/sparcv9/java -server -Xms1024m -Xmx1024m -XX:MaxPermSi
    v231sys  7051     1   0   May 16 pts/1       0:00 /bin/sh startWebLogic.sh V231_ABDC
    root 13117 11928   0 12:56:30 pts/3       0:00 grep May 16
    v231sys  7229  7065   0   May 16 pts/1       1:17 /opt/SPLcobAS51/bin/cobjrun64 -Dcom.microfocus.cobol.cobjvm=sun_150_64 -DSPLCJV
    v231sys  6257  8518   0   May 16 pts/1       0:00 bash
    v231sys  7211  7065   0   May 16 pts/1       1:17 /opt/SPLcobAS51/bin/cobjrun64 -Dcom.microfocus.cobol.cobjvm=sun_150_64 -DSPLCJV
    

    When the process lasts more than 24 hours, you can get is no longer hours or minutes.
    You can use the utility "netstat" to connect the source & destination?

    If this isn't the case, random randomly start put to death via kill - 9 until you success!

  • How to find the session killed and computer name

    Hello

    At the time of the batch run killed .somebody this session without me knowing how to find the user particular db level or oslevel .de name which machine they killed how know at the OS level. but when I put the audit_trail = os only user SYSDBA activities are not checked the other activities of the user.

    The server is AIX and db version 11i provide the query for conclusion or os level.

    Thank you
    DBC.

    Published by: dbc001 on March 26, 2013 21:48

    check with who ever is privilleges to kill these perticluar session, if you have few users.
    It is not possible to findout without verification or error info... etc.
    Otherwise, restart these jobs perticluar and follow closely.

  • How to find the last update date, time and user of the file field peoplecode

    How to find the last updated date time fields of peoplecode records?

    Thank you.

    We can check the update date-time using the following query

    SELECT LASTUPDDTTM IN THE PSPCMPROG WHERE OBJECTVALUE1 LIKE "RECNAME" AND OBJECTVALUE2 AS "FIELDNAME".

  • How to find the ID of a submit button in oracle seeded pages

    Hello

    I tried downloading the page locally and I try to open using jdev, but "oa:popup" is not valid message is coming.

    So I can not open this page so not able to see the ID of the button.

    Can you tell me how to find the ID in another way.

    Hello

    If your cannot open page in jdev, then copy the page (xml file) from the server and save to anywhere on your local computer, which opened in Notepad, here you can find the ID of your button required. However, the norm is to open the page in jdev
    Haroon.

  • How to find the second largest in a pl/sql table

    Hello friends,

    I want to find the first and second maximum items in a pl/sql table.

    Here's the code...

    DECLARE
    Max_earnings_type TYPE TABLE IS NUMBER;
    max_earnings_tab max_earnings_type: = max_earnings_type();
    number of v_count: = 0;
    number of v_max_earnings;


    Can someone give me how to find the maximum first max and second in the type of the given table.

    appreciate your help.

    Thank you/kumar

    Published by: kumar73 on October 21, 2010 09:42

    kumar73 wrote:

    When I tried to implement your logic in my application, I get the following error...

    PL/SQL: digital or value error: NULL index key value table

    What happens if the PL/SQL table has NULL values. Question is how you want to handle NULL values. You want to ignore nulls as GROUP BY do? If you want to consider NULL values, you can say if you want to order the NULLS FIRST or NULLS LAST. I guess that logical GROUP BY:

    DECLARE
        TYPE max_earnings_type IS TABLE OF NUMBER;
        TYPE max_earnings_sorted_type IS TABLE OF NUMBER
          INDEX BY BINARY_INTEGER;
        max_earnings_tab        max_earnings_type;
        max_earnings_tab_sorted max_earnings_sorted_type;
    BEGIN
        SELECT  sal + comm
          BULK COLLECT
          INTO  max_earnings_tab
          FROM  emp;
        FOR v_i in 1..max_earnings_tab.count LOOP
          IF max_earnings_tab(v_i) IS NOT NULL
            THEN
              max_earnings_tab_sorted(max_earnings_tab(v_i)) := 1;
          END IF;
        END LOOP;
        DBMS_OUTPUT.PUT_LINE('MAX value in PL/SQL table is ' || nvl(to_char(max_earnings_tab_sorted.last),'NULL'));
        DBMS_OUTPUT.PUT_LINE('Second MAX value in PL/SQL table is ' || nvl(to_char(max_earnings_tab_sorted.prior(max_earnings_tab_sorted.last)),'NULL'));
    END;
    /
    MAX value in PL/SQL table is 2650
    Second MAX value in PL/SQL table is 1900
    
    PL/SQL procedure successfully completed.
    
    SQL> SELECT  sal + comm
      2    FROM  emp;
    
      SAL+COMM
    ----------
    
          1900
          1750
    
          2650
    
          1500
    
      SAL+COMM
    ----------
    
    14 rows selected.
    
    SQL>
    

    SY.

Maybe you are looking for

  • Re: Satellite X 200: possible is the processor upgrade?

    Hello. I own a X 200 satellite and me have been thinking about upgrading my processor, actually a T5450 (really bad). I would like to know mainly two things:(1) is it possible?(2) what chipset, socket is compatible with the processor T5450? Thank you

  • Need Frammework Net of Microsoft on a computer at home

    I work on my C disk cleanup because I lack space. I noticed that there are different versions of the Microsoft Framework. I don't remember having on my other computer. I bought this computer from a company. Microsoft Framework is needed on a computer

  • Impossible to get over 130mbps

    I have a router 600n wrt and a wusb300n and can only get a max of 130mpbs connection. Here are my settings basic wireless Here is my wireless security settings: What can I do to get my bandwidth closer to 300mbps brand?

  • I can\ to connect to the web server integrated on my D7460?

    Hello I had some problems with my Photosmart D7460 printer and resolved (for now) most of them. Except that I can't connect to the built-in web server. Also, I do not get a response when I try and ping the printer. Giving to think I have problems of

  • Error 0x80072efd upgrade from Windows 7 Starter to Windows 10

    I downloaded the upgrade of 10 the Windows Wizard on a Windows 7 Starter device. When I open the wizard and start the real Windows 10 download, I get a message 'something was wrong' with error 0x80072efd, saying I should check the network settings an