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

Backup database vs. Backup database at TS-level time differences

Folks -

DB21085I Instance "db2inst1" uses "32" bits and DB2 code release
"SQL08022"
with level identifier "03030106".
Informational tokens are "DB2 v8.1.2.88", "s050422", "MI00117", and
FixPak "9".
Product is installed at "/opt/IBM/db2/V8.FP9".

Red Hat AS 4 / fastT700 San 4400

We're experiencing 'interesting' differences in backup times when we
backup the database (76gb) at the database-level vs. backing-up at the
tablespace level.

What happening is that when we did a full offline backup of the
database 'backup database xyz' it stalls at about 96% (according to
'db2 list utilities')...finally it finishes after 1 hr 20 minutes. I
then backed-up the database tablespace-by-tablespace and found that
when we hit a 32k tablespace with 30,000 pages it took 17 minutes or
about 30 pages/second. 4k tablespaces are being backed-up at anywhere
from 2,000 to 5,000 pages per second.

Its interesting because when we run the backup, TOP shows that we go
to 99.9% CPU:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
32343 db2inst1 25 0 737m 47m 40m R 99.9 1.2 13:27.68 db2sysc
[db2inst1@dbps01 ~]$ db2 list utilities

ID = 18
Type = BACKUP
Database Name = PSFTPROD
Partition Number = 0
Description = offline tablespace PRODDTAT4K...
Start Time = 02/20/2007 07:18:34.115435
Throttling:
Priority = Unthrottled
Progress Monitoring:
Estimated Percentage Complete = 22

Why would DB2 peg at 99.9% CPU?
When DB2 backs-up at the database-level in which tablespace-order are
the tablespaces backed-up?
Why would DB2 struggle with a 32k page?

Yes we've looked at the SAN configuration, RHat knobs, Network, etc.
but it doesn't make sense that a 32k page could cause such a problem
(IMHO).

Has anybody else seen anything like this and if so what was your
solution?

Thanks,

-B

Feb 20 '07 #1
1 2665
prm
Please provide the exact commands issued to backup the database and the
tablespaces.

Paul

<bw********@yahoo.comwrote in message
news:11*********************@v45g2000cwv.googlegro ups.com...
Folks -

DB21085I Instance "db2inst1" uses "32" bits and DB2 code release
"SQL08022"
with level identifier "03030106".
Informational tokens are "DB2 v8.1.2.88", "s050422", "MI00117", and
FixPak "9".
Product is installed at "/opt/IBM/db2/V8.FP9".

Red Hat AS 4 / fastT700 San 4400

We're experiencing 'interesting' differences in backup times when we
backup the database (76gb) at the database-level vs. backing-up at the
tablespace level.

What happening is that when we did a full offline backup of the
database 'backup database xyz' it stalls at about 96% (according to
'db2 list utilities')...finally it finishes after 1 hr 20 minutes. I
then backed-up the database tablespace-by-tablespace and found that
when we hit a 32k tablespace with 30,000 pages it took 17 minutes or
about 30 pages/second. 4k tablespaces are being backed-up at anywhere
from 2,000 to 5,000 pages per second.

Its interesting because when we run the backup, TOP shows that we go
to 99.9% CPU:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
32343 db2inst1 25 0 737m 47m 40m R 99.9 1.2 13:27.68 db2sysc
[db2inst1@dbps01 ~]$ db2 list utilities

ID = 18
Type = BACKUP
Database Name = PSFTPROD
Partition Number = 0
Description = offline tablespace PRODDTAT4K...
Start Time = 02/20/2007 07:18:34.115435
Throttling:
Priority = Unthrottled
Progress Monitoring:
Estimated Percentage Complete = 22

Why would DB2 peg at 99.9% CPU?
When DB2 backs-up at the database-level in which tablespace-order are
the tablespaces backed-up?
Why would DB2 struggle with a 32k page?

Yes we've looked at the SAN configuration, RHat knobs, Network, etc.
but it doesn't make sense that a 32k page could cause such a problem
(IMHO).

Has anybody else seen anything like this and if so what was your
solution?

Thanks,

-B

Feb 20 '07 #2

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

Similar topics

3
by: James | last post by:
HI, I'm looking for a script that will allow users/admins to have a one click backup solution for a MYSQL Database.. 'BACK DATABASE' button, click and its done... The a restore option, that...
3
by: Cristina | last post by:
Hallo i am a beginner into Oracle Technologies.I would like to make backup of my database,but i dont know how.Is there tools?Can i schedule the backup plan? thanks Cristina
2
by: jwbeaty | last post by:
Here's a weird one. I'm running SQL Server 7 and when I run a backup something weird happens. When I perform the backup via Enterprise Manager by right clicking on the database I want to...
3
by: Tim Morrison | last post by:
MSDE2000 I have an application in which I am running a TSQL command of BACKUP DATABASE and RESTORE DATABASE for the backup and restore commands for my application. For testing purposes, i did the...
2
by: nt | last post by:
I am having a problem with a regular backup of an SQL Server (MSDE 2000) database to a local drive. I initiate the backup once a week, by issuing the required T-SQL, via ADO. In this case, the...
2
by: Matt | last post by:
I run SQL Server 2000 and use thier database maintenance plans to backup my databases. My questions is what happens if a change is being made to a database table while a backup is running? Should I...
4
by: uthuras | last post by:
Hi all, I have DB2ESE version 8.1 with FP 4 on AIX 5.2. My database used to be 1.1TB. When the DB size is 1.1TB, it takes approximately 7 hours to backup the entire database (online backup). The...
6
by: Frank Fiene | last post by:
How does this work? I have one database SBO_DB (SAP BusinessOne) I want to copy tablespace TS_SEW_ACCESS_DEMO to TS_TEST2. The directory of the database is: F:\DB2\NODE0000\SQL00002 Please...
2
by: m19peters | last post by:
We have a script that I had to rework a little bit for 2005 that does a full backup for every database on the server... For some reason on some nights the script does not backup all databases......
5
by: Roger | last post by:
backup log testdb with truncate_only DBCC SHRINKFILE (testdb_log, 100) WITH NO_INFOMSGS backup database testdb to disk = '\\DC01\Backups\DB01\testdb.bak' with init and does the shrinkfile...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.