CSDL Oracle 12c
ĐÀO TẠO
Oracle Database 12c New Feature
Oracle Database Architecture: Overview
Oracle Database Architecture: Overview
Connecting to an Instance
– Local connect
– Remote connect
– Oracle environment: ORACLE_HOME, ORACLE_SID
– LISTENER and TNSNAMES file:
$ORACLE_HOME/network/admin
Connecting to an Instance
Single Instance with SID
Single instance with service name
RAC instances
TIBCOADMIN=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=10.53.33.76)
(PORT=1521)
)
)
(CONNECT_DATA=
(SID=db12c02p1)
)
)
TIBCOADMIN=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=10.53.33.76)
(PORT=1521)
)
)
(CONNECT_DATA=
(SERVICE_NAME=db12c02p1)
)
)
TIBCOADMIN_P1=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=10.53.33.75)
(PORT=1521)
)
(ADDRESS=
(PROTOCOL=TCP)
(HOST=10.53.33.76)
(PORT=1521)
)
)
(CONNECT_DATA=
(SERVICE_NAME=db12c02p1)
)
)
Kiểm tra kết nối:
$ tnsping dev12c TNS Ping Utility for Linux: Version 12.1.0.1.0 - Production on 19-MAY-2013 12:20:07 Copyright (c) 1997, 2013, Oracle. All rights
reserved. Used parameter files: /u01/app/oracle/product/12.1.0/dbhome_1/network/admin/sqlnet.ora Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =
localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = dev12c))) OK (20 msec)
ERROR: TNS-03505: Failed to resolve name, TNS-12560: TNS:protocol adapter error, TNS-12541: TNS:no listener, ORA-12514: TNS:listener does not
currently know of service requested in connectdescriptor …
Connecting to an Instance
- Local connection as oracle user using sqlplus
sqlplus / as sysdba
– Remote connection using sqlplus
sqlplus username/password@tnsname as sysdba
- Client version:
- Oracle client 10g, 11g, 12c
- Java: ojdbc6.jar, ojdbc7.jar (and JDK7)
(SQLNET.ALLOWED_LOGON_VERSION_SERVER=8)*
Connect to Oracle instance
Oracle Automatic Workload
Repository
• AWR and AWR report
Oracle 12c New Feature
Mutitenant
Oracle 12c New Feature
Mutitenant
Oracle 12c New Feature
User and Role
Oracle 12c New Feature
User and Role
Oracle 12c New Feature
User and Role
Oracle 12c New Feature
Backup and Recovery
Oracle 12c New Feature
Backup and Recovery
Oracle 12c New Feature
Backup and Recovery
Oracle 12c New Feature
Backup and Recovery
Oracle 12c New Feature
Backup and Recovery
Oracle 12c New Feature
Backup and Recovery
Oracle 12c New Feature
Backup and Recovery
Oracle 12c New Feature
Inmemory Column Store
Oracle 12c New Feature
Inmemory Column Store
Oracle 12c New Feature
Inmemory Column Store
Oracle 12c New Feature
Inmemory Column Store