![]() | |
#11
| |||
| |||
|
#12
| ||||||||||
| ||||||||||
|
|
Mark, Thanks for the response. I can respond to some of your points here, but others we should probably discuss in more detail through email as they don't seem generally applicable to a broad audience. If you're willing, I'd be interested in learning more about these problems. You can send me these details via email. |
|
You make a valid point, but it's only partially correct. I agree that DB2's default configuration will not give you optimal performance. That being said, there are two things that you're not considering. First of all, DB2 defaults have changed substantially over the past 10 years. For example, it's now the case that the DB2 Configuration Advisor will run automatically as part of database creation. After the Configuration Advisor completes, it will have set 36 of the database configuration parameters (including the size of the default buffer pool) based on the machine specifications. The result is a "default" configuration that is tailored to the environment in which the database will be run. The second thing that you may not be considering is that even competent DBAs do not always have the time to optimally configure each and every database created at their shop. I know many DBAs that will devote hours and hours to optimally configure some of their databases and yet, for their test environments, they're happy to let STMM do the heavy lifting. That being said, some of these same DBAs have enabled STMM on their most critical databases and found that its tuning outperformed their hand tuned configuration. |
|
I'd be interested to hear more about these situations, perhaps over email. I'd be interested in hearing more about the problems you've hit over email. While there have been some issues with multiple instances that we've fixed, they only affected a hand-full of customers. |
|
I think you may not completely understand how STMM works with multiple buffer pools. STMM works to optimize the configuration of multiple buffer pools not by trying to increase their hit rates, but instead by determining a configuration that will lead to the minimum possible amount of time spent retrieving pages from disk. With this model, it is valuable to treat all of the buffer pools the "same" since each of them is caching pages in an attempt to prevent disk reads/writes. If all you care about is overall database performance, the tuning that STMM provides for multiple bufferpools is extremely effective. |
|
That is correct. STMM is not recommended in the Balanced Warehouse because in DPF environments, STMM must be used only on partitions that have similar memory requirements. That being said, I know of several customers who are happily running STMM in DPF after exercising the necessary precautions. You can read more about the precautions here: http://publib.boulder.ibm.com/infoce.../c0023815.html |
|
That is unfortunate because that's not the official IBM position. |
|
I would strongly disagree with your argument. While memory may be cheap and plentiful in your shop, most of our customers are consolidating servers to the point where many databases are all fighting for the same small amount of memory. It is in these environments where STMM can be the most effective at managing the needs of the databases, especially if their peak workload requirements are at different times of the day. In general, I think you're greatly oversimplifying the configuration dilemma faced by a DBA in the absence of tools like STMM. |
|
Mark, I've been personally involved in almost all of the STMM APARs to date. |
|
There are a great many DBAs (one of which has already posted to this thread) who are quite happy with STMM. I think it's a gross mis- statement of the facts to say that STMM was designed to sell DB2 to executives as opposed to helping out DBAs. |
|
Again, I welcome feedback about STMM and am willing to help you through any issues you may be having. Please follow-up via email. Thanks, Adam |
#13
| |||
| |||
|
|
I have many customers using STMM in France in DB2 9.5 (from FP3 to FP5) and we have not problem with it. We have only deactivated because of 1 application the tuning of LOCKLIST, that's all. Regards, JM |
#14
| |||
| |||
|
#15
| |||
| |||
|
|
Mark, How about sending a note to Adam with your company affiliation so he can drill down on the issues your company had on his own? That's not much work for you and saves Adam from divining up what might have been wrong in your case. Cheers Serge |
#16
| |||
| |||
|
#17
| |||
| |||
|
|
Mark, I'm not going into more detail regarding the whole STMM thing except saying that it works pretty well for us, as long as we fix the instance_memory parameter. What I am curious for is why you would only assign 50% of server memory to the bufferpools. Give or take a few gigs for OS and database housekeeping, that would leave half of your server memory unused, no? Kind regards, Frederik |
#18
| |||
| |||
|
|
Recommendations for SHMALL have been all over the place, from 90% of system memory, 100% of system memory, to now apparently 200% of system memory. Any changes to Linux Kernel Parm recommendations should be a Hiper doc APAR and not slipstreamed in the InfoCenter. |
#19
| |||
| |||
|
|
"Mark A"<noone (AT) nowhere (DOT) com> wrote in message news:hvqba4$h5f$1 (AT) news (DOT) eternal-september.org... Recommendations for SHMALL have been all over the place, from 90% of system memory, 100% of system memory, to now apparently 200% of system memory. Any changes to Linux Kernel Parm recommendations should be a Hiper doc APAR and not slipstreamed in the InfoCenter. Here is where it states SHMALL should be 200% (and now enfoced that way in 9.7.2). "2 *<size of RAM in bytes> (setting is in 4K pages)" http://publib.boulder.ibm.com/infoce.../c0057140.html Here is where it states that SHMALL should be 90%: "...whereas the parameter SHMALL should be set to 90% of the available memory on the database server." http://publib.boulder.ibm.com/infoce.../c0054689.html Is anyone at IBM awake these days? We are under G20 lock down, tasered into unconsciousness... |
#20
| |||
| |||
|
|
On 6/22/2010 9:13 AM, Mark A wrote: "Mark A"<no... (AT) nowhere (DOT) com> *wrote in message news:hvqba4$h5f$1 (AT) news (DOT) eternal-september.org... *Recommendations for SHMALL have been all over the place, from 90%of *system memory, 100% of system memory, to now apparently 200% of system *memory. Any changes to Linux Kernel Parm recommendations should be a Hiper *doc APAR and not slipstreamed in the InfoCenter. Here is where it states SHMALL should be 200% (and now enfoced that wayin 9.7.2). "2 *<size of RAM in bytes> *(setting is in 4K pages)" http://publib.boulder.ibm.com/infoce...pic/com.ibm.db... Here is where it states that SHMALL should be 90%: "...whereas the parameter SHMALL should be set to 90% of the available memory on the database server." http://publib.boulder.ibm.com/infoce...pic/com.ibm.db... Is anyone at IBM awake these days? We are under G20 lock down, tasered into unconsciousness... The recommendation has been changed from 90% top 200%. So the 90% is outdated. I have used the Feedback button in the wrong doc to get this fixed (Hint, hint, it does NOT require an IBM employee to use this button...docs are big, mistakes happen) Cheer Serge |
![]() |
| Thread Tools | |
| Display Modes | |
| |