RAC node process using 25% physical memory

We have a QA server is non-RAC, and production is two-node RAC. We have a migration app that does an INSERT from SELECT over 2 instances. All of the machines have been in successful day-to-day use for several months...our only troublespot seems to be the migration app.
Today we started the app on the QA server and watched the oracle processes using top. They ran normally and finished without any problems.
The same app started on either of the RAC nodes produced process memory errors and died.
As the app ran, there was a process reading the data from the source instance and a process writing to the target instance. We confirmed this by querying the session data. It doesn't matter which of the nodes runs which target process...the result is the same.
The reading process(session) on the source instance seems to run normally. The write process on the target instance, however, begins slowly accumulating memory in about 16M chunks and holds on to them.
We saw this in the RES and in the MEM columns of top. The target process never released any memory, but slowly grabbed it until its
RES was 4GB and the %MEM was about 30%. The app then died with process memory error. This is reproducible over several runs.
( Per Metalink Note 567506.1, the recommended value for Linux 64-bit is 4294967295 ..we have that set. )
There are other oracle processes and instances running on both nodes which do not seem to be affected. The total number of processes on each machine is around 750..much lower than the nprocs ulimit of 63K.
These process are both oracle sessions spawned by the app.
I haven't seen any info on the web or Metalink that matches these symptoms, so I thought I'd try the experts.
Why would the write session continuously use up physical memory, but only on RAC nodes?
We are running RHEL5 on Dell Poweredge 2950 w 16K Physical mem. Version of 10g is R2.0.4.

user12017889 wrote:
The write process on the target instance, however, begins slowly accumulating memory in about 16M chunks and holds on to them.Exactly what process is this? An Oracle server process? Dedicated or shared server?
We saw this in the RES and in the MEM columns of top. The target process never released any memory, but slowly grabbed it until its
RES was 4GB and the %MEM was about 30%. How does the writer process work? Does it use PL/SQL? Does it use bulk processing? How does it call the reader process? Or does the reader process call it? Is this over a database link.
The app then died with process memory error. This is reproducible over several runs.If this is an Oracle server process, then there should be an entry in the alert log of the instance that recorded the crash and includes the name of the trace file generated by the crash.

