Re: [Info-Ingres] Are incrementally recovered databases single user? -
09-28-2010
, 08:30 AM
I tried it and I think it's actually the first that's failing. Try
putting a "sleep 1" between the infodb and the first sql. I've seen this
before - a slight delay after a dmfjsp process (ckpdb, infodb etc) has
finished and releasing the database lock.
From: info-ingres-bounces (AT) kettleriver...ting (DOT) com
[mailto:info-ingres-bounces (AT) kettleriverconsulting (DOT) com] On Behalf Of
Martin Bowes
Sent: 28 September 2010 13:35
To: Ingres and related product discussion forum
Subject: [Info-Ingres] Are incrementally recovered databases single
user?
Hi All,
I have a database which I'm keeping incrementally recovered to a host
running II 9.2.1 (a64.lnx/103)NPTL +patch 13869.
I have found that the database will accept a single connection only. Is
that intended? It doesn't seem right to me.
Try this....
createdb bowtest
ckpdb -v +j bowtest
rollforwarddb bowtest +c -j -incremental -norollback
infodb bowtest | grep Status
sql bowtest &
sql bowtest
The second connection will fail with error:
E_US002E An error occurred in trying to get a lock while opening a
database.
Martin Bowes |