Large UGA in a Dedicated connections DB

Hi all,
I obtained the total PGA and UGA memory used by current sessions from the query below. All the connections used Dedicated connections.
My question is: Why the UGA is that large (close to total PGA)? Is that normal for a database that doesn't have any Shared Server connection. What's the reason for that?
Oracle 11g R1
Windows 2003 SP2
SQL> SELECT n.name, round(SUM(value)/1024/1024,2) MB
  2  FROM V$SESSTAT s, V$STATNAME n
  3  WHERE s.statistic# = n.statistic#
  4  AND n.name in ('session pga memory')
  5  group by n.name
  6  union
  7  SELECT n.name, round(SUM(value)/1024/1024,2) MB
  8  FROM V$SESSTAT s, V$STATNAME n
  9  WHERE s.statistic# = n.statistic#
10  AND n.name in ('session uga memory')
11  group by n.name
12  ;
NAME                                                         MB
session pga memory                                       816.82
session uga memory                                       782.36

hi
it is normal
PGA Memory
The Program Global Area (PGA) is a memory region that contains data and control information for a single process (server or background). The PGA is made up of the following:
Session Information - (UGA)
A PGA in an instance running without the shared server requires additional memory for the user's session, such as private SQL areas and other information. If the instance is running the shared server, this extra memory is not in the PGA, but is instead allocated in the SGA (the Shared Pool).
Stack Space
A PGA always contains a stack space, which is memory allocated to hold a session's variables, arrays, and other information.
Uga is the bigest area in pga
hope this helps
zekeriya

