More Table Blocks in 11g with same number of rows as in 9i

I was using SQL performance analyzer to compare performance difference between 9i and 11g databases.
For this purpose I generated a trace file in 9i database and used it to build STS in 11g database.
After runing two trials and comparison the report showed performance regression (comparing "buffer gets") while using following SQL statement
*"SELECT * FROM EMP";*
There were total 14 rows in emp table in both databases( i.e 9i and 11g)
There was no plan change for above SQL statement in 11g database but still there was performance regression in 11g.
After querying dba_tables view for number of blocks in emp table on both sides i found that EMP table in 9i database had 1 block where as in 11g emp table had 5 blocks (Even after using alter table emp move;)
I am unable to understand why emp table has more number of blocks in 11g with same number of rows as in 9i emp table?

user8916506 wrote:
Below query was executed in 9i database.
SQL> select extent_management,initial_extent,allocation_type from dba_tablespaces where tablespace_name='SYSTEM';
EXTENT_MAN INITIAL_EXTENT ALLOCATIO
LOCAL 65536 SYSTEM
Results shows that SYSTEM tablespace in 9i database is locally managed.
Where as results of below query from 11g database is indicating that users tablespace in 11g is also locally managed.
SQL> select extent_management,initial_extent,allocation_type from dba_tablespaces where tablespace_name='USERS';
EXTENT_MAN INITIAL_EXTENT ALLOCATIO
LOCAL 65536 SYSTEMGood to see that you also picked up the allocation_type at the same time.
So you have shown that the discrepancy between 9i and 11g isn't down to the difference in extent management.
Are there any other differences between the tablespaces when you compare 9i system with non-system, and 9i system with 11g non-system ? (Hint - we have an anomaly with space allocation.)
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
Author: <b><em>Oracle Core</em></b>

