472,354 Members | 1,218 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,354 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 2364
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...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
1
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. header("Location:".$urlback); Is this the right layout the...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it so the python app could use a http request to get...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
0
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...

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.