This is a cheat sheet for Oracle 12C R2 workshop Part I
Will conver those topics:
- EM
- CBD
- PDB
- Network
- User Security
- Tablespaces
EM Express
|
|
CDB
Basic Information
|
|
Disk Informaiton
|
|
Instance Information
|
|
PDB
|
|
Create
|
|
Clone
|
|
Unplugging and Plugging a PDB
Unplugging
|
|
check compatiable
|
|
Plugging
|
|
Drop
|
|
Database Instance
Lifecycle
|
|
spfile/pfile
Load order:
- spfile
- pfile
|
|
View parameters:
- V$PARAMETER
- V$SPPARAMETER
- V$PARAMETER2
- V$SYSTEM_PARAMETER
|
|
Update
|
|
Diagnostic
|
|
adrci
|
|
Log DDL
Target file: /u01/app/oracle/diag/rdbms/orcl/ORCL/log/ddl_ORCL.log
|
|
Networking
Two files:
- listeners.ora: lnsrctl used
- tnsnames.ora: Network configuration file.
- /u01/app/oracle/product/12.2.0/dbhome_1/network/admin/tnsnames.ora
|
|
lsnrctl
|
|
Dynamic Listener
create a listener, named LISTENER2, that listens on the non-default port 1561 for all database
services
|
|
|
|
|
|
Static Listener for a PDB
create a listener named LISTENER_PDB1 that listens on the non-default port 1562 for the
PDB1.example.com service
|
|
TNS name
$ORACLE_HOME/network/admin/tnsnames.ora
|
|
Privilege
Query
|
|
User
|
|
Role
|
|
Profile
|
|
Audit Policy
|
|
Tablespace
Dictionary
Tablespace information:
- DBA_TABLESPACES
- V$TABLESPACE
Data file information:
- DBA_DATA_FILES
- V$DATAFILE
Temp file information:
- DBA_TEMP_FILES
- V$TEMPFILE
Tables in a tablespace:
- ALL_TABLES
|
|
Maintain
|
|