Need help for analysis "plan and background events waiting" on the report statspack for oracle database 11.2.0.4 on AIX
HI: I analyze the STATSPACK report: this is the "volume test" on our UAT server for most of entry or "bind variables". Our shared pool is well used in oracle. Recovery of Oracle logs is not configured properly on this server, as in "Top 5 events of waiting", there are 2 for Oder.
I need to know what other information may be digging from of 'waiting in the foreground events' & ' background waiting events ", and which can help us better understand, in combination of ' Top 5 wait event, that how did the server test /? It could be overwhelming. wait events, so appreciate useful diagnostic or analyses. Database is oracle 11.2.0.4 updated from 11.2.0.3 on IBM AIX 64-bit, level 6.x system power
STATSPACK report
DB Id Instance Inst Num Startup Time Release RAC database
~~~~~~~~ ----------- ------------ -------- --------------- ----------- ---
700000XXX XXX 1 22 April 15 12:12 11.2.0.4.0 no.
Host name Platform CPU Cores Sockets (G) memory
~~~~ ---------------- ---------------------- ----- ----- ------- ------------
dXXXX_XXX AIX-Based Systems (64-2 1 0 16.0)
Snapshot Id Snap Snap time Sessions Curs/Sess comment
~~~~~~~~ ---------- ------------------ -------- --------- ------------------
BEGIN Snap: 5635 22 April 15 13:00:02 114 4.6
End Snap: 5636 22 April 15 14:00:01 128 8.8
Elapsed time: 59.98 (mins) Av law Sess: 0.6
DB time: 35,98 (mins) DB CPU: 19,43 (mins)
Cache sizes Begin End
~~~~~~~~~~~ ---------- ----------
Cache buffer: block 2 064 M Std size: 8 K
Shared pool: 3 072 M Log Buffer: 13 632 K
Load profile per second per Transaction per Exec by call
~~~~~~~~~~~~ ------------------ ----------------- ----------- -----------
DB Time (s): 0.0 0.6 0.00 0.00
DB CPU: 0.0 0.3 0.00 0.00
Size: 458 720,6 8,755.7
Logical reads: 245,7 12 874,2
Block changes: 1 356.4 25.9
Physical reads: 6.6 0.1
Physical writings: 61.8 1.2
The user calls: 38.8 2 033,7
Analysis: 286,5 5.5
Hard analysis: 0.5 0.0
Treated W/A Mo: 1.7 0.0
Logons: 1.2 0.0
Runs: 801,1 15.3
Cancellations: 6.1 0.1
Operations: 52.4
Indicators of the instance
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer % Nowait: 100.00 do NoWait %: 100.00
Buffer % success: 99.98% W/A optimal, Exec: 100.00
Library success %: 99,77% soft Parse: 99.82
Run parse %: 64.24 latch hit %: 99.98
Analyze the CPU to analyze Elapsd %: 53.15% Non-Parse CPU: 98.03
Shared pool statistics Begin End
------ ------
% Memory use: 10.50 12.79
% SQL with executions > 1: 69,98 78,37
% Memory for SQL w/exec > 1: 70.22 81,96
Top 5 timed events Avg % Total
~~~~~~~~~~~~~~~~~~ wait Call
Event waits time (s) (ms) time
----------------------------------------- ------------ ----------- ------ ------
CPU time 847 50.2
ENQ: TX - 4 480 97 434 25.8 line lock conflict
Log file sync 284 169 185 1 11.0
log file parallel write 299 537 164 1 9.7
log file sequential read 698 16 24 1.0
Host CPU (processors: 2 hearts: Sockets 1: 0)
~ ~ ~ Medium load
Begin End User System Idle WIO WCPU
------- ------- ------- ------- ------- ------- --------
1.16 1.84 19.28 14.51 66.21 1.20 82.01
Instance of CPU
~~~~~~~~~~~~ % Time (seconds)
-------- --------------
Host: Time (s) Total: 7,193.8
Host: Availability of time processor (s): 2,430.7
% of time host is busy: 33.8
Instance: Time processor Total (s): 1,203.1
% Busy CPU used, for example: 49.5
Instance: Time of database total (s): 2,426.4
% DB time waiting for CPU (resp. resources): 0.0
Statistical memory Begin End
~~~~~~~~~~~~~~~~~ ------------ ------------
Host Mem (MB): 16,384.0 16 384,0
Use of LMS (MB): 7,136.0 7 136,0
Use of PGA (Mo): 282.5 361.4
Host % Mem used for SGA + PGA: 45.3 45.8
Foreground wait events DB/Inst: XXXXXs Snaps: 5635-5636
-> Only events with wait times Total (s) > =.001 are indicated
--> sorted by Total desc waiting time, waits desc (idle last events)
AVG % Total
% Tim Total wait Wait Wait call
Event is waiting for the time (s) (ms) /txn times
---------------------------- ------------ ---- ---------- ------ -------- ------
ENQ: TX - line lock 4 480 0 434 97 contentio 0,0 25.8
284 167 0 185 1 file synchronization log 1.5 11.0
File I/O 8 741 of disk 0 4 operations 0.0 0.2
direct path write 0 13 247 3 0.1 0.2
DB file sequential read 6 058 0 1 0.0 0.1
buffer busy waits 1 800 0 1 1 0,0.1
SQL * Net more data to the client 29 161 0 1 0.2 0.1
direct path read 7 696 0 1 0.0 0.0
db file scattered read 316 0 1 2 0,0.0
latch: shared pool 144 0 0 2 0,0.0
Initialization of 30 0 0 3 0,0.0 CSS
cursor: hand 10 0 0 9 0,0.0 S
lock row cache 41 0 0 2 0,0.0
latch: rank objects cache 19 0 0 3 0,0.0
log file switch (private 8 0 0 7 0,0.0 str
library cache: mutex X 28 0 0 2 0,0.0
latch: cache buffers chains 54 0 0 1 0,0.0
free lock 290 0 0 0.0 0.0
sequential control file read 1 568 0 0 0.0 0.0
switch logfile (4 0 0 6 0,0.0 control point
Live sync 8 0 0 3 0,0.0 road
latch: redo allocation 60 0 0 0 0.0.0
SQL * Net break/reset for 34 0 0 1 0,0.0 customer
latch: enqueue hash chains 45 0 0 0 0.0.0
latch: cache buffers lru chain 7 0 0 2 0,0.0
latch: allowance 5 0 0 1 0,0.0 session
latch: object queue header 6 0 0 1 0,0.0 o
Operation of metadata files ASM 30 0 0 0 0.0.0
latch: in memory of undo latch 15 0 0 0.0 0.0
latch: cancel the overall data 8 0 0 0 0.0.0
SQL * Net client message 6 362 536 0 278 225 44 33.7
jobq slave wait 7 270 100 3 635 500 0.0
SQL * Net more data to 7 976 0 15 2 0,0 clien
SQL * Net message to client 6 362 544 0 8 0 33.7
-------------------------------------------------------------
Context of the DB/Inst events waiting: XXXXXs clings: 5635-5636
-> Only events with wait times Total (s) > =.001 are indicated
--> sorted by Total desc waiting time, waits desc (idle last events)
AVG % Total
% Tim Total wait Wait Wait call
Event is waiting for the time (s) (ms) /txn times
---------------------------- ------------ ---- ---------- ------ -------- ------
log file parallel write 299 537 0 164 1 1.6 9.7
log file sequential read 698 0 16 24 0.0 1.0
db file parallel write 9 556 0 13 1 0,1.8
146 0 10 70 0,0.6 startup operating system thread
control file parallel write 2 037 0 2 1 0,0.1
Newspaper archive e/s 35 0 1 30 0,0.1
LGWR wait for redo copy 2 447 0 0 0.0 0.0
async file IO DB present 9 556 0 0 0.1 0.0
DB file sequential read 145 0 0 2 0,0.0
File I/O disk 349 0 operations 0 0.0 0.0
db file scattered read 30 0 0 4 0,0.0
sequential control file read 5 837 0 0 0.0 0.0
ADR block lu file 19 0 0 4 0,0.0
Block ADR file write 5 0 0 15 0,0.0
direct path write 14 0 0 2 0,0.0
direct path read 3 0 0 7 0,0.0
latch: shared pool 3 0 0 6 0,0.0
single log file write 56 0 0 0.0 0.0
latch: redo allocation 53 0 0 0 0.0.0
latch: 1 0 0 3 0,0.0 active service list
free latch 11 0 0 0 0.0.0
CPI of RDBMS 5 314 523 57 189 182 1.7 message
Space Manager: slave wa slowed 4 086 88 18 996 4649 0.0
DIAG idle wait 7 185 100 1000 7 186 0.0
Streams AQ: waiting time 2 50 4 909 # 0,0
Streams AQ: qmn slowed slave 129 0 3 612 28002 0.0 w
Streams AQ: Coordinator of the 258 50 3 612 14001 0,0 qmn
SMON timer 2 43 3 605 83839 0.0
PMON timer 99 1 199 2999 3 596 0.0
SQL * Net client message 17 019 0 31 2 0.1
SQL * Net message to client 12 762 0 0 0.1 0
class slaves wait 28 0 0 0 0.0
Thank you very much!
Hello
I think that your CPU is overloaded by your stress tests. You have one VCPU with 2 wires (2 LCPU), right? And the load average is greater than one. You have time DB which is not counted in (CPU time + wait events) and which comes no doubt from time spent in the runqueue.
> Oracle recovery logs is not properly configured on this server, as in "Top 5 events of waiting", there are 2 for oder
It is an error in statspack for show "log file parallel write here." This moment is historical and is included in 'log file sync '. And I don't think you have to redo misconfiguration. Waiting for 1ms to commit is ok. In OLTP you should have more than one validation in a user interaction so that the user don't worry not about 1 m in batch mode, unless you commit to each row, 1 DC to commit should not increase the total execution time.
The fact that you have a lot of line lock (enq: TX - line lock conflict) but very little time (on average 97 ms) is probably a sign that testers are running simultaneously a charge affecting the same data. Their set of test data is perhaps too simple and short. An example: when stress tests of an order entry system if you run 1000 concurrent sessions, ordering the same product to the same customer, you can get this kind of symptoms, but the test we unrealistic.
It's a high activity of 2000 calls per second, 52 transactions per second, user. But you also have low average active sessions, so the report probably covers a period of non-uniform activity, which makes the averages without meaning.
So note to tell about the events of waiting here. But we don't have any info about 39% of DB time devoted to the CPU which is where something can be improved.
Kind regards
Franck.
Tags: Database
Similar Questions
-
Not a dba and need help for Oracle 11 G
I have install an output db in space and I can't get the client that I work to install the spacewalk to connect to the db.
output in the configuration of the client space (research forward and reverse and can ping by short/longname and IP.)
# output extravehicular-installation - disconnected - external-db
* Setting the Oracle environment.
* Setting up database.
* Database: set up the connection of database for Oracle backend.
Name of the database service (SID)? spcwlk
Name of database to host [localhost]? spacedb.domain.com
Database (listener) port [1521]?
The database connection error: ORA-12543: TNS:destination host unreachable (DBD ERROR: OCIServerAttach)
DB server
listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = spacedb.domain.com) (PORT = 1521))
)
)
ADR_BASE_LISTENER = / u01/app/oracle
lsnrctl start $
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 18-SEP-2014 11:17:37
Copyright (c) 1991, 2009, Oracle. All rights reserved.
From /u01/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: Please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System settings file is /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/db-obrien/listener/alert/log.xml
Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=spacedb.domain.com) (PORT = 1521)))
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start date 18 - SEP - 2014 11:17:39
Uptime 0 days 0 h 0 min 0 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file
The listener log file /U01/app/Oracle/diag/tnslsnr/spacedb/listener/alert/log.XML
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=spacedb.domain.com) (PORT = 1521)))
The listener supports no services
The command completed successfully
Hello
Please add below lines to your listner.ora file and reload the listner.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME =
) (ORACLE_HOME =
) (GLOBAL_DBNAME =
) )
)
Thank you
Jihane Narain Sylca
-
Need help with high back and create more space on the computer's internal drive.
I don't have a lot of space on my internal hard drive. I just got a backup unit portable 500 GB. After that I backup everything, what should I do next to create more space on the original disk of disk space?
Hello
Here are some steps to free up the memory of hard drive on your computer.
Method 1: how to optimize disk space everything back to the top
http://Windows.Microsoft.com/en-us/Windows7/what-backup-settings-should-I-use-to-maximize-my-disk-spaceMethod 2: perform cleaning disc.
Delete files using disk cleanup
http://Windows.Microsoft.com/en-us/Windows7/delete-files-using-disk-cleanupHope this information helps.
Please respond back with the State of the issue and let us know if you have any questions. -
Hello Experts,
My name is Rohan and I work as an Oracle DBA now, I fell on the ASM and I want to learn it.
I have a knowledge base of Oracle ASM and I also configured/created an instance using DBCA.
Now for the best understanding I want to create the same with the command line.
Everyone please give me the great tutorial for the same?
I'm using oracle 11.2.0.3 on windows.
Thanks in advance.
CREATE DATA base should be with the ORACLE_SID set to the desired database SID, not the SID of the DSO. Also, if you have (as in 11 g) two separate ORACLE_HOMEs for the ASM and the database, the DATA CREATE database must be run ORACLE_HOME database.
Hemant K Collette
-
Hello
I use Oracle Apex 4.01 in Oracle 10 g.
I am trying to create a page of Apex, sort of time table system. In this page I have 3 text items field and the other two are date fields. and two buttons.
You must submit (B1) and the other is to add any folder (B2).
My job is if I press the add another button to record (B2) then a new line with the same types of items (3 items) must be created in the page and if I press this button once again and then a new line with the same elements must be created on the page and so on.
Example of
The initial Page view: Point 1, Item2, Item3 B1, B2
When you press B2: point 1, Item2, Item3
Article 1, Item2, Item3 B1, B2
When B2 press again: point 1, Item2, Item3
Article 1, Item2, Item3
Article 1, Item2, Item3 B1, B2
so now...
Finally if I press send, but all the values I entered must be stored in the table.
Example, if I press the B2 3 times and press B1, then these 3 records are stored in the table.
Can someone tell me please how to do this in the Apex.
Thank you
RikRik,
It looks like the basic functionality of the tabular presentation.
-David
-
Need help for optical safety circuit.
I buy these parts and prototype with real components, but since I multisim, I thought it would be nice to create the circuit and maybe work through issues I can practically.
I need a circuit that takes 120 VCA, generates 5 VDC and 1.5Vdc power of optical transmitter and receiver. I actually use a data port because he has great range and is pretty cheap. Rather than send the binary code well I just send a light stead that is broken or not broken through doors and windows in my house. Then the receiver sees this as an entry and order a relay.
I tried several voltage regulators that come with multisim, but I get an error of execution of my circuit. Really I can't the 120 VAC to power levels necessary for the functioning of the optics.
Otherwise I might want to run on a system 120Vdc with battery backup, so throw a 120Vdc up to 20 v DC switching power supply - but I have not found a SMP in the library which takes 120 as input and as output 20.
Basic plan: 120VAC source-> transform to 24Vac-> Full bridge rectifier to ~ 20 v DC-> voltage capacitor filter on the input of two voltage regulators (1 to 5 VDC, 1 to 1.5Vdc) - then circuit since the two power supply of the transmitter and the receiver.
I just need help for 5V and 1.5V, from there, I know that the real world circuit will work component tests already carried out. Thanks for reading.
I didn't Multism so I can't advise you on the compatible models. I ran the model on semiconductors with slight modifications of format on my SPICE simulator based on Berkeley Spice 3f5. I had to change the format of model resistance semiconductors appeal but has not changed any values.
The output of your power supply circuit 3 (with 5 V, not the 1.5 V regulator regulator) was 4.99995 V.
There are a few messages about changing templates published for compatibility Multisim woth. You can search those to see if there are any suggestions on what you'll need to fix in the model.
Lynn
-
I need help my Webcam setting and put in place.
I NEED HELP MY WEBCAM SETTING AND IMPLEMENTATION. I BOUGHT IT USED
I need help my Webcam setting and put in place.
Thinking about ask you for help using Bing, Google or any search engine you want to use. Try entering "set up the webcam" in your search parameters.
Or ask for help on the Web site of the manufacturer of the webcam that you have purchased.
-
I need help for the upgrade of my current system.
I need help for the upgrade of my current system.
I have SBS 2008 with (Exch 2007, SQL 2005, Sharepoint, backupexec 2010 for sbs) licenses.
I want to make the larger environment using the following:
(1) apply Virtualization
(2) apply to the failover process (clustering)
"(3) the environment must support adding server terminal server, ERP server, exchange server, domain controller, backup manager.
Storage 4) that supports Raid (1 and 5)
UTM excellent 6) that supports (SSL VPN, VPN Global)
suitable backup solution 7)
(8) good antivirus for clients
my questions:
(1) can you provide me with a good design for this environment
(2) should I choose what operating system:
Microsoft datacenter or company
I know datacenter provide us the unlimited VM but needs per processor license
so if I have two Grouped servers I want to buy 4 licenses
and just 4 VMs per company license... to say that we have two servers and maintain 8 vms so wat happened if 1 goes down... How can I migrate the 4 virtual machines on the server failed to another server group... ? should I buy enterprise license?
(3) if I get the SAN storage for data... How can I save this storage... should I get another SAN?
(4) how can I upgrade SBS stad single server (windows standrad) without losing the licenses as Exch 2007, SQL 2005, sharepoint.is it a must to buy an edition full std server or there is a way to upgrade (license wise, I mean)?
(5) what about win2k8 license for VM:
lets say we have physical that has windows license so that enough to have windows for VM or should I buy windows for VM licenses?
(6) can I use backExec license for SBS with windows 2008 standard
(7) who better to virtualization AMD or INTEL
(8) hyper V or VMware?
(9) what of Microsoft data protection Manager... is this good?
(10) what virtual machine manager? What are the benefites keys
Thanks in advance
Hello AnasAI,
You can find the Server forums on TechNet support, please create a new post at the following link:
http://social.technet.Microsoft.com/forums/en/category/WindowsServer/
-
Hello, I have a creative signature cloud trying to renew the plan and will not appear in the information of the plan page. What should I do? adiquiro a new plan? or can someone help me?
Hello
For more information, see the following links:
Renew, restart, or extend your Adobe Creative Cloud membership
'Renew your membership' message when you start an Adobe Creative Cloud application
If nothing helps, please get in touch with support with adobe:
-
I need help for my reader to USB drive on my windows 10 ACER?
I need help for my reader to USB stick on my chrome windows 10 plug ins acer. Can you help me?
What Adobe application that you use?
This is the Adobe Media Encoder forum, and you did not mention anything on this subject. If you can let us know what Adobe application, you need help, we can help you make the right forum.
Thank you
Regalo
-
Stolen laptop need help to reinstall Dreamweaver and Fireworks
Hi, my laptop was stolen last weekend and I need help to reinstall Dreamweaver and Fireworks on my new MacBook Pro. I have the original software with serial etc. but of course I need to download via the web. Anyone know how I can do this? I don't have a DVD player for the MacBook either.
ask a number of adobe support resetting activations. Contact adobe during the time pst support by clicking here and, when available, click on "still need help," https://helpx.adobe.com/contact.html
Available downloadable Setup files:
- Suites and programs: CC 2015 | CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
- Acrobat: DC, XI, X | 9,8 | 9 standard
- First Elements: 13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
- Photoshop Elements: 13 | 12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
- Lightroom: 6| 5.7.1| 5 | 4 | 3
- Captivate: 8 | 7 | 6 | 5.5, 5 | 1
- Contribute: CS5 | CS4, CS3 | 3,2
- FrameMaker: 12, 11, 10, 9, 8, 7.2
Download and installation help links Adobe
Help download and installation to Prodesigntools links can be found on the most linked pages. They are essential; especially steps 1, 2 and 3. If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".
-
I need help for activation of the real administrator account.
I have a problem with Adobe reader 9 standard, Adobe customer service asked the unhide real administrator account before you can continue to help me.
I need help for that.
http://www.Vistax64.com/tutorials/67567-administrator-account.html
Read the above info.
See you soon. Mick Murphy - Microsoft partner
-
Hello, I need help for cancel the payment on my adobe account.
Hello, I need help for cancel the payment on my adobe account. I'm from Peru, Im paying a monthly fee as a student. Help, please...
-
Hello, need help for Adobe Reader DC playing animation files that are specified in the pdf output by script Latex Beamer. My Adobe Reader DC refuse to open any format that I gave him. Thank you very much
Hey ihorl18351266,
Please note that you can open PDF files using only the CD player. Any other format will not be supported by the software.
Kind regards
Ana Maria
-
Hello
My HP Pavilion dv6-WQ685UA #ABA needs a main battery replacement and is still covered by the warranty.
I always thought that this laptop can't run then 1 hour unplugged but still ran about 30-45 minutes before the battery is discharged (recommended HP). A few days ago I received this message when starting upwards:
Main battery
Failure ID-U360G0-000624-XD0002J-C0DL03
Product ID-WQ685UA #ABA
Replace the main battery.
So here I am. How do I get a new battery, sent me? Thank you!
Hello:
It is a forum of consumer to consumer.
Nobody here help you with warranty issues.
You will have to contact HP support support.
Contact HP on the link below for the country you live. Select the option 'technical support after purchase.
http://WWW8.HP.com/us/en/HP-information/summary/WW-contact-us.html
Paul
Maybe you are looking for
-
FireFox Sync is not an option, because the use of an external server is not allowed.Use of third-party modules is not really an option.Import/export is inefficient because it is not put them in the same exact place in every browser. I am happy to be
-
How can I restore my downloads after accidentally hitting the button clear the list?
I was going to transfer my downloads on my Media Player, but accidentally, press the button clear the list. Is there any way I can cancel my mistake? I paid for these downloads. They were time sensitive, so I can't go back to the original path.
-
EQ problem since the update, anyone seen this?
Then got the 10.2.1 update, because then it seems that I can't change the processing mode in the EQ channel more to the side middle, etc, seems to be true for all my instances of the device. Probably something wrong, but what? I almost thought I had
-
problem syncing ipod in windows 10
Since the upgrade to Windows 10, Apple ITunes doesn't recognize my Ipod not. What can I do?
-
Hey guys! Well, I have a USB camera connected to the computer and if I open windows Explorer I am able to see the acquired image and everything works fine. BUT if I want to use this camera in Labview (or WILL or VB) can't do. I run the MAE and there