![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi ! IDS 10.00.FC8 on HP-UX 11.31, EMC SAN We have been running the same batch job (transactions updating a number of lagre tables 20 million rows) for a number of years. This batch usually takes about 1 hour, now it takes up to 5 hours. Number of transactions are the same, roughly. The batch does a number of selects and based on them a a number of insert/updates/deletes. We have not changed the batch program or any settings in IDS. One idea is that the problem is connected to the statistics for the tables. We where using "dostats" once a week, we ran into the problem, did a new "dostats" and the problem vanished. The theory was the that the update statistics somehow failed sometimes so we stopped using "dostats". After some major changes of values for indexed rows we decided to run dostats again (it takes about 3 hours to run). We now hit the problem again, no error messages from dostats. We did a manual update statistics (script created by Server Studio), problem remains. I have done a "set explain on" for the batch program, nothing that sticks out. Any ideas are appreciated. Another try with "dostats" ? Rebuild indexes ? _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Thank you for your answer and the questions, I will try to answer them: 1 They tables may need a reorg but as a new update statistics solved the problem (using dostats) I don't think so 2. Dostats itself does not cause the problem, I suspect that the update statistics done by dostats somehow fails sometimes 3. When we first hit the problem we did a new dostats and then the problem was solved until we now two months later runs dostats again and the problem appears again I know that it is not dostats that causes the problem, I mentioned it because the type of update statistics it produces is known to a number of people _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#5
| |||
| |||
|
#6
| |||||
| |||||
|
| Thank you for your answer and the questions, I will try to answer them: 1 They tables may need a reorg but as a new update statistics solved the problem (using dostats) I don't think so |
|
2. Dostats itself does not cause the problem, I suspect that the update statistics done by dostats somehow fails sometimes |
|
3. When we first hit the problem we did a new dostats and then the problem was solved until we now two months later runs dostats again and the problem appears again |
|
I know that it is not dostats that causes the problem, I mentioned it because the type of update statistics it produces is known to a number of people |
|
_______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#7
| |||
| |||
|
|
Hi ! IDS 10.00.FC8 on HP-UX 11.31, EMC SAN We have been running the same batch job (transactions updating a number of lagre tables 20 million rows) for a number of years. This batch usually takes about 1 hour, now it takes up to 5 hours. Number of transactions are the same, roughly. The batch does a number of selects and based on them a a number of insert/updates/deletes. We have not changed the batch program or any settings in IDS. One idea is that the problem is connected to the statistics for the tables. We where using "dostats" once a week, we ran into the problem, did a new "dostats" and the problem vanished. The theory was the that the update statistics somehow failed sometimes so we stopped using "dostats". After some major changes of values for indexed rows we decided to run dostats again (it takes about 3 hours to run). We now hit the problem again, no error messages from dostats. We did a manual update statistics (script created by Server Studio), problem remains. I have done a "set explain on" for the batch program, nothing that sticks out. Any ideas are appreciated. Another try with "dostats" ? Rebuild indexes ? |
#8
| |||
| |||
|
|
From: ulf.akerberg (AT) gmail (DOT) com Subject: Batch job slows down Date: Tue, 26 Jan 2010 01:49:53 -0800 To: informix-list (AT) iiug (DOT) org Hi ! IDS 10.00.FC8 on HP-UX 11.31, EMC SAN We have been running the same batch job (transactions updating a number of lagre tables 20 million rows) for a number of years. This batch usually takes about 1 hour, now it takes up to 5 hours. Number of transactions are the same, roughly. The batch does a number of selects and based on them a a number of insert/updates/deletes. We have not changed the batch program or any settings in IDS. One idea is that the problem is connected to the statistics for the tables. We where using "dostats" once a week, we ran into the problem, did a new "dostats" and the problem vanished. The theory was the that the update statistics somehow failed sometimes so we stopped using "dostats". After some major changes of values for indexed rows we decided to run dostats again (it takes about 3 hours to run). We now hit the problem again, no error messages from dostats. We did a manual update statistics (script created by Server Studio), problem remains. I have done a "set explain on" for the batch program, nothing that sticks out. Any ideas are appreciated. Another try with "dostats" ? Rebuild indexes ? _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#9
| |||
| |||
|
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |