473,379 Members | 1,255 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,379 software developers and data experts.

SQL Warning: SQL1271W Database is recovered but...

Hi all,

I has experienced a backup/restored problem and need some help. After
mydb is restored and roll-forwarded, I received this message:

SQL1271W Database "mydb" is recovered but one or more table spaces
are off-line on node(s) "0".

While most of the tablespaces were recovered, but some were off-line.
Strangely, if I would restored this same database without rolling
forward, then all tablespaces were recovered without any warnings.

Can anyone tell me what causes this type of SQL warning?

T.C. Sheng

P.S. DB2 V8 on AIX running archive log mode
Nov 12 '05 #1
6 8186
Did you look at basic error information ("db2 ? sql1271w")? According
to that, and this seems consistent with your description, you may have had
some errors during the rollforward, which offlined some tablespaces.

In that case, it should not seem strange that restore *without rolling
forward*
would not report similar problems...but of course one must be aware that
the database in this case is not "recovered" to its most recent consistent
state.

Regards,
-steve p.
-------------------
Steve Pearson
DB2 UDB Development
Portland, OR, USA
"T.C. Sheng" <TC*****@SYSVIEW.COM.TW> wrote in message
news:85**************************@posting.google.c om...
Hi all,

I has experienced a backup/restored problem and need some help. After
mydb is restored and roll-forwarded, I received this message:

SQL1271W Database "mydb" is recovered but one or more table spaces
are off-line on node(s) "0".

While most of the tablespaces were recovered, but some were off-line.
Strangely, if I would restored this same database without rolling
forward, then all tablespaces were recovered without any warnings.

Can anyone tell me what causes this type of SQL warning?

T.C. Sheng

P.S. DB2 V8 on AIX running archive log mode

Nov 12 '05 #2
Did you look at basic error information ("db2 ? sql1271w")? According
to that, and this seems consistent with your description, you may have had
some errors during the rollforward, which offlined some tablespaces.

In that case, it should not seem strange that restore *without rolling
forward*
would not report similar problems...but of course one must be aware that
the database in this case is not "recovered" to its most recent consistent
state.

Regards,
-steve p.
-------------------
Steve Pearson
DB2 UDB Development
Portland, OR, USA
"T.C. Sheng" <TC*****@SYSVIEW.COM.TW> wrote in message
news:85**************************@posting.google.c om...
Hi all,

I has experienced a backup/restored problem and need some help. After
mydb is restored and roll-forwarded, I received this message:

SQL1271W Database "mydb" is recovered but one or more table spaces
are off-line on node(s) "0".

While most of the tablespaces were recovered, but some were off-line.
Strangely, if I would restored this same database without rolling
forward, then all tablespaces were recovered without any warnings.

Can anyone tell me what causes this type of SQL warning?

T.C. Sheng

P.S. DB2 V8 on AIX running archive log mode

Nov 12 '05 #3
Thanks Steve.

Do you know what is causing this kind of problem? I attempted to
restore the same database with rolling foward, again. The result was
identical to the previous attempt, those same tablespaces were still
offline.

Regards,

T.C. Sheng

"Steve Pearson" <st*******@my-deja.com> wrote in message news:<c7**********@hanover.torolab.ibm.com>...
Did you look at basic error information ("db2 ? sql1271w")? According
to that, and this seems consistent with your description, you may have had
some errors during the rollforward, which offlined some tablespaces.

In that case, it should not seem strange that restore *without rolling
forward*
would not report similar problems...but of course one must be aware that
the database in this case is not "recovered" to its most recent consistent
state.

Regards,
-steve p.
-------------------
Steve Pearson
DB2 UDB Development
Portland, OR, USA
"T.C. Sheng" <TC*****@SYSVIEW.COM.TW> wrote in message
news:85**************************@posting.google.c om...
Hi all,

I has experienced a backup/restored problem and need some help. After
mydb is restored and roll-forwarded, I received this message:

SQL1271W Database "mydb" is recovered but one or more table spaces
are off-line on node(s) "0".

While most of the tablespaces were recovered, but some were off-line.
Strangely, if I would restored this same database without rolling
forward, then all tablespaces were recovered without any warnings.

