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

Backup db to TSM only use one session

Greetings,

We have DB2 V 8.1 with FP 4 on AIX 5.2. Our database backup is done
using TSM v
4.1.2. However, we notice TSM make use of only one session even though
we defined 4 sessions for backup. Here is the command

db2 "backup db $dbname online use tsm open 4 sessions with 8 buffers
buffer 3072 parallelism 6"

How do we enable the 4 sessions ? Is there any parameters need to set?

Please help!!!

Thanks

Uthuras
Nov 12 '05 #1
6 9730
Ian
Uthuras wrote:
Greetings,

We have DB2 V 8.1 with FP 4 on AIX 5.2. Our database backup is done
using TSM v
4.1.2. However, we notice TSM make use of only one session even though
we defined 4 sessions for backup. Here is the command

db2 "backup db $dbname online use tsm open 4 sessions with 8 buffers
buffer 3072 parallelism 6"

How do we enable the 4 sessions ? Is there any parameters need to set?


That is the correct way. Are you sure you only have 1 session connected
to the TSM server? During the first minute or two of the backup, you
will normally see only one session, and then the others sessions will
connect and start sending data.
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Nov 12 '05 #2
Hi Ian,

in fact, the session never get started even after hour. Another thing
that
i notice that the backup machanism using TSM seem to be very slow. I'm
not sure whether it is due TSM or my configuration on buffer size.

Sometime back i noticed a post on calculating the buffer size for
backup. I used the following to calculate the buffer size

I have about 77 table spaces. 15 table spaces use 32 Extent size and
the rest
of 62 table spaces uses 8 Extent size. The total extent for entire
database
is 976.

This is how i assign buffer size for 8 buffer

976 * 4096 = 3997696
3997696 * 8 = 31+ MB

So, i intend to modify the backup script as

db2 "backup db $dbname online use tsm open 4 sessions with 8 buffers
buffer 7808 parallelism 6"

As you can see my number of pages has been increased. I just wondering
whether
this would help me out speeding off backup process. Is there any other
method
or formula that i could use to optimize the backup process??

Please advice!!

Thanks
Uthuras
Ian <ia*****@mobileaudio.com> wrote in message news:<41**********@corp.newsgroups.com>...
Uthuras wrote:
Greetings,

We have DB2 V 8.1 with FP 4 on AIX 5.2. Our database backup is done
using TSM v
4.1.2. However, we notice TSM make use of only one session even though
we defined 4 sessions for backup. Here is the command

db2 "backup db $dbname online use tsm open 4 sessions with 8 buffers
buffer 3072 parallelism 6"

How do we enable the 4 sessions ? Is there any parameters need to set?


That is the correct way. Are you sure you only have 1 session connected
to the TSM server? During the first minute or two of the backup, you
will normally see only one session, and then the others sessions will
connect and start sending data.
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----

Nov 12 '05 #3
Have you set the maximum number of mountpoints for your TSM node to
(at least)4 ? IIRC the TSM node attribute is MAXNUMMP

HTH
Joachim

ut*****@hotmail.com (Uthuras) wrote in message news:<2e**************************@posting.google. com>...
Greetings,

We have DB2 V 8.1 with FP 4 on AIX 5.2. Our database backup is done
using TSM v
4.1.2. However, we notice TSM make use of only one session even though
we defined 4 sessions for backup. Here is the command

db2 "backup db $dbname online use tsm open 4 sessions with 8 buffers
buffer 3072 parallelism 6"

How do we enable the 4 sessions ? Is there any parameters need to set?

Please help!!!

Thanks

Uthuras

Nov 12 '05 #4
Hi,

MAXNUMMP indeed set to 4. But why when backup running only one session
active while the reset 3 waiting idle. Is there any other setting need to
be set??

Thanks
Uthuras
Jo*******@email.com (Joachim Klassen) wrote in message news:<b5**************************@posting.google. com>...
Have you set the maximum number of mountpoints for your TSM node to
(at least)4 ? IIRC the TSM node attribute is MAXNUMMP

HTH
Joachim

ut*****@hotmail.com (Uthuras) wrote in message news:<2e**************************@posting.google. com>...
Greetings,

We have DB2 V 8.1 with FP 4 on AIX 5.2. Our database backup is done
using TSM v
4.1.2. However, we notice TSM make use of only one session even though
we defined 4 sessions for backup. Here is the command

db2 "backup db $dbname online use tsm open 4 sessions with 8 buffers
buffer 3072 parallelism 6"

How do we enable the 4 sessions ? Is there any parameters need to set?

Please help!!!

Thanks

Uthuras

Nov 12 '05 #5
Check the TSM target storage group to ensure that COLLOCATION is not
enabled. This will only affect tape pools the result is that only 1 tape
will by used for each TSM Node, which in your case will be the DB2 server.
I have found that using a buffer size greater than 4097 does not help
performance much, and since you are sending the data over the network to a
TSM server you are better off using a smaller buffer size and increasing the
number of buffers. Do you see the other 3 sessions being started on the TSM
Server?
TSM 4.1 is VERY old code, I would recommend you upgrade to at least TSM 5.1
Hope this helps