Similar Messages

  • How to make a control table with the same number of rows of its itab

    I'm creating a control table, but it always have the maximum number of lines possible.
    How can I make it so that it has only the same number of rows of it's internal table?

    solved partialy with this:
    MODULE locka_lin OUTPUT.
      DATA: lin TYPE i.
      DESCRIBE TABLE t_obj LINES lin.
      table_con-lines = lin.
    ENDMODULE.                 "  OUTPUT
    but it still doent work when lin = 0
    any simple way to solve it on that case?
    Edited by: RagnaRock on May 5, 2010 6:00 PM

  • How can i export the data to excel which has 2 tables with same number of columns & column names?

    Hi everyone, again landed up with a problem.
    After trying a lot to do it myself, finally decided to post here..
    I have created a form in form builder 6i, in which on clicking a button the data gets exported to excel sheet.
    It is working fine with a single table. The problem now is that i am unable to do the same with 2 tables.
    Because both the tables have same number of columns & column names.
    Below are 2 tables with column names:
    Table-1 (MONTHLY_PART_1)
    Table-2 (MONTHLY_PART_2)
    SL_NO
    SL_NO
    COMP
    COMP
    DUE_DATE
    DUE_DATE
    U-1
    U-1
    U-2
    U-2
    U-4
    U-4
    U-20
    U-20
    U-25
    U-25
    Since both the tables have same column names, I'm getting the following error :
    Error 402 at line 103, column 4
      alias required in SELECT list of cursor to avoid duplicate column names.
    So How can i export the data to excel which has 2 tables with same number of columns & column names?
    Should i paste the code? Should i post this query in 'SQL and PL/SQL' Forum?
    Help me with this please.
    Thank You.

    You'll have to *alias* your columns, not prefix it with the table names:
    $[CHE_TEST@asterix1_impl] r
      1  declare
      2    cursor cData is
      3      with data as (
      4        select 1 id, 'test1' val1, 'a' val2 from dual
      5        union all
      6        select 1 id, '1test' val1, 'b' val2 from dual
      7        union all
      8        select 2 id, 'test2' val1, 'a' val2 from dual
      9        union all
    10        select 2 id, '2test' val1, 'b' val2 from dual
    11      )
    12      select a.id, b.id, a.val1, b.val1, a.val2, b.val2
    13      from data a, data b
    14      where a.id = b.id
    15      and a.val2 = 'a'
    16      and b.val2 = 'b';
    17  begin
    18    for rData in cData loop
    19      null;
    20    end loop;
    21* end;
      for rData in cData loop
    ERROR at line 18:
    ORA-06550: line 18, column 3:
    PLS-00402: alias required in SELECT list of cursor to avoid duplicate column names
    ORA-06550: line 18, column 3:
    PL/SQL: Statement ignored
    $[CHE_TEST@asterix1_impl] r
      1  declare
      2    cursor cData is
      3      with data as (
      4        select 1 id, 'test1' val1, 'a' val2 from dual
      5        union all
      6        select 1 id, '1test' val1, 'b' val2 from dual
      7        union all
      8        select 2 id, 'test2' val1, 'a' val2 from dual
      9        union all
    10        select 2 id, '2test' val1, 'b' val2 from dual
    11      )
    12      select a.id a_id, b.id b_id, a.val1 a_val1, b.val1 b_val1, a.val2 a_val2, b.val2 b_val2
    13      from data a, data b
    14      where a.id = b.id
    15      and a.val2 = 'a'
    16      and b.val2 = 'b';
    17  begin
    18    for rData in cData loop
    19      null;
    20    end loop;
    21* end;
    PL/SQL procedure successfully completed.
    cheers

  • How to Capture a Table with large number of Rows in Web UI Test?

    HI,
    Is there any possibility to capture a DOM Tabe with large number of Rows (say more than 100) in Web UI Test?
    Or is there any bug?

    Hi,
    You can try following code to capture the table values.
    To store the table values in CSV :
    *web.table( xpath_of_table ).exportToCSVFile("D:\exporttable.csv", true);*
    TO store the table values in a string:
    *String tblValues=web.table( xpath_of_table ).exportToCSVString();*
    info(tblValues);
    Thanks
    -POPS

  • I'm moving from a iPhone 4S to an iphone 5s but and I'm changing SIM card with same number but I want to make sure that all my pictures go onto my new phone how can I do that?

    I'm moving from a iPhone 4S to an iphone 5s but and I'm changing SIM card with same number but I want to make sure that all my pictures go onto my new phone how can I do that?

    Hello Bethanygrace_m7,
    Thank you for contacting Apple Support Communities. You can take a look at this article about transferring content from your old iPhone to a new one:
    Transfer content from an iPhone, iPad, or iPod touch to a new device
    http://support.apple.com/kb/HT2109
    Here is another thread from the Communities about migrating data from an old iPhone to a new one:
    Migrating data from old to new iPhone?: Apple Support Communities
    https://discussions.apple.com/thread/2038778
    Regards,
    Jeff D.

  • Create Equipment with same Number rang at Diff Equipment Catagory

    Hallo Guys,
    client bymistake created some equipments which are actually PRT with catagory M ( Machine)
    now they made deletion indicator to that and inactive the part and now want to create same machine as a PRT with same number range interval
    as that of made at machine, but as per std system is not allowing to create duplicate records.
    How to achive this ?
    Regards,
    Rip

    If no Equipments were created after the Deleted Equipments then you may have an option.
    Tcode OIEN
    Go to Number range interval, Then the Current number  can be changed as under. Reduce this Current number by those many equipments. Then new equipments will have the same numbers of the deleted equipments
    You should do it in trial servers and if suits to you then you can decide to go ahead. You should be prepared to have filters in Selection-screes to avoid the DLFL INAC equipments appear in the reports
    Jogeswara Rao K

  • TS3899 My mail is configured correctly.  When I go to view my inbox I get the 'Load More Messages...' with the number of messages showing.  I touch the display and nothing happens.  I have uninstalled and reinstalled the email account and restarted the de

    My mail is configured correctly.  When I go to view my inbox I get the 'Load More Messages...' with the number of messages showing.  I touch the display and nothing happens.  I have uninstalled and reinstalled the email account and restarted the device.  I can send mail fine as well as view my sent messages.  Very confusing.

    I have two yahoo accounts and I know as they 'improved' their servers I had periodic outages. It'd work fine on my webmail on  my computer, webmail on the iPad, but not via the mail app. And it was stuff on their end. It may be a case of wait and see and you may need to eventually remove/readd the account on your iPhone.
    When the issue is on their end, unfortunately there's not much for users to do beyond wait it out or find work arounds.

  • More than one flat files with same external table

    Is it possible to create external table in owb associated with more than one file ie to generate code like LOCATION ( FILE1,FILE2) in create table ddl.

    Hi,
    Yes, you can add multiple files by using the configuration of the external table, and create many instances of 'files'. Every 'file' you specify requires you to specify a location and a file name.
    For more details, please review chapter 5 of the user's guide (http://www.oracle.com/technology/documentation/warehouse.html), page 5-15.
    Hope this helps.
    Mark.

  • PR transfer from R/3 to SRM with same number

    We are transfering R/3 PR's to EBP. We want keep Number of Shopping card same as PR number in R/3
    It is always picks up Internal Number range for the shopping card in SRM.
    We have only kept external number assignment for shopping cart transaction type, then in SLG1 it gives error "Internal number range is missing for transaction type. Inform syst. admin"
    Any other method to keep Number of Shopping card same as PR number in R/3?
    Regards,
    NNK
    Edited by: Nitin Khajindar on Apr 23, 2008 5:53 PM

    Hi,
    We are using the SRM 5.0 with PPS ( Procurement for public sector) industry specific component. We transfer the PR's from ECC to SRM and we have same number in the both the systems.
    PR number in ECC is the SRM shopping cart number may be this is public sector sector specific functinality but this is available in SRM 5.0
    Send me your information, I can send you my configuration print screens to you.
    Thank you
    Sreedhar Vetcha

  • How to ... connect more tables in one cube with delta

    Hi,
    I would like to know the answer on one simple question. How to connect (join) two or more tables (like eg. VBAP with VBEP) and PERFORMANT report over those information.
    I willcome every hint.
    Thank you very much
    Standa

    Hi CK,
    firstly, thank you very much for your reply. I know how to create Multicube and InfoSet. My question is more specific. If you have let's say 4 tables from SAP STANDARD like:
          VBAP
          VBEP
           LIPS
          VBRP
    You want to extract from each table only some important columns (like ProdHierarchy, company code, date, quantity, price ...).
    How to handle this task to get really quick answers from BI system. If you have some million of records in each of this table, it's a bit SLOW with InfoSet or MultiProvider.
    My taught was to write everything into one InfoCube. But how to do this, that I get all these information on one row? It would be nice to realize it without ABAP.
    Is there any other solution?
    Thank you Standa

  • Multiple contacts with same number?

    Hello,
    I have multiple contacts in my address book with the same number, for instance "Mom" or "Grandma" or "Mrs. Smith."  Is there a way to ensure that my iPhone 4 chooses the assigned photo and name to each contact? 
    I have all three under "All Contacts" but also have only one under a sub-group that is my primary contact group.  Perhaps my problem is syncing via MobileMe? Doing that means I have All Contacts as well as my sub-group on the iPhone; that may be confusing it?
    Thanks for any help!

    If you have multiple contacts have the same number the iPhone makes a random choice. There is no way to force one over another.

  • REPROCESSING AN IDOC WITH SAME NUMBER

    hi ppl,
    i hv sent an idoc to the inbound system with a  generated idoc number.
    and now i had added some fields fo the same idoc and have to resend  it to the same inbound system
    with the same IDOC NUMBER.
    how can we RESEND AN IDOC with SAME IDOC NUMBER.
    thanx very much...
    regards,
    RAVI.

    >
    ChakravarthiPonnam wrote:
    > with the same IDOC NUMBER.
    > how can we RESEND AN IDOC with SAME IDOC NUMBER.
    Was that IDOC ended with status 53? If so then I donu2019t think if you could able to edit the segments and reprocess straight forward.
    If that IDOC has been ended with Error then just edit this IDOC(WE02>Double click on segment then from menu "Data record>change") now the status has been change to 69. then just reprocess with BD87.
    NOW, if your IDOC has ended with 53 and you want to edit this then a minute work-around we have to do. Like first change the IDOC status from 53 to 69 then do the same like for error one,
    Cheers
    Amit.

  • Second sim with same number

    I use my phone a lot for work, and want to leave it permanently in the van, can I have a second sim on the same number ?

    Orange used to offer exactly this with their "Single Number" facility, but it was never opened up to EE users, and finally closed down at the back end of last year. For what it's worth, the only other network to have ever offered similar was Vodafone with "multi-SIM" but that never let you use data from the second SIM and closed many years ago. As others have suggested, a GSM-divert is now the closest you'll get. You could also use EE "pocket landline" with the "one to many" option if you want multiple phones to ring with incoming calls at the same time. Details at http://ee.co.uk/business/small/connecting-your-business/pocket-landline

  • Retiming with same number of frames

    Hi (couldn't find this) - If I want to convert my source video to a new frame rate -- but keep exactly the same number of frames -- what is the best way to do that?
    Do I just set my desired frame rate in the Encoder tab and then set duration to 100% in the Frame controls? Does that give me the just the original frames in the source, but at a different speed?
    Thanks, PH

    OK -- I figured it out!

  • Table for Process type with BP Number of sold to party

    Hi Friends,
    Please share me Table name where i'll get the Process Type (Transaction Type) and Sold to Party Number or BP Guid of the transaction.
    I want to create Target group for BP's who are involve in Particular Transaction.
    For infoset creation i have already tried Table CRMD_ORDERADM_H and CRMD_ORDER_INDEX but not able to join exact conditions.
    Regards,
    DD's

    HI frieds,
    Thanks for u r support i have created Infosets using table CRMD_ORDERADM_H, CRMD_LINK & CRMD_PARTNER and, made joining link between them (Actually both Guids in CRMD_LINK and CRMD_PARTNER are not maching)
    Next step is i have created Datasource using my infoest and created Attribute list for same.
    After all this excercise i tried to Create target group for BP's who are involved in particular transaction(Process type) but in target group count come to ZERO !!!!!!!!! why this happening ???
    Please understand my final expected output which is in bold
    Regards,
    DD's

Maybe you are looking for