It is difficult to come up with a solution because I don't know the details of what you are doing. For example, complete table syntax including indexes, constraints etc. And the SQL which you have tried. I'm not sure I could find a solution even if I did know the details.
Mike On Thu, Jun 16, 2011 at 1:57 PM, Gayathri <gd0...@gmail.com> wrote: > Yes Mike.. I did try the same query. > > > > On Thu, Jun 16, 2011 at 1:38 PM, Michael Moore <michaeljmo...@gmail.com>wrote: > >> did you look at my last example? >> >> >> On Thu, Jun 16, 2011 at 1:13 PM, Gayathri <gd0...@gmail.com> wrote: >> >>> I was stuck in identifying where was i wrong. >>> >>> did the exact same way, but it was still taking FULL table scan, >>> Later found that there are 3 columns in the select clause those are not >>> indexed. commenting them out.. let it take FAST FULL SCAN. it is lot better >>> now. >>> >>> But I need to include those 3 columns in the SELECT. Any suggestions? >>> what am i missing? >>> >>> >>> >>> On Wed, Jun 15, 2011 at 12:16 PM, Michael Moore < >>> michaeljmo...@gmail.com> wrote: >>> >>>> or simply >>>> >>>> SELECT /*+ and_equal(em EMP_EMP_ID_PK EMP_NAME_IX) */ >>>> em.employee_id, em.last_name, email >>>> FROM qsn_app.employees em >>>> WHERE INSTR (UPPER (em.last_name), 'KIN', 1,1) > 0; >>>> >>>> which gives the same plan. >>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Oracle PL/SQL" group. >>>> To post to this group, send email to Oracle-PLSQL@googlegroups.com >>>> To unsubscribe from this group, send email to >>>> oracle-plsql-unsubscr...@googlegroups.com >>>> For more options, visit this group at >>>> http://groups.google.com/group/Oracle-PLSQL?hl=en >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Oracle PL/SQL" group. >>> To post to this group, send email to Oracle-PLSQL@googlegroups.com >>> To unsubscribe from this group, send email to >>> oracle-plsql-unsubscr...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/Oracle-PLSQL?hl=en >>> >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Oracle PL/SQL" group. >> To post to this group, send email to Oracle-PLSQL@googlegroups.com >> To unsubscribe from this group, send email to >> oracle-plsql-unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/Oracle-PLSQL?hl=en >> > > -- > You received this message because you are subscribed to the Google > Groups "Oracle PL/SQL" group. > To post to this group, send email to Oracle-PLSQL@googlegroups.com > To unsubscribe from this group, send email to > oracle-plsql-unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/Oracle-PLSQL?hl=en > -- You received this message because you are subscribed to the Google Groups "Oracle PL/SQL" group. To post to this group, send email to Oracle-PLSQL@googlegroups.com To unsubscribe from this group, send email to oracle-plsql-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Oracle-PLSQL?hl=en