Hi all,
We have a report that runs on a Live system every 15 minutes and usually takes between 1-2 minutes to run. From Thursday morning it started to take 40+ minutes to complete. Nothing I'm aware of has changed. Apparently this has happened before.
The user that has run this report has killed the process multiple times and restarted, but the last time he restarted was around 4pm (UK time) yesterday (Friday) and since then the report has started to take 1-2 minutes again.
Ultimately, i'd like to know why this happened and avoid it happening in the future.
My first thought is that the data wasnt in memory, but after it had run the first time it should be back in memory, unless this was being replaced every 15 minutes. Could there be other reasons why?
Server 2008 64 Bit
384GB memory
4K blocksize
We have a report that runs on a Live system every 15 minutes and usually takes between 1-2 minutes to run. From Thursday morning it started to take 40+ minutes to complete. Nothing I'm aware of has changed. Apparently this has happened before.
The user that has run this report has killed the process multiple times and restarted, but the last time he restarted was around 4pm (UK time) yesterday (Friday) and since then the report has started to take 1-2 minutes again.
Ultimately, i'd like to know why this happened and avoid it happening in the future.
My first thought is that the data wasnt in memory, but after it had run the first time it should be back in memory, unless this was being replaced every 15 minutes. Could there be other reasons why?
Code:
11:58:18 08/28/15 11:58 to 08/28/15 11:58 (10 sec)
Event Total Per Sec |Event Total Per Sec
Commits 16954 1695.4 |DB Reads 4634 463.4
Undos 346 34.6 |DB Writes 267 26.7
Record Reads 1552035 155203.5 |BI Reads 8 0.8
Record Updates 13683 1368.3 |BI Writes 2647 264.7
Record Creates 15434 1543.4 |AI Writes 2560 256.0
Record Deletes 21 2.1 |Checkpoints 0 0.0
Record Locks 76428 7642.8 |Flushed at chkpt 0 0.0
Record Waits 0 0.0 |Active trans 21
Rec Lock Waits 0 % BI Buf Waits 0 % AI Buf Waits 2 %
Writes by APW 100 % Writes by BIW 100 % Writes by AIW 0 %
DB Size: 1353 GB BI Size: 3999 MB AI Size: 58 MB
Empty blocks:20087957 Free blocks: 1137 RM chain: 94356
Buffer Hits 99 % Primary Hits 99 % Alternate Hits 0 %
301 Servers, 495 Users (36 Local, 459 Remote, 37 Batch), 1 Apws
Server 2008 64 Bit
384GB memory
4K blocksize
Code:
Shared Resources:
Busy After Image Extent: F:\ai\db.a1
Number of database buffers (-B): 15000000
Number of database alternate buffers (-B2): 0
Number of before image buffers (-bibufs): 100
Number of after image buffers (-aibufs): 100
Excess shared memory size (-Mxs): 386
Before-image truncate interval (-G): 0
No crash protection (-i): Not enabled
Maximum private buffers per user (-Bpmax): 64
Current size of locking table (-L): 35008
Locking table entries in use: 534
Locking table high water mark: 6054
Maximum number of clients per server (-Ma): 3
Max number of JTA transactions (-maxxids): 0
Delay of before-image flush (-Mf): 3
Maximum number of servers (-Mn): 331
Maximum number of users (-n): 932
Before-image file I/O (-r -R): Raw
Code:
12:17:31 08/28/15 12:17 to 08/28/15 12:17 (10 sec)
Total Per Min Per Sec Per Tx
Database Buffer Pool
Logical reads 4181994 25091964 418199.40 3113.92
Logical writes 16962 101772 1696.20 12.63
O/S reads 11239 67434 1123.90 8.37
O/S writes 331 1986 33.10 0.25
Checkpoints 0 0 0.00 0.00
Marked to checkpoint 0 0 0.00 0.00
Flushed at checkpoint 0 0 0.00 0.00
Writes deferred 12707 76242 1270.70 9.46
LRU skips 71 426 7.10 0.05
LRU writes 0 0 0.00 0.00
APW enqueues 71 426 7.10 0.05
Database buffer pool hit ratio: 99 %
Primary Buffer Pool
Logical reads 4181994 25091964 418199.40 3113.92
Logical writes 16962 101772 1696.20 12.63
O/S reads 11239 67434 1123.90 8.37
O/S writes 331 1986 33.10 0.25
Marked to checkpoint 0 0 0.00 0.00
Flushed at checkpoint 0 0 0.00 0.00
Writes deferred 12707 76242 1270.70 9.46
LRU skips 71 426 7.10 0.05
LRU writes 0 0 0.00 0.00
APW enqueues 71 426 7.10 0.05