How to increase the size of sort_area_size

How to increase the size of sort_area_size and what size should be according to the PROD database
Thanks

user10869960 wrote:
Hi,
Many Thanks Charles
Oracle does not recommend using the SORT_AREA_SIZE parameter unless the instance is configured with the shared server option. Oracle recommends that you enable automatic sizing of SQL working areas by setting PGA_AGGREGATE_TARGET instead. SORT_AREA_SIZE is retained for backward compatibility."
--How can i know the instance is configured with the shared server option or not?This might be a tough question to answer. A shared server configuration may be enabled, but the clients may still connect using dedicated sessions, in which case PGA_AGGREGATE_TARGET would still apply.
From
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_2088.htm
V$SESSION includes a column named SERVER which will contain one of the following for each of the sessions: DEDICATED, SHARED, PSEUDO, or NONE. As a quick check, you could query V$SESSION to see if any sessions are connected using a shared server connection.
From:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/manproc.htm
There are several parameters which are used to configure shared server support, as well as several views to monitor shared server.
As Robert mentioned, when the WORKAREA_SIZE_POLICY is set to AUTO, the SORT_AREA_SIZE setting is not used, unless a shared server configuration is in use.
--What default value is WORKAREA_SIZE_POLICY and SORT_AREA_SIZE ?From:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams157.htm
"Setting PGA_AGGREGATE_TARGET to a nonzero value has the effect of automatically setting the WORKAREA_SIZE_POLICY parameter to AUTO. This means that SQL working areas used by memory-intensive SQL operators (such as sort, group-by, hash-join, bitmap merge, and bitmap create) will be automatically sized. A nonzero value for this parameter is the default since, unless you specify otherwise, Oracle sets it to 20% of the SGA or 10 MB, whichever is greater."
Actually I am facing performence issue since long time till now i did not get the solution even i have raised SRs but i could not.When the issue occur system seems hang.what i monitored whenever hdisk0 and hdisk1 use 100% the issue occur.
Regards,
SajidWhen you say that you have had a performance issue for a long time, is it a performance problem faced by a single SQL statement, a single user, a single application, or everything on the server? If you are able to identify a single user, or SQL statement that is experiencing poor performance, I suggest starting with a 10046 trace at level 8 (wait events) or level 12 (wait events and bind variables) to determine why the execution appears to be slow. If you have not yet determined a specific user or SQL statement that is experiencing performance problems, you might start with either a Statspack Report or an AWR Report (AWR requires a separate license).
If you believe that temp tablespace usage may be a contributing factor to the performance problem, you may want to periodically run this query, which will indicate currently in use temp tablespace usage:
{code}
SELECT /*+ ORDERED */
TU.USERNAME,
S.SID,
S.SERIAL#,
S.SQL_ID,
S.SQL_ADDRESS,
TU.SEGTYPE,
TU.EXTENTS,
TU.BLOCKS,
SQL.SQL_TEXT
FROM
V$TEMPSEG_USAGE TU,
V$SESSION S,
V$SQL SQL
WHERE
TU.SESSION_ADDR=S.SADDR
AND TU.SESSION_NUM=S.SERIAL#
AND S.SQL_ID=SQL.SQL_ID
AND S.SQL_ADDRESS=SQL.ADDRESS;
{code}
The SID and SERIAL# returned by the above could then be used to enable a 10046 trace for a session. The SQL_ID (and CHILD_NUMBER from V$SESSION in recent releases) could be used with DBMS_XPLAN.DISPLAY_CURSOR to return the execution plan for the SQL statement.
You could also take a look in V$SQL_WORKAREA_ACTIVE to determine which, if any, SQL statement are resulting in single-pass, or multi-pass executions, which both access the temp tablespace.
Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc.

