Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Hi - posted this to CDI but thought I'd double up in case it didn't appear
here...
IDS9.31HC5, HP-UX11i (PA-RISC) on an HP system container running under
Itanium
We're getting our level 0 archives slowing down by a factor 4 or so once
the container has been running for a few days. We do an L0 every night
which usually takes about 2 hours or so but it tends to go slow after a
couple of days, taking 5 hours and maybe more.
What we're noticed is that the initial phase to collect the system info
from sysmaster usually takes a few minutes but will start taking over an
hour. This is the SQL it's running:
Informix Dynamic Server Version 9.30.HC5 -- On-Line -- Up 4 days
03:17:27 --
382864 Kbytes
Sess SQL Current Iso Lock SQL ISAM F.E.
Id Stmt type Database Lvl Mode ERR ERR Vers
12791 SELECT sysmaster CR Wait 300 0 0 9.03
Current SQL statement :
select ( sum ( chksize - nfree ) ) from sysdbspaces , syschunks where
sysdbspaces . dbsnum = syschunks . dbsnum and name = ?
Last parsed SQL statement :
select ( sum ( chksize - nfree ) ) from sysdbspaces , syschunks where
sysdbspaces . dbsnum = syschunks . dbsnum and name = ?
We're up to 3.8 million reads on that session in the current L0.
I've looked at whether it's arc_very_old_pages and none of the usual
suspect indicators are there in onstat -g ath or onstat -g stk. We haven't
got CCFLAGS=0x400000, should we?
We find that if we restart the container, it goes back to normal timings
for a couple of days and then does it again. Any clues chaps?
<edit after response from Mark Scranton>
A bit more info - we have some crons that run every hour or so checking how
much space is free in the chunks, blobspaces and tempdbs so we can issue
DBA alerts and these also slow down drastically - they are all variations
of the form:
dbaccess sysmaster <<EOF> /dev/null 2>&1
output to "${RESFILES}/dbspacefree.tmp" without headings
select name[1,30], sum(nfree) from sysdbspaces d, syschunks c
where d.dbsnum = c.dbsnum
and is_blobspace = 0
and is_sbspace = 0
group by 1
EOF
I did another instance restart this evening and it definitely cleared the
problem once again.
It would seem sysmaster is misbehaving but for the life of me I can't see
why. As I recall, UPDATE STATISTICS is not useful or necessary on sysmaster
as it's basically just views into shared memory?
--001a11c2241840943a0504790cff
>> We find that if we restart the container, it goes back to normal timings
>> for a couple of days and then does it again. Any clues chaps?
Probably a resource allocation issue related to virtualization given that the
problem clears up with a container restart.
Mark
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.