Professional Documents
Culture Documents
==> connect /
2. LSNRCTL
Services of listner:
UNIX: tnslsnr
Windows: Oracle<DBSID><Release>TNSListner
3. tnsping <DBSID>
4. startup
To start Oracle DB
Eg. commands:
5. BRTOOLs
It runs the particular BR* in batch mode and user need not input all the inputs as
in interactive mode. Default values are selected.
6.
SQLPlus /nolog
SHOW <VARIABLE>/ALL
It runs the sqlplus command with @script at end, this script has set commands.
Transactions:
DBACOCKPIT
For holistic administration of DB
DB16
Use this transaction to view the overview of database checks.
DB17
Use this transaction to view and maintain check conditions used by a database
system check.
DB20
Use this transaction to edit table statistics.
DB21
Use this transaction to configure statistics.
DB26
Use this transaction to view the database parameter overview with history.
RZ20
Use this transaction to start the database alert monitor, which monitors all preset
alerts for
different areas of the database.
Tables:
DBCON
Entry required in external connection to DB
SDBAC
Background job (DB13) uses info in this table to understand which OS level command
to be executed on which server.
Instance start:
Start DB:
Stop DB:
Use: NORMAL/TRANSACTIONAL/IMMEDIATE/ABORT
Parameters:
Use SPFILE to update parameters using BRTOOLs so that init<DBSID>.ora file is also
updated online and both files remain in synch.
SPFILE can be opnened in text format but dont edit it. Leads to corruption
Brtools ==> Additional functions ==> Show profiles and logs ==> Oracle profile.
In one ADR base, there can be several ADR homes.Each home is place for each
instance.
Alert log:
xml file:
/oracle/<DBSID>/saptrace/diag/rdbms/<DBSID>/<DBSID>/alert
ASCII file:
/oracle/<DBSID>/saptrace/diag/rdbms/<DBSID>/<DBSID>/trace
alert_<DBSID>.log
ADRCI is used to maintain retention policy. So that older logs get deleted.