Thk for clarify it for me! Em 16/04/2013 12:33, "Dmitry Kuzmenko" <k...@ibase.ru> escreveu:
> ** > > > Hello, fabianoaspro! > > Tuesday, April 16, 2013, 5:46:48 PM, you wrote: > > fgc> If you use this code inside a SP you must recompile it for using this > new > fgc> index. > > Just FYI - procedures does not store query plans, so they never need > to be recompiled. Procedure may not use new index because when it > was run, server computed plan, and still use it, while procedure > is being "in use", i.e. in server metadata cache. > When last user who run procedure disconnects, procedure's metatada > being unloaded from cache. And new run will create new plan for this > procedure. > > And, doing backup/restore never recompile any procedure/trigger/view. > > p.s. All I said is true for all InterBase (from 5.0) versions and for > all Firebird versions. > > -- > Dmitry Kuzmenko, www.ib-aid.com > > > [Non-text portions of this message have been removed] ------------------------------------ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Visit http://www.firebirdsql.org and click the Resources item on the main (top) menu. Try Knowledgebase and FAQ links ! Also search the knowledgebases at http://www.ibphoenix.com ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/firebird-support/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/firebird-support/join (Yahoo! ID required) <*> To change settings via email: firebird-support-dig...@yahoogroups.com firebird-support-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: firebird-support-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/