Similar Messages

  • How to increase the size of text boxes in FCPX without stretching the text inside?

    How to increase the size of text boxes in FCPX without stretching the text inside?

    There are two basic Title formats — I should say Layouts — available:  Text (plain) and Paragraph.  (The plain text version usually does not appear with the blue dot controls — those generally appear for the paragraph type control.)
    If the Title is using a Paragraph layout, it's like having a mini version of Text Edit available inside FCPX. You can tell when you click on the text (when the title is selected) -- a rectangle will appear around the text like so:
    double clicking on the text will give you the bounds controls which you can use to redefine the text area without distorting the text. Once selected, notice the button that appears in the top right corner of the canvas:
    Pressing that will activate the ruler. You can right click on the ruler and add Tab Stops (left, right, center and decimal.)
    So if the title uses paragraph formatting, you can create a very WYSIWYG type of display text (use the Text inspector to alter text selections within the paragraph bounds.)

  • How to increase the size of bootcamp partition in macbook-late 2009

    How to increase the size of the bootcamp partition in macbook late 2009, without using any third party softwares.

    Pick yourself up by your own bootstrap too?
    Reinstall after restoring to HFS only then.
    You want something that works, then spend the $20 on Paragon CampTune or WinClone 3.

  • How to increase the size of piechart in ssrs?

    Hi how to increase the size of piechart in my design mode its showing very large one,when running/preview mode its displaying very small, i have total 10 values to dispaly in the legend series values,So here i have set the visibulity option to out side ,
    so if the pie chart is dispalying small ,the values of the legend will come in one place and ,so can you suggest me how to increase the size of my chart and how would i show my legend values separatly without closing one by one.
    Can some one please help me out for this..

    Hi Ychinnari,
    According to your description that you want increase the size of pie chart in the design mode to make all the ten values in the legend series to display, you have do some setting but the pie chart still display very small and not display some of the
    values, right?
    I have tested on my local environment and found that the display of the chart legend value can be effect by many factor: the size of the chart, chart area position and chart legend position.
    Details steps below for your reference about how to set the properties to make all the legend values display correctly:
    Select the Chart properties and expand the size and increase the values for the width and the height, then preview to see if all the legend values are display.
    If this do little help, the problem due to the chart area position and chart legend position need to reset too.
    Select the chart area properties and expand the CustomPosition under the Position, choose the Enabled to true and  reset the Width, height of the pie chart.
    Reset this properties to make the chart area more Narrow, thus we can set the Legend area more wider.
    Select the chart Legend properties and expand the CustomPosition under the Position, choose the Enabled to true to reset the Width, height of the chart Legend
    Reset this properties to make the Legend area more bigger (wider and higher) thus it will display more values in the Legend area.
    If your problem still exists, please feel free to ask.
    Regards
    Vicky Liu

  • How to increase the size of the applet/ form displayed on the bowser

    kindly guide me how to increase the size of the applet / forms displayed on the browseri.e the width and length of the forms/applet so that i can display all the controls on the form .
    thanks with regards

    i changed the value of width and height in formsweb.cfg file in my devsuite_home/forms/server/formsweb.cfg , i am able to see the result when i compile and run the form in devsuite, whereas the same is not reflected when i run the same form in application server.
    when i tried to change the value of abbovementioned file in oracle_home /forms/server/formsweb.cfg of the application server file , the file does not have the applet wdth and applet height values. in fact this file does not have any applet information..
    pls guide
    thanks with regards.

  • How to increase the size of orders in photoshop to make it more enjoyable to use the software

    how to increase the size of orders in photoshop to make it more enjoyable to use the software

    EDIT:  I noticed that you already posted the question in the appropriate forum..
    Message Edited by JoeLabView on 10-22-2007 07:56 AM

  • How To Increase the Size of Memo Fields 4000 Char in WebCenter 11g?

    How To Increase the Size of Memo Fields greater than 4000 Char in WebCenter Content (UCM) 11g?
    I was able to increase the size of Memo field from 2000 Char to 4000 by setting parameter value MEMOFIELDSIZE=4000 . But the requirement is to increase the size more than 4000 around 7000 char but Database(Oracle 11G) is not supporting more than 4000 char.
    Is there any other way to increase the size of Memo field?
    Thanks in Advance!!
    Regards
    Ram

    Hello All,
    Thanks for your responses.
    Let me explain the scenario again in detail:
    1. we have three meta-data fileds xProductCategory,xProductFamily and xProducts
    2. These fields are related with DCL feature and corresponding values are being stored in corresponding custom Views
    3. xProducFamily is dependent of xProductCategory and xProduct is dependent on xProductFamily
    4. currently, there are around 250 Product values and average name of Product can be of 25 Char, so if we are selecting all product values for some Contents then Product Values are being stored in DocMeta table as comma separated values with one space, so total characters are being very high than 4K Char.
    5. Currently view that is storing the Product values, stores "Name" column instead of ID(like 1,2,3....)
    6. And our Content Server is integrated with Oracle WebSenter Portal, where logic has written to retrieve the contents based on "Product Name" instead of "Product ID" and already we are in UAT phase.Currently we are not in situation to revert the changes from Product Name to Product ID.
    7. Also if we are storing the values on the basis of Product ID, then again the issue may arise in Future, if the number of Products increased.
    Hoping the issue explanation is clear now and waiting for some possible solution for increasing the length of memo field.
    Thanks in Advance !!
    Regards
    Ram

  • How to increase the size of /opt solaris 10 x86

    Solaris 10 X86, /opt runs out space, would anyone please tell me how to increase the size of /opt?
    The Solaris is installed on the whole disk, and I believe there are still some free hard disk space available somewhere.
    I need step by step guidance please.
    thanks.

    Hi
    Looks like you have installed your Solaris 10 on traditional UFS disk partitions and not using the ZFS whole disk. If so then you need to resize de underlying partition using the format command and then run the growfs to resize the /opt.

  • How to increase the size (Length and width)  of check box

    Hi All,
    I have to increase the size of ( width and length) of check box, I have revised to check box topic in dev guide but didnt find any clue, i have also tried to use CCStyle class but that is also not working, I would appreciate if some can help me out on this. Thanks in advance , let me know if any clarification required.
    Thanks
    Pratap

    Hi Pratap ,
    I honestly don't know how to increase the size
    But i am giving you an alternate solution : we can create two Images with check box type 1 ) with checked
    2 ) with unchecked . ( you can create image of any size ) and get them displayed on OAF screen dynamically using switcher case .
    Dynamically displaying image will give the illusion of check box being checked and unchecked .
    keep this image moved to following media directory
    eg : /oraapp/mfgtestcomn/java/oracle/apps/media .
    Implement the switcher case , add the fire action to this Image Column , create a transient attribute and attach to this
    column . Depending on the value returned by transient attribute display the image on the column .
    Let me know if its not clear .
    Keerthi

  • The letter in composed message are to small - how to increase the size

    The letters in message composed are too small.
    How to increase the size of letters?

    if you hold control button on keyboard and scroll the mouse wheel, it zooms in and out on webpages.

  • How to increase the size of a String[]

    I'm using a String[] variable that I do not know the maximal size, but i need to increase its size, how can I do that
    ex:
    String[] buffer = new String[]
    int i= 0;
    while (<condition>) {
    ???? // increase the size
    buffer [ i ] =.....
    }

    There is no way in Java to actually increase or decrease the size of an existing array. You'll have to create a new array of the appropriate size and copy elements of the first array into it, for example by using System.arraycopy.
    Or you could give your array a big enough size at start, so you won't have to do the above.
    A better idea would be to use a collection instead of an array (like an ArrayList) in the first place.

  • How to increase the size of the fonts for file, bookmarks and all toolbars in firefox 4.01

    how can i increase the size of the fonts such as file, bookmarks,tools,etc and all toolbars

    Try this extension:
    *Theme Font & Size Changer: https://addons.mozilla.org/firefox/addon/theme-font-size-changer/

  • How to increase the size of the exported dashboard in powerpoint

    When I am trying to increase the size of the dashboard in the powerpoint then the fields are overlapping in the powerpoint slide.
    Actually in the preview the size of the fields is clear and font is visible. But in the ppt if the report size is not increased then the font is not clear, and when increasing the report in the ppt  then the fields are overlapping.
    How to resolve?
    Thanks in advance

    Siva,
    This is very common issue.
    Try increasing the font size and align your components in design mode, and try resizing the dashboard in ppt as well.
    Hope this helps...
    -Anil

  • How to increase the size of Redo log files?

    Hi All,
    I have 10g R2 RAC on RHEL. As of now, i have 3 redo log files of 50MB size. i have used redo log size advisor by setting fast_start_mttr_target=1800 to check the optimal size of the redologs, it is showing 400MB. Now, i want to increase the size of redo log files. how to increase it?
    If we are supposed to do it on production, how to do?
    I found the following in one of the article....
    "The size of the redo log files can influence performance, because the behavior of the database writer and archiver processes depend on the redo log sizes. Generally, larger redo log files provide better performance, however it must balanced out with the expected recovery time.Undersized log files increase checkpoint activity and increase CPU usage."
    I did not understand the the point however it must balanced out with the expected recovery time in the above given paragraph.
    Can anybody help me?
    Thanks,
    Praveen.

    You dont have to shutdown the database before dropping redo log group but make sure you have atleast two other redo log groups. Also note that you cannot drop active redo log group.
    Here is nice link,
    http://www.idevelopment.info/data/Oracle/DBA_tips/Database_Administration/DBA_34.shtml
    And make sure you test this in test database first. Production should be touched only after you are really comfortable with this procedure.

  • How to increase the size of window in virtual tool box

    Hi,
    I have install rhel5 in oracle virtual box... but the size of window in which rhel5 runs is small and it is not covering the entire area of virtual toolbox....
    How can i increase the size of window to full size...
    Thanks and Regards...

    You need to install the "kernel-devel" and "kernel-headers" packages and then choose "Install Virtualbox Guest additions" from the Virtualbox menu, while logged in as root, in order to install the appropriate video driver that will allow you to resize the screen.

