Performance tuning of Oracle 9i Database

I want to know, what are the different parameters in the tuning of Oracle 9i database.
A few, i can list like
1) Re-building of indexes
2) Making the heavy transaction tables lighter
3) Checking if the indexes are firing
In a similar fashion, i needed what are the other parameters which can be a good indication of the health of the database. I hope, my question is clear.
Please, help in solving the doubt.
regards

Hmm there is parameter coming up called _<your db name>_fast=true in some later future release.Its still not implemented yet but expected to be coming up soon due to excessive demand.
Your list's first element only is the show-stopper.Richard Foote has talked extensively about this.Its almost never that a index is requiriing a rebuild.There should be benchmarks to prove the benefit (if any ) of the operation.Please visit his blog http://richardfoote.wordpress.com to readmore about this.
2) Making the heavy transaction tables lighter
I didnt get this one.
3) Checking if the indexes are firing
You mean by chance that they are in use or not?If yes than again this may not be the indication of the success truly.It may be possible that they are in use but not the right thing for the query.BTW indexes being used or not is not the database health check.Its the query's health check.
There are no certain parameters which needs to be on a cerain value.Every parameter and its value can have variation depending upon the environment,workload and most importantly release of the databse.If you want to benchmark your db's health ,I shall suggest take a STatspack report before the problem and when you see a variation in it and compare.This will give you the lead to find the bottleneck in the db's performance.Instance tuning(changing parameters) is the last resort or near to last one.
Aman....

