You should know about optimizing SQL performance

Hi gurus

I want to know/learn some SQL performance settings, can you please guide me how to I achieve this? Thanks in advance

Shuumail wrote:

Can thanks for the reply, you offer me any specific book in your mentioned link?

The subject itself is not my strong suite, but here are some observations:

I recently bought the book of Kevin Meade. It is self-published and self published, is not as polished as a lot, but the content seems to be very good.  It establishes a methodical approach with a solid knowledge of the subject.

Over the years, I've become less enamored of what whether by Burleson.  I was a little surprised to see that one of the books was written by him and Tim Hall.  I do not rely on the website of Mr. Hall for a bunch of stuff 'how to set up'.  On the other hand, if I see a google search show site of Burleson, I usually just pass.

Whatever it is published by Oracle Press will probably be as solid than anything either, although not totally without error (no book is).  Rich Niemiec is unquestionably one of the top experts on the workings of the oracle, so I expect his book to be very authoritarian.

I've never been disappointed in a book published by O'Reilly.  They are easy readings and so probably would make a good book "start here."

Tags: Database

Similar Questions

  • I found the show/hide button toolbars, but you should know how to REMOVE toolbars that appear on this list?

    I found the show/hide button toolbars, but you should know how to REMOVE toolbars that appear on this list?

    Is attached a screenshot of my screen with the context menu to show/hide tabs. I want to delete some of them and let others. Please help me to know how. Thank you!

    Hmm, maybe this "one-time" imported into the new preference? Try this:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste the cust and make a pause so that the list is filtered

    (3) double-click the preference of browser.uiCustomization.state and the content must be highlighted in a small dialog box.

    (4) copy the whole line and paste it into Notepad and save it as a backup.

    (5) in Firefox, click on the button '3-bar' menu > developer > Notepad. Remove the comment that appears and paste data preferably, that must appear on a long line. Click on the "Pretty Print" button to make it more readable.

    So I hope that you can spot the extra toolbars and change them out, taking care to preserve the commas between the elements.

    I don't have the extra toolbars in mine, but I copied and pasted back this spaced format and Firefox was able to handle it well. I went into customize and moved a button, and when I left, Firefox has rewritten the preference set as a single line. Assuming that yours works fine, then you can get rid of the backup from step (4).

  • What are some of the Oracle, distributed parcels DBA should know about?

    Can someone let me know what are the packages of ORacle we should in case oracle 9i / 10g

    Oracle provides a number of packages in the form of the DBMS_ packages owned by the SYS user. The packaging used by DBA may include: INVALIDHTOMEH, DBMS_UTILITY, DBMS_SQL, DBMS_DDL, DBMS_SESSION, DBMS_OUTPUT and DBMS_SNAPSHOT.

  • My computer is slow and a pop-up Microsoft says that my color palette is perhaps not where it should be for optimal performance

    Original title: my color sceme.

    My computer is slow and a pop-up Microsoft says my sceme color may not be where it should be for optimal performance, before I could click it properly, he disappeared. How can I change my sceme of color for optimal performance, Windows Vista Basic.

    Hi Mydajaz,

    ·         What is the pop-up message exactly says?

    ·         Did you do changes on the computer before the show?

    I suggest you to refer to the mentioned article and check if the problem still persists.

    How can I decide to change the color scheme to improve performance?

    http://Windows.Microsoft.com/en-us/Windows-Vista/how-do-I-decide-whether-to-change-the-color-scheme-to-improve-performance

    Let us know the results.

  • Does anyone know if you should be able to open 2008r2 Analysis services 2005 customer?

    I'm trying to conenct to a service 2008 r2 Analysis services from the server management studio in SQL Server 2005. I get the following error "you can only connect to instances of SQL Server 2005 Analysis services (connectiondlg)" anyone know if you should be able to open 2008r2 Analysis services 2005 customer?

    Hello

    Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited on MSDN.

    http://social.msdn.Microsoft.com/forums/en-us/category/SQLServer

    I hope this helps.

  • Hi, sorry for my English, my full authorized computers it s, number they say, I have to wait until Dec 12, everything you know about windows update and windows 10, it's a mess, I, lost master of my equipment, I wonder if anyone can helpme how to recover

    Hi, sorry for my English, my number of computers it s, they say full, I have to wait until December 12, everything you know about windows update and windows 10, it's a mess, I, lost my equipment be, I wonder if anyone can help me how to recover my subscription tanks

    also my purchases does not appear in the cloud, I have ' VM a very old usser

  • Upgrade to 3.6.15. Now my Add ons (1 password, Download Helper, Multi line Bookmark Toolbar) disappeared. Everyone knows about this problem? Any ideas on how to solve this problem? Thank you.

    Upgrade to 3.6.15. Now my Add ons (1 password, Download Helper, Multi line Bookmark Toolbar) disappeared. Everyone knows about this problem? Any ideas on how to solve this problem? Thank you.

    There may be a problem with one of the files which stores details of the installed extensions. Try to delete these files as described in the section "Corrupt extension files" of this link - https://support.mozilla.com/kb/Unable+to+install+add-ons

    Although this article is not specifically about your problem, the method indicated in the corrupted files extension section can help. When you restart Firefox after you delete these files, the list of installed extensions is rebuilt and cela hopefully solve your problem.

  • "People you may know" SQL query

    Hi everyone, I need build a query emulating the "people you may know" feature on Facebook or other social networks. I built one for 'Common Contacts', which is simply an intersection of the contacts of the person A with the contacts of the person of B. I guess "People you may know" questions to be similar.

    I have 2 tables to do: users and contacts. Contacts have two foreign keys to the users table in the relationship of contact between the two users.


    Users
    _____
    username
    fName
    lName


    Contacts
    _______
    userIDFK
    contactIDFK


    Any help is appreciated, thanks.

    Published by: user650521 on October 13, 2008 23:05

    Published by: user650521 on October 13, 2008 23:08
    SQL> create table usrs (userid number(5) primary key,name varchar2(20));
    
    Table created.
    
    SQL> create table contacts (userid number(5) ,contact_id number(5));
    
    Table created.
    
    SQL> alter table contacts add constraint fk_cont_usrs foreign key(contact_id) references usrs;
    
    Table altered.
    
    SQL> select * from usrs; 
    
     USERID       NAME
    ----------  ----------------------
         1             Gary
         2             Mary
         3             Sue
         4             Helen
         5             Joseph
         6             Bob
         7             Joe     
    
    SQL> select * from contacts;
    
    USERID     CONTACT_ID
    ---------  -----------
          1            2
         1            5
         2            3
         5            3
         2            4
         5            6
         4            6
    
    SQL> SELECT u.name AS "People you may know"
      2    FROM usrs u
      3   WHERE u.userid in (
      4         SELECT contact_id
      5           FROM (SELECT LEVEL, userid, contact_id
      6                   FROM contacts
      7                  WHERE LEVEL =2
      8                  START WITH userid = &yourID
      9                CONNECT BY NOCYCLE PRIOR contact_id = userid)
     10          GROUP BY contact_id
     11         HAVING COUNT(contact_id)>1);
    Enter value for yourid: 1
    old   8:                 START WITH userid = &yourid
    new   8:                 START WITH userid = 1
    
    People you may know
    --------------------------------------------------
    Sue
    
     
    

    I hope this helps!

    Kind regards
    Sushma

  • Satellite P300 - 219 PSPCCE - what should be the optimal heat of CPU?

    Hello there;

    I use for my laptop Satellite P300-219 (PSPCCE) newly bought about a week now. When you type I can't help noticing, the place where I put my left hand, I want to say the empty space to the left of the touchpad, feels much too hot. I looked for the manual and I have learned that it is where the CPU.

    Then I searched for a way to measure the heat of CPU, and after having tested some programs with too many different measures, I led to believe that the 'CPUID hardware Manager"gives the best results, after you set the correct value TJUNCTION.

    Here are the steps I get today while typing this message:

    ACPI hardware monitor
    Temperature 0 45note ° C (112 ° F) [0xC6E] (THRM)

    Intel Mobile Core 2 Duo T6400 hardware monitor
    Temperature 0 56a ° C (° F 132a) 0 x [31] (Core #0)
    Temperature 1 54a ° C (° F 129a) 0 x [33] (Core #1).

    Monitor hardware ATI Mobility Radeon HD 3650
    53A temperature 0 ° C (° F 127a) (GPU Core)

    Hardware Hitachi HTS543232L9S monitor
    Temperature 0 37â? Â ° C (98A? Â ° F) (0 x 25) (Assembly)

    From now you mind, windows taskbar indicates that I use roughly about 15 & 35% CPU. After a little use, I even though the CPU heats by a maximum of 69a ° C.

    The truth is, I don't know what to do with these readings, is my laptop which works very well, or he has problems? Could someone please tell me what should be the optimal level of heat for a P300, or where I can learn?

    Thanks in advance.

    Hello

    In my opinion, everything is ok with your laptop, buddy and the temperatures are quite good. Don t be to worry about this!
    If your laptop could overheat, it would have to close or freeze immediately. If this isn't the case, everything is ok with the temperatures.

    What you can do is to change the cooling method in Windows power management. Here, you change between performance and battery optimized cooling.

    By the way: you should also clean your laptop at any time. I clean my laptop every 3-4 months using a jet of compressed air. This blows the dust from the cooling fans.

    Welcome them

  • Tips on optimizing the performance of table.

    Hello

    I read several article on optimizing the performance for the table. Finally, I settle on a strategy to implement, but I have a few questions.

    Let's say we want to display a wide range of data in a table. The number of lines displayed on the screen is n = 25.

    For each VO displayed in table form: Open model project->->->-> Data Model Instances to View object Data Model Module of Application -> select your view object-> press the modify... button-> Tuning

    • For best performance Oracle ADF Performance Tuning Documentation indicates that in lots of field must be set to n + 3
    • The scope of the queryoptimizer indicator should be the value + 3, so if n = 25, FIRST_ROWS_28 FIRST_ROWS_n
    • By default, access is set to Scrollable, which is OK as long as you aren't iteration in a large data set, but if you are, then you must change the Access Mode to the Range Paging
    • Set the size of the beach to n + 3

    Q1: What is the reasonable maximum for a set size? Client wants to display huge table as 200 lines that is not really usable, but it's what they want. I was wondering if the definition of the size of the beach at 203 is a reasonable value, or if it is too high.

    Q2: I have really not understand the purpose of the indicator of QueryOptimizer even after reading the documentation. Is it okay to put it at FIRST_ROWS_203 if your batch size is 203?

    Thank you

    JDev 11.1.2.4

    What version of jdev we are talking about?

    Is the table in paging mode (+ 11.1.1.7)?

    Q1 Yes), the tip is still standing, then set-203. The reason is that the table will display 200 lines that you need to load them in any case. In this case, it is best to load them into a round trip. a smaller rangesize then the number of visible rows in the table means more then 1 trip on the server and the db.

    Q2) the query optimizer indicator is just passed to the db which then decides to use it or not. The indicator shows the db to deliver the first n lines of results as soon as possible. If you have large result sets the db can provide the result set when it comes always collection more data FRO the game results in the background. This will display the fastest page to the user.

    Timo

  • want to know about the region

    I bought the laptop lenovo B41-80 last month. He has 80LG001AIN machine type model and * series. want to know about the region. USA CANADA INDIA or OTHERS.

    Moderator Note: serial number removed for the protection of the Member.

    Hello and welcome,

    I'm not absolutely sure what you ask but will SUPPORT above and check the warranty status with this serial number - which you should not publicly display - the return of the country's Bangladesh.

    Z.

  • Need a tool to investigate SQL performance

    If anyone can share a tool to study the SQL performance?

    Hello

    I don't know if this is a good place but you can opt for Quest Toad, which is one of the most common SQL configuration tool.  However, if you are interesting in SQL performance specifically to your DB, then you can consider SQL tuning packs that come with DB Oracle enterprise edition (careful if you use the standard edition).

    In addition, Oracle has a very nice set of scripts allow you to download... but you must have an account to the Oracle support:

    SQL Tuning-health check Script (SQLHC) (Doc ID 1366133.1)

  • Where should questions about the JDEV/ADF positions?

    Hello

    Where should questions about the JDEV/ADF positions?

    JDeveloper and ADF or

    JDeveloper and ADF?

    I found there may be some different advantageous:

    https://forums.Oracle.com/message/11109674?TSTART=0#11109674

    Thank you.

    Well, the other forum you mentioned is the Korean equivalent of the English forum.

    You have already discovered, it is not controlled to many users. I didn't know that it exists at all.

    In general it is to you where you ask your questions. All for one here are driven by the community and some employees of the Oracle, you cannot wait has answered all your questions. If you really need to answer you go through paid support.

    A tip for getting help is to provide a well-defined use cases, information relating to your environment and documented code showing what you have already tried.

    Timo

  • SQL performance monitor

    Hello..

    I'm new to sql performance monitor and I need help...

    When I try to create a sql tuning set it asks for a schema to create the tuning series.

    1. what should I use for this?
    2. a particular schema will contain all the sql statements required by the database?
    3.i have multiple schemas in the database... do I do to get all the sql statements for the performance of the database?


    Thank you

    djgeo.

    Hello
    You can select a user database (no application) for the creation of sets of tunng sql

    Salman

  • should we run catbundle.sql after creation of DB?

    Hello, I have installed oracle 11.1.0.7 and installed the patch (10249534) CPU 2011.

    I intend to create the database after a few weeks. So after you have created the database, should I run the scripts below?
    Given that this is part of remedial education.


    * 3.2.2.1 loading modified the SQL files in the database *.
    The steps following loading changed files SQL in the database. For a CCR environment, perform these steps on one node.

    For each instance of database running on the Oracle home being patched, to connect to the database using SQL 'More'. Connect as SYSDBA and run the script catbundle.sql as follows: *.

    CD $ORACLE_HOME/rdbms/admin
    sqlplus/nolog
    SQL > CONNECT / AS SYSDBA
    SQL > STARTUP
    SQL > @catbundle.sql cpu apply
    SQL > QUIT
    Execution of catbundle.sql is reflected in the sight of dba_registry_history by a related line of series CPU bundle.

    Hello!

    You must run the catbundle.sql only for databases created before the application of the CPU.
    If you create a new database after the application of the CPU on the ORACLE_HOME, you don't need the script to run catbundle on it.

    Best regards
    Norbert

Maybe you are looking for