Re: failed to backup logical logs
Posted in 2000
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Ensure the onconfig parameters LTAPEDEV, LTAPEBLK and LTAPESIZE
<br>are set then run <i>ontape -a </i>from the Informix shell from the
NT server hosting
<br>the Informix instance.
<br>This will archive the contents of the logs allowing you to finish your
import. The
<br>parameters listed above can be set while the instance is up -- you
do not need
<br>to recycle the engine.
<p>have a nice day.
<p>vanloon wrote:
<blockquote TYPE=CITE>Dear IDS users,
<p>Recently I installed IDS 7.31 on Windows NT 4.0 SP 5 .
<br>I am able to create a database; next I tried with DBimport to load
<br>databases.
<br>Soon the logical logfiles are full and therefore the server is blocked
<br>during taking a checkpoint.
<br>I tried to backup the logical log with "onbar -l". This command seems
to
<br>fail.
<br>Still the logical logs are not freed and the server stays blocked.
<br>How can I free the logical logs and what is wrong with my "onbar" command?
<p>Thanks
<p>vanloon@wxs.nl
<p>< onstat -a>
<p>Informix Dynamic Server Version 7.31.TC4 -- On-Line
(CKPT REQ) -- Up
<br>06:11:32 -- 9536 Kbytes
<br>Blocked:CKPT
<p>18:17:02 Informix Dynamic Server Version 7.31.TC4
Software Serial Number
<br>AAC#J810402
<br>18:17:04 Informix Dynamic Server Initialized -- Shared Memory
Initialized.
<br>18:17:04 Physical Recovery Started.
<br>18:17:04 Physical Recovery Complete: 3 Pages Restored.
<br>18:17:04 Logical Recovery Started.
<br>18:17:07 Logical Recovery Complete.
<br> 0 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks
<p>18:17:08 Dataskip is now OFF for all dbspaces
<br>18:17:08 Init operation complete - Mode Online
<br>18:17:08 On-Line Mode
<br>18:17:19 Logical Log Files are Full -- Backup is Needed
<p>Physical Logging
<br>Buffer bufused bufsize numpages numwrits pages/io
<br> P-1 0 8
0 0
0.00
<br> phybegin physize phypos
phyused %used
<br> 10003f 500
27 0
0.00
<p>Logical Logging
<br>Buffer bufused bufsize numrecs numpages numwrits
recs/pages pages/io
<br> L-1 1 8
1 1
1 1.0
1.0
<br> Subsystem numrecs Log Space used
<br> OLDRSAM 1
32
<p>Buffer Waiting
<br>Buffer ioproc flags
<br> L-1 c19a018 0x1
0
<p>address number flags uniqid
begin size
used %used
<br>c039be4 1 U------
1 100233
125 125 100.00
<br>c039c00 2 U------
2 1002b0
125 125 100.00
<br>c039c1c 3 U------
3 10032d
125 125 100.00
<br>c039c38 4 U------
4 1003aa
125 125 100.00
<br>c039c54 5 U------
5 100427
125 125 100.00
<br>c039c70 6 U------
6 1004a4
125 125 100.00
<br>c039c8c 7 U------
7 100521
125 125 100.00
<br>c039ca8 8 U------
8 10059e
125 125 100.00
<br>c039cc4 9 U------
9 10061b
125 40 32.00
<br>c039ce0 10 U---C-L
10 100698
125 125 100.00
<p>Profile
<br>dskreads pagreads bufreads %cached dskwrits pagwrits bufwrits %cached
<br>20 24
200 90.00 6
6 5
0.00
<br>isamtot open start
read write rewrite delete
commit
<br>rollbk
<br>26 6
8 6
0 0
0 0
0
<br>gp_read gp_write gp_rewrt gp_del gp_alloc gp_free
gp_curs
<br>0 0
0 0
0 0
0
<br>ovlock ovuserthread ovbuff usercpu syscpu
numckpts flushes
<br>0 0
0 3.90
1.07 0
2
<br>bufwaits lokwaits lockreqs deadlks&n