473,750 Members | 2,170 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

BP: blocked vs non-blocked

In 9.1 (Linux 64 bit) when a buffer pool is set to self-tuning, does this
imply that the blocked versus non-blocked aspect is also self-tuning?
If not, what is a good rule of thumb for a 64 bit system using the Linux
file system for containers for the tablespace using that buffer pool?

Thanks
nat
Aug 23 '06 #1
4 1831
Ian
natG wrote:
In 9.1 (Linux 64 bit) when a buffer pool is set to self-tuning, does this
imply that the blocked versus non-blocked aspect is also self-tuning?
If not, what is a good rule of thumb for a 64 bit system using the Linux
file system for containers for the tablespace using that buffer pool?
Going from memory, but I am pretty sure that STMM does not affect the
block size or number of block pages in a bufferpool.

I have heard a rule of thumb of 2-3% of a bufferpool being allocated
to the block-based area.

FYI, block-based bufferpools are useful for data warehousing and large
batch jobs because they allow the prefetchers to handle sequential
prefetch requests more efficiently. If your app doesn't do a lot of
sequential prefetching, then this won't be a useful feature.
Aug 24 '06 #2
On Thu, 24 Aug 2006 00:56:50 -0700, Ian wrote:
<snip>
FYI, block-based bufferpools are useful for data warehousing and large
batch jobs because they allow the prefetchers to handle sequential
prefetch requests more efficiently. If your app doesn't do a lot of
sequential prefetching, then this won't be a useful feature.
This is exactly my project. Tons of inserts into a warehouse.
I don't understand what you say regarding prefetching. I thought that
prefetching helps mainly for SELECTS, *reading*. From what you say it
seems like it helps inserts?
On a related issue, since normally nothing is ever deleted from this db, I
have all tables' APPEND flag on. Does this factor in into the rule of
percentage of blocked versus non-blocked?

Thanks.
-nat

Aug 24 '06 #3
Ian
natG wrote:
On Thu, 24 Aug 2006 00:56:50 -0700, Ian wrote:
><snip>
FYI, block-based bufferpools are useful for data warehousing and large
batch jobs because they allow the prefetchers to handle sequential
prefetch requests more efficiently. If your app doesn't do a lot of
sequential prefetching, then this won't be a useful feature.
This is exactly my project. Tons of inserts into a warehouse.
I don't understand what you say regarding prefetching. I thought that
prefetching helps mainly for SELECTS, *reading*. From what you say it
seems like it helps inserts?
Sequential prefetch = reading data: the DB2 prefetchers detect when a
query is requesting sequential pages of data from a tablespace, and then
will start automatically fetching pages (under the assumption that the
query will request them).

On a related issue, since normally nothing is ever deleted from this db, I
have all tables' APPEND flag on. Does this factor in into the rule of
percentage of blocked versus non-blocked?
No. Block-based bufferpools are for reading, not writing.

Aug 25 '06 #4

Ian wrote:
Going from memory, but I am pretty sure that STMM does not affect the
block size or number of block pages in a bufferpool.
This is correct. In fact, you cant manually change the size of the
block area without restarting the database.

jsoh

Aug 28 '06 #5

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

Similar topics

5
3752
by: klaus triendl | last post by:
hi, recently i discovered a memory leak in our code; after some investigation i could reduce it to the following problem: return objects of functions are handled as temporary objects, hence their dtor is called immediately and not at the end of the function. to be able to use return objects (to avoid copying) i often assign them to a const reference. now, casting a const return object from a function to a non-const reference to this...
3
12260
by: Mario | last post by:
Hello, I couldn't find a solution to the following problem (tried google and dejanews), maybe I'm using the wrong keywords? Is there a way to open a file (a linux fifo pipe actually) in nonblocking mode in c++? I did something ugly like --- c/c++ mixture --- mkfifo( "testpipe", 777);
25
7641
by: Yves Glodt | last post by:
Hello, if I do this: for row in sqlsth: ________pkcolumns.append(row.strip()) ________etc without a prior:
32
4524
by: Adrian Herscu | last post by:
Hi all, In which circumstances it is appropriate to declare methods as non-virtual? Thanx, Adrian.
8
3512
by: Bern McCarty | last post by:
Is it at all possible to leverage mixed-mode assemblies from AppDomains other than the default AppDomain? Is there any means at all of doing this? Mixed-mode is incredibly convenient, but if I cannot load/unload/reload extensions into my large and slow-to-load application during development without restarting the process then the disadvantages may outweigh the advantages. I've got a mixed-mode program in which I create a new AppDomain...
14
8461
by: Patrick Kowalzick | last post by:
Dear all, I have an existing piece of code with a struct with some PODs. struct A { int x; int y; };
11
3448
by: ypjofficial | last post by:
Hello All, So far I have been reading that in case of a polymorphic class ( having at least one virtual function in it), the virtual function call get resolved at run time and during that the vtable pointer is made use of.. eg. class one {
2
6114
by: Ian825 | last post by:
I need help writing a function for a program that is based upon the various operations of a matrix and I keep getting a "non-aggregate type" error. My guess is that I need to dereference my pointers, but I'm not sure. Please help. The code: void equate(matrix *A, matrix *B) { int i, j; assert(A.row_dim == B.col_dim && A.col_dim == B.col_dim); for(i=0; i < A.row_dim; i++) for(j=0; j < A.col_dim; j++)
0
2345
by: amitvps | last post by:
Secure Socket Layer is very important and useful for any web application but it brings some problems too with itself. Handling navigation between secure and non-secure pages is one of the cumbersome jobs. When a non-secure page references a secure page with relative URL, the web server generates error until absolute URL with https prefix is used. On the other hand when a secure page references a non-secure page, the non-secure page will be...
399
12888
by: =?UTF-8?B?Ik1hcnRpbiB2LiBMw7Z3aXMi?= | last post by:
PEP 1 specifies that PEP authors need to collect feedback from the community. As the author of PEP 3131, I'd like to encourage comments to the PEP included below, either here (comp.lang.python), or to python-3000@python.org In summary, this PEP proposes to allow non-ASCII letters as identifiers in Python. If the PEP is accepted, the following identifiers would also become valid as class, function, or variable names: Löffelstiel,...
0
8999
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
8836
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
9575
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...
1
9338
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
8260
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6803
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6080
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4885
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2798
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.