Problems with oncheck in IDS 7.23
Posted in 1999
Topics: Logging & Checkpoints, Platform-Specific Issues, Versions, Editions & End-of-Life
Hello everybody
I'm running IDS 7.23 UC6, under AIX 4.2.1
We decided to do a complete oncheck of the database during the night. There is
no other process running at the same time. We noticed that the checkpoint
interval became extremely high during the oncheck activity, and we don't know
why. Could this be a bug from Informix ?? Did anybody have the same problem ??
Our message log is listed above.
Mon May 3 00:02:41 1999
00:02:41 Checkpoint Completed: duration was 0 seconds.
00:17:41 Checkpoint Completed: duration was 0 seconds.
00:32:41 Checkpoint Completed: duration was 0 seconds.
00:47:42 Checkpoint Completed: duration was 0 seconds.
01:02:42 Checkpoint Completed: duration was 0 seconds.
01:17:42 Checkpoint Completed: duration was 0 seconds.
01:32:42 Checkpoint Completed: duration was 0 seconds.
01:47:42 Checkpoint Completed: duration was 0 seconds.
***ONCHECK STARTS HERE !!!***
02:02:42 Checkpoint Completed: duration was 0 seconds.
02:07:43 Checkpoint Completed: duration was 0 seconds.
02:12:43 Checkpoint Completed: duration was 1 seconds.
02:17:44 Checkpoint Completed: duration was 0 seconds.
02:22:44 Checkpoint Completed: duration was 0 seconds.
02:27:44 Checkpoint Completed: duration was 0 seconds.
02:32:44 Checkpoint Completed: duration was 0 seconds.
02:37:44 Checkpoint Completed: duration was 0 seconds.
02:42:45 Checkpoint Completed: duration was 0 seconds.
02:47:46 Checkpoint Completed: duration was 0 seconds.
02:52:46 Checkpoint Completed: duration was 0 seconds.
02:57:49 Checkpoint Completed: duration was 3 seconds.
03:02:49 Checkpoint Completed: duration was 0 seconds.
03:07:49 Checkpoint Completed: duration was 0 seconds.
03:12:49 Checkpoint Completed: duration was 0 seconds.
03:17:49 Checkpoint Completed: duration was 0 seconds.
03:22:49 Checkpoint Completed: duration was 0 seconds.
03:32:26 Checkpoint Completed: duration was 277 seconds.
03:37:26 Checkpoint Completed: duration was 0 seconds.
03:42:26 Checkpoint Completed: duration was 0 seconds.
03:47:26 Checkpoint Completed: duration was 0 seconds.
03:56:04 Checkpoint Completed: duration was 218 seconds.
04:03:33 Checkpoint Completed: duration was 149 seconds.
04:08:34 Checkpoint Completed: duration was 0 seconds.
04:13:34 Checkpoint Completed: duration was 0 seconds.
04:20:28 Checkpoint Completed: duration was 112 seconds.
04:25:28 Checkpoint Completed: duration was 0 seconds.
04:30:28 Checkpoint Completed: duration was 0 seconds.
04:35:28 Checkpoint Completed: duration was 0 seconds.
04:48:11 Checkpoint Completed: duration was 163 seconds.
04:53:11 Checkpoint Completed: duration was 0 seconds.
05:00:31 Checkpoint Completed: duration was 140 seconds.
05:07:33 Checkpoint Completed: duration was 122 seconds.
05:12:33 Checkpoint Completed: duration was 0 seconds.
05:17:34 Checkpoint Completed: duration was 0 seconds.
05:22:34 Checkpoint Completed: duration was 0 seconds.
***ONCHECK FINISHES HERE !!!
05:32:33 Checkpoint Completed: duration was 0 seconds.
05:47:34 Checkpoint Completed: duration was 0 seconds.
06:02:34 Checkpoint Completed: duration was 0 seconds.
06:17:34 Checkpoint Completed: duration was 0 seconds.
06:32:34 Checkpoint Completed: duration was 0 seconds.
06:47:34 Checkpoint Completed: duration was 0 seconds.
07:02:35 Checkpoint Completed: duration was 0 seconds.
07:07:35 Checkpoint Completed: duration was 0 seconds.
07:17:34 Checkpoint Completed: duration was 0 seconds.
07:32:34 Checkpoint Completed: duration was 0 seconds.
07:42:35 Checkpoint Completed: duration was 0 seconds.
07:47:35 Checkpoint Completed: duration was 0 seconds.
07:52:35 Checkpoint Completed: duration was 0 seconds.
07:57:36 Checkpoint Completed: duration was 1 seconds.
08:02:37 Checkpoint Completed: duration was 1 seconds.
08:07:38 Checkpoint Completed: duration was 0 seconds.
08:09:51 Logical Log 24113 Complete.
08:09:52 Process exited with return code 255: /bin/sh /bin/sh -c/usr/informix/etc/log_full.sh 2 23 "Logical Log 24113 Complete." "Logical Log
24113 Complete."
08:09:55 Logical Log 24113 - Backup Started
08:09:56 Logical Log 24113 - Backup Completed
Another problem that we noticed is that if we start oncheck on indexes by
using only the database name, the process stops at the first table. We had to
change the script to start oncheck on the tables one by one. Instead of using
"oncheck -cI <database>", we had to alter the script to "oncheck -cI
<database>:<table1>;oncheck -cI <database>:<table2>;" and so on...
Thanks in advance for your help....
--
Paulo Roberto Marelli de Amorim
TS&0 Consulting
Brasil
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Paulo Amorim wrote:
>
> Hello everybody
>
> I´m running IDS 7.23 UC6, under AIX 4.2.1
>
> We decided to do a complete oncheck of the database during the night. There is
> no other process running at the same time. We noticed that the checkpoint
> interval became extremely high during the oncheck activity, and we don´t know
> why. Could this be a bug from Informix ?? Did anybody have the same problem ??
If you do not have DBSPACETEMP set or it is set to regular dbspaces,
rather than temp dbspaces, and you do not set PSORT_DBTEMP then the
temp files and sort-work files that oncheck creates will be created in
logged dbspaces which will cause greater activity at checkpoint time
and may cause the physical log to fill which will force checkpoints
more frequently. Try setting PSORT_DBTEMP to a list of AT LEAST 3
filesystems (NOT DBSPACES) so that all sort-work files are created in
filesystem space and do not impact the engine.
Art S. Kagel