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

Where is the Deletion Flag or Indicator used in archiving process?

3131


What is GRIR, GRIR effect, why it is imp, How it is analysed, What is expected out GRIR, What is auto write off & Manual GRIR write off?

2836


Where XML file is generated in solution manager?

1544


What is you allocate disks to different areas in sap?

997


User wants lock ASAP then what will u do?

1674


On a particular system how you can get a list of the users with development access on a particular system?

893


What is the different type of users in sap?

864


In what ways you would know whether a system is unicode or non-unicode?

790


If brtools is not working how you will add datafile?

2276


Explain reference and service user in sap. What are their uses?

837


Is system user sap basis consultant and dialogue user other user like fico, hr, mm user?

1325


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

1779


what is the procedure for java stack upgradation?

2095


What are the key responsibilities of sap basis administrator?

861


Do? If another user wants to share that lock but the user using that

1521