Can anyone tell me what causes this type of SQL warning?

T.C. Sheng

P.S. DB2 V8 on AIX running archive log mode

Nov 12 '05 #4
Thanks Steve.

Do you know what is causing this kind of problem? I attempted to
restore the same database with rolling foward, again. The result was
identical to the previous attempt, those same tablespaces were still
offline.

Regards,

T.C. Sheng

"Steve Pearson" <st*******@my-deja.com> wrote in message news:<c7**********@hanover.torolab.ibm.com>...
Did you look at basic error information ("db2 ? sql1271w")? According
to that, and this seems consistent with your description, you may have had
some errors during the rollforward, which offlined some tablespaces.

In that case, it should not seem strange that restore *without rolling
forward*
would not report similar problems...but of course one must be aware that
the database in this case is not "recovered" to its most recent consistent
state.

Regards,
-steve p.
-------------------
Steve Pearson
DB2 UDB Development
Portland, OR, USA
"T.C. Sheng" <TC*****@SYSVIEW.COM.TW> wrote in message
news:85**************************@posting.google.c om...
Hi all,

I has experienced a backup/restored problem and need some help. After
mydb is restored and roll-forwarded, I received this message:

SQL1271W Database "mydb" is recovered but one or more table spaces
are off-line on node(s) "0".

While most of the tablespaces were recovered, but some were off-line.
Strangely, if I would restored this same database without rolling
forward, then all tablespaces were recovered without any warnings.

Can anyone tell me what causes this type of SQL warning?

T.C. Sheng

P.S. DB2 V8 on AIX running archive log mode

Nov 12 '05 #5
I'm not exactly an expert on this area, but...

I would expect repeatable behavior on this. The tablespaces
are likely being marked offline due to the replay of some log record
and each time you try to rollforward through that you will likely
get the same result. I expect there may be some messaging in
the admin log or db2diag.log concerning this.

I don't know what all kinds of operations may have this effect, but
I believe that one example is if one performs a non-logged LOAD
operation and during the recovery there is not a "load copy" file
available to the rollforward, it will mark the tablespace offline.
(Because the load data is not available and was not logged, the
rollforward cannot correctly recovery the tablespace.) I believe
there should be info in the docs about how to repair a tablespace
after such an occurrence if this was the cause.

I expect there are other possible reasons too, but I don't know
any specific details concerning them.

Regards,
-steve p.
-------------------
Steve Pearson
DB2 UDB Development
Portland, OR, USA
"T.C. Sheng" <TC*****@SYSVIEW.COM.TW> wrote in message
news:85**************************@posting.google.c om...
Thanks Steve.

Do you know what is causing this kind of problem? I attempted to
restore the same database with rolling foward, again. The result was
identical to the previous attempt, those same tablespaces were still
offline.

Regards,

T.C. Sheng

"Steve Pearson" <st*******@my-deja.com> wrote in message

news:<c7**********@hanover.torolab.ibm.com>...
Did you look at basic error information ("db2 ? sql1271w")? According
to that, and this seems consistent with your description, you may have had some errors during the rollforward, which offlined some tablespaces.

In that case, it should not seem strange that restore *without rolling
forward*
would not report similar problems...but of course one must be aware that
the database in this case is not "recovered" to its most recent consistent state.

Regards,
-steve p.
-------------------
Steve Pearson
DB2 UDB Development
Portland, OR, USA
"T.C. Sheng" <TC*****@SYSVIEW.COM.TW> wrote in message
news:85**************************@posting.google.c om...
Hi all,

I has experienced a backup/restored problem and need some help. After
mydb is restored and roll-forwarded, I received this message:

SQL1271W Database "mydb" is recovered but one or more table spaces
are off-line on node(s) "0".

While most of the tablespaces were recovered, but some were off-line.
Strangely, if I would restored this same database without rolling
forward, then all tablespaces were recovered without any warnings.

Can anyone tell me what causes this type of SQL warning?

T.C. Sheng

P.S. DB2 V8 on AIX running archive log mode

Nov 12 '05 #6
I'm not exactly an expert on this area, but...