Similar Messages

  • Performance tuning of Oracle 10 g

    Dear Team ,
    I am in need of tuning my Database against the performance .
    I have visited lots of Web pages in Net for Performance tuning .
    It shows some values for the Performance tuning , But I dont how to read the values
    Wheather my database is good or it need to tuned again .
    So kindly help me for good performance tuning in my Database (Oracle 10g)
    Regards
    Augustine

    Hi Augustine;
    I am in need of tuning my Database against the performance .
    I have visited lots of Web pages in Net for Performance tuning .
    It shows some values for the Performance tuning , But I dont how to read the values
    Wheather my database is good or it need to tuned again .First step should be run ASH AWR report than check your CPU usage(also other parameter) from Oracle Enterprise Manager console.
    Check top5 event and try to understand what is happining on ur database. Actualyy There is no specific answer for your question, just check report try to understand to what eat your source? when it happens?what is fruquence etc.. So just run report and observe it
    Check below search
    http://www.google.com.tr/search?q=Performance+tuning+of+Oracle+10&rls=com.microsoft:en-us&ie=UTF-8&oe=UTF-8&startIndex=&startPage=1&redir_esc=&ei=v0fxS8bTCtOrsAaYqfTbAg
    There are many docs related performance.
    Hope it helps
    Regard
    Helios

  • Siebel Upgrade and Performance Tuning On Oracle 11g Training At Oracle Open

    Hi All,
    If you are interested in attending a Siebel Upgrade and Performance Tuning for Oracle 11g please let me know. We are planning to offer this course during the same week as OOW in San Francisco. For anyone who can’t attend in person we are planning to offer a net meeting with a dial in.
    This education is offered to actual Siebel customers.
    R
    Robert Ponder
    Lead Architect and Director
    Ponder Pro Serve
    cell: 770.490.2767
    fax: 770.412.8259
    email: [email protected]
    web: www.ponderproserve.com

    Hi All,
    If you are interested in attending a Siebel Upgrade and Performance Tuning for Oracle 11g please let me know. We are planning to offer this course during the same week as OOW in San Francisco. For anyone who can’t attend in person we are planning to offer a net meeting with a dial in.
    This education is offered to actual Siebel customers.
    R
    Robert Ponder
    Lead Architect and Director
    Ponder Pro Serve
    cell: 770.490.2767
    fax: 770.412.8259
    email: [email protected]
    web: www.ponderproserve.com

  • Step for performance tuning in oracle 10g

    hi,
    i want to know the step of persformance tuning and sql tuning.

    I'd suggest you to refer to documentation: [Oracle Database 2 Day + Performance Tuning Guide 10g Release 2 (10.2)|http://download.oracle.com/docs/cd/B19306_01/server.102/b28051/toc.htm]
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • [ADF-11.1.2] Proof of view performance tuning in oracle adf

    Hello,
    Take an example of : http://www.gebs.ro/blog/oracle/adf-view-object-performance-tuning-analysis/
    It tells me perfectly how to tune VO to achieve performance, but how to see it working ?
    For example: I Set Fetch size of 25, 'in Batch of' set to 1 or 26 I see following SQL Statement in Log
    [1028] SELECT Company.COMPANY_ID,         Company.CREATED_DATE,         Company.CREATED_BY,         Company.LAST_MODIFY_DATE,         Company.LAST_MODIFY_BY,         Company.NAME FROM COMPANY Companyas if it is fetching all the records from table at a time no matter what's the size of Batch. If I am seeing 50 records on UI at a time, then I would expect at least 2 SELECT statement fetching 26 records by each statement if I set Batch Size to 26... OR at least 50 SELECT statement for Batch size set to '1'.
    Please tell me how to see view performance tuning working ? How one can say that setting batch size = '1' is bad for performance?

    Anandsagar,
    why don't you just read up on http://download.oracle.com/docs/cd/E21764_01/core.1111/e10108/adf.htm#CIHHGADG
    there are more factors influencing performance than just query. Btw, indexing your queries also helps to tune performance
    Frank

  • Performance tuning in oracle 10g

    Hi Guys
    i hope all are well,Have a nice day Today
    i have discuss with some performance tuning issue
    recently , i joined the new project that project improve the efficiency of the applicaton. in this environment oracle plsql langauage are used , so if i need to improve effiency of application what are the step are taken
    and what are the way to go through the process improvement
    kindly help me

    generate statspack/AWR reports
    HOW To Make TUNING request
    https://forums.oracle.com/forums/thread.jspa?threadID=2174552#9360003

  • Performance tuning for Oracle SOA 11g

    Hi,
    Ours is SOA 11g Environment ver 11.1.1.4.2 on Windows Box.
    what are the performance tuning steps / guidelines that needs to be followed for SOA 11g in production env
    Thanks in adv
    Thanks & Regars,
    anvv sharma

    http://download.oracle.com/docs/cd/E17904_01/core.1111/e10108/toc.htm
    Regards,
    Anuj

  • Disk IO performance tuning of oracle 10g 64bit  on rhel5 64bit

    Hi Friends,
    I am very new on oracle database tuning part.
    I am facing some issues on the oracle disk io data transfer rate on rhel5.
    Please help me. Details of issue is below.
    I am using the iscsi san storage to install the database. My san storage is having more than 100Mbps transfer speed.
    When oracle backup is running the data transfer rate is spikes upto 100Mbps, but when oracle normal transaction is happening it is not going more than 30Mbps.
    My data base is an hybrid one and more read transaction is happening. Server is running with 4 cpus and 16GB of ram.
    Here i am providing the iostat command output. Please have a look into this and help me to resolve.
    [root@hostname ~]# iostat -x 1 5
    Linux 2.6.18-128.el5 (hostname)    
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
              24.94    0.00    4.15   31.94    0.00   38.96
    Device:         rrqm/s   wrqm/s   r/s   w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
    sda               7.61    10.42  4.28  5.28   345.38   125.59    49.26     0.12   12.91   3.18   3.04
    sda1              0.30     0.00  0.03  0.00     0.65     0.00    22.59     0.00    3.76   2.66   0.01
    sda2              0.22     0.00  0.01  0.00     0.23     0.00    18.78     0.00    4.05   3.54   0.00
    sda3              5.25     8.26  3.58  2.47   310.67    85.87    65.54     0.09   15.09   3.37   2.04
    sda4              0.00     0.00  0.00  0.00     0.00     0.00     1.83     0.00    0.33   0.33   0.00
    sda5              0.83     1.95  0.55  2.70    31.62    37.24    21.17     0.03    8.88   3.49   1.13
    sda6              0.68     0.07  0.06  0.04     1.11     0.85    19.74     0.00   13.91   9.05   0.09
    sda7              0.33     0.14  0.04  0.07     0.90     1.63    24.17     0.00   15.73  11.13   0.12
    sdb               0.06     0.00  0.03  0.00     0.75     0.00    25.57     0.00    1.64   1.48   0.00
    sdb1              0.04     0.00  0.01  0.00     0.45     0.00    34.90     0.00    3.13   2.85   0.00
    sdc               5.86     0.16 45.05  2.74  7805.28   129.85   166.04     2.57   53.82   9.12  43.58
    sdc1              5.79     0.16 45.02  2.74  7804.99   129.85   166.12     2.57   53.85   9.12  43.57
    sdd               5.85     0.17 44.45  2.68  7767.34   133.80   167.65     2.68   56.95   9.43  44.43
    sdd1              5.78     0.17 44.42  2.68  7767.06   133.80   167.74     2.68   56.98   9.43  44.43
    sde               5.89     0.16 44.86  2.37  7774.84   122.75   167.23     2.24   47.51   8.96  42.30
    sde1              5.82     0.16 44.83  2.37  7774.55   122.75   167.31     2.24   47.54   8.96  42.29
    sdf               5.91     0.16 63.70  2.69  8053.71   133.15   123.32     2.98   44.89   7.59  50.40
    sdf1              5.84     0.16 63.67  2.69  8053.43   133.15   123.36     2.98   44.91   7.59  50.39
    sdg               0.19     0.11  0.07  0.61     2.54   131.30   199.27     0.04   65.76  28.52   1.92
    sdg1              0.12     0.11  0.04  0.61     2.25   131.30   206.81     0.04   68.26  29.56   1.91
    sdh               4.43     2.29  0.99  1.36   199.10    29.19    97.03     0.05   20.92   5.13   1.21
    sdh1              4.43     2.29  0.98  1.36   198.95    29.19    97.49     0.05   21.01   5.14   1.20
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
              13.72    0.00    2.49   75.31    0.00    8.48
    Device:         rrqm/s   wrqm/s   r/s   w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
    sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda1              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda2              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda3              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda4              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda5              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda6              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda7              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdb               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdb1              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdc              18.00     0.00 54.00  2.00 25984.00   160.00   466.86     8.96   94.18  17.89 100.20
    sdc1             18.00     0.00 54.00  2.00 25984.00   160.00   466.86     8.96   94.18  17.89 100.20
    sdd              18.00     0.00 79.00  2.00 40240.00    32.00   497.19     8.61  118.93  12.04  *97.50*
    sdd1             18.00     0.00 79.00  2.00 40240.00    32.00   497.19     8.61  118.93  12.04  *97.50*
    sde              19.00     0.00 44.00  8.00 26656.00   187.00   516.21     9.34  119.81  19.27 *100.20*
    sde1             19.00     0.00 44.00  8.00 26656.00   187.00   516.21     9.34  119.81  19.27 *100.20*
    sdf              26.00     0.00 76.00  6.00 35600.00    59.00   434.87     3.23   40.76  10.52  86.30
    sdf1             26.00     0.00 76.00  6.00 35600.00    59.00   434.87     3.23   40.76  10.52  86.30
    sdg               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdg1              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdh               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdh1              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
              18.64    0.00    5.29   49.87    0.00   26.20
    Device:         rrqm/s   wrqm/s   r/s   w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
    sda               0.00    14.00  0.00  3.00     0.00   136.00    45.33     0.01    1.67   1.67   0.50
    sda1              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda2              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda3              0.00    14.00  0.00  3.00     0.00   136.00    45.33     0.01    1.67   1.67   0.50
    sda4              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda5              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda6              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda7              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdb               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdb1              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdc              44.00     0.00 99.00  1.00 58368.00     8.00   583.76    12.03  154.83   9.66  96.60
    sdc1             44.00     0.00 99.00  1.00 58368.00     8.00   583.76    12.03  154.83   9.66  96.60
    sdd              44.00     0.00 103.00  0.00 50672.00     0.00   491.96    10.07   82.47   8.37  86.20
    sdd1             44.00     0.00 103.00  0.00 50672.00     0.00   491.96    10.07   82.47   8.37  86.20
    sde              45.00     0.00 110.00  5.00 58176.00   126.00   506.97    13.01  113.47   8.02  92.20
    sde1             45.00     0.00 110.00  5.00 58176.00   126.00   506.97    13.01  113.47   8.02  92.20
    sdf              40.00     0.00 122.00  5.00 52944.00   126.00   417.87     9.74   63.94   6.52  82.80
    sdf1             40.00     0.00 122.00  5.00 52944.00   126.00   417.87     9.74   63.94   6.52  82.80
    sdg               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.01    0.00   0.00   0.90
    sdg1              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.01    0.00   0.00   0.90
    sdh               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdh1              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               7.48    0.00    2.49   *61.60*    0.00   28.43
    Device:         rrqm/s   wrqm/s   r/s   w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
    sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda1              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda2              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda3              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda4              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda5              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda6              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda7              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdb               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdb1              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdc              13.86     0.00 38.61  0.99 19611.88    11.88   495.50     3.35   79.53  25.03  99.11
    sdc1             13.86     0.00 38.61  0.99 19611.88    11.88   495.50     3.35   79.53  25.03  99.11
    sdd              15.84     0.00 40.59  0.99 17758.42    31.68   427.81    10.93  122.36  23.26  96.73
    sdd1             15.84     0.00 40.59  0.99 17758.42    31.68   427.81    10.93  122.36  23.26  96.73
    sde              12.87     0.00 46.53  1.98 22035.64    70.30   455.65    13.19  275.96  20.43  99.11
    sde1             12.87     0.00 46.53  1.98 22035.64    70.30   455.65    13.19  275.96  20.43  99.11
    sdf              13.86     0.00 39.60  2.97 17584.16   101.98   415.42     6.83   81.19  22.21  94.55
    sdf1             13.86     0.00 39.60  2.97 17584.16   101.98   415.42     6.83   81.19  22.21  94.55
    sdg               0.00     0.00  0.00  0.99     0.00     7.92     8.00     0.21  226.00 217.00  21.49
    sdg1              0.00     0.00  0.00  0.99     0.00     7.92     8.00     0.21  226.00 217.00  21.49
    sdh               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdh1              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
              24.69    0.00    8.98   48.38    0.00   17.96
    Device:         rrqm/s   wrqm/s   r/s   w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
    sda               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda1              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda2              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda3              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda4              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda5              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda6              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sda7              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdb               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdb1              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdc              25.00     0.00 61.00  4.00 36304.00   120.00   560.37     9.58  156.23  14.78  96.10
    sdc1             25.00     0.00 61.00  4.00 36304.00   120.00   560.37     9.58  156.23  14.78  96.10
    sdd              23.00     0.00 82.00  1.00 34832.00    32.00   420.05     7.61  163.49  11.27  93.50
    sdd1             23.00     0.00 82.00  1.00 34832.00    32.00   420.05     7.61  163.49  11.27  93.50
    sde              27.00     0.00 62.00  0.00 32864.00     0.00   530.06     9.41  149.56  16.15 100.10
    sde1             27.00     0.00 62.00  0.00 32864.00     0.00   530.06     9.41  149.56  16.15 100.10
    sdf              17.00     0.00 101.00  4.00 42656.00   132.00   407.50     4.18   88.24   6.72  70.60
    sdf1             17.00     0.00 101.00  4.00 42656.00   132.00   407.50     4.18   88.24   6.72  70.60
    sdg               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdg1              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdh               0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
    sdh1              0.00     0.00  0.00  0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00Regards,
    Nayagan
    Edited by: nayagan on Jan 27, 2010 12:23 PM
    Edited by: nayagan on Jan 27, 2010 2:04 PM

    Two points:
    1. I can not read what you posted because you did not read the FAQ (upper right) and put tags around the listing so it would retain its formatting.
    2. Even if I could read them I wouldn't as they are not necessarily relevant. What I would want to see is what query you are issuing that you think should be maxing out your disk subsystem and giving you the performance you expect. Single block reads read single blocks. Post the DML and the corresponding explain plan report generated using DBMS_XPLAN.DISPLAY or AUTOTRACE. Also the result of this statement in SQL*Plus.show arraysize
    Because this is precisely what is going to be brought back with each round trip between the client (SQL*Plus) and the server.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Performance impact on oracle 11g database by audit enable

    Hi All,
    Shall we enable audit on some siebel db tables like s_party s_contacts s_order s_quote s_org_ext
    We need to see who deleted account records from oracle tables manually
    Since auditing is not enabled.
    We have given delete privelege to to all users as required by Siebel application.
    So Is this good idea to get Auditing enabled on these selected tables or Is there any performance impact on database.
    Is it good idea to enable audit for these tables espacially in siebel
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for HPUX: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

    Hello,
    Ok do it and generate AWR to see how the performance is getting impacted.remember auditing just some tables is not a big matter but auditing everything is the problem that is why fine grained auditing exist.please also remember to clean the audit records regularly because the auditing will be just a problem with the space in case you have many deletes which should not happen in your case.
    Kind regards
    Mohamed

  • Performance Tuning in Oracle 10g during Migration - Insert Statements

    Some of the tables contain a huge data e.g. 7 million records to be migrated.
    The table structure of Source Database is different from the Target Database (Where we are doing the migration).
    So we have made a use of temporary tables to collect the data from different tables using joins and populate the main table using INSERT INTO tableA SELECT * FROM tableZ
    Now the problem statement.
    Some of the queries take infinite time and data doesnt get inserted into the main tables. I have seen the explain plan and didnt find anything unusual. The same query works fine when we use date time stamp and restrict the data.
    What parameters do we have to take care ? Is there any configuration needed on Oracle Server side ? If yes which parameters?

    Lets start with the basics. First what is 10g? Is that 10.1.0.3 or 10.2.0.4 or something else?
    Second 7 million records is a relatively small dataset.
    No one can possibly help you with no DDL, no DML, no Explain Plan output generated with DBMS_XPLAN.
    We can make wild guesses but that is like closing your eyes in a dark room and trying to find the light switch.
    Please repost all relevant information so someone can help you.

  • Performance Tuning in case of Database Access

    Hi,
      I am using following code...database access is huge for this code...pls help me out to make database access minimum. I am using 3 internal tables.
    select partner1 partner2 into (mtab-busi_part, mtab-BUT051_PART)
    from but051.
    Select  name_first name_last PARTNER_GUID into (mtab-bp_first, mtab-bp_last, MTAB-R_PARTNER_GUID)
    From but000 where partner = mtab-busi_part.
    *MTAB-OBJECT_ID = ITAB-OBJECT_ID.
    append mtab.
    endselect.
    ENDSELECT.
    *ENDLOOP.
    loop at mtab.
    CONCATENATE mtab-bp_FIRST mtab-bp_LAST INTO mTAB-bp_full
                                        separated BY SPACE.
    modify mtab.
    endloop.
    loop at mtab.
    if mtab-bp_full = ' '.
      select name_org1 into (mtab-bp_full)
      from but000 where partner = mtab-busi_part.
    append mtab.
      endselect.
    endif.
    modify mtab.
    clear mtab.
    endloop.
    SELECT OBJECT_ID GUID INTO (NTAB-object_id, Ntab-guid)
    FROM CRMD_ORDERADM_H
    for all entries in itab
    where process_type = '1001' and object_id in o_id.
    select single date_1 date_2 from crmv_item_index into (ntab-date_1, ntab-date_2 )
    where object_id = ntab-object_id.
    endselect.
    Select partner_no partner_fct into (Ntab-partner_guid, Ntab-partner_fct)
    from bbp_pdview_bup where guid_hi = Ntab-guid .
    *and partner_fct <> '00000015'
    Select partner name_org1 into (Ntab-partner_no2, Ntab-others)
    from but000 where partner_guid = Ntab-partner_guid.
      if sy-subrc = 0.
      SELECT SINGLE DESCRIPTION FROM CDBC_PARTNER_FT INTO NTAB-DESC
      WHERE PARTNER_FCT = NTAB-PARTNER_FCT AND SPRAS = 'EN'.
      endif.
      SELECT  PAFKT ABTNR PAAUTH
      FROM BUT051 INTO corresponding fields of  nTAB
      WHERE PARTNER2 = ntab-partner_no2  .
           if sy-subrc = 0.
           SELECT single BEZ30 FROM TB913
        INTO CORRESPONDING FIELDS OF nTAB
        WHERE PAFKT = nTAB-PAFKT AND SPRAS = 'E'.
        endif.
         if sy-subrc = 0.
        SELECT single BEZ20 FROM TB915
        INTO CORRESPONDING FIELDS OF nTAB
        WHERE PAAUTH = nTAB-PAAUTH AND SPRAS = 'E'.
        endif.
    *endselect.
            if sy-subrc = 0.
        SELECT  single BEZ20 FROM TB911
        INTO (nTAB-BEZ2)
        WHERE ABTNR = nTAB-ABTNR AND SPRAS = 'E'.
    endif.
    endselect.
    APPEND NTAB.
    *clear ntab.
    *ENDSELECT.
    ENDSELECT.
    *clear ntab.
    ENDSELECT.
    ENDSELECT.
    loop at ntab.
      if ntab-others = ' '.
        select name_first name_last into (ntab-first_name1, ntab-last_name1)
        from but000 where partner = ntab-partner_no2.
        endselect.
        CONCATENATE ntab-FIRST_NAME1 ntab-LAST_NAME1 INTO nTAB-others
                                        separated BY SPACE.
      endif.
      modify ntab.
      clear ntab.
    endloop.
    SORT NTAB BY GUID.
    SELECT OBJECT_ID GUID INTO (KTAB-object_id, Ktab-guid)
    FROM CRMD_ORDERADM_H
    for all entries in itab
    where process_type = '1001' and object_id in o_id.
    Select  partner_no into (Ktab-partner_no1)
    From crmd_order_index where header = Ktab-guid and pft_8 = 'X' and object_type = 'BUS2000126'.
    *endselect.
    Select name_first name_last into (Ktab-first_name, Ktab-last_name)
    From but000 where partner = Ktab-partner_no1.
    *endselect.
    APPEND KTAB.
    ENDSELECT.
    ENDSELECT.
    ENDSELECT.
    loop at Ktab.
    CONCATENATE Ktab-FIRST_NAME Ktab-LAST_NAME INTO KTAB-RESP_EMPLOYEE
                                        separated BY SPACE.
    MODIFY KTAB.
    clear Ktab.
    endloop.
    loop at Ktab.
      if Ktab-RESP_EMPLOYEE = ' '.
        select name_ORG1 into (Ktab-RESP_EMPLOYEE)
        from but000 where partner = Ktab-partner_no1.
        endselect.
        endif.
      modify Ktab.
      clear Ktab.
    endloop.
    SELECT OBJECT_ID GUID INTO (itab-object_id, itab-guid)
    FROM CRMD_ORDERADM_H
    where process_type = '1001' and object_id in o_id.
    append itab.
    endselect.
    LOOP AT iTAB.
       LOOP AT NTAB .
         IF NTAB-object_id = iTAB-object_id .
              itab-date_1 = ntab-date_1.
              ITAB-DESC = NTAB-DESC.
              itab-partner_no2 = NTab-partner_no2.
              itab-partner_fct = ntab-partner_fct.
              itab-bez30 = ntab-bez30.
              itab-bez20 = ntab-bez20.
              itab-bez2 = ntab-bez2.
              itab-others = ntab-others.
              INSERT lines of nTAB INTO ITAB.
              modify itab.
              CLEAR ITAB.
             delete itab where object_id = ' ' and partner_no2 = ' '.
         ENDIF.
      endloop.
    endloop.
    sort itab by OBJECT_ID descending PARTNER_NO2 .
              delete adjacent duplicates from itab comparing partner_no2 object_id.
    sort itab by OBJECT_ID descending PARTNER_NO2 .
    loop at iTab where partner_fct = '00000015'.
      LOOP AT mTAB WHERE BUT051_PART = iTAB-partner_no2 .
       itab-busi_part = mtab-busi_part.
       itab-bp_full = mtab-bp_full.
       ITAB-R_PARTNER_GUID = MTAB-R_PARTNER_GUID.
      INSERT  LINES OF mTAB INTO iTAB.
       modify itab transporting busi_part bp_full r_partner_guid.
        endloop.
    endloop.
    sort itab by busi_part descending partner_no2.
    delete itab where object_id = ' '.
    loop at ITab.
      LOOP AT KTAB.
       IF KTAB-GUID = ITAB-GUID.
        move Ktab-partner_no1 to itab-partner_no1.
       move Ktab-R_partner_GUID to itab-R_partner_GUID.
        move Ktab-RESP_EMPLOYEE to itab-RESP_EMPLOYEE.
        modify itab.
       ENDIF.
    endloop.
    endloop.

    Hi
    i will give you some tips to reduce the daya base load please apply that
    <b>Tips and Tricks</b>
    Optimizing the load of the database
    Using table buffering
         Using buffered tables improves the performance considerably. Note that in some cases a statement can not be used with a buffered table, so when using these statements the buffer will be bypassed. These statements are:
    Select DISTINCT
    ORDER BY / GROUP BY / HAVING clause
    Any WHERE clause that contains a sub query or IS NULL expression
    JOIN s
    A SELECT... FOR UPDATE
         If you wan t to explicitly bypass the buffer, use the BYPASS BUFFER addition to the SELECT clause.
         Optimizing the load of the database
    2.  Use the ABAP SORT Clause Instead of ORDER BY
    The ORDER BY clause is executed on the database server while the ABAP SORT statement is executed on the application server. The database server will usually be the bottleneck, so sometimes it is better to move the sort from the database server to the application server.
    If you are not sorting by the primary key ( E.g. using the ORDER BY PRIMARY key statement) but are sorting by another key, it could be better to use the ABAP SORT statement to sort the data in an internal table. Note however that for very large result sets it might not be a feasible solution and you would want to let the database server sort it.
    Optimizing the load of the database
    3.   Avoid the SELECT DISTINCT Statement
    As with the ORDER BY clause it could be better to avoid using SELECT DISTINCT, if some of the fields are not part of an index. Instead use ABAP SORT + DELETE ADJACENT DUPLICATES on an internal table, to delete duplicate rows.
    Additional Info
    Use of CONTEXT can highly optimize the code.
          Context can be created using Context Builder (SE33)
         Context advantages:  - no double fetch by DEMAND: 1. fetch, 2. get from buffer  - more performance (best SELECT-statement)  - better survey of code
    Use of PARALLEL CURSOR  increases the Performance to a great extent.
    INDEXES help to speed up selection from the database. The primary index is always created automatically in the SAP System. It consists of the primary key fields of the database table. If you cannot use the primary index to determine a selection result (for example, WHERE condition may not contain any primary index fields), you can create a secondary index.
    Optimal number of indexes for a table  You should not create more than five secondary indexes for any one table because:
    Whenever you change table fields that occur in the index, the index itself is also updated.
    The amount of data increases.
    The optimizer has too many chances to make mistakes by using the 'wrong' index.
             If you are using more than one index for a database table, ensure that they do not overlap.
    reward if useful

  • Performance tuning of database using DBACOCKPIT

    Hiii Experts,
    I have installed new server with OS:- Windows server 2012 and DB:- Sybase ASE 15.07.
    Now I want to perform performance tuning of SAP and Database, so for that I have configured
    DBACOCKPIT but I could not change the parameter values so could you tell me how to change
    parameter values and how to use DBACOCKPIT  for performance tuning.
    Thank you,
    Regards,
    Omkar M.

    DBA_Guide wrote:
    Reports running slow, not sure if database is using Start transformation for the Datawarehouse  Database.
    Used hint  */+ STAR_TRANSFORMATION */, still no performance increase.
    Checked database parameter -
    SQL> show parameter star;
    NAME                                 TYPE        VALUE
    dg_broker_start                      boolean     FALSE
    fast_start_io_target                 integer     0
    fast_start_mttr_target               integer     0
    fast_start_parallel_rollback         string      LOW
    log_archive_start                    boolean     FALSE
    star_transformation_enabled          string      TRUE
    Any Help is appreciated.
    Thanks!
    If star transformation was not the cause of the slowness, of course it won't make it faster.
    I bet you any number of other different hints will result in no change in performance.
    This is like replacing gas tank on your car with a LARGER tank & filling it with more gasoline to make the car go faster.
    The amount of gasoline is not a factor that limits the speed of your car.

  • Performance improvement in Oracle 11g

    Hi,
    What are the best suggestion to handle when we implement performance tuning in oracle? Below are the scenario:
    Scenario # 1 : App team is running some test cases from front end. and there was a performace degradation while running the SQL statements in the transaction. it means 39 round trip to the database.
    Of the 39 SQL statements – 21 inserts, 16 selects, 3 update. and the AWR report says that there were few most expensive SQL statements(some insert queries).
    Scenario # 2 : There was a small percentage (<1%) of “buffer busy wait” which could be elongating individual SQL statements by an average of 27ms – need to do tuning by reducing data and index contention
    So what is the best option available in oracle performance tuning other than Explain plan, AWR report, ORacle partitioning and SQL trace for the above 2 scenarios?? also implemented Oracle huge page by increasing the memory.. Performance was slighly improved but no use again it went back to the same state.
    IS there any other way I can use Index_ffs_scan and RICHS_SECRET_HINT  or caching a table in a memory options to make SQL statements much faster?? any other new methods available in ORacle performance tuning?? suggestions please.. also Pl let me know if you want more details..
    Thanks
    LaksDBA

    Could anyone respond to this thread? I need the info Asap. Thanks!
    LaksDBA

  • Performance tuning SELECTs:  Can I force a TRUE db read every time?

    Good day everyone!
    I've been programming in ABAP for almost 6 years now, and I'd like to begin learning more about performance tuning with respect to database performance.
    More specifically, I'm testing some things in a particular SELECT in a report program we have that is timing out in the foreground because of the SELECT.  When I first run the program, the SELECT goes against the database, as we all know.  Subsequent runs, however, use the buffered data, so the response is a lot quicker and doesn't really reflect that first, initial database read.
    Am I correct in assuming that I should be testing my various approaches and collecting performance runtimes against that initial, "true" database read?  If that's the case, is there any way I can force the system to actually read the database instead of the buffered data?  For those experienced with this kind of performance analysis and tuning, what's the best approach for someone very new to this area such as myself?
    Thank you,
    Dave

    Hi Dave and Rob,
    Just my two cents (and yes, I know this is already answered, but..).
    I think you might be confusing 2 things: one is SAP buffering, and another one is caching at other levels (database, operating system, etc).
    From what I understood Rob was talking mainly about SAP buffering. In that context it is true that if there is a first execution that loads the buffers (for example, some not so small fully buffered tables) then that is an atypical execution, and should be discarded. In real life you will never have execution times like those, except maybe on the very first execution on a monday morning.
    Another thing is database caching. If you execute a report twice with exactly the same parameters then you might not be actually making physical reads in the second execution. This second execution will be very fast, but that will not be simulating real life: no user wants a report to be fast the second time you execute it with exactly the same parameters.
    To avoid this in Oracle you can empty the so-called SGA, but that is not so useful and it will probably not get you closer to what happens in the real life.
    So what to do? In doubt, measure it several times, with different parameters, and probably exclude the extreme values.
    Regards,
    Rui Dantas

  • Performance Tuning / RAC

    Hi,
    does anybody know recommendable docs, study guides or books covering Performance Tuning or RAC for database 11g.
    Thanks in advance.
    Uli

    Hi Dan,
    thanks for your reply. I have downloaded these docs and will read them as soon as possible.
    Additionally I'm interested in recommendable books covering performance tuning.
    What do you think about "Troubleshooting Oracle Performance", Christian Antognini, Apress? Customer reviews are very positive. However, it is published in 2008. Is it up-to-date? Does anybody know the "Oracle Performance Survival Guide", Guy Harrison, Prentice Hall?
    Which performance books are your favorites?
    Best Regards
    Uli

