Unix Technical Forum

[Info-ingres] RES: RES: [Info-ingres] temporary table

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 ...


Go Back   Unix Technical Forum > Database Server Software > Ingres

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 08:03 PM
Leandro Pinto Fava
 
Posts: n/a
Default [Info-ingres] RES: RES: [Info-ingres] temporary table


> 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



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:15 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com