Dale McInnis

"Uthuras" <ut*****@hotmail.com> wrote in message
news:2e**************************@posting.google.c om...
Hi Ian,

in fact, the session never get started even after hour. Another thing
that
i notice that the backup machanism using TSM seem to be very slow. I'm
not sure whether it is due TSM or my configuration on buffer size.

Sometime back i noticed a post on calculating the buffer size for
backup. I used the following to calculate the buffer size

I have about 77 table spaces. 15 table spaces use 32 Extent size and
the rest
of 62 table spaces uses 8 Extent size. The total extent for entire
database
is 976.

This is how i assign buffer size for 8 buffer

976 * 4096 = 3997696
3997696 * 8 = 31+ MB

So, i intend to modify the backup script as

db2 "backup db $dbname online use tsm open 4 sessions with 8 buffers
buffer 7808 parallelism 6"

As you can see my number of pages has been increased. I just wondering
whether
this would help me out speeding off backup process. Is there any other
method
or formula that i could use to optimize the backup process??

Please advice!!

Thanks
Uthuras
Ian <ia*****@mobileaudio.com> wrote in message

news:<41**********@corp.newsgroups.com>...
Uthuras wrote:
Greetings,

We have DB2 V 8.1 with FP 4 on AIX 5.2. Our database backup is done
using TSM v
4.1.2. However, we notice TSM make use of only one session even though
we defined 4 sessions for backup. Here is the command

db2 "backup db $dbname online use tsm open 4 sessions with 8 buffers
buffer 3072 parallelism 6"

How do we enable the 4 sessions ? Is there any parameters need to set?


That is the correct way. Are you sure you only have 1 session connected
to the TSM server? During the first minute or two of the backup, you
will normally see only one session, and then the others sessions will
connect and start sending data.
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----

Nov 12 '05 #6
Hi all,

Is anyone out there can help me figure out this problem? i'm not sure
what else i could check and how to go about resolving this issue

Please help!!

Thanks
Uthuras

ut*****@hotmail.com (Uthuras) wrote in message news:<2e**************************@posting.google. com>...
Hi,

MAXNUMMP indeed set to 4. But why when backup running only one session
active while the reset 3 waiting idle. Is there any other setting need to
be set??

Thanks
Uthuras
Jo*******@email.com (Joachim Klassen) wrote in message news:<b5**************************@posting.google. com>...
Have you set the maximum number of mountpoints for your TSM node to
(at least)4 ? IIRC the TSM node attribute is MAXNUMMP

HTH
Joachim

ut*****@hotmail.com (Uthuras) wrote in message news:<2e**************************@posting.google. com>...
Greetings,

We have DB2 V 8.1 with FP 4 on AIX 5.2. Our database backup is done
using TSM v
4.1.2. However, we notice TSM make use of only one session even though
we defined 4 sessions for backup. Here is the command

db2 "backup db $dbname online use tsm open 4 sessions with 8 buffers
buffer 3072 parallelism 6"

How do we enable the 4 sessions ? Is there any parameters need to set?

Please help!!!

Thanks

Uthuras

Nov 12 '05 #7

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

Similar topics

1
by: Andrew E | last post by:
I just took over DBA responsibilities for an Oracle 8i database running on Linux. Although I've been working with relational databases for some time, I'm a bit green on Oracle so forgive me. My...
1
by: Rajesh Kapur | last post by:
I have about 20 databases in a single MySQL instance running 4.0.21 on RHEL3. I have a healthy mix of MyISAM and InnoDB tables. Howerver these two types do not mix within a single database. A...
2
by: xalluegu | last post by:
Hi all, We have DB2 EE version 7 and we are trying to backup our databases to tape (up to now we were backing them up to file without problems) with "db2 backup" command. Our problem is that...
3
by: yoyo | last post by:
So I get a call from my customer this morning, he tells me the database has hung during the TSM backup and nobody can connect. After tyring a few things, I resorted to db2_kill, and db2start. I...
4
by: gavino | last post by:
This seems easy but I have been asking tcl and python IRC chat all day and no one gave an answer. I have 100 servers which need a new backup server added to a text file, and then the backup...
13
by: gavino | last post by:
This seems easy but I have been asking tcl and python IRC chat all day and no one gave an answer. I have 100 servers which need a new backup server added to a text file, and then the backup agent...
7
by: damezumari | last post by:
I use Windows XP and Apache. I am trying to backup a database on my local computer with the following php code: $dbname = 'ol'; $dbhost = 'localhost'; $dbuser = 'root'; $dbpass =...
6
by: sara440 | last post by:
i want to take backup of one table(tables's data) of database, on hard disk or cd.i have a button "backup" on my form that should ask for backup when clicked.(it should allow to take backup on Cd). ...
6
by: michael.spoden | last post by:
Hi, how can I fix lock-waits during an online backup? Is an online backup in DB2 V8.2 not realy online? I'm using DB2 V8.2 Fixpak 15 on Linux. The command to perform the backup is: db2 backup...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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.