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

Different NUMBLOCKPAGES across Partitions (DPF)?

I have a Windows DPF (v8.2.2) environment.
2 Nodes
5 Partitions
Server1 - Cat (0) Data (1) Data (2)
Server2 - Data (3) Data (4)

I want to use block-based IO, but I do not want the same size block
area of the bufferpool in each partition, I want a smaller value in the
catalog partition - because the bufferpool size is much smaller.

My (uniform) page size is 16k, my data partitions have a size of 10,000
pages, numblockpages=5,000 and blocksize=4

Every time I connect/activate I get the error that my numblockpages
exceeds the maximum size.

I am trying to execute this:
alter bufferpool pm_16k_bp dbpartitionnum 0 numblockpages 1000
or
alter bufferpool pm_16k_bp dbpartitionnum 0 size 2000 numblockpages
1000 blocksize 4
or
?

It returns:
SQL0104N An unexpected token "numblockpages" was found following "_bp
dbpartitionnum 0".
I cannot figure out the syntax for this.

Please forward an example if you can.

Thanks in advance.
John

Nov 12 '05 #1
3 2445
jc******@yahoo.com wrote:
I have a Windows DPF (v8.2.2) environment.
2 Nodes
5 Partitions
Server1 - Cat (0) Data (1) Data (2)
Server2 - Data (3) Data (4)

I want to use block-based IO, but I do not want the same size block
area of the bufferpool in each partition, I want a smaller value in the
catalog partition - because the bufferpool size is much smaller.

My (uniform) page size is 16k, my data partitions have a size of 10,000
pages, numblockpages=5,000 and blocksize=4

Every time I connect/activate I get the error that my numblockpages
exceeds the maximum size.

I am trying to execute this:
alter bufferpool pm_16k_bp dbpartitionnum 0 numblockpages 1000
or
alter bufferpool pm_16k_bp dbpartitionnum 0 size 2000 numblockpages
1000 blocksize 4
or
?

It returns:
SQL0104N An unexpected token "numblockpages" was found following "_bp
dbpartitionnum 0".


You can either specify "DBPARTITIONNUM ... SIZE ..." or "NUMBLOCKPAGES ..."
but not both together. Have a look at the syntax diagram:
http://publib.boulder.ibm.com/infoce...n/r0000885.htm
(the description how to read them is here:
http://publib.boulder.ibm.com/infoce...n/r0006726.htm)

You can define a buffer pool that only resides on certain partitions.

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #2
Knut,

Thanks for the reply. I was trying to get away with only using one
bufferpool - while dedicating as much memory to my data partitions - I
did not want the catalog partition to get the memory that it will never
consume.

I thought of just creating a single partition bufferpool in Partion 0,
but that causes a problem for tempspace. Temprory tablespaces belong
to IBMTEMPGROUP which exists across all partitions. So, I still need a
bufferpool (for tempspace) that will span all partitions.

It appears that my best option would be to keep the single BP, minimize
the size on Partition 0, and minimize the size of the NUMBLOCKPAGES
area in all Partitions.

Thanks..John

Nov 12 '05 #3
Ian
jc******@yahoo.com wrote:
Knut,

Thanks for the reply. I was trying to get away with only using one
bufferpool - while dedicating as much memory to my data partitions - I
did not want the catalog partition to get the memory that it will never
consume.

I thought of just creating a single partition bufferpool in Partion 0,
but that causes a problem for tempspace. Temprory tablespaces belong
to IBMTEMPGROUP which exists across all partitions. So, I still need a
bufferpool (for tempspace) that will span all partitions.

It appears that my best option would be to keep the single BP, minimize
the size on Partition 0, and minimize the size of the NUMBLOCKPAGES
area in all Partitions.

Thanks..John


John,

It is a lot easier to manage if you create separate bufferpools --
assuming you have a nodegroup that encompasses your 4 data partitions,
create the bufferpool for the nodegroup that needs it.

The ability to change bufferpool sizes per partition is convenient
in situations where it's necessary (i.e. different servers have
differing amounts of real memory), but it makes managing things
more complicated in the future.

Nov 12 '05 #4

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

Similar topics

2
by: curious_one | last post by:
Hi, Is there a way to access a single instance of an object(singleton class) across different processes ? thanks curious.one
8
by: Joachim Mueller | last post by:
Have written a litte sql for showing the utilization of the tablespace. (found it within the newsgroup from Paul Vernon). Looks fine for an one Partition System only. But how i can I see on which...
1
by: mairhtin o'feannag | last post by:
Hello, I am about to (fingers and mouse at the ready) install DB2 on a Linux machine using the db2setup command. All is well. But .... During the install it asks if I want to create an...
2
by: wombat53 | last post by:
Hi Group Are there any DB2 UDB ESE DPF V8.2 users exploiting "buffered inserts" (BIND parm INSERT BUF) *and* "multi-row INSERTS" (many rows associated with the VALUES clause of the INSERT to...
6
by: Sam Durai | last post by:
A join query is running against my db which is logically partitioned. The join involves a partitioned table (has around 300 Million rows) which is spread across 7 partitions and a small...
3
by: VMK | last post by:
Guys, Couple of days ago when I asked to attend db2 session, there instructor told me a different thing, I just want to confirm that is true or not. Here we go... In DPF if we configure a...
10
by: Hardy | last post by:
Hi gurus, I know many of you are very senior DBAs and experts from IBM internal, so I really want to know your advice on this basic topic. "why dpf?" usually there's a rumor, em, I believe it's...
2
by: Sam Durai | last post by:
In Information Center it says; "Restrictions on database partitions - The use of any features of the native XML data store will prevent future use of the database partitioning feature available...
2
by: 4.spam | last post by:
Hello, all. DB2 v9.5.1 ESE, Windows 2003 Server 64-bit, 4 CPU (8 cores) each, DPF environment. There are 2 DPF instances on the same set of 5 computers. One computer holds coordinator...
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: 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
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
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...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.