- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Swapping space critical on DB servers
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2009 09:13 PM
тАО11-15-2009 09:13 PM
Re: Swapping space critical on DB servers
Please let me know whether we need to add additional memory. How much more can we add on the server? and how to do it?
Thanks
Feng Lin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2009 10:26 PM
тАО11-15-2009 10:26 PM
Re: Swapping space critical on DB servers
a) Memory (session uga memory/current uga memory) use for each user session.
b) Check for IDLE/Snipped session and schedule a script to clear IDLE/Snipped sessions.
c) If you are using dedicated server mode ,you can change it to shared server mode for efficient utilising of session memory.
ANeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2009 10:57 PM
тАО11-15-2009 10:57 PM
Re: Swapping space critical on DB servers
Regarding the script to clear idle sessions, can give more clue on how to do it? An example of such a script would be useful.
After the data migration, what is causing the extra memory needed to do our usual workload on the server? Any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2009 11:02 PM
тАО11-15-2009 11:02 PM
Re: Swapping space critical on DB servers
a) You have 16.0gb total Phyical memory
b) 25 GB of swap
c) To get down to 75% utilized you need
25GB/.75 = 33.33 Tot, or another 8.33 GB of additional swap.
D) To get down to 65% utilized you need
25GB/.65 = 38.43 Tot, or another 13.43 GB of additional swap
e) Oracle listener is using the most memory of any process
1167932 16555 1 R tnslsnr
689212 16779 1 S tnslsnr
135228 17235 1 S tnslsnr
f) Here are your greatest CPU hogs
23.41 22537 1 S oracleISVCEPS
21.09 20731 1 S oracleISVCEPS
19.59 4019 1 S oracleISVCEPS
15.78 2628 1 R oracleNSPAY
9.61 24922 1 S oracleISVCEPS
g) Follow this pocedure to add swap
- http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=&threadId=451429
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2009 11:04 PM
тАО11-15-2009 11:04 PM
Re: Swapping space critical on DB servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2009 11:45 PM
тАО11-15-2009 11:45 PM
Re: Swapping space critical on DB servers
IDLE_TIMEOUT
============
You have to set idle_time out in profile and also set the init-ora-parameter RESOURCE_LIMIT =TRUE to do this.
For killing a Snipped Session:-
-------------------------------
#!/bin/sh
tmpfile=/tmp/tmp.$$
sqlplus -s '/ as sysdba' << !
spool $tmpfile
select p.spid from v\$process p,v\$session s
where s.paddr=p.addr
and s.status='SNIPED';
quit
!
for x in `cat $tmpfile | grep "^[0123456789]"`
do
kill -9 $x
done
rm $tmpfile
date >> date.txt
#
>>After the data migration, what is causing the extra memory needed to do our usual workload on the server? Any idea?
I dont think so because of adding more data into your database you got a problem in physical memory.
You have to increase the SGA before changing in to shared mode since it uses UGA from SGA once it has converted.Get an advice from your dba and do the changes.
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2009 12:11 AM
тАО11-16-2009 12:11 AM
Re: Swapping space critical on DB servers
Am I correct to say that there are 2 solutions to fix this issue?
1) To change DB config from dedicated to shared
2) To increase swap space on the server
If yes, which one would you advise?
Many thanks
Feng Lin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2009 12:22 AM
тАО11-16-2009 12:22 AM
Re: Swapping space critical on DB servers
I may select the first one ,also tune SGA (shared_pool/large_pool) to appropriate values.
If you are using 10g or above , you can enable SGA_TARGET to a high value and let oracle takes the control on it.If it is 11g then Memory_target will take care of both (SGA/PGA)
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2009 12:25 AM
тАО11-16-2009 12:25 AM
Re: Swapping space critical on DB servers
We are still using Oracle 9.2.0.8. Please advice.
Thanks
Feng Lin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2009 01:56 AM
тАО11-16-2009 01:56 AM
Re: Swapping space critical on DB servers
http://download.oracle.com/docs/cd/B10501_01/server.920/a96524/c09procs.htm#19210
http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/process.htm#sthref1644
After you have an idea how this works, head over to the Administator's Guide at http://download.oracle.com/docs/cd/B10501_01/server.920/a96521/manproc.htm#13880 to learn about the parameters and how to set them.
Aneesh