doubt on index

Hello

I have a table with cust_id. The data is in a good order (asc). You need to create an index on this column when I joined with other tables with the same column?

Please give me your valueble comments on this... !!

A doubt more

How index will work on as operator if I use the index column for like operator?

Concerning

PR

3b67e3fd-6d7a-4482-91B0-aa9f5c98b8ac wrote:

Thank you Paul for your answer.

See, I have inserted cust_id values in asending order... Means 1,2,3,4,...! It is the parent table. If I need index on this column to join other tables (Child).

for the Like operator. I saw this url

http://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:1434815000346190059

What are your comments..!

Concerning

PR

Any order you inserted the: you can't rely on incentive at the back in that order, because, again, have no command lines.

The only way to ensure that they come out in the desired order is to use an ORDER BY when you select.

If it's a parent table and you want that the children refer to this column as a foreign key, then it must be a primary key

column, which implies it is indexed or unique indexed column.

To clarify my answer: it will not use the index for "something %' If you select columns that are not in the index." He could

Use the index if all the columns you want are in the index.

Even if the columns are not in the index, it can always use the index for like "something %'."

Tags: Database

Similar Questions

  • What exactly is an Index contan?

    Hello

    I doubt if index actually contains the rowid or column data values, or both?

    According to the documents of the Oracle:
    "An index is a schema object that contains an entry for each value that appears in the indexed columns in the table or cluster and offers quick and direct access to the lines."

    Can someone explain this please? What happens when an index contains several columns?

    Also, I need some information in Index organized tables. This is a table of normal database with index or something different? Any study material on that would be helpful.


    Thank you
    AB

    An index contains ROWID and value of the column.

    For example, if you index the table EMP on EMPNO then the index will contain ROWID of each row in the EMP table and the value of the EMPNO column.

    A simple example using the EMP table to show that the Index stores the column value.

    I got a clue on EMPNO. When I select only EMPNO from EMP table so you can see that oracle accesses the table at all.

    SQL> set autotrace traceonly explain
    SQL>
    SQL> select empno from emp;
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 1216028367
    
    ---------------------------------------------------------------------------
    | Id  | Operation        | Name   | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------
    |   0 | SELECT STATEMENT |        |    11 |    44 |     1   (0)| 00:00:01 |
    |   1 |  INDEX FULL SCAN | EMP_PK |    11 |    44 |     1   (0)| 00:00:01 |
    ---------------------------------------------------------------------------
     
    

    Oracle takes just the value of the index by doing a FULL SCAN of INDEX.

    But at the same time if I select all the columns of the EMP for a specific EMPNO like this

    SQL> select * from emp where empno = 7839;
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 2741608761
    
    --------------------------------------------------------------------------------------
    | Id  | Operation                   | Name   | Rows  | Bytes | Cost (%CPU)| Time     |
    --------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT            |        |     1 |    38 |     1   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| EMP    |     1 |    38 |     1   (0)| 00:00:01 |
    |*  2 |   INDEX UNIQUE SCAN         | EMP_PK |     1 |       |     1   (0)| 00:00:01 |
    --------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       2 - access("EMPNO"=7839)
    

    You can see that oracle will scan the index for the specific EMPNO and with the ROWID, it scans the EMP table.

  • doubt of oracle documentation index

    I was going through the topic index in the doc: 'Oracle server Concepts' and the quote from the article:

    CREATE INDEX employees_ix

    ON employees (last_name, job_id, salary);

    Queries that access all three columns, only the last_name column, or only the last_name and job_id columns use this index. In this example, the queries that do not access the last_name column do not use the index.

    I wanted to just above clarity. He say this index is used for queries whose access:

    (1) last_name

    (2) last_name, job_id

    (3) last_name, job_id, salary

    I wanted to know if an index is used when a query that accesses:

    (1) last_name, salary

    (2) wage, last_name

    (3) job_id, last_name

    The index will be used if the order of the columns in the query is blurred.

    Yet you can tell what that means: "when the main column has very low cardinality.

    Seriously? You do not find in the same doc you took quote you?

    The right to the paragraph above the one you cited has a link to "cardinality". Just click on it and it will lead you to the explanation of the glossary.

    I have provided a link to the doc - it just search "cardinality" and click on it.

  • doubt about the Index Skip Scan

    Hi all

    I read the setting of Oracle performance guide (Version 11.2 Chapter 11). I just want to see index skip scan with an example. I created a table called t and inserted the test data. When I asked the table optimizer did not use the index skip scan path.

    Can you please let me know what mistake I am doing here.

    Thanks a lot for your help in advance.

    SQL > create table t (empno number
    2, ename varchar2 (2000)
    3, varchar2 (1) sex
    4, email_id varchar2 (2000));

    Table created

    SQL >
    SQL >-test data
    SQL > insert into t
    2 level, select "suri" | (level), ','suri.king' | level | ' @gmail.com'
    3 double
    4. connect by level < = 20000
    5.

    20000 lines inserted

    SQL >
    SQL > insert into t
    2 Select level + 20000, 'surya ' | (level + 20000), 'F', 'surya.princess'. (level + 20000) : ' @gmail.com '
    3 double
    4. connect by level < = 20000
    5.

    20000 lines inserted

    SQL > create index t_gender_email_idx on t (gender, email_id);

    Index created

    SQL > explain the plan for
    2 Select
    3 t
    4 where email_id = "[email protected]";

    He explained.

    SQL > select *.
    table 2 (dbms_xplan.display);

    PLAN_TABLE_OUTPUT
    ----------------------------------------------------------------------------------------------------------------
    Hash value of plan: 1601196873

    --------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
    --------------------------------------------------------------------------


    |   0 | SELECT STATEMENT |      |     4.  8076 |   103 (1) | 00:00:02 |
    |*  1 |  TABLE ACCESS FULL | T    |     4.  8076 |   103 (1) | 00:00:02 |
    --------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):
    ---------------------------------------------------

    1 - Filter ("EMAIL_ID"= "[email protected]")

    Note
    -----
    -dynamic sample used for this survey (level = 2)

    17 selected lines.

    See you soon,.

    Suri

    You have just demonstrated how your execution plan gets screwed up if you do not have your statistics

    SQL > create table t
    () 2
    3 empno number
    4, ename varchar2 (2000)
    5, varchar2 (1) sex
    6, email_id varchar2 (2000)
    7  );

    Table created.

    SQL > insert into t
    2 Select level, "suri" | (level), ', 'suri.king'| level | ' @gmail.com'
    3 double
    4. connect by level<=>
    5.

    20000 rows created.

    SQL > insert into t
    2 Select level + 20000, 'surya ' | (level + 20000), 'F', 'surya.princess'. (level + 20000) : ' @gmail.com'
    3 double
    4. connect by level<=>
    5.

    20000 rows created.

    SQL > create index t_gender_email_idx on t (gender, email_id);

    The index is created.

    SQL > set autotrace traceonly explain
    SQL >
    SQL > select *.
    2 t
    3 where email_id = "[email protected]";

    Execution plan
    ----------------------------------------------------------
    Hash value of plan: 2153619298

    --------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
    --------------------------------------------------------------------------
    |   0 | SELECT STATEMENT |      |     3.  6057.    79 (4) | 00:00:01 |
    |*  1 |  TABLE ACCESS FULL | T    |     3.  6057.    79 (4) | 00:00:01 |
    --------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):
    ---------------------------------------------------

    1 - Filter ("EMAIL_ID"= "[email protected]")

    Note
    -----
    -dynamic sampling used for this statement

    SQL > exec dbms_stats.gather_table_stats (user, 't', cascade-online true)

    PL/SQL procedure successfully completed.

    SQL > select *.
    2 t
    3 where email_id = "[email protected]";

    Execution plan
    ----------------------------------------------------------
    Hash value of plan: 2655860347

    --------------------------------------------------------------------------------------------------
    | ID | Operation | Name               | Lines | Bytes | Cost (% CPU). Time |
    --------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT |                    |     1.    44.     1 (0) | 00:00:01 |
    |   1.  TABLE ACCESS BY INDEX ROWID | T                  |     1.    44.     1 (0) | 00:00:01 |
    |*  2 |   INDEX SKIP SCAN | T_GENDER_EMAIL_IDX |     1.       |     1 (0) | 00:00:01 |
    --------------------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):
    ---------------------------------------------------

    2 - access ("EMAIL_ID"= '[email protected]')
    filter ("EMAIL_ID"= "[email protected]")

    SQL >

  • Doubt about the Index

    Hi all

    Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    "CORE 11.2.0.2.0 Production."
    AMT for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production

    I have a question about the index. Is - this required that the index will be useful if we have a "WHERE" clause I tried to find myself there but do not.
    In this example I haven't used where clause used but group. But it gives a comprehensive analysis. Is it possible to get the scan interval or something else using Group by?
    SELECT tag_id FROM taggen.tag_master GROUP by tag_id 
    
    Explain Plan:
    Plan hash value: 1688408656
     
    ---------------------------------------------------------------------------------------
    | Id  | Operation             | Name          | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT      |               |  4045 | 20225 |     6  (17)| 00:00:01 |
    |   1 |  HASH GROUP BY        |               |  4045 | 20225 |     6  (17)| 00:00:01 |
    |   2 |   INDEX FAST FULL SCAN| TAG_MASTER_PK |  4045 | 20225 |     5   (0)| 00:00:01 |
    ---------------------------------------------------------------------------------------

    Hello

    SamFisher wrote:
    Since I was on what they do full scan. Is it possible to restrict of fullscan without using where clause?
    I guess having limit clause but not quite know.

    Why?
    If this query is producing good results, then you need a full analysis.
    If fool you somehow the optimizer by doing a scan of interval, it will be slower.

  • Doubt in create index.

    Hello
    I tried to create indexes on the same column in the same table as below, and I could see the difference also as below.
    When I gave 'BR_CODE', in dba_ind_columns, it appears as SYS_NC00082$. Why is it so? Can you get it someone please let me know the difference?

    create index IDX_BRCODE on BCT (BR_CODE, BANK_CODE);

    The index is created.

    SQL > select index_name, column_name from dba_ind_columns where table_name = "BCT";

    INDEX_NAME COLUMN_NAM
    ------------------------------ ----------
    IDX_BRCODE BR_CODE
    IDX_BRCODE BANK_CODE

    create index IDX_BRCODE1 on BCT ('BR_CODE', BANK_CODE);

    The index is created.

    SQL > select index_name, column_name from dba_ind_columns where table_name = "BCT";

    INDEX_NAME COLUMN_NAM
    ------------------------------ ----------
    IDX_BRCODE BR_CODE
    IDX_BRCODE BANK_CODE
    IDX_BRCODE1 SYS_NC00082$

    IDX_BRCODE1 BANK_CODE

    user10698496 wrote:
    Once again great explanation in a way more easy to understand for beginners like me.

    Another question. If BANK_CODE is a nullable column, how will be the index with the constant "BR_CODE" (I want to say index ("BR_CODE", BANK_CODE)) help in select queries with BANK_ID in where clause?

    For example:-select col1 from bct where bank_id = 'x' and br_code = 'y '? -In this query will be how this constant index thanks to 'BR_CODE '? How does this index for this query?

    CBO will not use index (in normal case) when the indexed column is null. But you can create INDEXES of DATABASE FUNCTION and can for the use of this. In the structure of your query and index are different. Use of the index when the query predicate is match your index (without other intervention) structure. So for your query, it will not work.

  • Doubt Index branch block Dump

    Hi Experts.

    To find out how a b-tree index, I had the following experience.
    I created a "TEST2" table with two columns 'TEST_No, TEST_DESC', and it has indexed on the two columns. Then I have the dump tree index (top only) as follows.
    --------------------------
    Oracle Database 10 g Enterprise Edition release 10.2.0.3.0 - Production
    With partitioning, OLAP and Data Mining options
    Windows XP Version V5.1 SP3
    CPU: 2 - type 586, physical cores 1
    Process affinity: 0x00000000
    Memory (success/Total): Ph: 158 M / 1014 M, Ph + FCP: 360 M / 1685 M, GOES: 1586M / 2047 M
    Instance name: ibsprmry

    Redo thread mounted by this instance: 1

    Oracle process number: 15

    Windows thread ID: 4628, image: ORACLE. EXE (SHAD)


    2009-07-09 11:24:59.734
    ACTION NAME :() 11:24:59.734 2009-07-09
    MODULE NAME:(SQL*Plus) 2009-07-09 11:24:59.734
    SERVICE NAME:(SYS$USERS) 2009-07-09 11:24:59.734
    SESSION ID: (139.10548) 2009-07-09 11:24:59.734
    start the dump of the tree
    Branch: 0x10002b4 16777908 (0: equal nrow: 3, level: 2)
    Branch: 0 1000719 16779033 x (-1: equal nrow: 362, level: 1)
    sheet: 0x10002b7 16777911 (-1: equal nrow: 134 St.: 134)
    sheet: 0x100049c 16778396 (0: equal nrow: Holy 122: 122)
    sheet: 0 x 1000498 16778392 (1: equal nrow: 226 St.: 226)
    sheet: 0x10002b8 16777912 (2: equal nrow: 126 St.: 126)
    sheet: 0x10004a4 16778404 (3: equal nrow: 118 St.: 118)
    sheet: 0x10004a0 16778400 (4: equal nrow: 226 St.: 226)
    sheet: 0x10002b5 16777909 (5: equal nrow: 126 St.: 126)
    --------------------------

    and I took the block-dropping so root (corresponding to 16777908 block in bold above) as follows
    --------------------------
    D:\oracle\admin\ibsprmry\udump\ibsprmry_ora_4140.TRC dump file
    Thu Jul 09 11:28:15 2009
    ORACLE V10.2.0.3.0 - Production vsnsta = 0
    vsnsql = 14 vsnxtr = 3
    Oracle Database 10 g Enterprise Edition release 10.2.0.3.0 - Production
    With partitioning, OLAP and Data Mining options
    Windows XP Version V5.1 SP3
    CPU: 2 - type 586, physical cores 1
    Process affinity: 0x00000000
    Memory (success/Total): Ph: 222 M / 1014 M, Ph + FCP: 378 M / 1685 M, GOES: 1587M / 2047 M
    Instance name: ibsprmry

    Redo thread mounted by this instance: 1

    Oracle process number: 15

    Windows thread ID: 4140, image: ORACLE. EXE (SHAD)


    2009-07-09 11:28:15.100
    ACTION NAME :() 11:28:15.084 2009-07-09
    MODULE NAME:(SQL*Plus) 2009-07-09 11:28:15.084
    SERVICE NAME:(SYS$USERS) 2009-07-09 11:28:15.084
    SESSION ID: (139.10625) 2009-07-09 11:28:15.084
    Start of data dump blocks tsn: 4: 4 minblk minblk 692 692 file No.
    buffer of tsn: 4 rdba: 0x010002b4 (4/692)
    RCS: 0x0000.000a0809 seq: flg 0x0 02: 04 tail x: 0 x 08090602
    facsimile: x 0x02: 0xc4aa type: 0 x 06 = data trans
    A hexadecimal dump of the block: m = 0, typ_found = 1
    Memory dump of 0 08566400 to 0 08568400 x x
    8566400 0000 HAS 206 010002 B 4 000 A 0809 04020000 [...]
    0000C4AA 8566410 00000002 0000C 908 000 A 0809 [...]
    ........
    ........

    Dump block: 0x010002b4
    ID of the object on the block? THERE
    SEG/obj: 0xc908 CSC: 0x00.a0809 ICC: 1 flg: typ E: 2 - INDEX
    ONR: 0 bdba: worm 0x10002b1: 0 x 01 opc: 0
    Inc.: exflg 0: 0

    ITL Xid Uba flag Lck SNA/Fsc
    0 x 01 0x0005.00d.0000016a 0x00802247.010b.02 C - 0 CHN 0x0000.000a0809

    Dump of bundle branch block
    =================
    header address 139879500 = 0x856644c
    kdxcolev 2
    KDXCOLEV flags =-
    kdxcolok 0
    kdxcoopc 0x80: opcode = 0: ITO flags = - is converted = Y
    kdxconco 3
    kdxcosdc 2
    kdxconro 2
    kdxcofbo 32 = 0 x 20
    8041 = 0x1f69 kdxcofeo
    kdxcoavs 8009
    kdxbrlmc 16779033 = 0 x 1000719 = (1).
    kdxbrsno 1
    kdxbrbksz 8060
    kdxbr2urrc 0
    rank #0 [8051] s/n: 16779103 = 0x100075f
    Pass 0; Len 3; (3): c3 03 4B
    colour No. 1; TERM
    rank #1 [8041] s/n: 16779703 = 0x10009b7 = > (2).
    Pass 0; Len 4; (4): 06 23 52 c3 = > (3)
    colour No. 1; TERM
    -end of the emptying of bundle branch block-
    End of dump data tsn blocks: 4: 4 minblk minblk 692 692 file No.

    ----------------------
    My understanding is
    (1) indicates that all the index keys below (2).
    (2) contains the number of line (starting with #0) followed by [location of boot block] followed by the dba
    (3) indicates the column number (starting with 0) followed by the length of the column followed by the value of the column

    In the root branch blocks, only the information needed to find the correct branch/leaf block are stored
    column value is shortened to the smallest value that defines unique pathThus way, the content of the column is truncated as much as possible.

    _____ QUESTION

    My question is related to (3). That is how the value of the '06 23 52 c3' column is formed? I tried to convert from Hex to Decimal. But not able to interpret this as any significant data. Does anyone know how exactly the value ((3)) is calculated by Oracle?

    Appreciate any help in this.

    Thanks in advance

    Concerning

    Mathieu

    Florent says:
    Pass 0; Len 4; (4): c3 06 23 52 ===> (3)

    My question is related to (3). That is how the value of the '06 23 52 c3' column is formed? I tried to convert from Hex to Decimal. But not able to interpret this as any significant data. Does anyone know how exactly the value ((3)) is calculated by Oracle?

    The answer is 53 481.

    SQL > select dump (53481,16) twice;

    DUMP (53481,16)
    -----------------------
    Typ = 2 Len = 4: c3, 6, 23, 52

    Convert Oracle number() internal decimal is to use the packaged procedure dbms_stats.convert_raw_value. It is documented in the dbmsstat.sql script or PL/SQL packages reference manual.

    Concerning
    Jonathan Lewis
    http://jonathanlewis.WordPress.com
    http://www.jlcomp.demon.co.UK

    "All experts it is a equal and opposite expert."
    Clarke

  • doubt in the rebuilding of the index

    Hello

    can someone tell me the formula for the rebuilding of the index? in what situation to go for the reconstruction of the index?

    ora_2009 wrote:
    You can run the command 'ANALYSIS of the STRUCTURE INDEX VALIDATE' on the relevant index - each invocation of this command creates a single line in the INDEX_STATS view.
    This line is replaced with the next order INDEX of ANALYSER, so copy the contents of the view into a local table after each SCAN. The "wickedness" of the index can then be judged by the ratio of 'DEL_LF_ROWS' to 'LF_ROWS '.

    Do not forget that this command locks the table for the duration of the analysis.
    How do you (personally) by the ratio of del_lf_rows to lf_rows? Would you, for example, reconstruction based on the following figures:

    LF_ROWS                       : 328158
    DEL_LF_ROWS                   : 7354
    

    Concerning
    Concerning
    Jonathan Lewis
    http://jonathanlewis.WordPress.com
    http://www.jlcomp.demon.co.UK

    "All experts it is a equal and opposite expert."
    Clarke

  • index of information doubt

    Hi all.
    Can someone explain to me why the following results are always different?
    I tried this on several database and the results are never the same, I expect somehow to be.
    In any case, please see:
    select count(*) from dba_objects where object_type='INDEX'
    40654
    select count(*) from dba_indexes
    41782

    .. This selects me didn't give different results, no mather on what database, I run, so I was wondering why? ... and what shows correct number selection

    Indices in question are clues LOB:

    {color: #3366ff} 1 select distinct from index_type
    2 dba_indexes ind
    3 where does not exist (select dba_objects 1 o
    4 where o.object_name = ind.index_name and
    o.owner = ind.owner 5 and
    6 * o.object_type = 'INDEX')
    SQL > /.
    SQL > /.

    INDEX_TYPE
    {color}-
    {color: #3366ff} LOB
    {color} Check may also be performed with a different method:

    {color: #3366ff} SQL > select count (*) from dba_indexes;

    COUNT (*)
    ----------
    * 3972 *.

    Elapsed time: 00:00:00.10
    SQL > select count (*) from dba_objects where type_objet = 'INDEX ';

    COUNT (*)
    ----------
    * 3214 *.

    Elapsed time: 00:00:00.24
    SQL > select count (*) from dba_objects where object_type = 'LOB ';

    COUNT (*)
    ----------
    * 758. *

    Elapsed time: 00:00:00.23
    SQL > select 3214 + 758 double;

    3214 + 758
    ----------
    * 3972 *.

    Elapsed time: 00:00:00.00 {color}

    Potentially, there is another possible source of offset:

    {color: #3366ff}
    1 select distinct segment_type in dba_segments
    where the 2 (owner, nom_segment) in
    3 (select master, dba_indexes index_name
    4 less
    5 * select master, object_name from dba_objects where type_objet = 'INDEX')
    SQL > /.

    SEGMENT_TYPE
    ------------------
    LOBINDEX
    INDEX PARTITION

    {color: #000000} The conclusion is that there is a problem of terminology. Index of business are considered to be 'clues' but I don't know why. One
    Impossible to manipulate them or change their settings.
    {color} {color}

  • CHKDSK displays bad index file.

    How can I fix this bad file index. I have XP32 - SP3 - IE8

    1. open my computer.

    2. right click on Local disk (c :)) (assuming this is the partition that contains Windows XP), and select Properties.)

    3. click on the Tools tab.

    4. click on the check now button.

    5 check the two boxes that appear under "check disk Options.

    6. click on start.

    When you restart, the CheckDisk program will work. Since it will be analyzes your entire hard drive and attempt to fix the system and recovery of bad sectors errors, it will take a VERY long time. So you can do this before you go to sleep! (No doubt, when you ran before, you only run the scan without no repair option.)

    What was the reason that you run chkdsk in the first place?

    In the future, when you ask for help, please provide the following information (in addition to what you already provided):

    -brand, model and model number of your PC

    -If you have the appropriate XP installation CD

    -TYPE of XP (Home, Pro or MCE)

    -whatever it happened recently that might have caused the problem, you now have (spike power or failure, malware, etc.)

    -the EXACT message you saw (using the expression "due to a problem" doesn't help us understand what the problem is)

  • Doubt of the ACL

    Hello. I have a little doubt about the ACL:

    If I apply an ACL (denying any entry/exit telnet connections) to the interface VLAN 5 192.168.1.254 IP address is it still possible to telnet to IP 192.168.1.254? Other IP addresses on the network, I know that it is not possible.

    Thank you.

    You can control the protocols used for the management of the VTY. To allow only SSH, you follow these steps.

    line vty 0 15

    entry ssh transport

    Let's say for some reason any you telnet and SSH, you follow these steps.

    line vty 0 15

    transport input telnet ssh

    Here is a link to the configuration of SSH (router or switch will work).

    http://www.packetpros.com/wiki/index.php/Cisco

  • Hi all, I have little doubt all blocking issues?

    Block delivers the means

    When there is #Missing in cube it only creates blocks.

    ex script: calculation - California = newyork + 100;

    for this equation 1 my cube is now empty (#missing), I ran above.it calculation script won't get showing data.it #missing.

    If I use createnonmissingblock or createblockonequation, it will work: data, it will show.

    2. now I enter some data in New York only and in California, is #missing.now I ran above work calculation script.it means data is it in California with 100 + New York data.

    If the above 2 points correct ways. my doubt is. California = New York 100; if New York with some of its data empty fine.if of New York, which is uses California = newyork + 100 New York data are not there (#missing) which is used to give of California = New York 100 +

    My conclusion is if data is in cube, we get block issues.if used it is not here that we get block questions is this correct or not?

    3035274 wrote:

    Hi Dan,.

    Thanks for the reply.

    you gave the link in this 4 ex: according to the formula and the structure of the data, calculate a formula top-down and bottom-up may involve two questions.

    As I sad given is the first mandatory next top down or bottom up to overcome the block issued.

    Dan can you explain this.

    There of not much to the MFI here, documentation is simply illustrating behaviors from the top down vs bottom.

    If there is no block for the sparse intersection not supposed to contain a computed value and the calculation is a bottom-up fashion, then nothing is calculated. It is because in calc from the bottom up, Essbase will evaluate block to determine by looking at the index. Because there is no entry in the index for Cola-> New York-> Budget, since the block does not exist, then nothing is calculated.

    In descending mode, Essbase will evaluate all possible sparse intersections.

  • Why is-2 slashes after domain name now, when you publish a live site after the new update with Muse? Post also after the site he has these 2 slashes before 'index.html '.

    There are 2 slashes after domain name now, when you need to publish a live site after the new update with Muse?

    -It was always a slash after the domain name. And if BC publication the

    site - it has also these 2 slashes before "index.html" - is this correct? - or something wrong?

    slash.png

    Hi erinb61521593,

    I did some tests at my end and can confirm that it is a known problem with the latest version of Muse but I advise you to choose the option with the / / at the time of release as it will download your site in good folder on the servers of BC (that points to your domain name) and after publishing the site if you go to the url with single / it works perfectly.

    We already noted this problem with the developers of muse and I don't know that it will be fixed in the next version of Muse.

    Feel free to reply to this post, just in case I missed something or if you have any other doubts about this.

    Kind regards

    Vivek

  • Unique and non-unique indexes


    Hello

    I have a unique index associated with no doubt. Unique and not unique indexes are used B tree architecture. But I want to know if I create a non-unique index on a column that contains unique data.

    When I query this table using this column, it scans each sheet or times found that value it scan stops and give us the result?

    00125 wrote:

    In a non-unique index, scans all the leaves... so what's the difference between full table scan and index ull. I went through a few articles they mentioned that a non-unique index to check with rowid. How she treated? I have clear knowledge in it.

    Please help me with this.

    Thanks in advance

    If you go through architecture index B-tree you could easily understand how indexing works. The picture here shows how a look of column datatype NUMBER indexed as / stored internally. You can imagine that your indexed column TST_COLA this will look like in the internal process. In the B-tree indexes, you have 3 main structures 1. 2 root. Branch 3. Leaves and the database retrieves lines by browsing through the root of index-> branch-> leaves. If the photo if we wanted to retrieve the row whose value indexed column = 25. First data goes to the root and finds that plugs is set to 25, then he Stoops to this particular branch of find what block sheet retains the value 25. More far away after finding the leaves block then goes to this block of sheets and research the special value of 25.

    If the index is UNIQUE, the database knows that there must be only one value, where it performs INDEX UNIQUE SCAN. If the index is NOT UNIQUE it should check all values in this block of leaves to find who all are 25 - in this case INDEX RANGE SCAN is done - as you must check not only value, but all values in this block of sheets - given that the values are not unique. As you can see it that the sheet block contains the long side of the value of the column ROWID, using this database rowid, then goes to the table to retrieve that particular line.

    Full table scan is a method of access where the database just to access the table directly (bypassing index structure) and analyze the ENTIRE table to satisfy the request.

  • Indexing and who should do it

    I work for a company that has a fairly large data warehouse Oracle that we use to store the SAP data dissemination (about 500 M of lines for some tables). Tables are not indexed and if I try to reach them on the query takes hours to complete. If the DBA needs to be proactive and create these indexes in order to reduce the load on the database?

    The team wants to load our 40 hours for 3 indices Department ADMINISTRATOR has already provided a script for. I'm naïve or y at - it something crazy to need 40 hours to implement 3 clues? I should mention that these tables is related to SAP and should be indexed to joined already IMO.

    I'm just trying to understand if I'm missing something.

    Thank you

    Creation of parallel indexing can reduce your time to create, but you must "alter index noparallel xyz" after its creation if you want really not parallel to this topic.

    Another impact on the creation of index how long does is how fast your hardware (processors, processor speed, speed of SAN etc.), but also what else is no running on the database in time using server resources.

    On an AIX Power 7-3 processor (quad core) production server it took me about 15 minutes to create an index on a table of 600 million lines running at the same time 8.

    On an AIX Power 5-4 Intel (quadruple-heart) test server it took about twice as long.  The SAN on production was super fast as well which had impact on how long it took.

    There are other factors that will affect the creation time.

    Specifically that I seriously doubt they can justify bill you for 40 hours.  It is unlikely that someone will run a script and then watching the screen for the next 40 hours waiting for the index to create... unless they are a bunch of clowns.  More than likely they run the script, go and do other things and periodically check to see if she has completed.

    Your IT team is having a laugh.  It should be fun to ask them to justify and to break the 40 hours.  minute to copy the script on the server, 30 seconds to go, 30 seconds to run the script.  39hrs, of 58 minutes watching the screen ready to create index at the end... Hmm... sounds fishy to me.

Maybe you are looking for