Creation of Index [message #165491] |
Thu, 30 March 2006 10:22 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
suryamz
Messages: 17 Registered: March 2006
|
Junior Member |
|
|
Hi
we have oracle 8i/win nt. (Prod Server running 24 X7)
Iam new to Performance Tuning
On doing a explain plan on long running queries.
i realised a couple of columns (that were used in the WHERE condition, were not having any indexes.)
More importantly, here we do not have a Test environment.
I would like to know if i can go ahead and create indexes for those 2 columns by issuing
CREATE INDEX index_name on table_name(Column_name);
on our PDB.
Would this be of any impact on our PDB?
Do i check anything more prior to building these indexes.
or
Do have i create them at a down time of PDB.
Please clarify on these questions
Thanks
surya
|
|
|
|
Re: Creation of Index [message #558028 is a reply to message #165493] |
Tue, 19 June 2012 00:10 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](//www.gravatar.com/avatar/7587f1e1dc7836c6b81ad21d234a2aad?s=64&d=mm&r=g) |
Jack14
Messages: 497 Registered: December 2011 Location: INDIA
|
Senior Member |
|
|
Quote:Depending on your version, may be you can make use of a virtual index and check whether your query is really making use of it. If so, drop the virtual index and create a regular index.
I have a doubt on virtual index.
When we create virtual index and found the query is making use of it ,then why do we need
to drop the virtual index and create a regular index rather than using the virtual index itself
for the query?
In other way , what if we dont drop the virtual index and continue using the same virtual index for the query.
Can somebody explain me on this ?
Regards,
Jack
[Updated on: Tue, 19 June 2012 00:15] Report message to a moderator
|
|
|
|
|