Maybe you are looking for

  • Unable to Install Crystal Reports 2008 on Windows 7 64 bit

    Hi,    I am unable to install Crystal Reports 2008 on Windows 7 64 bit laptop. Is this not supported? BR, Nanda Kishore

  • Problems with Text&Catalog search Wizards for JDeveloperStudio10131

    Hi, <?xml version='1.0' encoding='windows-1252'?> <extensions xmlns="http://xmlns.oracle.com/jdeveloper/905/extensions"> <feature> <group name="Text Search Extensions"> <group name="Text Wizard"> <description>Text Search Wizard</description> <extensi

  • I have an IBook dual USB Mac OS x laptop. What should I do with it?

    I got this laptop from my aunt. It's an old IBook G3 Dual USB laptop with Mac OS x. It was very lightly used. I bought an airport card for it and downloaded a browser for it called Classila. Now I'm wondering: What should I do with it? Are there any

  • Need serial number of my iPad - stolen

    My iPad was stolen and the box is missing too. Since I've connected to my iTunes will my serial number be registered in my iTunes account?

  • Music Album Art

    Hi, I have a new ipod touch 4th generation. And having problem's downloading my music from Windows Player, which I had already arranged my albums with titles and correct album art. But when they downloaded on to the ipod the albums are split into sin