I would expect repeatable behavior on this. The tablespaces
are likely being marked offline due to the replay of some log record
and each time you try to rollforward through that you will likely
get the same result. I expect there may be some messaging in
the admin log or db2diag.log concerning this.

I don't know what all kinds of operations may have this effect, but
I believe that one example is if one performs a non-logged LOAD
operation and during the recovery there is not a "load copy" file
available to the rollforward, it will mark the tablespace offline.
(Because the load data is not available and was not logged, the
rollforward cannot correctly recovery the tablespace.) I believe
there should be info in the docs about how to repair a tablespace
after such an occurrence if this was the cause.

I expect there are other possible reasons too, but I don't know
any specific details concerning them.

Regards,
-steve p.
-------------------
Steve Pearson
DB2 UDB Development
Portland, OR, USA
"T.C. Sheng" <TC*****@SYSVIEW.COM.TW> wrote in message
news:85**************************@posting.google.c om...
Thanks Steve.

Do you know what is causing this kind of problem? I attempted to
restore the same database with rolling foward, again. The result was
identical to the previous attempt, those same tablespaces were still
offline.

Regards,

T.C. Sheng

"Steve Pearson" <st*******@my-deja.com> wrote in message

news:<c7**********@hanover.torolab.ibm.com>...
Did you look at basic error information ("db2 ? sql1271w")? According
to that, and this seems consistent with your description, you may have had some errors during the rollforward, which offlined some tablespaces.

In that case, it should not seem strange that restore *without rolling
forward*
would not report similar problems...but of course one must be aware that
the database in this case is not "recovered" to its most recent consistent state.

Regards,
-steve p.
-------------------
Steve Pearson
DB2 UDB Development
Portland, OR, USA
"T.C. Sheng" <TC*****@SYSVIEW.COM.TW> wrote in message
news:85**************************@posting.google.c om...
Hi all,

I has experienced a backup/restored problem and need some help. After
mydb is restored and roll-forwarded, I received this message:

SQL1271W Database "mydb" is recovered but one or more table spaces
are off-line on node(s) "0".

While most of the tablespaces were recovered, but some were off-line.
Strangely, if I would restored this same database without rolling
forward, then all tablespaces were recovered without any warnings.

Can anyone tell me what causes this type of SQL warning?

T.C. Sheng

P.S. DB2 V8 on AIX running archive log mode

Nov 12 '05 #7

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

Similar topics

2
by: Jens Kalkbrenner | last post by:
MS SQL-Server 7.0 Bypassing recovery for database 'EfW_765' because it is marked IN LOAD. What does this mean? Our customer is backing up is maindatabase and is recovering it to this database for...
2
by: mediodia | last post by:
Im trying to recover my database using the mdf and ldf files. I dont have any backup and i have recovered two of the mdf files using a tool which "discovers" deleted files after hard drive...
3
by: andyjgw | last post by:
Hi I was in the situation of cloning a SQL server database last night. Today, a dependent application was behaving a little erratically though most things were fine after sorting out some ntfs...
0
by: T.C. Sheng | last post by:
Hi all, I has experienced a backup/restored problem and need some help. After mydb is restored and roll-forwarded, I received this message: SQL1271W Database "mydb" is recovered but one or...
7
by: llothar | last post by:
When i use -W4 on visual c 7.0 i get warning C4054 translator1.c(1703) : warning C4054: 'type cast' : from function pointer 'void * (__cdecl *)(se_agent *)' to data pointer 'void *'...
0
by: okonita | last post by:
Hi all, I am running a recover tocopy procedure and twice with different image copy I found this informational message AND no data recovered: DSNUCBAL - THE IMAGE COPY DATA SET...
0
by: Okonita | last post by:
Hi all, I am running a recover tocopy procedure and twice with different image copy I found this informational message AND no data recovered: DSNUCBAL - THE IMAGE COPY DATA SET...
0
by: Lexxzy | last post by:
Hi to all, I've a problem about to attach a recovered database file in the enterprise manager. My problem goes this way, I want to attach a recovered database file. So when I followed this...
0
by: Albert | last post by:
Hi, i want to send the recovered password using Maildefinition. But i don't find any "password" to add to the control PasswordRecovery1 as body of the email. It works but only the username is in...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...

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.