Similar Messages

  • Shared versus dedicated connections in the fragmentation of shared pool mem

    Hi,
    I have a old Oracle 8.1.7 database server.
    I have a legacy application with no source code. This application don't use memory efficiently (no bind variables, etc.) , ie memory becomes fragmented.
    I know that exists two ways to connect the database (dedicated and shared)
    Based on this, I want to know which of the two options creates more fragmentation. I know that recommendation is to use dedicated connection, but I'm not sure if this is recomendation is applicable in this particular environment.
    Thanks in advance.

    Whether you use shared or dedicated connections makes no difference for fragmentation in the shared pool. Whether your hard parse or do not hard parse does matter.
    Measures you can take
    - make sure often used packages like dbms_standard are pinned in the shared pool using a startup trigger
    - set session_cached_cursors to 50 or 100. This will reduce parsing.
    Sybrand Bakker
    Senior Oracle DBA

  • Setting "dedicated.connection" Causes Error

    Hi,
    We have OC4J stand-alone 10.1.2.0.2 running on Red Hat Linux.
    We currently have an SR (service request #5736059.993) open with Oracle Support.
    In that SR, Oracle Support has recommended that we set property "dedicated.connection" to "true". When I do that, I get the following error:
    com.evermind.server.rmi.RMIConnectionException: Server shutdown
            at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:50)
            at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
            at __Proxy3.create(Unknown Source)
            at its.fnd.sflto.ejb.EJBSFltData.<init>(EJBSFltData.java:174)
            at its.fnd.sflto.SFltObjectFactory.<init>(SFltObjectFactory.java:206)
            at its.fnd.sflto.SFltObjectFactory.getInstance(SFltObjectFactory.java:184)
            at its.apps.fltload.FltLoadApp.load(FltLoadApp.java:567)
            at its.apps.fltload.FltLoadApp.loadFlights(FltLoadApp.java:512)
            at its.apps.fltload.FltLoadApp.main(FltLoadApp.java:384)Isn't "dedicated.connection" deprecated?
    Is this why we are getting the error?
    We are running a single instance of OC4J, no clustering.
    Thanks,
    Avi.
    Message was edited by:
    Avi Abrami

    Hi Avi,
    As far as I know, the property dedicated.connection is an OC4J 9.x property.
    In the manual
    Oracle® Application Server Containers for J2EE Services Guide 10g Release 2 (10.1.2)
    you will find in the chapter
    2 Java Naming and Directory Interface
    the following text about the new property dedicated.rmicontext:
    This property replaces the deprecated dedicated.connection setting. When two or more clients in the same process retrieve an InitialContext, OC4J returns a cached context. Thus, each client receives the same InitialContext, which is assigned to the process. Server lookup, which results in server load balancing, happens only if the client retrieves its own InitialContext. If you set dedicated.rmicontext=true, then each client receives its own InitialContext instead of a shared context. When each client has its own InitialContext, then the clients can be load balanced.
    The dedicated.rmicontext property defaults to false.
    Best,
    Manfred

  • Define a dedicated connection in mapbuilder  to conn. on a database in MTS

    Hello,
    I'm trying to find a way to configure mapbuilder to use a dedicated connection to connect on a database configure in MTS. Normally, with OCI8, we have to specified a connection like bellow to connect in dedicated.
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=server)(PORT=1521))(CONNECT_DATA=(service_name=instance)(server=dedicated))
    Is it possible to do it ?
    Thanks,
    Pierrot

    Hello Simon,
    when you open About dialog and press the "more info" button, you get a long list of information.
    Beginning of the "Path Information", you will see a line starting with "SAP GUI system prefs".
    The value should be what you are looking for.
    Best regards
    Rolf-Martin

  • Dedicated Connect Host System Dream Configuration?

    I have the opportunity to request a PC or Mac laptop specifically to host Connect sessions but need some advice. What should I ask for? Is there an ultimate set-up that can best handle any contingency for hosting a Connect session? Which browser works best? Which one should I avoid? Are certain support apps or plug-ins more valuable than others? How much processor speed is enough and when is it just overkill? Is more RAM always better?
    If you could design a dedicated Connect PC or Mac, what would YOU ask for?

    Knowing the history of Apple and Adobe, I would stick with a PC. Not just around the Flash issue (which I don't believe will be an issue), but more around the fact that Apple likes to make significant back end changes to their OS with new versions, and it tends to break the functionality of the Connect Add-In so you are left waiting for Adobe to make changes to the Add-In to accomodate Apple's changes.
    I peronally use FireFox, but I have seen little differnece in functionality or issues with other browsers. Since the meeting room runs in the Flash Player, it is prety browser agnostic.
    For processor speed and RAM, just go with the idea that more is better. The more you get now, the longer your system will be relevant to everyday computing, and that matters most.

  • Two dedicated connections for 1 session

    Folks,
    I am new to Discoverer tool as such.
    Therefore I have this question, pl pardon me if it very basic.
    When I use the desktop edition of Discoverer to make a connection to the Oracle db.
    One the database side, it creates 2 dedicated connection for that Discoverer session.
    Is this normal, so something is not right in my environment configuration.
    Where should I look etc.
    Thanks,
    Ashish

    Hi there,
    The reason you have two dedicated connections, is because Discoverer makes two connections to the database - one to the End User Layer tables, and one to the source database tables themselves.
    This is mentioned in metalink note 62315.1 "SQL*Net Tracing Requirements for Discoverer" at http://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=62315.1
    Hope this helps
    Mark

  • MBP losing large downloads no matter what connection.

    Greetings,
    I have two MBP's, one for my wife and myself. mine, when i try to download a file larger than probably 200-300mb it stops and i get an error:
    "/Users/ryanmckibben/Desktop/BengalsVideo1.mpg.part could not be saved, because the source file could not be read.
    Try again later, or contact the server administrator."
    now i have tried from several different sites, including my own server and get the same thing. my wifes MBP same OS(latest snow leopard), same browser version, everything, works fine, my 4 yr olds dell laptop, works fine. so its not the internet connection, its not the servers, its something specific with my computer specifically.
    this happens on any browser, safari, firefox latest beta, and chrome for mac.
    so its not the browser
    its not the internet connection
    its not the source file server.
    any help or suggestions would be greatly appreciated.
    i have tried the following:
    reboot, cleared, cache/browser files, checked for any updates, disabling IPv6 off and on and auto setting, repaired disk permissions, downloaded onyX and no issues found with that...
    im lost at this point... doesnt make much sense...
    i have used 5 different wireless and hardwired networks over all, same exact result with each...
    it worked 2-3 times over the last 6 weeks total... and it was on smaller files.. like 400mb.. but every single other time it errors out... and if i try those same files again, it errors out too..
    im lost here...

    Directory issues can be manifested in all sorts of ways, FNNSports. Big files often have large extents files to keep track of the location of all the "fragments' on the drive. These can become problematic at times when small files don't demonstrate problems. It is actually a good idea to run Disk Utility to "Repair Disk" in this fashion every month or two anyway as part of basic maintenance. It can stop a host of problems developing over time. You should also do it after ANY system or application crash.
    One of the reasons I suggested also looking at the "SMART Status' of the drive (and ideally using SMART Utility" to check it too), though, was that I found myself wondering whether your HD is suffering from physical problems causing difficulties with prolonged data writing events causing some heat build up or some such.
    Checking the directories and the drive's physical status is an important first step whenever you run into problems with file writing or reading activity of the kind you mention.
    Cheers
    Rod

  • Modify Database Shared/Dedicated Connections

    Newbie question - we're running Grid Control 10.2.0.4 on RHEL 4. I have quite a few databases on other servers configured via the Grid Control GUI. Recently we discovered Grid Control was connecting to these databases via a SHARED Oracle network connection, and I would like to change this to a DEDICATED one. However, none of these databases are listed in any of the .../network/admin/tnsnames.ora files, so I'm guessing there is somewhere else to configure this in Grid Control?
    I've looked on this forum and searched through the Grid Control manuals, but for the life of me I can't find where/how to configure this, so I'm guessing that I'm probably looking with/for incorrect terminology. I'm okay with reading up on how to do this, but am just wondering if someone can point me in the right direction of where to read on this? Thanks in advance for any input!

    Take a look at Metalink Doc ID 757339.1 "How to : Configure Grid Control Agent to Use Dedicated Server Processes".
    The agent will automatically make use of shared server connections, if the database is running in the shared server mode. But it seems you can edite the targets.xml file from the agent side edit to use dedicated.

  • FLASH video conference large scale over 100k simultanous connections

    Hello
    I am involved in project managment for a large video conferncing project involving over 100k simultanous connection and most likely to be increased 4 times by next six months.While figuring out the scalability area ,it was concluded that smart selection of hardware and origin-edge clustering will be suited most. Well while studying this documentation says it supports thousands of calls but unfortunately I could not determine the actual numbers. Can you tell me how many edge server will be needed for 100k simultanous calls/number of sessions per edge server and will we need license (4500$) for each edge server?
    Quick support will be appreciated.

    There is no limit by theory on number of clients edge can support. It all depends upon your server machine i.e. hardware you are using like RAM, Processor , Network card and also other factors like your network bandwidth might also come into play. Also kind of work you are doing at server like what kind of applications are loaded would also matter.
    Yes you have to buy license for each server but I am not sure about exact pricing, You can contact Adobe Sales to get exact details about pricing.

  • Can't download large file on dial up connection!

    My computer internet connection "cuts off" before an update is downloaded, then I try it again and it starts from the beginning and does it again...I am new to .mac and I know I want to tell my computer or internet connection to stay on, I just don't know how to do it. Thank you for your help !

    Welcome to Apple Discussions!
    Yes dialup can be a pain in that way. If you are having trouble with software update, you'll find the updates on this page, and be able to use your web browser resume download feature from its downloads window:
    http://www.apple.com/swupdates/
    Remember though if it is an update you are getting, to follow these precautions first on my FAQ:
    http://www.macmaps.com/upgradefaq.html
    Note also that .Mac is the name of the service you spend for space on Apple's servers. To get the internet connection to stay on, see some tips on my FAQ for dialup:
    http://www.macmaps.com/Smart.net_MacOSX.html
    Ignore the DNS and phone number tips, it is those error correction and header compression settings, as well as picking the right modem script that are vital. And if you get lots of line noise, disconnect the modem from the phoneline and call the phone company to run a line noise check and tell you when it is complete. I found those tests when finished actually get rid of line noise.
    You might also consider taking your computer in to a place that has Macs on http://www.apple.com/buy/ and see if they have a high speed internet connection where you can make your downloads occasionally.

  • Is there way to logout databasesession without closing dedicated connection

    Dear folks,
    I am using databasesession to do db operations.For some purpose,after we logout session,we want to re-use jdbc connection again.I am using the following way:
    DatabaseSession session = getProject().createDatabaseSession();
    session..getLogin().setConnector(MyConnector());
    session.login();
    snippet of MyConnector:
    public Connection connect(Properties properties) {
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    conn =
    DriverManager.getConnection(getConnectionURL(),
    getConnectionUserName(), getConnectionPassword());
    } catch (Exception e) {
    // TODO
    e.printStackTrace();
    return conn;
    As everyone know,calling session.logout() will internally close the connection.Then,is there way for me to do?

    1. Press Windows key+D
    2. You should have a "Show Desktop" icon in your Quick Lauch toolbar next to the "Start" button. Sometimes the "Show Desktop" icon goes missing according to some, but I have never experienced that.
    MS article here: http://support.microsoft.com/?kbid=190355

  • Shared or dedicated connections on RAC

    Hello,
    We have Oracle9i RAC on Unix Tru64, with 2x2CPU, 2x2GB RAM and about 3000 clients. What is better : dedicated or shared mode ? We plan to add new memory, is 10GB enough?
    Thanks,
    Goran

    If you have the memory use Dedicated sessions over Shared for performance. There is extra overhead associated with Shared Server setups.
    Also some Oracle features like dbms_alert do not work well with a Shared Server setup unless you can ensure the alter waiters are all created using a dedicated session.
    You use Shared Server where the number of processes at the OS level is reaching your OS maximum so that you can reduce the number of OS processes that have to be supported. Shared server use does not save OS memory. What was in the PGA now has to be added to the Shared Pool for the most part.
    HTH -- Mark D Powell --

  • Create a dedicated connection pool for initialization blocks

    Hi,
    I'm using OBIEE11.6, then I set a session initialization block in RPD, and this block is based on connection pool '"My_DB".
    "My_CP"'.
    when Consistency Checking it warning as follow:
    Initialization Block 'Authorization' uses Connection Pool '"My_DB".
    "My_CP"' which is used for report queries. This may impact query performance.
    but there is no table under the connection pool "My_CP",so I don't know why it say it's used for report queries? and how to remove the warning?
    any one know it?
    Thank you!

    Hi Leo,
    Generally, when there is only one connection pool for a database in physical layer, the BI Server understands this to be the only connection pool for queries (I do not think this really checks if there are underlying tables. I think this is because there is a way to add tables to a database by right clicking on connection pool and choosing import metadata.).
    As a good practise, when you have init block pointing to a specific database please make sure that you create another connection pool just for the use by init blocks. This would make sure that the report queries and init blocks do not go on a single pool.
    So, for your case, create a second connection pool and point your init blocks to the second one. Yes, you cannot point to the first one as it is kind of reserved by BI Server for reports. (Unless you change this in the Options menu of .rpd)
    Hope this helps.
    Thank you,
    Dhar

  • Copying large directory fails (and kills connection)

    here's my scenario: i've acquired a brand new macbook,
    and i tried to copy my iPhoto library (27GB) off my old mac mini.
    i've tried via firewire and via wi-fi, and both times the
    copy stops part way through (after about 15-20 mins)
    saying 'The Finder cannot complete
    the operation because some data in "" could not be read or written'
    with 'Error code -36'.
    the Mac mini is running mac os 10.4.11; the macbook is running 10.5.2.
    i've verified that the entire directory can be copied ok, i.e. there's
    no disk error, by duplicating it on the source machine (no problem).
    after this occurrence, the shared file connection
    between the two machines goes away and cannot be restarted (it says
    'Connection Failed").
    the strange thing is that the network connection between the two machines
    continues to function just fine (verified with an ssh connection that continues
    to work no problem).
    here's what i found in the console log:
    <pre>
    17/04/2008 21:20:42 kernel AFP_VFS afpfs_mount: /Volumes/rog, pid 334
    17/04/2008 21:21:15 quicklookd[344] [QL ERROR] 'Creating thumbnail' timed out for '<QLThumbnailRequest /Volumes/rog/Pictures/portrait.bigcolour.jpg>'
    17/04/2008 21:23:01 com.apple.launchd[120] (com.apple.netauth.useragent[334]) Stray process with PGID equal to this dead job: PID 348 PPID 1 check_afp
    17/04/2008 21:34:14 ntpd[14] time reset +0.347319 s
    17/04/2008 21:44:24 kernel AFP_VFS afpfs_DoReconnect: doing reconnect on /Volumes/rog
    17/04/2008 21:44:24 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/rog
    17/04/2008 21:44:30 kernel AFP_VFS afpfs_Reconnect: posting to KEA EINPROGRESS for /Volumes/rog
    17/04/2008 21:44:30 KernelEventAgent[24] tid 00000000 received VQ_NOTRESP event (1)
    17/04/2008 21:44:30 KernelEventAgent[24] tid 00000000 type 'afpfs', mounted on '/Volumes/rog', from 'afp_27RNfi000e9H0000oM0000VU-1.2d000005', not responding
    17/04/2008 21:44:30 KernelEventAgent[24] tid 00000000 found 1 filesystem(s) with problem(s)
    17/04/2008 21:44:30 loginwindow[23] 1 server now unresponsive
    17/04/2008 21:45:00 loginwindow[23] 1 server now unresponsive
    17/04/2008 21:45:39 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/rog failed 60.
    17/04/2008 21:45:39 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/rog
    17/04/2008 21:46:54 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/rog failed 60.
    17/04/2008 21:46:54 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/rog
    17/04/2008 21:48:09 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/rog failed 60.
    17/04/2008 21:48:09 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/rog
    17/04/2008 21:49:24 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/rog failed 60.
    17/04/2008 21:49:24 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/rog
    17/04/2008 21:50:39 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/rog failed 60.
    17/04/2008 21:50:39 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/rog
    17/04/2008 21:51:54 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/rog failed 60.
    17/04/2008 21:51:54 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/rog
    17/04/2008 21:53:09 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/rog failed 60.
    17/04/2008 21:53:09 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/rog
    17/04/2008 21:54:24 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/rog failed 60.
    17/04/2008 21:54:24 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/rog
    17/04/2008 21:55:38 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/rog failed 60.
    17/04/2008 21:55:38 KernelEventAgent[24] tid 00000000 received VQ_DEAD event (32)
    17/04/2008 21:55:38 kernel AFP_VFS afpfs_DoReconnect: max reconnect time reached 674 > 600 /Volumes/rog
    17/04/2008 21:55:38 KernelEventAgent[24] tid 00000000 type 'afpfs', mounted on '/Volumes/rog', from 'afp_27RNfi000e9H0000oM0000VU-1.2d000005', dead
    17/04/2008 21:55:39 kernel AFP_VFS afpfs_DoReconnect: posting to KEA to unmount /Volumes/rog
    17/04/2008 21:55:38 loginwindow[23] No servers unresponsive
    17/04/2008 21:55:39 kernel AFP_VFS afpfs_unmount: /Volumes/rog, flags 524288, pid 24
    17/04/2008 21:55:38 KernelEventAgent[24] tid 00000000 found 1 filesystem(s) with problem(s)
    17/04/2008 22:07:58 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder[135] SharePointBrowser::handleOpenCallBack returned 80
    </pre>
    this shows the whole sequence of events, from the initial connection at 21:20:42, through the connection going down at 21:44:24, to the failure to reconnect at 22:07:58.
    has anyone got any idea what's going on here? any guidance much appreciated.

    I did some more additional testing , 4 files
    200mb
    250mb
    300mb
    434 mb .... all MOV, imovie made files (not that it should matter)... but
    1- selecting all the files and dragging to the nas share, the copy fails 20% of the way
    2- selecting each file, 200, 250 went fine , the 300 went after 3 tries, and i never got the 434 to go
    3 - switched to FTP, filezilla client on MAC and Filezilla Server on Windows, uploaded all files without a problem, with 2 open connections at a time

  • Connecting to large Flat Screen TV

    is it possible to connect the MBP to a TV so you can use the TV screen as a very large monitor? I can connect my laptop (Windows) to my TV via a monitor cable but the MBP doesn't have a 15pin output socket.

    HELP!!!
    I finally got a MiniDP to VGA adapter. But I cannot seem to configure the right settings for my MBP and Samsumg LCD Tv.
    I cannot select the "PC" in the Source List. It is greyed-out.
    Uploaded with plasq's Skitch!
    But I have this displayed out on Display Settings:
    Uploaded with plasq's Skitch!
    Uploaded with plasq's Skitch!
    Uploaded with plasq's Skitch!
    I have a Samsung 22" LA22A450 connected to my MBP using MiniDP to VGA + VGA extension cable.

Maybe you are looking for

  • Cannot connect to iTunes store on my Windows 7 computer

    iTunes 9 worked fine on my system but ever since version 10 was introduced I haven't been able to connect to iTunes store from my computer. The screen remains blank. Diagnostics show everything is ok and I can download applications and sync my iPad b

  • HT1766 iCloud backup box locked up iPad. I push ok but nothing happens. Box just stays there?

    ICloud Backup box appears in middle of screen saying, "This iPad hasn't been backed up in 3 weeks. Backups happen when this iPad is plugged in, locked, and connected to Wi-Fi. When I click the "OK", it changes colors like it's working, but nothing ha

  • Lumia 930 app like glance screen

    I need some app which will work something like glance screen - peak option. I have Nokia cp-637 case, and wish some applications which will turn on screen when I open cp-637 case. Something like on Samsung.

  • Looking For JComboBox Help

    (Sorry about the lack of rendered tags. I don't know how to use them in this forum.) I have a JComboBox (a drop menu) that when opened clears all its items and then adds new items from a list. Whenever the list is augmented (and is small), the JCombo

  • How long is this piece?

    Hi, I'm trying to figure out how Logic Pro 7 shows the duration of my piece. The smpte time code window would do. But, when I "rewind" back to bar 1, the smpte code says "00: 59: 33: 09.15 Why is that? I don't know how to reset it so that it zeros ou