home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.oracle      Overblown overpriced overengineered SHIT      2,288 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 608 of 2,288   
   mcstock to Jim Kennedy   
   Re: count (1) and count (*)   
   29 Oct 03 11:25:47   
   
   From: mcstock@enquery.com   
      
   it used to be true prior to somewhere in v7 -- should not be true anymore,   
   but it's always good to do an EXPLAIN PLAN or SET AUTOTRACE ON to make sure   
      
   -- mcs   
      
   "Jim Kennedy"  wrote in message   
   news:H1Rnb.40108$mZ5.224243@attbi_s54...   
   >   
   > "Geetha"  wrote in message   
   > news:4b40e20a.0310290724.13e86079@posting.google.com...   
   > > I searched in the Oracle documents what count (1) meant and I could   
   > > not find an answer.  Can some one explain what Oracle does internally   
   > > when use count (1) VS count (*).  Thank you very much in advance! We   
   > > use Oracle 9i.   
   > There is a myth out there that count(1) is faster than count(*).  It isn't   
   > true.  Use count(*).(You can look it up on asktom.oracle.com)   
   > Jim   
   >   
   >   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca