![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I know I'll be flamed by some folks for saying these things but it might help some poor schmuck who didn't get the word. It all comes down to documentation and IBM even admitted that in this case theirs 'falls short'. |
#3
| |||
| |||
|
|
Hi Bruce, On 02/04/2011 10:38 AM, Bruce wrote: I know I'll be flamed by some folks for saying these things but it might help some poor schmuck who didn't get the word. *It all comes down to documentation and IBM even admitted that in this case theirs 'falls short'. You are right. Sometimes the documentation is missing information. But since you have to reorg the indexes to grow beyond the old limit, it should be clear that you have to convert the index tablespace as well. Anyway, for matters of completeness, this should be added to the documentation. I suggest that you click the Feedback link at the bottom of the help page and send a mail to db2docs. They appreciate any feedback and are happy to make the documentation better. Overall I have to say that I'm very impressed by the DB2 documentation. -- Helmut K. C. Tessarek DB2 Performance and Development IBM Toronto Lab |
#4
| |||
| |||
|
|
Helmut - No, you have it reversed. I altered the index space to LARGE...reorged and found that I, in fact, had not gotten my LARGE_RIDS as expected. I did not alter the base tablespace to LARGE...that's my point. The book doesn't say to do that and while it may be obvious to some it wasn't obvious to me or others who, in the same situation did the same thing that I did. |
|
IBM's documentation lacks appropriate examples and in some cases the command actually does not do what you think it will. We did a singleton REORG INDEX INDEX_PK (of a primary key) and we got ALL indexes for that table reorged...I am frankly appalled at this sort of thing and I have to spend way too much of my time figuring out what works and what doesn't. I have 23 years in DB2 and I haven't seen things this bad. |
#5
| |||
| |||
|
|
Helmut - *No, you have it reversed. *I altered the index space to LARGE...reorged and found that I, in fact, had not gotten my LARGE_RIDS as expected. *I did not alter the base tablespace to LARGE...that's my point. *The book doesn't say to do that and while it may be obvious to some it wasn't obvious to me or others who, in the same situation did the same thing that I did. Ok, this is definitely different, although without setting the data tablespace to large, how should the index point to large rids, if there aren't any? As I said, you are right. There is room for improvement. IBM's documentation lacks appropriate examples and in some cases the command actually does not do what you think it will. *We did a singleton REORG INDEX INDEX_PK (of a primary key) and we got ALL indexes for that table reorged...I am frankly appalled at this sort of thing and I have to spend way too much of my time figuring out what works and what doesn't. *I have 23 years in DB2 and I haven't seen things this bad. I really urge you to send feedback to the Information Development guys. Your input is more than valid and these are things that should be addressed, but just talking about it, is not going to change anything. I've found several topics and areas where the help could be more specificand require (more) examples. I opened internal defects and they were addressed accordingly. Your feedback is taken seriously and usually you get a reply within a day.. -- Helmut K. C. Tessarek DB2 Performance and Development IBM Toronto Lab |
#6
| |||
| |||
|
|
And are we forced to reorg the table first and THEN do the reorg of the indexes? Turns out, no a reorg of the table is not necessary. |
|
IBM just needs to do better and I will try to do my part by reporting to IBM where they fall short...but then I get that famous 'You obviously didn't read the manual throughly' when I did/do read. |
#7
| |||
| |||
|
|
And are we forced to reorg the table first and THEN do the reorg of the indexes? *Turns out, no a reorg of the table is not necessary. A reorg of the table is only necessary, if you want to use more than 255 records on one page. IBM just needs to do better and I will try to do my part by reporting to IBM where they fall short...but then I get that famous 'You obviously didn't read the manual throughly' when I did/do read. Whenever you get a reply like this from IBM, let me know. -- Helmut K. C. Tessarek DB2 Performance and Development IBM Toronto Lab |
#8
| |||
| |||
|
|
On 5 feb, 00:59, Helmut Tessarek <tessa... (AT) evermeet (DOT) cx> wrote: And are we forced to reorg the table first and THEN do the reorg of the indexes? *Turns out, no a reorg of the table is not necessary. A reorg of the table is only necessary, if you want to use more than 255 records on one page. IBM just needs to do better and I will try to do my part by reporting to IBM where they fall short...but then I get that famous 'You obviously didn't read the manual throughly' when I did/do read. Whenever you get a reply like this from IBM, let me know. -- Helmut K. C. Tessarek DB2 Performance and Development IBM Toronto Lab It is about reading the manual and also interpreting the manual. Some (long) time ago, IBM (and many other vendors) decided to merge support fees and new-releases fee, in one offer, software maintenance. For good and bad. But IBM did not merge the support tracking application and the DCR (Design Change Request) application. As a result, if 'somebody' at IBM says a reported issue is not a 'bug' (and here interpreting the manual can come in), but a reqeust for a new feature, it goes the DCR way. But the customer has no direct interface to the DCR. So, 'requests' will enter the DCR database on features a customer can not track as a PMR. An example. A query after rewrite by the user, gives still correct results and goes 10 times faster than the original one. So the user was capable of doing what the optimizer can not do at that time. Nothing new as such. Where does it have to go? In the 'bug' list or in the DCR list? For the end-user it is the same. The user has (here) a workaround but would like to have it improved. When? Maybe in 3 months, maybe in 1 year, but would like an improvement. The time things are improved can be an issue (customer pays maintenance for support and 'new' capabilities, so certainly has rights) but the catogory a dull discussion. As maintenance covers support and new releases, the actual approach is obsolete and gives rise to less than optimal relation with the support and can result in staggering customer satisfaction. Bernard Dhooghe- Hide quoted text - - Show quoted text - |
#9
| |||
| |||
|
|
On Feb 11, 5:35*am, Bernard <dhoog... (AT) yahoo (DOT) com> wrote: On 5 feb, 00:59, Helmut Tessarek <tessa... (AT) evermeet (DOT) cx> wrote: And are we forced to reorg the table first and THEN do the reorg of the indexes? *Turns out, no a reorg of the table is not necessary.. A reorg of the table is only necessary, if you want to use more than 255 records on one page. IBM just needs to do better and I will try to do my part by reporting to IBM where they fall short...but then I get that famous 'You obviously didn't read the manual throughly' when I did/do read. Whenever you get a reply like this from IBM, let me know. -- Helmut K. C. Tessarek DB2 Performance and Development IBM Toronto Lab It is about reading the manual and also interpreting the manual. Some (long) time ago, IBM (and many other vendors) decided to merge support fees and new-releases fee, in one offer, software maintenance. For good and bad. But IBM did not merge the support tracking application and the DCR (Design Change Request) application. As a result, if 'somebody' at IBM says a reported issue is not a 'bug' (and here interpreting the manual can come in), but a reqeust for a new feature, it goes the DCR way. But the customer has no direct interface to the DCR. So, 'requests' will enter the DCR database on features a customer can not track as a PMR. An example. A query after rewrite by the user, gives still correct results and goes 10 times faster than the original one. So the user was capable of doing what the optimizer can not do at that time. Nothing new as such. Where does it have to go? In the 'bug' list or in the DCR list? For the end-user it is the same. The user has (here) a workaround but would like to have it improved. When? Maybe in 3 months, maybe in 1 year, but would like an improvement. The time things are improved can be an issue (customer pays maintenance for support and 'new' capabilities, so certainly has rights) but the catogory a dull discussion. As maintenance covers support and new releases, the actual approach is obsolete and gives rise to less than optimal relation with the support and can result in staggering customer satisfaction. Bernard Dhooghe- Hide quoted text - - Show quoted text - Thank You, Bernard. *I just expect the documentation to be complete and correct. This statement from you: "It is about reading the manual and also interpreting the manual." did not please me at all. Look, if I am doing reorgs to get 'above the line' and converting to LARGE tablespace I expect clear, conceise and good documentation to show me immediately what to do with no problems. How did anybody get 'ALLOW NO ACCESS' to be a euphemism for 'CONVERT TO LARGE'? *What rocket scientist came up with that? * *And why isn't it explained in the book that I can do a REORG INDEX and specify 'allow write access' *but end-up locking the entire table? *I can't trust the documentation at all and I feel I need to test each and every little thing I find. *And please don't tell me to RTFM because I do. |
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |