What is Estimate Statistics ?

Hi everybody,
I wanna know what is analyzing the table ... ???
What is estimate statistics ... ???
How they contribute to performance ... ???

hi
kindly check this out
http://www.oracle-base.com/articles/8i/CostBasedOptimizerAndDatabaseStatistics.php
and why they are used for .....its the information about the table ,indexes we get from it ...and how they are analyzed or not...frequently we can see it ........
CHeers

Similar Messages

  • Analize table ... estimate statistics

    I have read in this discussion group that it was a good idea to analyze the spatial index table to optimize performance.
    Should this be done:
    - only once?
    - after loading the layer?
    - each time it is massively updated?
    BTW what does "sample 32 percent" mean?
    Thanks,
    Jean-Pierre

    Hi Jean-Pierre,
    I've never had to run this more than once (after the spatial index was created on an initial data set), but I don't do a lot of updates usually.
    There are two ways to analyze a table:
    analyze table table_name compute statistics;
    analyze table table_name estimate statistics sample N percent; --- where N is an integer
    Sometimes I have index tables with millions and millions of rows. If I run compute statistics is can take an hour or more. If I say estimate statistics sample 1 percent it completes in seconds/minutes and all of the right things happen with respect to performance. I use sample so I can work with data faster. BTW - this is only for quadtree indexes. It doesn't hurt to gather stats on an rtree index table, but it doesn't help either.
    The procedure I posted happens to sample about 32 percent of the rows, but there is nothing magical about this number.

  • What is exactly STATISTICS in SQL Server

    hi all,
      What is exactly STATISTICS in SQL server query optimiser ?
    Thanks
    Selva

    Some good content with proper example can help you for sure.
    Link:
    http://blog.idera.com/sql-server/understanding-sql-server-statistics/
    Some part of text may give you idea
    If there’s an upcoming election and you are running for office and getting ready to go from town to town city to city with your flyers, you will want to know approximately how many flyers you’re going to bring.
    If you’re the coach of a sports team, you will want to know your players’ stats before you decide who to play when, and against who. You will often play a matchup game, even if you have 20 players, you might be allowed to play just 5 at a time, and you will
    want to know which of your players will best match up to the other team’s roster. And you don’t want to interview them one by one at game time (table scan), you want to know, based on their statistics, who your best bets are.
    Just like the election candidate or the sports coach, SQL Server tries to use statistics to “react intelligently” in its query optimization. Knowing number of records, density of pages, histogram, or available indexes help the SQL Server optimizer “guess”
    more accurately how it can best retrieve data. A common misnomer is that if you have indexes, SQL Server will use those indexes to retrieve records in your query.
    Not necessarily. If you create, let’s say, an index to a column City and <90% of the values are ‘Vancouver’, SQL Server will most likely opt for a table scan instead of using the index if it knows these stats......
    Santosh Singh

  • What is reset statistics in cecullar data settings? Will it mess up your whole phone ?

    What is "reset statistics" in settings un the cecullar data category? Will it reset your whole phone?

    No, it will not reset the entire phone. It will reset your cellular statistics, such as how much data you have used since the last reset, how much call time you have, and the individual app statistics that are showing with all of the apps you see in the list, as well as the system services. I use it all of the time. It will have no affect on your data or phone content.

  • What is COMPUTE STATISTICS in index

    Hi,
    I need the explanations of compute statistics in index.
    what is compute statistics?
    Regards,
    B.Prakash

    Hi,
    Compute statistics tells Oracle to collect statistics during the creation of the index. The statistics are then used by the optimizer to choose a "plan of execution" when SQL statements are executed.
    Thanks

  • What about the 'Statistics' ?

    On my screen it shows this:
    STATISTICS
    RealBlackStuff
    Mt. Cobb, PA USA
    Active Member 
    Total Logins: 33
    Total Minutes Online: 460
    Total Posts: 24
    Total Messages Read: 803
    Average Message Rating:
    Who really cares how many times I have logged in, how many minutes I was online, how many messages I have read or what my average message rating is?
    I don't for one.
    The only relevant info (in my opinion) I have marked in bold.
    And I also will not rate any messages either.
    A similar system (with giving positive or negative points, a.k.a. Karma points), and the abuse of it, caused me to give up as a moderator (after 2 years) and abandon that forum altogether.

    RealBlackStuff wrote:
    chopped...
    And I also will not rate any messages either.
    A similar system (with giving positive or negative points, a.k.a. Karma points), and the abuse of it, caused me to give up as a moderator (after 2 years) and abandon that forum altogether.
    I must be blind or dumm. I see the rating column, but haven't worked out how to rate a thread. What am I missing
    In the FAQs it says:How do I rate a message?
    Please take the take the time to rate helpful messages. To do so, log into the Forum and look for the Rate This Message (Thread) feature at the bottom of messages and threads.I must be blind
    Message Edited by andyP on 11-30-2007 04:33 PM
    Message Edited by andyP on 11-30-2007 04:33 PM
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • Installed but speed nowhere near what was estimate...

    Hi
    Had infinity option 2 installed this morning engineer on time so good in that sense. However the estimated speed quote was 62mb down 17 up. However I am only actually getting 24mb down. It's a bug difference from what was quoted, I am about 200-250m from the cabinet.
    Not sure what could be te issue

    1. Best Effort Test: -provides background information. Download Speed 17.87 Mbps 0 Mbps 77.44 Mbps Max Achievable Speed Download speedachieved during the test was - 17.87 Mbps For your connection, the acceptable range of speedsis 16 Mbps-77.44 Mbps . Additional Information: IP Profile for your line is - 77.44 Mbps 2. Upstream Test: -provides background information. Upload Speed 8.46 Mbps 0 Mbps 20 Mbps Max Achievable Speed Upload speed achieved during the test was - 8.46Mbps Additional Information: Upstream Rate IP profile on your line is - 20 Mbps We were unable to identify any performance problem with your service at this time. It is possible that any problem you are currently, or had previously experienced may have been caused by traffic congestion on the Internet or by the server you were accessing responding slowly. If you continue to encounter a problem with a specific server, please contact the administrator of that server in the first instance. this is the results i am getting on a wired connection

  • What is BW Statistics

    Hi Experts,
    Can anyone tell me wat do you mean by BW Statistics in detail.. Please send me some material if you have..
    Thanks & Regards,
    Jyothi...

    Hi,
    See if this helps..
    BW Statistics:
    http://help.sap.com/saphelp_nw04/helpdata/en/8c/131e3b9f10b904e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e5/2d1e3bd129be04e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a67c5e07211d2acb80000e829fbfe/frameset.htm
    assign points if useful ***
    Regards
    CSM Reddy

  • What is tha  use of  "bw statistics"?

    i need some help from urs
    what is bw statistics ?why we use it ,and any differ between "infocube performance statistics and "bw statistics?

    Hi,
    Check with the links,
    1. http://help.sap.com/saphelp_bw30b/helpdata/en/8c/131e3b9f10b904e10000000a114084/content.htm
    2. http://www.sap-img.com/business/sap-bw-faq.htm
    3. https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3f66ba90-0201-0010-ac8d-b61d8fd9abe9
    BW statistics is for performance anylsis of the system. In tables RSDDSTAT* all information is stored how long a query took, how a long a loading process took and so on. With this information you can analyze which are your long running queries, the most performance taking actions and so on. This reporting is available in the web, in BEx by predefined queries. To be able to execute these queries you
    have to activate technical content and load it regularly (on a daily basis). You can also setup the so-called BI Administrators cockpit. See help.sap.com or here in SDN for much more detailed information. The other way is of course
    to visit class "BI Performance & administration".
    You can install the BW statistics same as Business content. Go to Business Content tab in RSA1go to BW Statistics infoareacollect all the BW statistics Cubes and Multiprovider. Once it is done you can load data and can able to report on
    them.
    Check this links for more,
    http://help.sap.com/saphelp_nw04/helpdata/en/eb/3c8c3bc6b84239e10000000a114084/frameset.htm
    BW Statistics Queries,
    http://help.sap.com/saphelp_nw04/helpdata/en/eb/3c8c3bc6b84239e10000000a114084/frameset.htm
    Technical Content,
    http://help.sap.com/saphelp_nw04/helpdata/en/eb/3c8c3bc6b84239e10000000a114084/frameset.htm
    BW Statistics:we have a option to activate BW statistics in BW 3.x version in AWB->tools->Activate BW Statistics
    In BI 7.0 the options to activate BW Statistics is available in DWB (RSA1) ---> Tools ---> Settings for BI Statistics
    (or) you can run the transaction RSDDSTAT to do the same
    The BI admincockpit is process of one of the function known as Administration of the the DWWB.
    We can also access this through the tcode ZPORTAL which is a single signon which will be having diff iviews as UWL,Webanalyser,BEx portfolio,My portfolio,Info
    broadcaster.we can also see the statistics in this along with the error handling function with it refer to the links below
    http://help.sap.com/saphelp_nw04s/helpdata/en/07/4938ae7514494b9f3272fa4350dfb4/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/44/08a75d19e32d2fe10000000a11466f/frameset.htm
    Regards,
    Srini Nookala

  • Database slow after Index compute statistics

    Dear All,
    Since 2 days back after executing Analyze Index compute objects to increase the response time some programs from my application have become very slow.
    After seeing this behaviour I went ahead and did a Analyze table compute statistic again . Even after doing this the behaviour has remained the same . Some users have been complaining (becoz the slowness has effected only some tables and not the whole database).
    I checked sys.v_$session_longops and got this output
    OPNAME      TARGET     ELAPSED_SECONDS
    NULL     53     596792483
    NULL      53     596793670
    ¥Á     3248826740 596793669
    NULL     53     596793624
    NULL     NULL 596800369
    NULL     1     596796740
    NULL     1732526816     596472777
    Table Scan     PO8.ACC_LEDGER      9
    Table Scan     PO8.INVENTORY_LEDGER     26
    Sort Output     NULL      7
    Sort/Merge     NULL      15
    Sort/Merge     NULL     66
    Table Scan     PO8.INVENTORY_LEDGER     12
    Table Scan     PO8.ACC_LEDGER     9
    NULL     1725513472     0
    NULL     3361240696     0
    NULL     3361796632     0
    NULL 22     596792484
    NULL     1730819772     596800386
    NBIAAT56020010ä     (stale) obj# 3363169460     596800605
    ýÐ      3506279036     596799303
    NULL      NULL     596800634
    What could have happened.
    In the ini I have set
    optimizer mode = Choose
    db_file_multiblock_read_count=     8
    Sapna

    Took a statspack and got these values
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Buffer Nowait Ratio: 100.00
    Buffer Hit Ratio: 23.70
    Library Hit Ratio: 99.52
    Redo NoWait Ratio: 99.96
    In-memory Sort Ratio: 98.77
    Soft Parse Ratio: 98.74
    Latch Hit Ratio: 100.00
    Top 5 Wait Events
    ~~~~~~~~~~~~~~~~~ Wait % Total
    Event Waits Time (cs) Wt Time
    db file scattered read 120,661 0 .00
    db file sequential read 26,053 0 .00
    SQL*Net more data to client 3,421 0 .00
    control file parallel write 314 0 .00
    direct path read 244 0 .00
    And do you suggest that I do an Analyze table 'table_name' estimate statistics for all the tables.
    Sapna

  • Statistics & Tune query

    Hi,
    Friends, I need some help.
    I have to tune some queries.
    1. How to find the last STATISTICS generation date?
    2. How generate statistics in database level?
    3. What is the difference between
    >alter table emp compute statistics;
    and
    >alter table emp estimate statistics;
    Can Any one give some good advice to tune queries?
    regards
    Mathew

    Hi,
    Friends, I need some help.
    I have to tune some queries.
    1. How to find the last STATISTICS generation
    date?
    query view USER_TABLES/DBA_TABLES, column LAST_ANALYZED
    2. How generate statistics in database level?Use
    ANALYZE TABLE <table_name> <statistic_collection_method>
    Or
    DBMS_STATS package
    3. What is the difference between
    alter table emp compute statistics;and
    alter table emp estimate statistics;
    Should be ANALYZE TABLE emp compute statistics;
    and ANALYZE TABLE emp estimate statistics;
    Compute statistics will sample all data of the table,
    estimate only sample certain percent of data of the table.
    ny one give some good advice to tune queries?
    Oracle Performance Tuning Guide
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14211/toc.htm

  • Performance of query using view - what is happening here

    Hi,
    I can't explain the difference in performance between two queeries.
    For a datawarehouse I have 3 tables from 3 different sources, named source1, source2 and
    source3 they all have the identical columns:
    client_key
    ,client_revenue
    source1 has 90.000.000 rows, source2 1.000.000 rows and source3 50.000 rows
    I also made a view say, all_clients which is the union of the 3 tables plus a constant column called 'source'
    which corresponds to the table_name.
    If I run a query which shows the number of records it takes 15-20 minutes:
    select source,count(*)
    from all_clients
    group by source.
    If i run the following query it takes about 5 minutes!
    select 'source1',count(*)
    from source1
    union
    select 'source2',count(*)
    from source2
    union
    select 'source3',count(*)
    from source3.
    What makes the difference?

    Hmmm... Interesting. In my small example things seem pretty similar. Have you done the explain plans?
    An observation is that you are using a UNION rather than a UNION ALL which would be better as you may be incurring an unnecessary SORT UNIQUE.
    create table tab1 as(select object_id, object_type from all_objects);
    create table tab2 as(select object_id, object_type from all_objects);
    create table tab3 as(select object_id, object_type from all_objects);
    analyze table tab1 estimate statistics;
    analyze table tab2 estimate statistics;
    analyze table tab3 estimate statistics;
    create view v_tab123 as(select 'source1' source,count(*) cnt
    from tab1
    union
    select 'source2',count(*)
    from tab2
    union
    select 'source3',count(*)
    from tab3);
    select 'source1' source,count(*) cnt
    from tab1
    union
    select 'source2',count(*)
    from tab2
    union
    select 'source3',count(*)
    from tab3;
    Operation     Object Name     Rows     Bytes     Cost     TQ     In/Out     PStart     PStop
    SELECT STATEMENT Hint=CHOOSE          3           180                     
    SORT UNIQUE          3           180                     
    UNION-ALL                                        
    SORT AGGREGATE          1           60                     
    TABLE ACCESS FULL     TAB1     38 K          10                     
    SORT AGGREGATE          1           60                     
    TABLE ACCESS FULL     TAB2     38 K          10                     
    SORT AGGREGATE          1           60                     
    TABLE ACCESS FULL     TAB3     38 K          10                     
    -- Union
    select source, cnt from(
    select 'source1' source,count(*) cnt
    from tab1
    union
    select 'source2',count(*)
    from tab2
    union
    select 'source3',count(*)
    from tab3)
    Operation     Object Name     Rows     Bytes     Cost     TQ     In/Out     PStart     PStop
    SELECT STATEMENT Hint=CHOOSE          3           180                     
    VIEW          3      54      180                     
    SORT UNIQUE          3           180                     
    UNION-ALL                                        
    SORT AGGREGATE          1           60                     
    TABLE ACCESS FULL     TAB1     38 K          10                     
    SORT AGGREGATE          1           60                     
    TABLE ACCESS FULL     TAB2     38 K          10                     
    SORT AGGREGATE          1           60                     
    TABLE ACCESS FULL     TAB3     38 K          10                     
    -- Union ALL
    select source, cnt from(
    select 'source1' source,count(*) cnt
    from tab1
    union ALL
    select 'source2',count(*)
    from tab2
    union ALL
    select 'source3',count(*)
    from tab3)
    Operation     Object Name     Rows     Bytes     Cost     TQ     In/Out     PStart     PStop
    SELECT STATEMENT Hint=CHOOSE          3           180                     
    VIEW          3      54      180                     
    SORT UNIQUE          3           180      <<<<============== Unnecessary           
    UNION-ALL                                        
    SORT AGGREGATE          1           60                     
    TABLE ACCESS FULL     TAB1     38 K          10                     
    SORT AGGREGATE          1           60                     
    TABLE ACCESS FULL     TAB2     38 K          10                     
    SORT AGGREGATE          1           60                     
    TABLE ACCESS FULL     TAB3     38 K          10                     
    analyze table tab1 delete statistics;
    analyze table tab2 delete statistics;
    analyze table tab3 delete statistics;
    Now with RBO - the SORT UNIQUE goes away for the above query.
    Operation     Object Name     Rows     Bytes     Cost     TQ     In/Out     PStart     PStop
    SELECT STATEMENT Hint=CHOOSE                                        
    VIEW                                        
    UNION-ALL                                        
    SORT AGGREGATE                                        
    TABLE ACCESS FULL     TAB1                                   
    SORT AGGREGATE                                        
    TABLE ACCESS FULL     TAB2                                   
    SORT AGGREGATE                                        
    TABLE ACCESS FULL     TAB3                                   

  • Read this after press conference, what do you think?

    Okay here's the deal. Apple had a press conference today, and they have thoroughly addressed the antenna issues or apparently lack of with the iPhone 4, now dubbed as "antennagate". 
    Now, I will just throw a "light" breakdown of thoughts on this and also leave the live blog provided by Endgaget down below for you to read for yourself.
     So apple changes the design of the iPhone. It's beautiful. It's suppose to run better and perform better than previous models. But wait, what's this?
    An antenna on the outside of a phone? Wow!  
    Guess What? 
    Now, people know exactly where the antenna has been placed and can visibly see and can physically touch it on the outside of the phone. They are now aware of it more than with any other phone and can manipulate it by covering it up with their big meaty, greasy, stinky, sweaty, hands. 
    Or clean, manicured, dainty hands.
    So they do, as they should be able too. 
    Then they watch the signal drop!
    Oh no!  
    You see, with other phones, internal antennas have never really been in the publics "eye"  and has escaped the general public knowledge of how cell phones work and can be affected by holding or covering up the antenna area.
    Apple created the first (that I've known of) external antenna that is located in the same place an internal antennas. Therefore causing you to actually grip it while in use. 
    What does this mean? Does it actually hurt it's signal more than internal antennas? Has Apple done their homework?
    Ultimately it seems they have. As you should and would expect a multi Billion dollar company who is considered the world over as the best technology company out there. Why wouldn't  they?
    So what's the problem?
    Now I think this report basically says (with out Apple outing their business partner AT&T) that the main issues are within the signal provider, area signal strength. Then there is fact that they basically but a big "X marks the spot" or "cover this up with your hand to make signal worse" area on the phone made aware to everyone when they had their keynote stating that the frame was doubled as an atenna.
    The media doesn't' help either.  As new customers are made and switch over from other companies such as Verizon for the iphone 4, then they come home to read or see this "antennagate" on you tube, they begin to  attribute all their AT&T issues (dropped calls) to the design of the iPhone 4. Yet, studies, actual scientific studies have shown to have better reliability than older models of the iphone. 
    Here I think Apple proves this, and one must read between the lines on what they can and cannot say about the business and their relationship with AT&T.
     But, I think they have proven the point they have a great phone for making calls. They have done their homework and yet still had to answer to this media sensation. They had to make some remedy despite that all the testing and statistics about the iphone 4's performance states that there is no antenna issue. That it isn't significantly much different than any other antenna placed out in todays current cell phone market.
    Not to mention the sheep, and Apple haters or competitors who join the fray. 
    Does Apple have sheep followers? Sure. But they also have people who for whatever personal or business reasons despise them. 
    But, the sheep I refer too, are the people who just hear of, or read one report on this "antenna gate", and do no research for themselves to actually understand the issue or intelligently assess their problems with phone properly. Then they start to raise **** over something that may actually not an issue.
     For example, many people have complained tirelessly over this "death grip" and how they drop calls all the time, only to find out that the whole time it must have been AT&T dropping them because they have been using a bluetooth device or a case around the phone which prevents this issue from coming from the antenna
    Sheep. 
    The decision to apply and antenna icon on every phone in the cellular market was made to let consumers rate or judge their signal strength and calling area. 1 bar doesn't mean a call cant be made. just as 5 bars doesn't mean "superduper great signal you'll never drop a call ever ever". 
    Many specialists believe that the cell phone market should drop this antenna signal strength meter, because of its subjective nature, and tthe fact hat it doesn't actually work like a "gas tank meter" in a car, nor functions like one. 
    Anyone who's ever studied this "signal meter" knows that you can go from full 5 bars to no bars in less than a microsecond with no feasible reason, on any network. It's not about, "my network never drops calls" it's about consistency. 
    So why mislead consumers? Why not just have a green light, red light?
    Back to Apple's choices. 
    They had to do something, had too. No matter what tests show, statistics, fanboys, haters, or competitors. They had too, without slapping AT&T in the face. 
    Enter the Press Conference. 
    Below is the blow by blow.
    In the end I feel a bit sorry for how things turned out. Apple looses millions on basically an issue that every company, and carrier has. Block the antenna, loose some signal. 
    Call it what you want but they are giving away free cases that costs millions of dollars to Apple, unnecessarily just to cool this thing down.
    To all those who complain I say try this. Just use your phone naturally, don't try to "death Grip" the mother. Just use it and if you get dropped calls, try a case or bluetooth, or a headset, and if you get dropped calls, be open to the fact that it's probable AT&T, or just the nature of cellphones. Not an antenna issue that Nokia, Sony, Apple, Motorola, HTC, Samsung and every other maker faces . . . despite what they say. 
    Apple loses, because they  currently are considered to be the king of the hill in the smart phone market (and others for that matter) and they told everyone "HEY! EVERYONE! Our antenna is on the outside, and it's right 'X' here!"
    They Still apologized and gave away millions to make any and everyone happy.
    Had their been and actual Hardware defect, I would have said RECALL. As things sit I think Apple handled things correctly. Had you anyone asked me earlier in the week, I would have scoffed at the idea of a bumper fix. But it's not a fix, there is nothing to fix, it's an act of good faith. 
    Maybe it's also a way to get more cases out their so when September rolls around they can have a better call drop ratio to the 3GS.
    After the meeting I couldnt help but think, had I made something that wasn't broken, and people said I'd have to try and fix it, I think that all you would have seen from me would've been the middle finger.
    It's a ish snow ball thrown down hill, and Apple is saying sorry you got hit on the way down but we didn't' toss it.
    Here's something for your trouble.
    Remember you can return it, and Apple is having a "case is sill open" approach and will continue to work on it. As for now, it appears that they really is nothing wrong with your antenna on your iPhone 4.
    Maybe you should start to smile, or go to Verizon?

    Hello everybody.
    I am a would-be Iphone 4 user, which will now surely not become one.
    I did read all the fuss about the antenna, and I did watch the conference, and here is what I think.
    Saying that, even with the issues, “it is still useable”, is in my opinion ridiculous.
    Guys, we’re talking about a 650 € mobile here.
    The Iphone 4 is a top of the line phone. It’s not a 29 € mobile bought at a supermarket.
    And if a 29 € can work as a phone perfectly, I expect that a mobile that costs 20 times that, can at least give me the same functionality that the cheap one gives.
    Yes, the Iphone offers so much more, and that’s the reason why I wanted to buy it (so I am not an Apple naysayer, in fact I really wanted to buy an Iphone, and even defended it in front of friends in discussions), but really I need it first and foremost for work, and I NEED to be able to receive and make phone calls, and can’t afford to have dropped calls in bad reception areas.
    This is an issue ALL smartphones have? To be sincere, I highly doubt that.
    But even if it were, then I would go on with my non-smartphone mobile, until this thing is solved, because seriously, I think before adding in all kinds of gadgets and whatsoever, making sure you can use a phone to make phone calls everywhere without dropping calls should be the priority number 1.
    There is no possible hardware solution? Now, I am not an expert, but if you look at the pictures of the antenna, and without making any particularly intelligent change… why not just rotate the antenna position 180°? So that the black band is on the top right, where nobody holds it, rather than on the bottom left, where most people hold it? It doesn’t take a rocket scientist in my opinion.
    What I think is that we WILL see a hardware solution, in my opinion Apple already knows what needs to be done. But you can’t just change production from one day to the next. Apple has a lot of phones ready yet, and lots are being built, that it can’t just throw away.
    So, until 30 September (or until these models will be dispatched) we’ll get this model with a bumper.
    When the stock will be over, we’ll get a new model with the magical fix.
    Until then… +“if you don’t want an Iphone 4 – don’t buy it”.+
    Smart suggestion mr. Jobs gave, I’ll follow it.
    Have a nice day.

  • What can I do to improve performance?

    CREATE TABLE temp_table
    ( ts timestamp
    , ttl NUMBER(5,0)
    , ipid NUMBER(10,0)
    , length NUMBER(5,0)
    , tid NUMBER(5,0)
    , cnxid NUMBER(10,0)
    , reverse NUMBER(1,0)
    , srcIp VARCHAR2(15)
    , srcPort NUMBER(10,0)
    , dstIp VARCHAR2(15)
    , dstPort NUMBER(10,0)
    , flags varchar2(10)
    , startSeq NUMBER(19,0)
    , endSeq NUMBER(19,0)
    , nbBytes NUMBER(5,0)
    , ack NUMBER(19,0)
    , win NUMBER(10,0)
    , urgent NUMBER(10,0)
    , options varchar2(500)
    CREATE TABLE mf1 NOLOGGING AS SELECT DISTINCT TS, TTL, IPID, LENGTH, TID, CNXID, REVERSE, FLAGS, STARTSEQ, ENDSEQ,NBBYTES, ACK, WIN, URGENT, OPTIONS from temp_table order by cnxid
    CREATE INDEX mf1_cid_idx ON mf1 (cnxid) NOLOGGING
    CREATE INDEX mf1_cid_ts_idx ON mf1 (cnxid,ts) NOLOGGING
    ANALYZE TABLE mf1 ESTIMATE STATISTICS SAMPLE 5 PERCENT FOR ALL INDEXED COLUMNS
    This is the function I would like to achieve better performance on, or rather it is the query in cursor c_query. I have a larger application that does a lot more, but we have found that the most time consuming part is doing the c_query on various cnxid so I figured a function like this would be a decent test to see how it performs without having to run the entire application.
    CREATE OR REPLACE FUNCTION test1 RETURN NUMBER AS
    CURSOR all_cid IS SELECT distinct cnxid FROM mf1;
    all_cid_row all_cid%ROWTYPE;
    sum_val NUMBER(19,0);
    CURSOR c_query(in_cid IN NUMBER) IS SELECT /*+ INDEX(mf1 mf1_cid_ts_idx)*/ * FROM mf1 WHERE cnxid = in_cid ORDER BY ts;
    c_query_row c_query%ROWTYPE;
    BEGIN
    sum_val := 0;
    FOR all_cid_row IN all_cid LOOP
    FOR c_query_row IN c_query(all_cid_row.cnxid) LOOP
    sum_val := sum_val+1 ;
    END LOOP;
    END LOOP;
    RETURN sum_val;
    END;
    I added a hint in the c_query for which index it should use. Without the hint it use mf1_cid_idx and performance is better with mf1_cid_idx.
    Runnig the SQL tuning advisory from enterprise manager I am told to analyse the table, which I though I did and to get another CPU.
    I have tried changing the analyse to this without any effect:
    begin dbms_stats.gather_table_stats(ownname => 'MARIUS', tabname => 'MF1', estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE, method_opt=>'FOR ALL COLUMNS SIZE AUTO'); end;
    I have tried clustering, but the way I insert tuples to the mf1 table achieve much the same as long as no new tuples are inserted. In other words when I tried clustering it I got the same performance.
    Another thing I have been wondering is that if I populate the mf1 table with 10MB 100MB 1GB 5GB the amount of time per MB of data decreases to a low point at 5GB and then dramatically increase if I populate the mf1 table with 10GB.
    The tablespace containing mf1 is 44GB large it only contains one incarnation of the mf1 table. It has a maximum 13GB used when I populate the mf1 with a 10GB table. temp is 8GB, undotbs1 8GB
    Any suggestion how I can imporve my c_query?

    I''m looking at the bulk transfer, actually I'm running tests to see how it perform. I was wondering if some one that was familiar with BULK transfeer could have a look at my new test1 function to see if it is equivalent to the old one. (Added the old one to the bottom for ease of reference).
    CREATE OR REPLACE FUNCTION test1 RETURN NUMBER AS
    TYPE number_table is TABLE OF mf1.cnxid%TYPE INDEX BY BINARY_INTEGER;
    cid_list NUMBER_TABLE;
    TYPE tab_table IS TABLE OF mf1%ROWTYPE INDEX BY BINARY_INTEGER;
    tuple_list TAB_TABLE;
    sum_val NUMBER(19,0);
    i NUMBER;
    ii NUMBER;
    BEGIN
    sum_val := 0;
    SELECT DISTINCT cnxid
    BULK COLLECT
    INTO cid_list
    FROM mf1
    ORDER BY 1;
    FOR i IN cid_list.FIRST .. cid_list.LAST LOOP
    SELECT /*+ INDEX(mf1 mf1_cid_ts_idx)*/ *
    BULK COLLECT
    INTO tuple_list
    FROM mf1
    WHERE cnxid = cid_list(i)
    ORDER BY ts;
    FOR ii IN tuple_list.FIRST .. tuple_list.LAST LOOP
    sum_val := sum_val+1 ;
    END LOOP;
    END LOOP;
    RETURN sum_val;
    END;
    CREATE OR REPLACE FUNCTION test1 RETURN NUMBER AS
    CURSOR all_cid IS SELECT distinct cnxid FROM mf1;
    all_cid_row all_cid%ROWTYPE;
    sum_val NUMBER(19,0);
    CURSOR c_query(in_cid IN NUMBER) IS SELECT /*+ INDEX(mf1 mf1_cid_ts_idx)*/ * FROM mf1 WHERE cnxid = in_cid ORDER BY ts;
    c_query_row c_query%ROWTYPE;
    BEGIN
    sum_val := 0;
    FOR all_cid_row IN all_cid LOOP
    FOR c_query_row IN c_query(all_cid_row.cnxid) LOOP
    sum_val := sum_val+1 ;
    END LOOP;
    END LOOP;
    RETURN sum_val;
    END;
    --- Edit, I get the following error trying this.
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    begin
    ERROR at line 1:
    ORA-04030: out of process memory when trying to allocate 16396 bytes (koh-kghu
    call ,pmuccst: adt/record)
    ORA-06512: at "MARIUS.TEST1", line 23
    ORA-06512: at line 2
    This is in the inner query. Do I have to reset or empty tuple_list between each iteration? How is this done?
    Message was edited by:
    Marius

  • Where will I specify process chain and query time statistics to be loaded .

    I am on BI 7.0. I see on my system, BI Statistics Technical Content has been installed because when I run
    RSDDSTAT transaction under Info Provides I see cubes such as 0TCT_C01, oTC_C02, oTCT_C03,  oTCT_MC01, 0TCT_VC01..
    I also see process chains installed on my system such as oTCT_C2_INIT_P01,  oTCT_C2_DELTA_P01.
    I see various RSDDSTAT* tables being populated on my system as well.
    My questions are:
    1.     How does data gets populated in 0TCT_C01, C02 etc? Is it by scheduling TC process chains or there are other means?
    2.      Where does one specify what kind of statistics will be copied from RSDDSTAT* tables. My IT lead tells me that process chain statistics are not being collected. I also thing query times are not being populated  in 0TCT tables. Where can I specify what should be loaded in these cubes.
    3.     Does ST03N transaction display data from 2.
    THANKS A LOT.

    Hi,
    1.     How does data gets populated in 0TCT_C01, C02 etc? Is it by scheduling TC process chains or there are other means?
    You can find the DataSource in RSA1. For example, 0TCT_C01 is updated from 0TCT_DS01. And you need to schedule process chain 0TCT_C0_DELTA_P01 for query statistics and 0TCT_C2_DELTA_P01 for data load statistics on a regular basis. Of course, as they are delta chains, you need to first run initializaiton chains for just one time before scheduling delta chains. The initialization chains are 0TCT_C0_INIT_P01 and 0TCT_C2_INIT_P01.
    2.      Where does one specify what kind of statistics will be copied from RSDDSTAT* tables. My IT lead tells me that process chain statistics are not being collected. I also thing query times are not being populated in 0TCT tables. Where can I specify what should be loaded in these cubes.
    As I know, the statistics data are first stored in RSDDSTAT* tables. For example, query data are stored in RSDDSTAT_OLAP. And the data are loaded to corresponding cubes when you executing InfoPackages.
    You can refer to this link and search "Recording BI Statistics" in this page:
    http://help.sap.com/saphelp_nw70/helpdata/en/44/3521c7bae848a1e10000000a114a6b/content.htm
    3.     Does ST03N transaction display data from 2.
    Yes. If BI Statistics content are not activate you would be unable to view statistics data in ST03N.
    Let us know if you have other questions.
    Regards,
    Frank

Maybe you are looking for

  • The quest for a good multi-source video workflow

    I frequently have to mix together several sources, and the Multi-Camera Source Sequence in Premiere Pro should in theory be the best way to go. However, it's seriously underdeveloped and for a single camera with separate audio, I end up doing a seque

  • Downloading photos from a CD

    Hi, this is my first post , I bought the imac two days ago and am having difficulty downloading one Cd full of photos from my recent vacation The photos were taken on my Canon and down loaded onto a friends Pc using Coral and a microsoft program. Whe

  • IDOC for F-53 Posting Payment Document ?

    Dear All, Please advise which IDOC i can use for Posting Payment Document ? I have scenario to send the IDOC payment document to others SAP system. Thank You and Best Regards Fernand

  • Which are the latest business packages for ESS and Mss?

    Hi all, Which are the latest business packages for ESS and Mss? Regards Rajendra

  • Will you make firefox 5 compatible with Skype and Avast!

    I updated my firefox to version 5 which disabled my Skype and Avast! programs. As I use skype daily I tried to go back to 4.0 but couldn't. Now I have to use another browser until this is fixed. Not good!