DBAsupport.com Forums - Powered by vBulletin
Results 1 to 8 of 8

Thread: partition pruning with local index

Threaded View

  1. #6
    Join Date
    Jan 2001
    Posts
    2,828
    Hi

    Well the answer is simple both the queries are different.

    select count(*) from emptest where deptno=10;

    I see that you have not created a index on deptno :-)

    The query that is equivalent of
    select count(*) from emptest
    is
    select count(*) from emptest partition(p1);

    (dont look at the result i am saying optimizer wise they are equivalent now thats a term i made up)

    I hope it answers your question

    regards
    Hrishy
    Last edited by hrishy; 03-13-2006 at 08:33 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width