Subject | [ib-support] Re: Full table scan |
---|---|
Author | Svein Erling Tysvær |
Post date | 2002-06-25T11:40:32Z |
Magnus,
necessarily all suggested by the "optimizer". Maybe you can show us some of
your real SQL, together with the chosen plan and a short description of the
tables/views involved (e.g. does each table contain 10 or 10 million
records) and available indexes?
exist). Write statements in IB_SQL (www.ibobjects.com), prepare them,
investigate the plan and see if you think you can improve something.
Set
>is it possible to go PLAN(all_relevant_tables natural) or something? ;-)I hope not! Normally, you would want to use some indexes - though not
necessarily all suggested by the "optimizer". Maybe you can show us some of
your real SQL, together with the chosen plan and a short description of the
tables/views involved (e.g. does each table contain 10 or 10 million
records) and available indexes?
>Where can I find more detailed descriptions of PLAN than those in theTrial and error is the best I've come up with (though a better one may well
>Language Reference?
exist). Write statements in IB_SQL (www.ibobjects.com), prepare them,
investigate the plan and see if you think you can improve something.
Set