473,395 Members | 2,192 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

quiesce database problem

I have a script to do this:

CONNECT TO mydb;
QUIESCE DATABASE IMMEDIATE FORCE CONNECTIONS;
CONNECT RESET;
backup database mydb to e:\sqlbackups\mydb compress;
CONNECT TO mydb;
UNQUIESCE DATABASE;
During the backup, the server ran out of disk space. We freed up
space.

The next day, we couldn't connect to the db, so it was rebooted.

When backup ran that night here's the output:

QUIESCE DATABASE IMMEDIATE FORCE CONNECTIONS
SQL1371N Instance or database "mydb" is already quiesced. Quiesce
type:
"Database".

CONNECT RESET
DB20000I The SQL command completed successfully.

backup database mydb to e:\sqlbackups\mydb compress
SQL1035N The database is currently in use. SQLSTATE=57019

CONNECT TO mydb

Database Connection Information

Database server = DB2/NT 8.2.5
SQL authorization ID =
Local database alias = mydb
UNQUIESCE DATABASE
DB20000I The UNQUIESCE DATABASE command completed successfully.

And yet, I can quiesce and unquiesce the db without any problems. Any
ideas?

Jul 31 '07 #1
1 10355
Lew
It seems that the backup failed and you never unquiesced the db after
it failed. It was still in quiesce mode. The only way to take it out
of quiesce mode is to unquiesce it or stop and start the instance.

On Jul 31, 10:19 am, bic1s...@gmail.com wrote:
I have a script to do this:

CONNECT TO mydb;
QUIESCE DATABASE IMMEDIATE FORCE CONNECTIONS;
CONNECT RESET;
backup database mydb to e:\sqlbackups\mydb compress;
CONNECT TO mydb;
UNQUIESCE DATABASE;

During the backup, the server ran out of disk space. We freed up
space.

The next day, we couldn't connect to the db, so it was rebooted.

When backup ran that night here's the output:

QUIESCE DATABASE IMMEDIATE FORCE CONNECTIONS
SQL1371N Instance or database "mydb" is already quiesced. Quiesce
type:
"Database".

CONNECT RESET
DB20000I The SQL command completed successfully.

backup database mydb to e:\sqlbackups\mydb compress
SQL1035N The database is currently in use. SQLSTATE=57019

CONNECT TO mydb

Database Connection Information

Database server = DB2/NT 8.2.5
SQL authorization ID =
Local database alias = mydb

UNQUIESCE DATABASE
DB20000I The UNQUIESCE DATABASE command completed successfully.

And yet, I can quiesce and unquiesce the db without any problems. Any
ideas?

Aug 1 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: John Mullan | last post by:
Hi I have a problem creating a backup in SQL Server 6.5. Although, the backup produced does restore ok, I want to stop this error message appearing everytime I make a backup. The error message is:...
0
by: beneisenstein | last post by:
We have a requirement for an application point in time recovery. This is basically a point before processing data that we would like to be able to rcover to. The environment is db2 v8.1 aix. We...
2
by: Robert McGregor | last post by:
Hi all, I've got a Front End / Back End database that was working just fine. One day i opened the FE to find that if I tried to open one of the linked tables from the database window, nothing...
5
by: lappy | last post by:
Hello, I have written a small programme to compact an access 97 database. Dim je As New JRO.JetEngine ' Compacts database Data.Mdb to Data2.mdb. je.CompactDatabase...
2
by: barbara_dave | last post by:
Hi, All, I have an existing access database. It can't be added more data and its size is 32mb. I wonder it is full. I use access utilities to repair and compact it, but I got error message...
16
by: Orchid | last post by:
Hello, I have a MS. Access database in XP. When I open the database in design view, users will get an error message & cannot even open the database. Is there any way to solve this problem? ...
0
by: richard | last post by:
OS: Winxp and Win2003 Visual Basic.NET 2003 MS-SQL Server 2000 hey all I am a newbie in vb.net but i have managed to build a simple chat server in vb.net using socket and a client connecting...
2
by: M.A. Oude Kotte | last post by:
Hi All, I'm unsure if this is the correct mailinglist for my question. I have a problem with CREATE DATABASE, but as the docs state that officially this is not an SQL statement, I was unsure if...
3
by: ATXTech | last post by:
I am using a Access created database with a program I wrote in C# to create and track helpdesk tickets. I store basic stuff like customer name, number, issue, tech assigned, etc. with in the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.