Similar Messages

  • How can one use the physical memory of our system rather than virtual memory while running Labview?

    We have a Windows NT system with 2 Gb of physical memory and would like to utilize the RAM fully using Labview. What usually occurs is that Labview uses a tremendous amount of page file space while a majority of the physical memory is unused. Is there a way to configure Labview (or our system) to overcome this problem? It seems that our processes would be much faster if they were mainly using the physical memory. Is it possible to trick the system, by creating a RAM disk and allocating this as virtual memory space?

    > We have a Windows NT system with 2 Gb of physical memory and would
    > like to utilize the RAM fully using Labview. What usually occurs is
    > that Labview uses a tremendous amount of page file space while a
    > majority of the physical memory is unused. Is there a way to
    > configure Labview (or our system) to overcome this problem? It seems
    > that our processes would be much faster if they were mainly using the
    > physical memory. Is it possible to trick the system, by creating a
    > RAM disk and allocating this as virtual memory space?
    LabVIEW the application doesn't know anything about physical versus
    virtual memory. LV asks the OS for general purpose memory and goes
    from there.
    Drivers like DAQ and IMAQ will have a combination of general user
    memory and page lo
    cked physical buffers.
    I'm not up on the details, but this is something that the OS is in
    control of, so that is where you need to look for the solution. One
    of the things to look at is the disk cache. By default, I think that
    NT takes a percentage of the RAM to use for disk cache. With that
    much RAM, this is probably unnecessary and is using too much.
    Similarly, the OS may be attempting to keep the working set size
    to a fraction of the total RAM to reserve space for other things.
    It doesn't make sense to me, but then I don't work for MS.
    Greg McKaskle

  • Does photo stream use up physical memory

    I have backed up my photos to my hard drive and deleted them from my camera roll however they are duplicated in my photo stream. Is this using up physical memory on my phone

    Photo Stream photos are only stored in iCloud for 30 days...to give you time to save to your devices. Of course if you've already saved these to your device then there are no longer temporary storage.

  • Process using up system memory

    I'm running 10.6.3 on a Late 2008 Aluminum Macbook. Lately I've been experiencing an issue with a process called "fldirpatcher" using up system memory for about one minute after bringing the device out of sleep. Has anyone else experienced this or know what this process is?
    Message was edited by: RickDean

    Try undoing your most recent change. Without knowing at all what software you installed or updating, that is my best suggestion.

  • Backupd process using too much memory, blocking up system (Yosemite)

    Hello,
    Since I upgraded to Yosemite (maybe even only after I installed 10.10.1) on my Early 2009 17" MacBook Pro, after a while, a process called "backupd" is started, using all available memory, then switching to virtual memory. After a few hours, it can take more than 20 GB of virtual memory, making the MacBook Pro very slow and unresponsive. Killing the process using Activity Monitor (which can take many minutes because of the unresponsiveness) regains the used memory, and almost immediately makes the machine responsive again.
    What is this "backupd" doing anyway, are there means to prevent it from running at all or to let it stop using so much memory, or might there be a bug in OS X 10.10.1?
    Cheers,
    Dirk

    I did that anyway yesterday, to turn off the mobile backups, as my MBP is not so mobile anymore
    Let's see if it works and if the problem is solved by it

  • Oracle use full physical memory

    hi,
    I have Oracle 10g on RHEL5, and I examine server with free -m command.
    [root@prod ~]# free -m
    total used free shared buffers cached
    Mem: 3619 3599 19 0 242 2548
    -/+ buffers/cache: 809 2809
    Swap: 6142 132 6009
    from this report i see that free memory 4gb, but free 19mb.
    then i run "top -b -d 4 -n 1 -u oracle" this command
    top - 12:25:09 up 103 days, 1:38, 3 users, load average: 0.07, 0.04, 0.00
    Tasks: 280 total, 1 running, 279 sleeping, 0 stopped, 0 zombie
    Cpu(s): 0.1%us, 0.1%sy, 0.0%ni, 99.6%id, 0.2%wa, 0.0%hi, 0.0%si, 0.0%st
    Mem: 3705856k total, 3689336k used, 16520k free, 250644k buffers
    Swap: 6289436k total, 135288k used, 6154148k free, 2609836k cached
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    28330 oracle 15 0 1687m 507m 502m S 0.0 14.0 2:47.47 oracle
    This process is SMON
    Why SMON proccess use 14% memory? can anyone advice in this situation?
    what can I do?

    Please use the code tag with square brackets to format output/code nicely e.g.
    top - 11:56:58 up 35 days, 18:51,  4 users,  load average: 1.00, 1.03, 0.80
    Tasks: 218 total,   2 running, 216 sleeping,   0 stopped,   0 zombie
    Cpu(s):  3.6% us,  1.0% sy,  0.0% ni, 87.1% id,  8.2% wa,  0.0% hi,  0.2% si
    Mem:   4041380k total,  3981164k used,    60216k free,    21124k buffers
    Swap:  8385880k total,   439088k used,  7946792k free,  3193296k cached
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    8886 oracle    25   0 1931m 721m 707m R 98.8 18.3  17:21.79 oracle
        1 root      16   0  4772  436  404 S  0.0  0.0   2:36.11 initWhat is sga_max_size and sga_target size set to?
    Above are few lines of top from my DEV db box, which has 4GB memory.
    I have two db on that box SGA target set to 1GB each and SGA max 1.75GB, so max db usage should be 3.5GB.
    Yet it shows memory usage is nearly 100%, that is fine, because Linux uses free memory for caching.
    Long are swap is heavily not being used, and memory is 100% that is fine. Just because OS is showing 100% does not not mean DB has taken all of that memory.
    Hope I did not confuse you further.
    Regards,
    Edited by: sape007 on Jul 14, 2010 1:08 PM
    Changed from 1.5 to 1.75GB

  • Database consuming lot of Physical memory

    Hi ,
    My database is on version 11.1.0.7.0 and on SUN SOLARIS SPARC.
    My server admin just informed me that my database is using lot of physical memory , which i understand is RAM.
    I am looking on google also but i am not able to find a way in which i can check on it and see how it can be controlled.
    Any help/suggestion would be highly appreciated.
    Regards
    Kk

    There are 2 basic methods that Oracle uses memory.
    Statically. Oracle allocates memory (for the SGA) when it starts. This memory remains fixed in size.
    Dynamically. In order to service a client, memory is needed for that client session. Oracle dynamically allocates memory for such sessions (called the PGA).
    When Oracle memory consumptions grows, it must be dynamically allocated memory. Static memory is just that - static. It does not grow in size.
    The usual reason for PGA memory consumption to grow is incorrectly designed and coded bulk processing. A single Oracle server process can easily consume all available free memory on the server as Oracle dynamically increases the size of the PGA of the process running the flawed PL/SQL code.
    However, one should not be looking at o/s command line commands to determine Oracle processes's memory utilisation. The output of such commands are often incorrectly interpreted.. as shared memory can be (and often is) included to provide a process's memory utilisation. There are notes on Metalink (mysupport.oracle.com) on the topic and how to correctly use CLI commands to view Oracle process memory utilisation.
    An easier, and more accurate, view of Oracle memory utilisation can be obtained from Oracle's virtual performance views.
    So, a sysadmin e-mailing a ps (Unix/Linux process listing) showing a particular Oracle process "+using too much memory+" is not really solid enough evidence that memory is being abused. One needs to look closer at the type of memory used by the process.

  • RAC 9.2.0.8 The LSMn process exhaust the server memory

    A two nodes RAC 9.2.0.8
    from the top command.
    top - 15:49:15 up 4 days, 10:36, 6 users, load average: 0.70, 1.23, 1.51
    Tasks: 470 total, 1 running, 469 sleeping, 0 stopped, 0 zombie
    Cpu(s): 1.6% us, 0.1% sy, 0.0% ni, 98.2% id, 0.1% wa, 0.0% hi, 0.0% si
    Mem: 16434664k total, 16309804k used, 124860k free, 45756k buffers
    Swap: 32764556k total, 178600k used, 32585956k free, 14321772k cached
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    27077 oracle 16 0 10.1g 806m 805m S 18.9 5.0 38:19.59 oracle
    1565 oracle 15 0 10.1g 588m 587m S 3.3 3.7 15:12.69 oracle
    14224 oracle 15 0 10.1g 7.7g 7.6g S 0.7 48.8 19:26.11 oracle
    1563 oracle 15 0 10.1g 652m 651m S 0.3 4.1 0:13.10 oracle
    13955 oracle 15 0 10.1g 1.5g 1.5g S 0.3 9.8 1:10.97 oracle
    *14222 oracle 15 0 10.1g 7.7g 7.7g S 0.3 48.9 19:53.65 oracle*
    *14226 oracle 15 0 10.1g 7.7g 7.7g S 0.3 49.0 19:53.29 oracle*
    14232 oracle 15 0 10.1g 19m 16m S 0.3 0.1 24:38.95 oracle
    16906 oracle 15 0 10.1g 74m 71m S 0.3 0.5 0:00.92 oracle
    22763 oracle 15 0 10.1g 626m 623m S 0.3 3.9 0:21.27 oracle
    28942 root 16 0 5576 1392 816 R 0.3 0.0 0:00.04 top
    32638 oracle 15 0 10.1g 985m 983m S 0.3 6.1 0:37.81 oracle
    1 root 16 0 4772 564 468 S 0.0 0.0 0:05.50 init
    select * from v$projcess where spid=14222
    I got the info that the blod process is lsm1 and lsm2.
    although the PGA usage is fine the these process. but it used most of the physical memory.
    How to tuning the LSMn. Is it due to some misconfig of laod balance? the server memory is going to exhaust.
    Thanks.

    Oracle uses shared memory and most UNIX utilities do not properly report Oracle process memory usage due to double counting of shared memory. Are you getting errors? If not, I suspect the figures reported by TOP are not correct.
    What platform are you on?
    Any errors in alert.log or in the lsn background dump destination trace files?
    How is overall system performance?
    HTH -- Mark D Powell --

  • Is it possible to move some of the capture processes to another rac node?

    Hi All,
    Is it possible to move some of the ODI (Oracle Data Integrator) capture processes running on node1 to node2. Once moved does it work as usual or not? If its possible please provide me with steps.
    Appreciate your response
    Best Regards
    SK.

    Hi Cezar,
    Thanks for your post. I have a related question regarding this,
    Is it really necessary to have multiple capture and multiple apply processes? One for each schema in ODI? Because if set to automatic configuration, ODI seems to create a capture and a related apply process for each schema, which I guess leads to our specific performance problem (high cpu etc) I mentioned in my other post: Re: Is it possible to move some of the capture processes to another rac node?
    Is there way to use just one capture and one apply process for all of the schemas in ODI?
    Thanks a million.
    Edited by: oyigit on Nov 6, 2009 5:31 AM

  • I have 16 GB physical memory and my kernel_task file grows to use all my available memory. How do I fix it? It is now completely utilized and Kernal_task is 9.3GB.

    MY computer is acting strangly and now my physical memory of 16GB is completely utilized all the time. I noticed that the kernal_task is now 9.3GB and I don't know why. If I restart the system I am only using about 6GB and then it starts to use more until it is completely utilizing everything WHY?

    Hardware Information:
              iMac (21.5-inch, Mid 2010)
              iMac - model: iMac11,2
              1 3.06 GHz Intel Core i3 CPU: 2 cores
              16 GB RAM
    Video Information:
              ATI Radeon HD 4670 - VRAM: 256 MB
    System Software:
              OS X 10.9.2 (13C1021) - Uptime: 0 days 0:10:11
    Disk Information:
              ST3500418AS disk0 : (500.11 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 499.25 GB (391.27 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              OPTIARC DVD RW AD-5680H 
    USB Information:
              American Power Conversion Back-UPS ES 750 FW:841.I3 .D USB FW:I3 
              Apple Internal Memory Card Reader
              Apple Inc. BRCM2046 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Fitbit Inc. Fitbit Base Station
              Logitech USB Receiver
              Apple Inc. Built-in iSight
              Apple Computer, Inc. IR Receiver
    FireWire Information:
              Seagate GoFlex Mac 800mbit - 800mbit max
                        EFI (disk1s1) <not mounted>: 209.7 MB
                        Seagate 1TB External Bootable Backup  (disk1s2) <not mounted>: 499.93 GB
                        Seagate 1TB External User Backup 2 (disk1s3) /Volumes/Seagate 1TB External User Backup 2: 499.8 GB (357.71 GB free)
    Thunderbolt Information:
    Gatekeeper:
              Mac App Store and identified developers
    Kernel Extensions:
              [not loaded] com.anchorfree.tun (1.1.1 - SDK 10.8) Support
              [kext loaded] com.globaldelight.driver.BoomDevice (1.1 - SDK 10.5) Support
              [kext loaded] com.logmein.driver.LogMeInSoundDriver (1.0.3 - SDK 10.5) Support
              [not loaded] com.rim.driver.BlackBerryUSBDriverInt (0.0.52) Support
              [not loaded] com.rim.driver.BlackBerryUSBDriverVSP (0.0.45) Support
              [kext loaded] com.seagate.driver.PowSecDriverCore (5.2.2 - SDK 10.4) Support
              [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.2 - SDK 10.4) Support
              [kext loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.2 - SDK 10.5) Support
              [not loaded] com.seagate.driver.SeagateDriveIcons (5.2.2 - SDK 10.4) Support
              [kext loaded] com.squirrels.airparrot.framebuffer (3 - SDK 10.8) Support
              [kext loaded] com.squirrels.driver.AirParrotSpeakers (1.8 - SDK 10.8) Support
              [not loaded] org.virtualbox.kext.VBoxDrv (2.2.0) Support
              [not loaded] org.virtualbox.kext.VBoxNetAdp (2.2.0) Support
              [not loaded] org.virtualbox.kext.VBoxNetFlt (2.2.0) Support
              [not loaded] org.virtualbox.kext.VBoxUSB (2.2.0) Support
    Startup Items:
              comapcpcpestart: Path: /Library/StartupItems/comapcpcpestart
              VirtualBox: Path: /Library/StartupItems/VirtualBox
              WDBMService: Path: /Library/StartupItems/WDBMService
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist Support
              [loaded] com.anchorfree.ajaxserver.plist Support
              [running] com.fitbit.galileod.plist Support
              [loaded] com.google.keystone.daemon.plist Support
              [not loaded] com.logmein.logmeinblanker.plist Support
              [loaded] com.macpaw.CleanMyMac2.Agent.plist Support
              [loaded] com.oracle.java.Helper-Tool.plist Support
              [loaded] com.oracle.java.JavaUpdateHelper.plist Support
              [loaded] com.prosofteng.DriveGenius.locum.plist Support
              [loaded] com.skype.skypeinstaller.plist Support
              [loaded] com.timesoftware.timemachineeditor.helper.plist Support
              [loaded] org.macosforge.xquartz.privileged_startx.plist Support
    Launch Agents:
              [loaded] com.google.keystone.agent.plist Support
              [not loaded] com.logmein.logmeingui.plist Support
              [not loaded] com.logmein.logmeinguiagent.plist Support
              [not loaded] com.maintain.CocktailPurgeInactiveMemory.plist Support
              [loaded] com.maintain.CocktailSystemEvents.plist Support
              [loaded] com.oracle.java.Java-Updater.plist Support
              [running] com.seagate.SeagateStorageGauge.plist Support
              [running] net.culater.SIMBL.Agent.plist Support
              [loaded] org.macosforge.xquartz.startx.plist Support
    User Launch Agents:
              [loaded] com.adobe.ARM.[...].plist Support
              [running] com.google.Chrome.framework.plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
              [loaded] com.shirtpocket.backupbytime.plist Support
    User Login Items:
              Skype
              AdobeResourceSynchronizer
              Fitbit Connect Menubar Helper
              iTunes
              Printer Pro Desktop
    Internet Plug-ins:
              Default Browser: Version: 537 - SDK 10.9
              OfficeLiveBrowserPlugin: Version: 12.2.3 Support
              SlingPlayer: Version: (null) - SDK 10.8 Support
              AdobePDFViewerNPAPI: Version: 10.1.9 Support
              FlashPlayer-10.6: Version: 13.0.0.206 - SDK 10.6 Support
              LogMeIn: Version: 1.0.935 - SDK 10.7 Support
              Flash Player: Version: 13.0.0.206 - SDK 10.6 Support
              LogMeInSafari32: Version: 1.0.935 - SDK 10.7 Support
              QuickTime Plugin: Version: 7.7.3
              iPhotoPhotocast: Version: 7.0 - SDK 10.8
              AdobePDFViewer: Version: 10.1.9 Support
              JavaAppletPlugin: Version: Java 7 Update 55 Check version
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
              thinkorswim plugin_x86_64: Version: thinkorswim_x86_64 1.0.0.0 - SDK 10.7 Support
              tossc plugin_x86_64: Version: TOS Sharing Center plugin_x86_64 1.0.0.0 - SDK 10.7 Support
    3rd Party Preference Panes:
              APC PowerChute Personal Edition  Support
              Flash Player  Support
              Java  Support
    Time Machine:
              Skip System Files: NO
              Mobile backups: OFF
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 464.96 GB Disk used: 100.57 GB
              Destinations:
                        Seagate 1TB External User Backup 2 [Local] (Last used)
                        Total size: 0 B
                        Total number of backups: (null)
                        Size of backup disk: Too small
                                  Backup size 0 B < (Disk used 100.57 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                 100%          comapcpowerchute
                  18%          syncdefaultsd
                  12%          Mail
                   5%          WindowServer
                   1%          com.apple.security.XPCKeychainSandboxCheck
    Top Processes by Memory:
              606 MB          mds_stores
              295 MB          com.apple.IconServicesAgent
              131 MB          iTunes
              82 MB          Skype
              49 MB          Finder
    Virtual Memory Information:
              12.60 GB          Free RAM
              1.72 GB          Active RAM
              643 MB          Inactive RAM
              1.05 GB          Wired RAM
              3.35 GB          Page-ins
              0 B          Page-outs

  • What is best use of 1400 gb SGA (2 rac nodes 768gb each)

    currently using 11.2.0.3.0 on unix sun sever with 2 RAC nodes each 8 UltraSPARC-T1 cpus (came out in 2005) four threads each so oracle sees 32 CPUS very slow(1.2 gb).  Database is 4TB in size on regular SAN (10k speed).
    8gb SGA.
    New boss wants to update system to the max to get best performance possible  Money is a concern of course but budget is pretty high,  Our use case is 12-16 users at same time, running reports some small others very large (return single row or 10000s or rows).  reports take 5 sec to 5 minutes, Our job is get the fastest system possible,  We have total of 8 licenses available so we can have 16 cores.  We are also getting a 6tb all flash SSD array for database.  we can get any CPU we want but we cant use parallel query server due to all kinds of issues we have experienced (too many slaves, RAC interconnect saturation etc, whack-a-mole).  sparc has too many threads and without PS oracle runs query in single thread. 
    we have speced out the following system for each RAC node
    HP ProLiant DL380p Gen8 8 SFF server
    2 Intel Xeon E5-2637v2 3.5GHz/4-core cpus
    768 gb ram
    2 HP 300GB 6G SAS 15K drives for database software
    this will give us total of 4 Xeon E5-2637v2 cpus 16 cores total (,5 factor for 8 licenses) and 1536 ram (leaving ~1400 for sga).  this will guarantee an available core for each user.  we intend to create very very large keep pool around 300 gb for each node that will hold all our dimension tables.  this we hope will reduce reads from the SSD to just data from fact tables.,
    Are we doing a massive overkill here?  the budget for this was way less than what our boss expected.  will that big an sga be wasted will say a 256gb be fine.  or will oracle take advantage of it and be able to keep most blocks in there.
    will an sga that big cause oracle problems due to overhead of handling that much ram?

    Current System:
    ===========
    a. Version : 11.2.0.3
    b. Unix Sun
    c. CPU - 8 cpus with 4 threads => 32 logical cpus or cores
    d. database 4TB
    e. SAN - 10k speed disk drives
    f. 8gb SGA
    g. 1.2 gb ??
    h. Users --> 12-16 concurrent and run reports varying size
    i. reports elasped time 5 sec to 5 mins
    j. cpu license -->8
    Target System
    ===========
    a. Version: 11.2.0.3
    b. HP ProLiant DL380p Gen8 8 SFF server
    c. RAM --> 768 GB
    d. 2 HP 300GB 6G SAS 15K drives for database software
    e. large keep pool -->90 gb to  hold all dimension tables. 
    f.  SSD to just data from fact tables
    g. SGA -->256gb
    Reassessment of the performance issues of current system appears to be required.Good performance tuning expert is required to look into tuning issues of current application by analyzing awr performance metrics . If 8GB SGA is not enough,then reason behind so is that queries running in the system are not having good access path to select lesser data to avoid flushing out of recent buffers from different tables involved in the query. Until those issues are identified , wherever you go, performance issue wont be going away as table size increase in future , problem will reappear.Even if the queries are running with more FULL Scan , then re-platforming to Exadata might be right decision as Exadata has smart scan , cell offloading feature which works faster and might be right direction for best performance and best investment for future.Compression (compress for OLTP) could be one of the other feature to exploit to improve further efficiency while reading the lesser block in lesser read time.
    Investment in infrastructure will solve a few issue in short term but long term issue will again arise.
    Investment in identifying the performance issues of current system would be best investment in current scenario.

  • How to make use of the spare physical memory under buffered I/O of Essbase

    We encountered an issue of the physical memory allocation of the server running Essbase with buffered I/O mode. We have implemented some cache setting in Essbase but still found that the disk I/O is quite high. Also we observed that Windows 2003 server cannot make use of the spare physical memory available as the system cache for database files of Essbase.
    As allocating more memory as Essbase cache might not help, we would like to know other than changing to direct I/O mode, any other options can improve the disk I/O performance?
    Thanks!

    Sandeep Reddy wrote:
    Hi Hyperion_User,
    1. Disk IO performance,It mighe depend on quite a few things , one of the aspects might be your storage system. It can depend on the disk configuration too ( i.e if your disk is SAN or NAS, then it depends on the configuration like Raid ..etc).
    2. It depends on the HBA ( host bus adapter).
    3. Let me try to explain with diagram.
    http://www.c-sharpcorner.com/uploadfile/freebookarticles/apress/2008dec16010208am/DataStorageDesign/Images/159059214X-1404.1.gif
    4. It might depend on the HBA and even on the switch speed.
    5. Buffered IO is a very generic setting,which most of them use( that should not be an issue).
    6. Even if you have 30 to 40 GB free memory, every application in essbase has a limitation to it maximum usage ( 2 GB on windows ). Refer to DBAG for more information on this .
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/
    Thanks for your detailed advice. I just wonder if more physical memory can help to improve the disk I/O being used for concurrent read/write access. We are using Windows 2003 Enterprise Edition and not sure whether some spare physical memory can be used for this purpose.
    Thanks again!

  • How to get the size of physical memory by using system call ?

    how to get the size of physical memory by using system call ?What system call can be used for me to get the size of physical memor? thanks.

    %vmstat 3
    procs memory page disk faults cpu
    r b w swap free re mf pi po fr de sr s0 -- -- -- in sy cs us sy id
    0 0 0 3025816 994456 4 19 6 0 0 0 0 8 0 0 0 459 253 139 1 1 99
    0 0 0 2864688 777408 0 2 0 0 0 0 0 3 0 0 0 428 134 175 0 1 99
    0 0 0 2864688 777408 0 0 0 0 0 0 0 7 0 0 0 448 112 166 0 0 100
    one interesting observation about vmstat I found out is (mostly on Solaris)
    the first line of information always off chart, so I usually do a few interval to get constant result.
    if you use linux
    just
    cat /proc/meminfo

  • How to find memory taken by a process using top command

    I wanted to know how to find the memory taken by a process using top command. The output of the top command is as follows as an example:
    Mem: 13333364k total, 13238904k used, 94460k free, 623640k buffers
    Swap: 25165816k total, 112k used, 25165704k free, 4572904k cached
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    16514 applmgr 25 0 2197m 1.7g 10m S 0.3 13.0 15:20.67 java
    30692 crestelo 22 0 2901m 1.4g 9284 S 0.0 11.0 3:03.68 java
    30431 crestelo 25 0 2043m 1.4g 161m S 50.9 11.0 79:02.73 java
    30869 crestelo 25 0 2860m 1.2g 9292 S 0.0 9.6 7:11.18 java
    16655 applmgr 23 0 1934m 1.1g 10m S 0.3 8.9 2:17.49 java
    16319 crestelo 19 0 1541m 299m 44m S 0.0 2.3 2:52.11 java
    I hope, my question is clear as to how to find the memory taken by a process using top command.
    Please revert with the reply to my query.
    Regards

    Have you tried "man top" to see the documentation for the top command?
    How about the following: http://lmgtfy.com/?q=show+memory+with+top+command
    The 5th column (VIRT) shows the amount of RAM + swap
    The 6th column (RES) shows RAM
    The 7th column (SHR) shows memory shared between processes

  • How to find memory taken by Oracle processes using top command

    I wanted to know how to find the memory taken by Oracle processes using top command. The output of the top command is as follows as an example:
    Mem: 16436072k total, 16215708k used, 220364k free, 395128k buffers
    Swap: 25165816k total, 1168288k used, 23997528k free, 13366520k cached
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    27281 oraprod 15 0 6705m 1.3g 1.3g S 0.0 8.6 61:44.71 oracle
    27383 oraprod 15 0 6702m 1.2g 1.2g S 0.0 7.7 2:22.75 oracle
    5199 oraprod 16 0 6745m 1.1g 1.0g S 0.0 6.8 2:51.23 oracle
    The different Oracle processes could be Oracle database, Oracle listener, Oracle enterprise manager etc.
    I hope, my question is clear as to how to find the memory taken by a process using top command.
    Please revert with the reply to my query.
    Regards

    a short and correct answer would be: you can't.
    As oracle uses a fair amount of shared memory, and that shared memory is attached to most of the oracle processes, the same memory appears a number of times.
    you should rephrase your question / what is it you want to achieve?
    you can ask oracle how much memory is assigned to it, v$sga, v$sgastat, v$process (for PGA). moreover, you as DBA are the one who configured that.
    you can look at major an minor faults per process to see what is causing the paging (if you have any).
    you can also look at the /proc/pid/statm pseudofilesystem for your oracle pids.

Maybe you are looking for