how to build index in oracle? how to chk oracle up or not
in sql?

Answer Posted / ketinenikrishna

An example when you are required to rebuild an index is if
in the brconnect stats log it is specified that an index is
in an unusable, missing, or bad index. There are three ways
that can help you succeed with this task. If we are talking
about a single oracle database that is not working with
other systems, than, of course, the only way is to rebuild
the index at sql level. But we are not talking only about
databases so far but about SAP systems that work with Oracle
databases as well right?
You can rebuild an unusable, missing, or bad index by
choosing any solution from the following 3:
1. Rebuild the index from SAP.
In order to perform this task in SAP, you need to run a
report of course. You need to go to SAP transaction SE38, or
if you prefer, SA38. In this transaction you will execute
the report RSANAORA. Once you had this report executed, on
the screen that follows you only need to put your index name
in the field and choose radio button Index rebuild. The last
step is to choose execute button again.
2. Rebuild the index at sql level.
In order to rebuild an index with this method you must log
on to operation system level with the ora<sid> user. Once
you are logged on connect with “sqlplus / as sysdba” string.
Now, for rebuilding the index you want you will use this
command alter index <name of the index> rebuild online.
3. Rebuild the index using Brtools.
That is of course as you already know a solution that you
can use being logged on as orasid at OS level. After you
choose brtools. Of course if you want you can type directly
the specific command of brspace for rebuilding the index,
but here I will show you how to do it and also understand
the steps. First you will choose from the brtools menu
option 3: Segment Management. In the next menu on option 3
you have Rebuild index. In the next menu under option 7 you
will be asked to provide the name of the index you want to
rebuild. After you did that, all you have to do is proceed
with option ‘c’ (continue) in order to have the index rebuild.
Log into infrastructure instance & login as sysdba;
How to chk oracle up or not in sql?
You can follow any one this method
1. Log into infrastructure instance & login as sysdba;
>sqlplus ‘/as sysdba’
SQL> select status from v$instance;
Status should be open.
2. Log into infrastructure instance & issue the following
command
ps -ef |grep ora
ps -ef |grep ora_
ps -ef |grep pmon
R3trans -d ; give RC – 0000 means active other than 0000 is
error
If DB instance is running, then the above command returns
the pmon process running
3. In Brtools
1. Instance Management,
6 – Show instance status,
3-Database instance,
Give the Database Name and press continue….give the status

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between with core

1249


steps to congigure CMS in XI ?

1759


Explain what is luw (logical unit of work)?

610


what can we do if shadow instance is down and getting up in prepare phase of upgrade

2137


what post steps and pre steps db refresh

2694






Why we execute SGEN, which Tables it modifies,will it cause DB growth? is it possible to execute SGEN later on after Golive?

2722


What is the system's configuration required to implement SAP.

892


Which are the most frequent errors encountered while dealing with transports ?

766


How you will give new authorizations?

1396


How do you check the installed software components and product versions on sap system?

603


Where do you check transport request logs?

661


Screenshot document for solution manager installation.

1341


1.how to retrive corrupt file in back up ? 2.what post actives of patching 3.how increase the file size in unix

1572


Do you know about oss what do you do with oss?

693


What is XI3.0? Explain XI

755