---------- Post updated at 03:47 PM ---------- Previous update was at 03:34 PM ----------
And I forgot to say: There are some threads in our AIX subforum about performance monitoring, tuning etc. Maybe you check those 1st and see if these help so one has not to write all the same again and again
Not sure what the query is. It can be a complicated or a trivial one. There are several kind of memory types Oracle is using, iiirc, and the biggest is or was the SGA (I am not up to date). Not sure if all those several types that might be configured for that instance can be satisfied with your 4 GB, not to forget that the OS needs some RAM too. Also it is a question on what disks your DB is placed. Slow internal SCSI disks or maybe fast and cached SAN disks.
I remember from DB2 a tool called db2expln with that you could easily check out if a query uses indexes, etc. or does slow table scans etc. I bet there is something similar for Oracle, ie. some kind of SQL analyzer. Maybe it is a missing Index etc...
If you do not mind please let the vmstat -w run while the query is running and post it here using code tags.
What might be also interessting could be following output:
If there is several problems, it always often a solution to turn on Concurrent I/O (mount option "cio" and in Oracle filesystemio_options=setall) for the data, redo and log filesystems only.
But maybe get the info up there 1st - maybe you find something suspicous.
to correct zaxxon (sorry !) turn on EITHER cio (jfs2), dio (jfs) OR set in Oracle filesystemio_options=setall - never do both. If you have an older oracle version installed, it might not be able to handle the setall option - in that case choose async_io and go with cio or dio for the filesystems. You might want to consider smaller blocksizes for the redo logs too.
I would like to see the
outputs from a busy time too - and I would like to know if you have jfs or jfs2 filesystems and if you have applied at least some basic tuning ?
Interesting would be what your database is doing - trading, reporting, both ... how many connections, these things. Keep in mind every connection to oracle takes memory - in certain cases dozens of MB ...
No problem at all, I am fallible I did not notice any problem from having set both though. Did you encounter/read about any troubles? I have some older guides that do not exclude each other way explicitly.
we switch on cio or let oracle decide where to use cio because we want to avoid double buffering (what we have when both is on). If you switch off buffering completely (what you do with SETALL and cio both active) and you have a high transaction database, you are running the risk of saturating disks what used to happen in our company pretty frequently and slowed down the DBs more than not having anything activated.
But you are right - this is only true from Oracle 10g upwards - and we still do not know which DB version filosophizer is using
Hello,
All the commands on AIX are running very slow.
Below is few stats but I didn't find any issue in cpu or memory reosurces
vmstat
System configuration: lcpu=4 mem=6144MB ent=1.00
kthr memory page faults cpu
----- -----------... (2 Replies)
Hello,
Please help me with a script with which I can check long running processes on the database server and the os is AIX.
Best regards,
Vishal (5 Replies)
Hi Guys,
Need you help in one point!
I am working on one shell script which takes following steps :
1. Taking one query result from oracle database
2. Exporting that result to Xls file
3. Mailing that file to my own mail ID
Now, I want to give a threshold limit to one of the column... (0 Replies)
good morning
what is the better solution to examen a P570 ?
because i use topas and nmon, and the results are totally different !!!
with nmon, i have 80% free cpu, and with nmon, i have 90% of used cpu !!!!!!
i take a shot with an intervall of 10s during 10 mn.
thank you (0 Replies)
Hi,
I am running an oracle db 9.2.0.5.0 on ibm p5 550 aix 5.3 with 10g ram, 10G swap space 3 database instances each SGA about 500Meg.
I am getting the following error in my alert log file from time to time:
skgpspawn failed:category = 27142, depinfo = 11, op = fork, loc = skgpspawn3
... (0 Replies)
hi,
how can i diplay:
- the ammount RAM used /free
- ammount of ram used from a pid or prozess
we have the problem, that malloc is returing a NULL pointer errno = 12 ( not enough space).
but i think there is still ram free.
nmon : shows all memory used ?
Memory Use Physical Virtual... (7 Replies)