This is a discussion on [Info-ingres] RES: RES: [Info-ingres] temporary table within the Ingres forums, part of the Database Server Software category; --> > Before executing a query plan, the tables involved are checked to see > if they have changed. Changed ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| > Before executing a query plan, the tables involved are checked to see > if they have changed. Changed in this case means that either > the table > definition changed, or the number of pages (table size) has changed > sufficiently. (I'm not sure what the trigger is.) When this happens, > QEF throws away the query plan and sends the query back > through parsing and optimization again. > > If this happens more than N times in a row without a successful > execution, the US1265 message appears. N used to be small, like 3; > I'm fairly sure that it's 10 in 2.6. About the only legitimate reason > for US1265 to appear is if a table in a query is growing rapidly, > or being modified over and over. DB procedures are probably more > sensitive to US1265 since they're one big query plan. If you have > a persistent US1265, I would be very suspicious. > > Karl Thanks Karl for the explanation. This clarifies a lot. Certainly the tables envolved in the query triggers some DB procedures, and these tables are growing rapidly as you said. The query have many inserts from temporary to physical tables. Leandro Fava DBA-SINF-UNISC http://www.unisc.br Presidente IUG-BR http://www.iug-br.org |
| Thread Tools | |
| Display Modes | |
|
|