Vous êtes sur la page 1sur 18

SAPDBA

SAPDBA

2
02/24/17
SAPDBA

SAPDBA isaproparatoryToolofSAP.

FromECC5.0onwards,thereisnoSAPDBA.

InsteadofSAPDBA,wewillbeusingBRGUI.

OPS$MECHANISIM

SAP<SID>istheonlyusertoconnectthedatabase.Forthisuser,ops$<sid>admistheo/susertoconnect

thedatabasetogetthepasswordfromsapusertableanddisconnect.thensap<sid>usertoconnectthe

databaseusingthepassword.

DBUSERS

1.Ops$<sid>adm

2.Ops$sapservice<sid>

3.System

4.Sys 3
02/24/17
5.Outln
SAPDBA

STARTUP/SHUTDOWNINSTANCE

4
02/24/17
SAPDBA STARTUP LOCAL INSTANCE

5
02/24/17
STARTUPPHASES

NOMOUNT

1.init<sid>.orafileisinitialized.

2.db_block_size,db_buffer_size,shared_pool_area,allparametersset

3.SMON,PMON,DBWR,LGWRalltheprocessesareset.

4.Alertfiles,tracefilesareopenedatthisstage.

MOUNT

1.Tofindoutthelocationofdatafiles,controlfiles..

6
2.Nodatafilesareopenedatthisstage 02/24/17
SAPDBA SHUTDOWN LOCAL INSTANCE

7
02/24/17
SHUTDOWNPHASES

SHUTDOWNNORMAL

1.Nouserswillbeallowedtoconnecttothedatabase.

2.Thetransactionsareallowedwhicharealreadycommited

SHUTDOWNIMMEDIATE

Opentransactionsareallowed.

SHUTDOWNABORT

Noopentransactionsareallowed.

WheneversystemcrashesSMONwillreadtheredologfile
8
andupdatethedatabase.
02/24/17
SAPDBA INSTANCE INFORMATION

1.Toconnect

remoteinstanse

Selecta

2.Toconnectlocal

instance

Selectb

3.Toshow

summaryofall 9
02/24/17
SAPDBA TABLESPACE ADMINISTRATION

10
02/24/17
TABLESPACES

1.PSAPTEMP

2.PSAPUNDO

3.PSAP<SID>

4.PSAP<SID>REL

5.PSAP<SID>USR

6.SYSTEM

Checkthesizeofalltablespaces.Ifanytablespaceshaveabove95%

Thenadddatafilestothatrespectivetablespacebyenteringoptionf 11
02/24/17
.
SAPDBA REORGANIZATION

SAP Table Extent using


SAPDBA
login to your server and
activate sapdba
Choose :- d - Reorganization
b - Alter/show
table or index storage
parameters
b - Table or index
s - Alter/show
parameters
b - Next - here you
check the current extent
value and decide the best
next extent
s - Commit -
confirm you extent value
q - quit
q - Return
q - Return 12
q - Quit
02/24/17
RESTORE/RECOVERY

If you need to do a restore/recovery of the database

as a result of corruption or loss of data files,

the recommendation is to use the SAPDBA.

For the automatic recovery mode these are:

Check database

Find backup files

Restore backup files


13
Find archive files
02/24/17
SAPDBABACKUPDATABASE

14
02/24/17
BACKUP

Backupisessentialforasubsequentialrestore/recovery.

BRBACKUPisusedtobackupthedatabase.

TYPESOFBACKUP

1.Offlinebackup

2.Onlinebackup

3.Partialorincrementalbackup.

15
02/24/17
SAPDBA USER AND SECURITY

16
02/24/17
Q&A

Thank you!

17
02/24/17
SAPDBA

THANKYOU

18
02/24/17

Vous aimerez peut-être aussi