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

nonrecoverable load during backup

What happens if a nonrecoverable load is running when an online backup
is running? What would happen to the table and data if we have to use
that backup to restore the database?

Mar 22 '06 #1
3 7003
First of all - load and backup can not run concurrently on the same
tablespaces. So if load is running the backup will have to wait (or
throw an error - not quite sure) and vice versa.
If the backup is run after the load you're fine - all the data is in
the image. If load was run after the backup the rollforward process
(which will most probaly follow a restore operation) will find the load
log records and will place the table in an unaccessible state. You will
have to redo your load after restore/rollforward (eventually you must
drop/recreate the table). To overcome this take a look at the COPY YES
option of load

HTH
Joachim

Mar 22 '06 #2
Thanks for your response. I understand the part that I will have to
reload the data that was loaded after the backup but why will I have to
drop and recreate the table? That will mean I will lose any data that
existed in the table even before this load started.

Mar 22 '06 #3
These are the drawbacks of a LOAD .. NONRECOVERABLE. A table that was
loaded that way ist not recoverable at all - even the data that existed
before load. Only when you backup the tablespace/database after the
LOAD operation you'll be able to restore the data.
I'm not sure at the moment if you'll have to drop/recreate the table in
case of a rollforward of a LOAD .. NONRECOVERABLE, but even if its not
necessary you need to use LOAD .. REPLACE to get access to the table
again (which means you will lose all the data which is already stored
in the table).
That's why I always recommend to use LOAD ... COPY YES on tables which
do already have data in it. Or not to use LOAD at all but IMPORT which
uses SQL INSERT and therefor logs everything.

Mar 23 '06 #4

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

Similar topics

0
by: rjp | last post by:
Hi, I am using a SQLServer 7 SP4 version. I have scheduled one job with the SQLServer agent which backup the log of the databases every day. The command is : "backup log base to with noinit"...
1
by: alex | last post by:
Hi ! I couldn't make backups with our new system using db2 8.2. Every time I trigger a backup I get this error message: BACKUP DATABASE EBUERO2 ONLINE TO "/raid/backup/ebuero2/part1",...
1
by: Norbert Munkel | last post by:
Hi, System: 8.1.5 UDB on SuSE Linux I created a new SMS tablespace with following ddl: CREATE REGULAR TABLESPACE ASNCTL IN DATABASE PARTITION GROUP IBMDEFAULTGROUP PAGESIZE 4096 MANAGED BY...
3
by: Franky | last post by:
IN vb.Net Class clsCommande Inherits CollectionBase and Class clsProduct clsCommand contain a IList of clsProduct
2
by: Joachim Klassen | last post by:
Hi all, Env: DB2 ESE/DPF 8.1.6 64 Bit on AIX 5.2.0 we recently had problems with an offline backup of a database with 5 partitions that fails with SQL0956 - Not enough storage in dbheap....
7
by: manobas | last post by:
I am getting -911 on online incremental or delta backup , anybody have any explanation, backups go to tsm. thanks
1
by: dbagirltx | last post by:
We have done some testing with mixed and forgotten results. So I'm hoping that asking here can clarify some issues for us. Right now we do one weekly warm backup. Throughout the week there are...
0
by: Mike Wilson | last post by:
Hi, I figured out by searching through the Registry the command to start a database: "c:\Program Files\Sybase\SQL Anywhere 9\win32\dbsrv9.exe -hvASANYs_gwsrv". I am using Seagate Backup Exec 7.2...
1
by: janman | last post by:
Is there a place in the catalog tables where I can get info about non recoverable loads performed on the tables. I use list history command to get the info about loads but it's not granular...
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
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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...

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.