Maybe you are looking for

  • Kt4vl with 2700+ problems

    i upgraded to 1.9 bios just to be safe, when i install windows xp i get errors throughout the disk randomaly everytime, the disk works 100% fine i have used it on several other machines, i can install windows xp on the hd through a different computer

  • F110 report for payment proposal

    Dear All we are going to splitt in term of authorization the proposal step from the payment run step, it means, one user will be able to run only the proposal but he will not able to run the payment. I am looking for some SAP standard report in order

  • Runtime Assistant Error - Invalid OWBB_API_ADMINISTRATION

    I'm tring to install Oracle Warehouse Builder 10.1.0.4.0 on linux-redhat but Runtime Assistant hangs up at 86% when installing Runtime Repository. Did anyone experienced similar problems? Here are some logs: -- runtime assistant log Wed Feb 08 11:18:

  • Turning off Text Spell Check

    Easy one this...hopefully. Can someone tell me how to turn of the spell check type function in SMS mode. It's causing me problems and even re corrects itself when I've gone back and changed it.

  • Why can't Safari 5.1 prefer ipv6 vs ipv4?

    So prior to the installation of Lion, I had configured my network for ipv6 connectivity to the internet via Hurricane Electric Tunnel broker.  Simply put, it was amazing.  Now after the installation i've realized that my ipv6 support has slowed drama