Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Index rebuild

Re: Index rebuild

From: Brett Neumeier <random_at_interaccess.com>
Date: 1998/02/20
Message-ID: <6ck90p$4b6$2@nntp3.interaccess.com>#1/1

Satish Narasimha (satishn_at_blr.sni.de) wrote:
:I read in one of the article that if you want to have index rebuilt we need
:not use Alter index.....REBUILD, instead if we execute select count(*)
: from <tabname> will rebuild the index.

It does not.

"select count(*) from <table>" does not change anything in the database. It performs a full table scan, counts the number of rows, and returns that count. That's all it does.

-- 
-bn
random_at_interaccess.com	(PGP 2.6.2 public key available on request)
"There is no .signature -- only ZUUL!"
Received on Fri Feb 20 1998 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US