Difference between Create Index without and with Parallel Clause

Hi all.
I want to know the difference between Create Index with Parallel clause and Create Index without Parallel clause.
Any documentation.
Thanks,
Hassan

Sure?
dimitri@VDB> create table t parallel 3 as select * from all_objects;
Table created.
dimitri@VDB> set autotrace traceonly
dimitri@VDB> select * from t;
40934 rows selected.
Execution Plan
Plan hash value: 3050126167
| Id  | Operation            | Name     | Rows  | Bytes | Cost (%CPU)| Time     |    TQ  |IN-OUT| PQ Distrib |
|   0 | SELECT STATEMENT     |          | 40601 |  5075K|    50   (0)| 00:00:01 |        |      |            |
|   1 |  PX COORDINATOR      |          |       |       |            |          |        |      |            |
|   2 |   PX SEND QC (RANDOM)| :TQ10000 | 40601 |  5075K|    50   (0)| 00:00:01 |  Q1,00 | P->S | QC (RAND)  |
|   3 |    PX BLOCK ITERATOR |          | 40601 |  5075K|    50   (0)| 00:00:01 |  Q1,00 | PCWC |            |
|   4 |     TABLE ACCESS FULL| T        | 40601 |  5075K|    50   (0)| 00:00:01 |  Q1,00 | PCWP |            |
--------------------------------------------------------------------------------------------------------------Looks like PQ to me.
alter table t noparallel;
Table altered.
dimitri@VDB> select * from t;
40934 rows selected.
Execution Plan
Plan hash value: 1601196873
| Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT  |      | 40601 |  5075K|   135   (1)| 00:00:02 |
|   1 |  TABLE ACCESS FULL| T    | 40601 |  5075K|   135   (1)| 00:00:02 |
--------------------------------------------------------------------------Same if we use an Index:
dimitri@VDB> create index t_idx on t(object_name) parallel 3;
Index created.
dimitri@VDB> select object_name from t;
40934 rows selected.
Execution Plan
Plan hash value: 4278805225
| Id  | Operation               | Name     | Rows  | Bytes | Cost (%CPU)| Time     |    TQ  |IN-OUT| PQ Distrib |
|   0 | SELECT STATEMENT        |          | 40601 |   674K|    50   (0)| 00:00:01 |        |      |            |
|   1 |  PX COORDINATOR         |          |       |       |            |          |        |      |            |
|   2 |   PX SEND QC (RANDOM)   | :TQ10000 | 40601 |   674K|    50   (0)| 00:00:01 |  Q1,00 | P->S | QC (RAND)  |
|   3 |    PX BLOCK ITERATOR    |          | 40601 |   674K|    50   (0)| 00:00:01 |  Q1,00 | PCWC |            |
|   4 |     INDEX FAST FULL SCAN| T_IDX    | 40601 |   674K|    50   (0)| 00:00:01 |  Q1,00 | PCWP |            |
-----------------------------------------------------------------------------------------------------------------Everything done on a single CPU (also only one core in the CPU) AMD Box.
Dim

Similar Messages

  • Difference between global temporary table and with clause

    what is the difference between global temporary table and with claue .(with clause is used as table in select query)

    what is the difference between global temporary table and with claue .(with clause is used as table in select query)Its big difference between the two.
    Global temporary table exists for a session or a transaction while, with clause lives only for a query.
    GTT is a named permanent storage table whose data flushes away on session exit or at end of a transaction while WITH clause just provides names to a reference data within a query (which is as good as having union subquery in FROM clause)
    eg
    SQL> with c as
      2  (
      3  select 1 id1, 2 id2 from dual union all
      4  select 2,4 from dual union all
      5  select 3,5 from dual)
      6  select * from c
      7  /
           ID1        ID2
             1          2
             2          4
             3          5
    SQL> ed
    Wrote file afiedt.buf
      1  select *
      2  from
      3  (
      4  select 1 id1, 2 id2 from dual union all
      5  select 2,4 from dual union all
      6* select 3,5 from dual)
      7  /
           ID1        ID2
             1          2
             2          4
             3          5But GTT serves its purpose very well in case of session specific transaction and the scnearion with multiple users working on same data.

  • What is the difference between creating index on cube and infopkg in PC

    Hi All
    I have process chain in which after executing infopkg(load data infopkg),creating index on cube i.e Object type is Cube ,for which execution time is 1 hour,then after (subsequent step ) again create index  at this time object type is "infopkg"
    execute infopkg for which time is 2 minnutes,what is the diffrence between these two,if i reome create index from cube i can save 1 hour time,I have to reveiew this
    chain for performance,plese post me your thoughts,it's argent,your help will be heighly appreciatable.Thanks in advance.
    regards
    EA

    By default once u use create index process type Object type has Infopackage - change it to Cube tech name.
    If its Cube - Indexes will be deleted or created for all the date in the cube.
    Message was edited by:
            Jr Roberto

  • Difference between create database link and create shared Database link

    Hi Guys,
    can any one suggest me where to use "create database link" statement and where to use "Create shared database link". I have only idea that using shared database link the process can reuse connections already established to the remote server.
    In my envrionment I am used to connect with db link but sometimes its not working so try with shared link and its working fine. In local as well as remote database we are using DEDICATED only not the shared server.
    so, what the cause behind this?
    Any suggestion?
    Thanks...

    Please refer to documentation:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/ds_concepts.htm#sthref3878
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Difference between an XMLType table and a table with an XMLType column?

    Hi all,
    Still trying to get my mind around all this XML stuff.
    Can someone concisely explain the difference between:
    create table this_is_xmltype_tab of xmltype;and
    create table this_is_tab_w_xmltpe_col(id number, document xmltype);What are the relative advantages and disadvantages of each approach? How do they really differ?
    Thanks,
    -Mark

    There is another pointer Mark, that I realized when I was thinking about the differences...
    If you would look up in the manual regarding "xdb:annotations" you would learn about a method using an XML Schema to generate out of the box your whole design in terms of physical layout and/or design principles. In my mind this should be the preferred solution if you are dealing with very complex XML Schema environments. Taking your XML Schema as your single point design layout, that during the actual implementation automatically generates and builds all your needed database objects and its physical requirements, has great advantages in points of design version management etc., but...
    ...it will create automatically an XMLType table (based on OR, Binary XML of "hybrid" storage principles, aka the ones that are XML Schema driven) and not AFAIK a XMLtype column structure: so as in "our" case a table with a id column and a xmltype column.
    In principle you could relationally relate to this as:
    +"I have created an EER diagram and a Physical diagram, I mix the content/info of those two into one diagram." "Then I _+execute+_ it in the database and the end result will be an database user/schema that has all the xxxx amount of physical objects I need, the way I want it to be...".+
    ...but it will be in the form of an XMLType table structure...
    xdb:annotations can be used to create things like:
    - enforce database/company naming conventions
    - DOM validation enabled or not
    - automatic IOT or BTree index creation (for instance in OR XMLType storage)
    - sort search order enforced or not
    - default tablenames and owners
    - extra column or table property settings like for partitioning XML data
    - database encoding/mapping used for SQL and binary storage
    - avoid automatic creation of Oracle objects (tables/types/etc), for instance, via xdb:defaultTable="" annotations
    - etc...
    See here for more info: http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10492/xdb05sto.htm#ADXDB4519
    and / or for more detailed info:
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10492/xdb05sto.htm#i1030452
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10492/xdb05sto.htm#i1030995
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10492/xdb05sto.htm#CHDCEBAG
    ...

  • What is the difference between "create set" and "create dynamic set"?

    What is the difference between  "create set" and "create dynamic set"?
    we have a complete cube ready for production that was tested and working without any issues in non-r2. we found that some "create set" assignments don't work in R2. But when changed to from  "create set" to "create dynamic set"?
    they are working, However, not sure how it will impact other areas of the cube.

    Thanks YuliaKlimov, I can reproduce this issue, but I cannot explain the different behaviors between SSAS 2008 and 2008R2. As a workaround,
    could you try to use dynamic set or create statics set but with fixed member for example:
    CREATE 
    SET CURRENTCUBE.[Prior Month] AS
    [Date].[Date Key].&[20050723].PrevMember
    , DISPLAY_FOLDER = 'Relative Period Sets';
    Personally, I think your set is dynamic set, because the currentmember is changed base on current selection. You can also submit this issue
    on below official link to get confirmation from Product Group:
     https://connect.microsoft.com/SQLServer/
    Thanks,
    Raymond
    Raymond Li - MSFT

  • What is difference between sy-index and sy-tabix and where both are using ?

    what is difference between sy-index and sy-tabix and where both are using ?

    hi nagaraju
    sy-tabix is in Internal table, current line index. So it can only be used while looping at the internal table.
    sy-index is in Loops, number of current pass. This you can use in other loop statements also (like do-enddo loop, while-endwhile)
    SY-INDEX is a counter for following loops: do...enddo, while..endwhile
    SY-TABIX is a counter for LOOP...ENDLOOP, READ TABLE...
    Here is an example from which you can understand the difference between sy-tabix and sy-index.
    Itab is an internal table with the following data in it.
    id Name
    198 XYZ
    475 ABC
    545 PQR.
    loop at itab where id > 300.
    write :/ itab-id, itab-name , sy-tabix, sy-index.
    endloop.
    My output will be :
    475 ABC 2 1
    545 PQR 3 2
    Sy-tabix is the index of the record in internal table.
    sy-index gives the no of times of loop passes.
    So, for the first record in the output (475 ABC), 2 is the index of the record in internal table and as it is first time loop pass occured, sy-index value is 1.
    Regards,
    navjot
    award points

  • Difference between P.O.date and P.O.created date

    Hi,
      Could you tell me difference between purchaseing doucment date and purchase order creaed date.
        Because some time in my org. po created after GR means in past date. So there is difference between
        po date and po created date. where this po created date is maintained in purchase order
               Thanks and Regards
                      Anil

    Dear Anil,
    Please check table EKKO with ta SE11.
    Created Date => EKKO-AEDAT
    Date on which the record was created
    Document date => EKKO-BEDAT
    Date on which the purchasing document was created
    EKKO-AEDAT = Date on which the record was created
    and also "Created By" also recorded automatically
    by system.
    Document date or EKKO-BEDAT normally default as
    today when you create the PO via ME21N. This field
    appear at top right of the screen. However this date
    can be change to any date that required.
    Thanks
    Loke Foong

  • I want to create an app.  Can you tell me the difference between iOS developer program and the mac developer program?

    I want to create an app.  Can you tell me the difference between iOS developer program and the mac developer program?
    Is the difference the device you're creating your app on, or for?

    iOS Developer Program is only for those who wish to develop iDevice apps. Mac program is for those only developing Mac applications. If you wish to do both, then you need to enroll in both programs.

  • How does muse tell the difference between a temporary site and my free 5 sites with my creative cloud membership?

    how does muse tell the difference between a temporary site and my free 5 sites i get with my creative cloud membership?
    because they both use .businesscatalyst.com and there's no option to say that it is a temporary site not a finished site i wish to publish to my creative cloud account.

    Since this is an open forum, not Adobe support... you need to contact Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • How can I tell the differences between the new MacBook Pro with retina display and the old MacBook Pro with retina display by looking

    I'm just wondering the differences between the new MacBook Pro with retina display which was just released in October 2013 and the old MacBook Pro with retina display.

    Thank you for the reply! As you said they looked exactly the same, so I'm not able to tell the differences just by looking, right? I'm thinking to buy a new 13-inch MacBook Pro with retina display, but I'm not buying the MacBook in Apple Store, I'm buying it in other shops, how can know whether they are not selling me the old model of MacBook Pro with retina display?

  • What's the difference between the iPad wifi and iPad wifi   3g? Okay, so I'm planning to buy an iPad and would like to know more of the details. I know that ipad wifi   3g would offer me with internet usage anywhere and anytime.

    What's the difference between the iPad wifi and iPad wifi   3g? Okay, so I'm planning to buy an iPad and would like to know more of the details. I know that ipad wifi   3g would offer me with internet usage anywhere and anytime.

    Welcome to the Support Communities. The differences are spelled out here:
    http://www.apple.com/ipad/specs/
    ...For example, note that the Wi-Fi + Cellular model has assisted GPS for more accurate pinpointing of your geographic location.

  • Difference between General remote cube and virtual infoprovide with service

    Hi guys,
    I could not understand the difference between general remote cube and virtual infoprovider technically. And I could not find the document about how to set general remote cube.
    I only find the following sources.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/23/c0234239f75733e10000000a155106/frameset.htm
    "In comparison to other VirtualProviders, this VirtualProvider is more generic. It offers more flexibility, but also requires a higher implementation effort.".
    I am welcome your lecture. Especially I would like to know how to set general remote cube..
    Kind regards,
    Masaaki

    Hi,
    You better take  a look on the link:
    http://help.sap.com/saphelp_nw04/helpdata/en/8d/2b4e3cb7f4d83ee10000000a114084/frameset.htm
    Remote cube uses BAPI
    SAP remote cube uses the  BW Service API functions of SAP system
    In Virtual cube with services, The data source is a user-defined function module.
    with rgds,
    Anil Kumar Sharma .P

  • What is the difference between the new ipad and ipad with retina display?

    what is the difference between the new ipad and ipad with retina display???

    This compares the two new iPads with the previous Retina iPad:
    http://www.engadget.com/2012/10/23/ipad-mini-vs-2012-ipad-whats-different/
    Regards.

  • Difference between a positive time and negative time management.Explain with screenshots.

    Hi gurus!
    I would like to know the difference between Positive time management and negative time management.
    thx & regards,
    raju

    Hi Nagaraju,
    I am adding more information..
    Whether or not an employee is on positive or negative time is determined by the time management status on IT0007. Status 1 or 2 = positive time; status 9 = negative time.
    In a standard system, positive time recording means the employee is required to record time (absence or attendance) for any day on which he is scheduled to work according to his generated work schedule. Negative time recording means an employee does not need to record time unless he has an exception to his normal working time; so absences are typically recorded as well as overtime or time work on days for which the employee is not scheduled to work.
    Schema TM00 is used to process positive time employees for whom clock times are entered; that is, every record has a start and end time.
    Schema TM04 processes both positive and negative time employees. The key distinction between TM00 and TM04 is TM04 does not require start and end times on every entry. Records with start and end times cna be processed in TM04. However, the records do not require these entries.
    In TM04 you will see code using IF, ELSE, ENDIF statements during the import process to separate the import of time data for positive and negative time employees.
    Positive time employees use the following data import statements in the schema:
    P2011 Import IT2011 records to TIP; regardless of whether the EE has IT2011, load the work schedule to TZP. If no IT2011 record exists, TIP is empty.
    P2001 Load absences
    P2002 Load attendances
    Negative time employees use the following data import statements:
    P2000 This is the critical difference between positive and negative employees. P2000 loads the daily work schedule to the TIP table as if the employee workede; that is, if the employee is scheduled to work from 8:00 to 17:00, this record will now appear on TIP. The work schedule details are also added to TZP.
    P2001 Load absences -- to pick up exceptions to planned working time
    P2002 Load attendances -- again to pick up exceptions, special costing information, overtime, alternate payments, premiums or any other variation from normal schedule work.
    So if you want to determine if you are using positive or negative time, check the time management status on the employees.
    Regards
    Siva

Maybe you are looking for

  • How to learn webdynpro for java/ABAP

    hI Experts, i am new to webdynpro technology. and i am having the knowlgedge on Portal contenet development&administration,and having the strong knowledge on Visual composer7.0,7.1 and also trined in ABAP(currently i am not useing it). now i wants to

  • Strange pdf form behavior

    I've created a dynamic pdf form in Livecycle ES 8.2 which has been working just fine up until a recent revision.  As a quick overview, the form has fillable fields, checkboxes which control the visibility of certain fields (through JS), and signature

  • Self Registration without Company or Workflow approval

    Hello, We have NW2004s SP 10.  Is it possible to allow a very simple self registration without using Companies or Workflow approval?  The online help seems to imply that this is possible, but I've tried to configure our Portal as such but nothing sho

  • J2EE pattern

    Hi, Is there any newsgroup for J2EE design patterns. TIA -VSK

  • Is any way to add custom fields?

    i need to display the all most 10 type of different information product large view..i used all default fields in product list if there any way to add custom fields or tags