473,804 Members | 3,201 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't rollforward due to large bufferpool size

Hi Everyone,

I am in a very strange situation, and am looking for suggestions to
tackle it.

I have a 10 gig database on 64-bit windows 2003 running platform. The
database has about 5 gigs of bufferpool. It's a DB2 UDB 8.2 FP9a
database.

I am trying to restore an online backup image of this database on a
32-bit windows 2003 platform. The destination is also a DB2 UDB 8.2
FP9a database.

The restore command works fine, but while attempting the rolforward of
the sql logs, it complains about database falling short on bufferpool,
and then terminates the rollforward process. One close look at the
db2diag.log file, I noticed that db2 tried to start the database with
the hidden bufferpool. But, apparently, that hidden bufferpool was
pretty small to rollforward the logs and bring it online.

I cannot reduce the bufferpool size as the database cannot be connected
to.
I cannot connect to the database as it is in rollforward pending state.
I cannot rollforward the database, as it's not happy with the size of
the *hidden* bufferpool and terminates.

So, it's some sort of a deadlock situation I am facing.

Can anyone suggest any parameters or any registry variables or anything
at all, which can help me get through this situation. I cannot bring
down the bufferpool size of the production db and I cannot stop it for
an offline backup image. The only other option, I am looking at is to
attempt a restore on a spare 64-bt machine/db2instance and then reduce
the bufferpool and then take a backup and restore it on the 32-bit box.

Thanks & Regards,
dotyet

Nov 24 '05 #1
3 6241

"dotyet" <do****@yahoo.c om> wrote in message
news:11******** **************@ g47g2000cwa.goo glegroups.com.. .
Hi Everyone,

I am in a very strange situation, and am looking for suggestions to
tackle it.

I have a 10 gig database on 64-bit windows 2003 running platform. The
database has about 5 gigs of bufferpool. It's a DB2 UDB 8.2 FP9a
database.

I am trying to restore an online backup image of this database on a
32-bit windows 2003 platform. The destination is also a DB2 UDB 8.2
FP9a database.

The restore command works fine, but while attempting the rolforward of
the sql logs, it complains about database falling short on bufferpool,
and then terminates the rollforward process. One close look at the
db2diag.log file, I noticed that db2 tried to start the database with
the hidden bufferpool. But, apparently, that hidden bufferpool was
pretty small to rollforward the logs and bring it online.

I cannot reduce the bufferpool size as the database cannot be connected
to.
I cannot connect to the database as it is in rollforward pending state.
I cannot rollforward the database, as it's not happy with the size of
the *hidden* bufferpool and terminates.

So, it's some sort of a deadlock situation I am facing.

Can anyone suggest any parameters or any registry variables or anything
at all, which can help me get through this situation. I cannot bring
down the bufferpool size of the production db and I cannot stop it for
an offline backup image. The only other option, I am looking at is to
attempt a restore on a spare 64-bt machine/db2instance and then reduce
the bufferpool and then take a backup and restore it on the 32-bit box.


http://publib.boulder.ibm.com/infoce...n/r0005665.htm

db2set DB2_OVERRIDE_BP F=50000

This will bring up all configured bufferpools using 50000 pages each. You
can choose a smaller/larger value that is suitable for your number of
bufferpools and available system memory. You can also configure each
bufferpool individually if you want (see the help text).

--
Matt Emmerton
Nov 24 '05 #2
In article <11************ **********@g47g 2000cwa.googleg roups.com>,
dotyet (do****@yahoo.c om) says...

I cannot reduce the bufferpool size as the database cannot be connected
to.


Check the DB2_OVERRIDE_BP F variable. You can find it in the online
help at http://tinyurl.com/a3ngh
Nov 24 '05 #3
thanks a tonne.. that definitely helped. rollforward is in progress
right now.

once again... thanks

rgds,
dotyet

Gert van der Kooij wrote:
In article <11************ **********@g47g 2000cwa.googleg roups.com>,
dotyet (do****@yahoo.c om) says...

I cannot reduce the bufferpool size as the database cannot be connected
to.


Check the DB2_OVERRIDE_BP F variable. You can find it in the online
help at http://tinyurl.com/a3ngh


Nov 25 '05 #4

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

Similar topics

57
25532
by: Bing Wu | last post by:
Hi all, I am running a database containing large datasets: frames: 20 thousand rows, coordinates: 170 million row. The database has been implemented with: IBM DB2 v8.1
1
2856
by: Jagdip Singh | last post by:
Hi all, Is there any recommended bufferpool size while designing database I mean some equation which governs bufferpool size regards, Jagdip
10
12952
by: xixi | last post by:
hi, we are using db2 udb v8.1 on windows, normally i would use control center to change bufferpool size since i know the change will be effect immediately for version 8.1, so i right click bufferpool, do alter, change the size (to a smaller one), after that , i use the configuration parameter to check the bufferpool size, it still show the old value, i close the control center and reopen , still the same, so is that i must stop the...
2
3118
by: shenanwei | last post by:
DB2 V8.1.5 on Windows. When I execute ROLLFORWARD after a Restore. C:\db2 ROLLFORWARD db sample to END OF LOGS overflow log path(C:\LOGS\) Rollforward Status Input database alias = sample Number of nodes have returned status = 1
3
3410
by: t2581 | last post by:
Hi , I run restore with rollforward In job in output, last commited transaction time less then backup image time Is it normal ? RESTORE DATABASE PRICE_V8 FROM "E:\BACKUP" TAKEN AT 20050610095841 TO "D:" INTO PR_READ NEWLOGPATH "D:\DB2_FILES\PR_READ\LOG" WITH 2 BUFFERS BUFFER 1024 REDIRECT PARALLELISM 1 WITHOUT PROMPTING .....
20
8134
by: Hemant Shah | last post by:
Folks, I am using DB2 UDB 8.2 on AIX 5.1. How large of a bufferpool can you create? I tried to create a 4GB bufferpool db2 complained that is cannot allocate enogth memory. I have 16GB on this system. # db2 create bufferpool cfgbuffpool immediate size 1048576 pagesize 4096 SQL20189W The buffer pool operation (CREATE/ALTER) will not take effect until
1
5538
by: Raja Shekar | last post by:
HI Every body , I would like to know whether is it mandatory to give Tablespace page size and Bufferpool page size equal..? i also heard like while creating tablespace if pages size of tablespace and bufferpool , the statement itself will fail ...why i'm asking is if we chose a different page size ( ofcourse less than bufferpool page size ) only it shoud affect the performance of db2 .. Thanks in Advance Raja Shekar
0
278
by: Ian | last post by:
dcruncher4@aim.com wrote: The issue here is that you're hitting bufferpool 4097. This is the "hidden" 8k bufferpools that will be used if your system does not have enough memory to support the regular bufferpools. These bufferpools are VERY small (64 pages, I think), so it's very easy to fill all of the pages. Your BP1 bufferpool is just over 1Gb in size. I don't know what other
3
3572
by: Amber | last post by:
We are using 8.2.9 Windows 64 edtion, in one of our projects we need to recreate a few lager tables which have many millions of rows each, we have used concurrent Java threads to read from data source and do batch inserts to the target tables concurrently, to speed up the inserts we have used the following configuration policies: 1. Use large page size (32K) and extend size (256) on the target db, 2. Use large buffer pools for the...
0
9705
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9576
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10568
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10323
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10311
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5516
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4292
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3813
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.