Plain Explain  and s methods (tools) for  to improve Performance

Hi
How can I do to use Plain Explain and others methods for to impove performance ?
Where can I to find tutorial about it ?
thank you in advance

Hi
How can I do to use Plain Explain and others
methods for to impove performance ?
Internally there are potentially several hundred 'procedures' that can be assembled in different ways to access data. For example, when getting one row from a table, you could use an index or a full table scan.
Explain Plan shows the [proposed] access path, or complete list of the procedures, in the order called, to do what the SQL statement is requesting.
The objective with Explain Plan is to review the proposed access path and determine whether alternates, through the use of hints or statistics or indexes or materialized views, might be 'better'.
You often use Wait analysis, through StatsPack, AWR/ADDM, TKProf, Trace, etc. to determine which SQL statement is likely causing a performance issue.
>
Where can I to find tutorial about it ?Ah ... the $64K question. If we only knew ...
There are so many variables involved, that most tutorials are nearly useless. The common approach therefore is to read - a lot. And build up your own 'interpretation' of the reading.
Personal suggestion is to read (in order)
1) Oracle's Database Concepts manual (described some of 'how' this is happening)
2) Oracle's Performance Tuning manual (describes more of 'how' as related to performance and also describes some of the approaches)
3) Tom Kyte's latest book (has a lot of demos and 'proofs' about how specific things work)
4) Don Burleson's Statspack book (shows how to set up and do some basic interpretation)
5) Jonathan's book (how the optimizer works - tough reading, though)
6_ any book by the Oak Table (http://oaktable.net)
Beyond that is any book that contains the words 'Oracle' and 'Performance' in the title or description. BUT ... when reading, use truck-loads, not just grains, of salt.
Verify everything. I have seen an incredible amount of mistakes ... make 'em mysellf all the time, so I tend to recognize them when I see them. Believe nothing unless you have proven it for yourself.. Even then, realize there are exceptions and boundary conditions and ibgs and patches and statistics and CPU and memory and disk speed issues that will change ehat you have proven.
It's not hopeless. But it is a lot of work and effort. And well rewarded, if you decide to get serious.

Similar Messages

  • A year or so ago I had turned on a toolbar that sat at the top with the other toolbar, and had many tools for development and checking of websites. You could tu

    A year or so ago I had turned on a toolbar that sat at the top with the other toolbar, and had many tools for development and checking of websites. You could turn Java on/off, javascript on/off, turn on source view, and many other things. Now I cant find that toolbar. All that I can find now turns on a panel in the lower half of the window that probably does all the same stuff, but it takes up much more room. Where did that toolbar go? or was it an add-on or plug-in?

    It sounds like you may be referring to the Web Developer add-on.
    * https://addons.mozilla.org/firefox/addon/web-developer/

  • How to tune this query for the improve performance ?

    Hi All,
    How to tune this query for the improve performance ?
    select a.claim_number,a.pay_cd,a.claim_occurrence_number,
    case
    when sum(case
    when a.payment_status_cd ='0'
    then a.payment_est_amt
    else 0
    end
    )=0
    then 0
    else (sum(case
    when a.payment_status_cd='0'and a.payment_est_amt > 0
    then a.payment_est_amt
    else 0
    end)
    - sum(case
    when a.payment_status_cd<>'0'
    then a.payment_amt
    else 0
    end))
    end as estimate
    from ins_claim_payment a
    where a.as_of_date between '31-jan-03' and '30-aug-06'
    and ( a.data_source = '25' or (a.data_source between '27' and '29'))
    and substr(a.pay_cd,1,1) IN ('2','3','4','8','9')
    group by a.claim_number, a.pay_cd, a.claim_occurrence_number
    Thank you,
    Mcka

    Mcka
    As well as EXPLAIN PLAN, let us know what proportion of rows are visited by this query. It may be that it is not using a full table scan when it should (or vice versa).
    And of course we'd need to know what indexes are available, and how selective they are for the predicated you have in this query ...
    Regards Nigel

  • What are all the different methods/tools for creating animations that work in IBA?

    I've been developing HTML5 animations in Sencha and attempting to use the HTML widget in IBA.  It's not going as seamless as I was hoping, and I was wondering if there are better methods/tools to create animations for IBA.  In my opinion, the primary limitation is not in Sencha itself, it's more in the widget functionality in IBA. 
    I want the entire page to be an animation and drive the user experience, basically.  Currently in IBA, the widget allows for successfully importing an HTML5 animation, but in more as a complementary role to the page instead of the primary content. 
    Any ideas?

    Thanks Fabe - I agree 100%.  However, in order to make fully dynamic books, animations can play a great role in bringing a book to life.  (Admittedly, I may have to just build an app for what I'm trying to do)
    Anyone else have any thoughts?

  • Best method/tool for cloning a failing HDD for Data Recovery?

    I have been brooding over this subject "Which method/tool is best for cloning a failing HDD - including the system drive - for data recovery from the clone.Has anyone tried cloning for this specific purpose and achieved any results?I would be interested if they can share their experience or even air their views on the subject.

    I recently review one of the tool, here's my blog/review : http://arnavsharma.net/4/post/2014/05/review-stellar-phoenix-windows-data-recovery.html
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • Monitoring and backup/restore tools for TT databases

    Hi there,
    I am new to TimesTen. I need to set up automatic monitoring for TT databases. Are there any tools available? Also would like to know if there are any tools for tracking backups for these datastores.
    Any standards & best practices for managing TimesTen environment available?
    Appreciate any help/advise.
    Regards

    Hi Vidya,
    You did not mention what type of Unix/Linux you are using or what version of TimesTen. I will assume it is a mainstream Unix (Solaris, HP/UX or similar) or Linux (RedHat, SuSE etc.) and a recent (6.0 or 7.0) version of TimesTen. I will also assume that you want to put everything back 'as is' after the rebuild (i.e. you are not upgrading TimesTen versions or changing anything else about the configuration). IF YOU ARE PLANNING TO UPGRADE TIMESTEN AS PART OF THE REBUILD THEN THE STEPS LISTED BELOW WILL NOT WORK 'AS IS' AND WILL NEED MODIFICATION.
    Assuming that the machine is going to be 'wiped' during the rebuild then the main things you need to preserve are:
    1. Kernel parameter and other system level configuratiopn for TimesTen and indeed any other software running on the box. You would do this by taking copies of the relevant system configuration files and re-applying the customisations after the rebuild. As well as kernel parameters this might include things like users and groups.
    2. The port numbers used by each installed TimesTen instance. You can find these out from the ttVersion and ttStatus commands in each instance. Make a note of these as you will need them afterwards for re-installation.
    3. TimesTen configuration files for each installed TimesTen instance. You may have multiple TimesTen instances of the same or different versions installed. You can find out by looking at
    the file /etc/TimesTen/instance_info which contains details of every TimesTen installation (instance) on the machine. The instance configuration files are found in &lt;install_dir&gt;/info and are called; ttendaemon.options, sys.odbc.ini, sys.ttconnect.ini, snmp.ini and ttpasswd. You should make safe copies of all these files for each instance.
    4. Any user configuration files that e.g. configure TimesTen environment variables and any user ODBC configuration files such as .odbc.ini in user's home directory.
    5. Any datastores (databases) that you need to preserve across the rebuild. For each of these, take a backup of the datastore using the TimesTen ttBackup command and preserve the output files/directories. You need to do this separately for each datastore in each TimesTen instance.
    After you have secured the above then you should be okay to do the rebuild. After the rebuild you should:
    a) Re-apply all system level config changes (kernel parameters, users, groups etc.) preserved from (see step 1 above).
    b) Re-install all required TimesTen instances into the same installation directories, and using the same port numbers, as they had previous to the rebuild (see step 2 above). The installations should be performed as the same user as the original installatuions (the ttVersion output from step 2 above would tell you that). Prior to performing the installation you would need a sysadmin to create the /etc/TimesTen directory and assign suitable permissiosn to it (see TimesTen installation Guide for more details).
    c) Re-instate the saved TimesTen configuration files for each instance (see step 3 above).
    d) Re-instate any user level configuration files (see step 4 above).
    e) Re-create any datastore directories as required ready to receive the restored datastores (check datastore and log file paths in ODBC configuration files).
    f) Restore the datastore backup directories (created in step 5 above) to somewhere on disk.
    g) Use ttRestore in each instance to restore each datastore from the backup files restored in step (f) above. This re-creates all your datastores with all their data etc.
    If you follow this procedure and are not doing anything like changing TimesTen major versions (e.g. 6.0 -&gt; 7.0) as part of the rebuild then you should not need to relink any application binaries. If for some reason you want to relink any application binaries you should consult the application developers who should have suitable makefiles to do this.
    I think this is pretty complete but of course it is possible there are additional things specific to your installation or operational regime of which I am unaware and so of course we can not accept any responsibility for any errors or omissions...
    I will send you the document on monitoring TimesTen via your e-mail address.
    Chris

  • Tools for measuring BDB performance

    Hi all,
    Are there any tools available for benchmarking the performance of BDB ?
    Also how to use the test suite available with BDB distribution ?
    Thanks,
    david.

    Hello,
    MVCC alleviates reader/writer contention at the cost of additional memory.
    When MVCC is not used, readers trying to read data on page X might block for a writer modifying content on page X. With MVCC, the readers will not block. The fact that readers are not blocked will result in better performance (throughput and/or response time).
    So, your test should have some "hot spots" which would create this contention. You should have transaction mix of readers and writers. Without MVCC, you'll see that readers block (resulting in lower throughput). With MVCC, you should see that readers continue, thus getting more transactions per second.
    As long as the rows that you store in Berkeley DB are smaller than a page size, my opinion is the row size doesn't matter (Berkeley DB does page level locking).
    As mentioned above, memory requirements for MVCC are higher, so to get the additional performance benefit, the 4.6.21 run will probably need a bigger cache.
    That's the general answer.
    This is an interesting exercise. Good luck!
    Warm regards.
    ashok

  • Tool for keep information performance db

    Hi all,
    Is there any tool for keep information about performance of db?because i want to keep any information such as space,buffer cache,log ,sga etc. and after i will take this value into grap for my manager (dayly,weekly,monthly).or Is there any way to do it?
    thks for advance
    Chara

    As others suggested, I would also recommend you to schedule statspack every15min or 30min, so that you can comapre the performance as well take the statspack report for analysis.
    Jaffar

  • I want to be able to draw a scalloped box using the line tool and the arc tool, (for the corners), t

    So I'm trying to make a logo that starts of with a scalloped square background.  I drew this creating 4 lines with inverted arcs at the corners then grouped all pieces into one - a new shape.  So now I need to color it in and this (should be a piece of cake step) is giving me a run for my money.  Why can't a fill it in?  I ended up freehand tracing it (badly) with the pencil tool and filling that in but that creates prob.s that you can imagine.  Please help- someone!?!?!

    Is this any use?
    Do the whole thing with filled circles. Then Pathfinder (panel) Unite.

  • Two Questions.  How to clean and a speech tool for PDF's online with my Mac

    Hello,
    I watch a lot of videos and movies on YouTube and also listen to a lot of audio recordings and use the txt to speech to read websites.  Do you know if I need to be concerned about cleaning my mac at some time, and how would I do that?  Don't want to download something that might hurt my mac.
    I have a 2008 quad 4 Mac Pro Desktop OS X 10.9.2
    Also is there a too I can get for my computer to read PDF's on websites or even a PDF document for me on a Mac?
    Thank you for any help I can get

    sorry the last paragraph should read"  Is there a tool like text to speech so the computer can read PDF on a Mac?
    thanks again

  • Plain user and systemd: dependency failed for local file system

    I tried to switch to systemd, but ended up in a maintenance console (Enter root password or Ctrl-D to continue):
    Enter password.
    journalctl -b as suggested yields "Dependency failed for local file system".
    I couldn't find a systemd troubleshooting page in the Wiki. So, can someone point me to such a page? Anyone willing to give some hints?
    What I did so far: Did what https://wiki.archlinux.org/index.php/Systemd tells one should do to switch to systemd.
    In the boot menu pressed e, moved one down to the line starting with "kernel", pressed e again, and appended init=/bin/systemd.
    Somewhere I read that "mkinitcpio -p linux" should be issued to make systemd work. No (positive) effects.
    Paul
    P.S.: Shouldn't there be a topic "systemd" in "Pacman Upgrades, Packaging & AUR"?

    skunktrader wrote:
    poseidon wrote:In the boot menu pressed e, moved one down to the line starting with "kernel", pressed e again, and appended init=/bin/systemd.
    According to the wiki you are supposed to append init=/usr/lib/systemd/systemd if you are using the "Mixed systemd/sysvinit/initscripts installation" mode.  In all other configurations you should NOT have an init=.... entry since init becomes a symlink to systemd
    As far as I know, the init= entry doesn't hurt anything - it just isn't necessary.
    EDIT: Of course, it will hurt if the path was wrong...
    Also, at least on my system, /bin/systemd symlinks to /usr/lib/systemd/systemd.
    Last edited by cfr (2012-11-19 23:53:55)

  • Tool for Code Improvement

    Hi All,
    We are planning to have a tool to review our code and suggest us with valid inputs.
    What we expect out of the tool
    Run through the code and identify the potential issues which may come out from the code.
    Give suggestions for writing the SQL in a better manner
    Advice on the indexes part
    We are interested in knowing few tools or utilities available in the market and or open source items which helps us to list out the above mentioned 3 points. Though we do peer to peer review and do tuning based on the suggestions given by TKPROF or Autotrace still apart from this would like to know whether there are any professionally built tools available for advising us with such stuff.
    Please share openly on the advantages of such tools if any available in the market.
    Thanks in advance

    ramarun wrote:
    We are planning to have a tool to review our code and suggest us with valid inputs. I think this to be largely a worthless exercise. Code reviews should be peer based.
    Using a tool? The developer will learn jack nothing. Worse.. come to expect the tool to "+catch cr@ppy code+" and then not bother to put an effort into writing non-cr@ppy code. And then like TOAD that unlearns SQL from developers, it too becomes a crutch used by developers.
    Peer based? After the review and discussion, the developer will have learned a lot.
    The only real problem with peer reviews is egos.. and that should be checked in at the door before the review session.

  • Testing 4x E5-4650s and 128GB RAM - tweaks for 32-core performance?

    Howdy. I've got the following system:
    4x E5-4650 eight core CPUs (32 cores/64 HTs total)
    16x 8GB EEC RAM - 4 sticks per CPU
    2x 512GB Samsung 840 Pro SSDs
    5x 3TB Hitachi HDDs in RAID5
    1x GTX 670 w/ 4GB RAM
    Windows Server 2012
    When I'm exporting 1080p from Premiere Pro CC with software encoding I'm getting really low CPU usage - around 4% usage, If I enable Mercury Engine it jumps to about 20%. Any tips or tricks?
    *EDIT: I'm exporting from various sources and frame rates to 1080p H.264@50fps I'm happy to run some tests.

    Just finished PPBM7 and got the following:
    Disk I/O Time = 244s
    Premiere disk write rate is 152.02MB/s
    H.264 Encoding = 126s
    MPE gain = 293/97 = 3
    The disk I/O time is strange as I get the following with CrystalDiskMark:
    While doing the PPBM disk test this is the disk activity reported:
    It seems to average out at about 500MB/s according to the resource monitor but only is shown as 152MB/s? It also has the OS on it so that might be an issue. Here are the ATTO Benchmarks, which seem pretty on the mark for the specs:
    I think there are definitely major changes needed to get better performance out of this system. I'm just running a few tests now and it seems that Windows 2012 is pretty shocking compared to WinSvr 2008: Supermicro X9QR7-TF+/X9QRi-F+ vs Supermicro X9QR7-TF+/X9QRi-F+ - Geekbench Browser
    Having a look at the benchmarks for the 11TB RAID5 shows some amazingly bad performance - 11MB sequential write, 200KB/s random 4K write. I get better write speeds on my USB stick. Either CrystalDiskMark is screwy or the raid setup is totally broken. It's setup using the onboard LSI 2208 controller, which I though was pretty decent. I'm guessing since my disk is 92% full that really messes with performance:
    ATTO gives clearer picture, with transfer sizes below 32KB being crippled to under 1MB/s:
    But of course when I copy a single 40GB file from the RAID0 SSDs to the RAID5 HDDs I get this, which I'm totally ok with:
    Anyway, the major issues is really that the CPU is really underutilised and only uses about 30%. It's over 80% on one of the NUMA Cores but only 25% on the others. Looks like this:
    I suspect that Premiere Pro is only detecting 32 of the threads, not 64. In the Multiprocessing preferences in After Effects it only shows up as have 32 logical processors, not 64. Thinking I'm having the same issues as this guy (same mobo and processor): AnandTech | Trials of an Intel Quad Processor System: 4x E5-4650L from SuperMicro
    Any help would be appreciated.

  • Tools for monitoring and Statistic.

    Hi there
    I am looking for a tool that help me to monitoring and take some statistic from ASA 5500 series, for example:
    monitor the number of connections in use
    monitor the number of tunnels in use
    monitor the number of sessions in use
    monitor throughput, packets and errors on all interfaces of the Cisco ASA
    monitor encrypted traffic throughput
    monitor your firewall’s uptime
    monitor statistics for TCP and UD
    Looking at on the internet I found this tool LogicMonitor somebody knows if this tool is good and reliable???
    Thanks everybody

    Hi,
    You didn't mention if you're looking for a free or licensed tool.
    We use ManageEngine/OpManager as our main monitoring and reporting (NetFlow) tool for our ASAs.
    Sent from Cisco Technical Support iPhone App

  • Tools for Variant and Batch Schedule

    Dear all,
    do you know wehther there is tools with following functionality
    - create variant with a input file (information for report names, variant names, variant parameter names and values)
    - schedule SAP jobs with a input file (information about job name, job class, server which the batch should excuted, Steps with batch user name, program name and variant name)
    - tools for mass download and upload variant.
    Thanks and regards
    Tao

    Hi kiran,
    Pl check,
    http://www.sap-img.com/sap-sd/steps-for-sd-variant-configuration.htm
    http://www.sap-img.com/sap-sd/some-light-on-batch-determination.htm
    https://websmp207.sap-ag.de/~sapidp/011000358700003276182004
    Regards,
    SDS

Maybe you are looking for

  • Ipfilter reload rules - how it impac the current SSH connection?

    Hi, I login to another solaris 10 system thru SSH, and change the ipfilter rultes in /etc/ipf/ipf.conf, generally as follows; - flush all the existing rules (not the state table) - reload the rules from cfg file I've sometimes my SSH connection is no

  • Phone out of order - can't divert

    My phone line is dead, as are several neighbour's lines. Reported the fault which is somewhere away from my home. Probably a cable theft again. No problem to view the fault progress online (Infinity still ok). Last time this happened I could set up c

  • How to get soap message sent out

    Hi, I used a client proxy in ABAP to consume a web service. However I got errors saying there is 'Unexpected elemement' in SOAP message. To find out the root cause, i would like to get the soap message sent out from the proxy. Is there any way to do

  • To Synchronize time in the webmail

    Hi, I have a problem with the time in my webmail. When I send email with my WebMail, the time is 1 hour less that the server where the webmail was installed. How I Can to synchronize the server with the webmail ? Regards, Marcos.

  • Sequence names not created

    I have set the primary key to use sequencing in the mapping bench. I have also set the project to use "Default Sequence Table" for sequencing. I have the following code added when I start the session SchemaManager schemaManager = new SchemaManager(se