際際滷

際際滷Share a Scribd company logo
Nov辿 vlastnosti datab叩ze
Oracle 12c
Tom叩邸 Sola, Oracle ACE
Tomas Solar Consulting
Prezentace poch叩z鱈 z webin叩e, kter箪 probhl 3.3.2014 online na str叩nk叩ch
www.Tomas-Solar.com
pro informace o dal邸鱈ch prezentac鱈ch nav邸tivte webov辿 str叩nky.
Tom叩邸 Sola
 po叩d叩 r哲zn辿 webin叩e, workshopy, 邸kolen鱈
 vzd叩len spravuje datab叩ze klient哲
 poskytuje konzultace na r哲znorod箪ch projektech
Za chv鱈li za鱈name...
Tom叩邸 Sola, Oracle ACE
Tomas Solar Consulting
Online semin叩 na t辿ma:
Nov辿 vlastnosti datab叩ze Oracle 12c
Chat: IRC kan叩l, server Rizon, m鱈stnost #Webinar-Tomas-Solar
nebo v prohl鱈転ei http://www.rizon.net/chat channel: #Webinar-Tomas-Solar
Technick辿 probl辿my
Tomas Solar Consulting
V p鱈pad, 転e nastane technick箪 probl辿m a Vy se
nebudete moci pipojit na 転iv辿 vys鱈l叩n鱈, napi邸te m
to pros鱈m do chatu, koment叩哲 nebo do mailu.
V ka転d辿m p鱈pad nahran箪 stream bude k
dispozici na webu.
Nov辿 vlastnosti
datab叩ze Oracle 12c
Tom叩邸 Sola, Oracle ACE
Tomas Solar Consulting
Tomas Solar Consulting
Pedstaven鱈 - Kdo jsem?
Jm辿no:
Povol叩n鱈:
Certifikace:
Autor:
Co dl叩m:
Tom叩邸 Sola
DBA, konzultant, 邸kolitel, autor, blogger
Oracle ACE, OCP 10g/11g, OCE 10g/11g a dal邸鱈.
Oracle Database 11g - Hotov叩 e邸en鱈 (cpress)
Oracle DBA  examples from practice (ebook)
- Spravuji datab叩ze a OFM klient哲m, kte鱈 to chtj鱈.
- kol鱈m lidi, kter辿 to zaj鱈m叩.
- Pracuji na projektech, kter辿 jsou zaj鱈mav辿.
- Pipravuji webin叩e a workshopy, proto転e m to bav鱈.
- P鱈邸i o probl辿mech a jejich e邸en鱈.
- Bav鱈m se s lidmi, proto転e r叩d poslouch叩m.
C鱈l webin叩e:
Tomas Solar Consulting
Pedstavit nkter辿 z nov箪ch vlastnost鱈, kter辿
byly pid叩ny do datab叩ze Oracle 12c.
Neoek叩vejte hlubok辿 rozbory ani p鱈klady, to bude jinde na webu.
Novinek je dost a pravdpodobn vznikne je邸t pokraov叩n鱈, proto転e do
1h nejsem schopen pojmout v邸e.
Nkter辿 p鱈klady jsou a budou urit v EBOOKu.
Sledujte str叩nku webin叩u, kde se objevuj鱈 nov pipraven辿.
http://www.tomas-solar.com/webinare/
Tomas Solar Consulting
1. Oracle multitenant - architektura
2. Pesun datov辿ho souboru ONLINE
3. Identity columns
4. Podpora SQL p鱈kaz哲 v RMANovi
5. Enterprise Manager Database Express
6. SQL*Loader Express
7. Unified Auditing - konsolidovan辿 auditov叩n鱈
8. Informace o posledn鱈m pihl叩邸en鱈 u転ivatele
9. Invisible Columns
10. In database row archiving
11. Limit PGA pamti
12. Obnova tabulky z RMANa
13. Partition tabulky - ADD, MOVE online
Tomas Solar Consulting
 Spolen叩 SGA pro
v邸echny PDB
 Spolen辿 background
procesy
 Spolen辿 UNDO, redo,
control files a spfile
 PDB vlastn鱈 SYSTEM a
SYSAUX
 TEMP pouze CDB, ale
PDB m哲転e m鱈t vlastn鱈
Tomas Solar Consulting
Oracle multitenant - architektura
Performing Basic Tasks in Oracle Multitenant
Oracle learning library
Overview of the Multitenant Architecture
SQL> select view_name from dba_views where view_name like 'CDB%';
...
933 rows selected.
CDB_xxx - V邸e v CDB
DBA_xxx - V邸e v PDB
ALL_xxx - P鱈stupn辿v CDB
USER_xxx - Vlastnn辿 v CDB
local x common user
Tomas Solar Consulting
Pesun datov辿ho souboru ONLINE
Mon Feb 24 12:49:24 2014
alter database move datafile '/oradata/CDB/datafile/o1_mf_users_9jp9pp7g_.dbf' to '/oradata/CDB/datafile/users.dbf'
Mon Feb 24 12:49:24 2014
Moving datafile /oradata/CDB/datafile/o1_mf_users_9jp9pp7g_.dbf (6) to /oradata/CDB/datafile/users.dbf
Move operation committed for file /oradata/CDB/datafile/users.dbf
Completed: alter database move datafile '/oradata/CDB/datafile/o1_mf_users_9jp9pp7g_.dbf' to '/oradata/CDB/datafile/users.dbf'
Tomas Solar Consulting
Identity columns
Automatick叩 vazba mezi primary key a sequence
Tomas Solar Consulting
Podpora SQL p鱈kaz哲 v RMANovi
 SELECT
 DESCRIBE
Tomas Solar Consulting
Enterprise Manager Database Express
Tomas Solar Consulting
Enterprise Manager Database Express
SQL> select dbms_xdb_config.gethttpsport() from dual;
DBMS_XDB_CONFIG.GETHTTPSPORT()
------------------------------
5501
1 row selected.
SQL> select dbms_xdb_config.gethttpport() from dual;
DBMS_XDB_CONFIG.GETHTTPPORT()
-----------------------------
5500
1 row selected.
https://hostname:port/em
Oracle Database 12c: EM Database Express
Tomas Solar Consulting
SQL*Loader Express
Nen鱈 poteba controln鱈 soubor pro definici dat.
Tomas Solar Consulting
DDL, DML, DCL
Fine Grained Auditing (DBMS_FGA)
Oracle Database Real Application Security
Oracle Recovery Manager
Oracle Database Vault
Oracle Label Security
Oracle Data Mining
Oracle Data Pump
Oracle SQL*Loader Direct Load
Unified Auditing - konsolidovan辿 auditov叩n鱈
Data ulo転ena ve sch辿matu
AUDSYS, SYSAUX tablespace
Defaultn vypnut辿, zap鱈n叩 se
relinkov叩n鱈m
make -f ins_rdbms.mk uniaud_on
ioracle ORACLE_HOME=$ORACLE_HOME
Standartn鱈 auditov叩n鱈 zapnut辿
defaultn
Auditing with Unified Auditing
Tomas Solar Consulting
[oel64:oracle:orcl12c]$ cd $ORACLE_HOME/rdbms/lib
[oel64:oracle:orcl12c]$ pwd
/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib
[oel64:oracle:orcl12c]$ make -f ins_rdbms.mk uniaud_on ioracle
Unified Auditing - konsolidovan辿 auditov叩n鱈
AUDIT (Unified Auditing)
Tomas Solar Consulting
1.9.2.6 Last Login Time
Information
Informace o posledn鱈m pihl叩邸en鱈 u転ivatele
Vypnout -nologintime
Tomas Solar Consulting
Invisible Columns
 Sloupec skryt箪 pro aplikaci
 Create table as select
nebere dan箪 sloupec
 D叩 se pirovnat k view
 Vhodn辿 na testov叩n鱈i index哲
Tomas Solar Consulting
In database row archiving
 叩dek obsahuje komprimovan叩 data
 Data nejsou viditeln叩 pro aplikaci
 Nastaven parameter row archival na
tabulku
 Create table as je na v邸echny sloupce
 Vhodn辿 pro audity
 Nen鱈 teba data mazat, ale archivovat
p鱈mo v tabulce
Using In-Database Row Archiving
Tomas Solar Consulting
Ochrana ped
 str叩nkov叩n鱈m RAM
 RAC node eviction
P鱈ina
paraleln鱈 procesy
t鱈dn鱈
hash joins
Default
 2 GB Memory
 200% of
PGA_AGGREGATE_TARGET
 3MB per process (Parameter)
Session, kter叩 spotebov叩v叩 v鱈ce
pamti, je zru邸en叩.
Limit PGA pamti
Tomas Solar Consulting
Obnova tabulky z RMANa
Do p哲vodn鱈
Do do jin辿
Tomas Solar Consulting
Partition tabulky - ADD, MOVE online
DDL
 ADD
 DROP
 MERGE
 TRUNCATE
Indexy jsou VALID
Tomas Solar Consulting
1. Oracle multitenant - architektura
2. Pesun datov辿ho souboru ONLINE
3. Identity columns
4. Podpora SQL p鱈kaz哲 v RMANovi
5. Enterprise Manager Database Express
6. SQL*Loader Express
7. Unified Auditing - konsolidovan辿 auditov叩n鱈
8. Informace o posledn鱈m pihl叩邸en鱈 u転ivatele
9. Invisible Columns
10. In database row archiving
11. Limit PGA pamti
12. Obnova tabulky z RMANa
13. Partition tabulky - ADD, MOVE online
Tomas Solar Consulting
S 鱈m mohu pomoci
 Prov辿st z叩kladn鱈 healthcheck
 Zkonzultovat v叩邸 st叩vaj鱈c鱈 stav
 Pipravit 邸kolen鱈, workshop, webin叩
 Zajistit support databaz鱈. Spolupr叩ce
od 4h ms鱈n
 Spolupr叩ce na projektech
 EMERGENCY kontakt
 a dal邸鱈
Kontakt:
Web: http://www.tomas-solar.com/kontakt/
Mail: tom@tomas-solar.com
Tel: 731 196 647
Skype: tssoli
Bezplatn叩 konzultace !
Skype, hangout, telefon.
Tomas Solar Consulting
Dkuji za pozornost.
Napi邸te m ihned.
Dokud m叩te ot叩zky v hlav
T邸鱈m se na dal邸鱈m webin叩i.
Dkuji za vyplnn鱈 dotazn鱈ku, kter箪 V叩m za邸lu.
http://www.tomas-solar.com/dotaznik-k-webinari/
Registrace na komunitn鱈m webu pro DBA.
http://database-administrator.com/
Registrace k odbru ebooku
http://www.tomas-solar.com/ebook-zdarma/

More Related Content

Novinky Oracle db 12c

  • 1. Nov辿 vlastnosti datab叩ze Oracle 12c Tom叩邸 Sola, Oracle ACE Tomas Solar Consulting Prezentace poch叩z鱈 z webin叩e, kter箪 probhl 3.3.2014 online na str叩nk叩ch www.Tomas-Solar.com pro informace o dal邸鱈ch prezentac鱈ch nav邸tivte webov辿 str叩nky. Tom叩邸 Sola po叩d叩 r哲zn辿 webin叩e, workshopy, 邸kolen鱈 vzd叩len spravuje datab叩ze klient哲 poskytuje konzultace na r哲znorod箪ch projektech
  • 2. Za chv鱈li za鱈name... Tom叩邸 Sola, Oracle ACE Tomas Solar Consulting Online semin叩 na t辿ma: Nov辿 vlastnosti datab叩ze Oracle 12c Chat: IRC kan叩l, server Rizon, m鱈stnost #Webinar-Tomas-Solar nebo v prohl鱈転ei http://www.rizon.net/chat channel: #Webinar-Tomas-Solar
  • 3. Technick辿 probl辿my Tomas Solar Consulting V p鱈pad, 転e nastane technick箪 probl辿m a Vy se nebudete moci pipojit na 転iv辿 vys鱈l叩n鱈, napi邸te m to pros鱈m do chatu, koment叩哲 nebo do mailu. V ka転d辿m p鱈pad nahran箪 stream bude k dispozici na webu.
  • 4. Nov辿 vlastnosti datab叩ze Oracle 12c Tom叩邸 Sola, Oracle ACE Tomas Solar Consulting
  • 5. Tomas Solar Consulting Pedstaven鱈 - Kdo jsem? Jm辿no: Povol叩n鱈: Certifikace: Autor: Co dl叩m: Tom叩邸 Sola DBA, konzultant, 邸kolitel, autor, blogger Oracle ACE, OCP 10g/11g, OCE 10g/11g a dal邸鱈. Oracle Database 11g - Hotov叩 e邸en鱈 (cpress) Oracle DBA examples from practice (ebook) - Spravuji datab叩ze a OFM klient哲m, kte鱈 to chtj鱈. - kol鱈m lidi, kter辿 to zaj鱈m叩. - Pracuji na projektech, kter辿 jsou zaj鱈mav辿. - Pipravuji webin叩e a workshopy, proto転e m to bav鱈. - P鱈邸i o probl辿mech a jejich e邸en鱈. - Bav鱈m se s lidmi, proto転e r叩d poslouch叩m.
  • 6. C鱈l webin叩e: Tomas Solar Consulting Pedstavit nkter辿 z nov箪ch vlastnost鱈, kter辿 byly pid叩ny do datab叩ze Oracle 12c. Neoek叩vejte hlubok辿 rozbory ani p鱈klady, to bude jinde na webu. Novinek je dost a pravdpodobn vznikne je邸t pokraov叩n鱈, proto転e do 1h nejsem schopen pojmout v邸e. Nkter辿 p鱈klady jsou a budou urit v EBOOKu. Sledujte str叩nku webin叩u, kde se objevuj鱈 nov pipraven辿. http://www.tomas-solar.com/webinare/
  • 7. Tomas Solar Consulting 1. Oracle multitenant - architektura 2. Pesun datov辿ho souboru ONLINE 3. Identity columns 4. Podpora SQL p鱈kaz哲 v RMANovi 5. Enterprise Manager Database Express 6. SQL*Loader Express 7. Unified Auditing - konsolidovan辿 auditov叩n鱈 8. Informace o posledn鱈m pihl叩邸en鱈 u転ivatele 9. Invisible Columns 10. In database row archiving 11. Limit PGA pamti 12. Obnova tabulky z RMANa 13. Partition tabulky - ADD, MOVE online
  • 8. Tomas Solar Consulting Spolen叩 SGA pro v邸echny PDB Spolen辿 background procesy Spolen辿 UNDO, redo, control files a spfile PDB vlastn鱈 SYSTEM a SYSAUX TEMP pouze CDB, ale PDB m哲転e m鱈t vlastn鱈
  • 9. Tomas Solar Consulting Oracle multitenant - architektura Performing Basic Tasks in Oracle Multitenant Oracle learning library Overview of the Multitenant Architecture SQL> select view_name from dba_views where view_name like 'CDB%'; ... 933 rows selected. CDB_xxx - V邸e v CDB DBA_xxx - V邸e v PDB ALL_xxx - P鱈stupn辿v CDB USER_xxx - Vlastnn辿 v CDB local x common user
  • 10. Tomas Solar Consulting Pesun datov辿ho souboru ONLINE Mon Feb 24 12:49:24 2014 alter database move datafile '/oradata/CDB/datafile/o1_mf_users_9jp9pp7g_.dbf' to '/oradata/CDB/datafile/users.dbf' Mon Feb 24 12:49:24 2014 Moving datafile /oradata/CDB/datafile/o1_mf_users_9jp9pp7g_.dbf (6) to /oradata/CDB/datafile/users.dbf Move operation committed for file /oradata/CDB/datafile/users.dbf Completed: alter database move datafile '/oradata/CDB/datafile/o1_mf_users_9jp9pp7g_.dbf' to '/oradata/CDB/datafile/users.dbf'
  • 11. Tomas Solar Consulting Identity columns Automatick叩 vazba mezi primary key a sequence
  • 12. Tomas Solar Consulting Podpora SQL p鱈kaz哲 v RMANovi SELECT DESCRIBE
  • 13. Tomas Solar Consulting Enterprise Manager Database Express
  • 14. Tomas Solar Consulting Enterprise Manager Database Express SQL> select dbms_xdb_config.gethttpsport() from dual; DBMS_XDB_CONFIG.GETHTTPSPORT() ------------------------------ 5501 1 row selected. SQL> select dbms_xdb_config.gethttpport() from dual; DBMS_XDB_CONFIG.GETHTTPPORT() ----------------------------- 5500 1 row selected. https://hostname:port/em Oracle Database 12c: EM Database Express
  • 15. Tomas Solar Consulting SQL*Loader Express Nen鱈 poteba controln鱈 soubor pro definici dat.
  • 16. Tomas Solar Consulting DDL, DML, DCL Fine Grained Auditing (DBMS_FGA) Oracle Database Real Application Security Oracle Recovery Manager Oracle Database Vault Oracle Label Security Oracle Data Mining Oracle Data Pump Oracle SQL*Loader Direct Load Unified Auditing - konsolidovan辿 auditov叩n鱈 Data ulo転ena ve sch辿matu AUDSYS, SYSAUX tablespace Defaultn vypnut辿, zap鱈n叩 se relinkov叩n鱈m make -f ins_rdbms.mk uniaud_on ioracle ORACLE_HOME=$ORACLE_HOME Standartn鱈 auditov叩n鱈 zapnut辿 defaultn Auditing with Unified Auditing
  • 17. Tomas Solar Consulting [oel64:oracle:orcl12c]$ cd $ORACLE_HOME/rdbms/lib [oel64:oracle:orcl12c]$ pwd /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib [oel64:oracle:orcl12c]$ make -f ins_rdbms.mk uniaud_on ioracle Unified Auditing - konsolidovan辿 auditov叩n鱈 AUDIT (Unified Auditing)
  • 18. Tomas Solar Consulting 1.9.2.6 Last Login Time Information Informace o posledn鱈m pihl叩邸en鱈 u転ivatele Vypnout -nologintime
  • 19. Tomas Solar Consulting Invisible Columns Sloupec skryt箪 pro aplikaci Create table as select nebere dan箪 sloupec D叩 se pirovnat k view Vhodn辿 na testov叩n鱈i index哲
  • 20. Tomas Solar Consulting In database row archiving 叩dek obsahuje komprimovan叩 data Data nejsou viditeln叩 pro aplikaci Nastaven parameter row archival na tabulku Create table as je na v邸echny sloupce Vhodn辿 pro audity Nen鱈 teba data mazat, ale archivovat p鱈mo v tabulce Using In-Database Row Archiving
  • 21. Tomas Solar Consulting Ochrana ped str叩nkov叩n鱈m RAM RAC node eviction P鱈ina paraleln鱈 procesy t鱈dn鱈 hash joins Default 2 GB Memory 200% of PGA_AGGREGATE_TARGET 3MB per process (Parameter) Session, kter叩 spotebov叩v叩 v鱈ce pamti, je zru邸en叩. Limit PGA pamti
  • 22. Tomas Solar Consulting Obnova tabulky z RMANa Do p哲vodn鱈 Do do jin辿
  • 23. Tomas Solar Consulting Partition tabulky - ADD, MOVE online DDL ADD DROP MERGE TRUNCATE Indexy jsou VALID
  • 24. Tomas Solar Consulting 1. Oracle multitenant - architektura 2. Pesun datov辿ho souboru ONLINE 3. Identity columns 4. Podpora SQL p鱈kaz哲 v RMANovi 5. Enterprise Manager Database Express 6. SQL*Loader Express 7. Unified Auditing - konsolidovan辿 auditov叩n鱈 8. Informace o posledn鱈m pihl叩邸en鱈 u転ivatele 9. Invisible Columns 10. In database row archiving 11. Limit PGA pamti 12. Obnova tabulky z RMANa 13. Partition tabulky - ADD, MOVE online
  • 25. Tomas Solar Consulting S 鱈m mohu pomoci Prov辿st z叩kladn鱈 healthcheck Zkonzultovat v叩邸 st叩vaj鱈c鱈 stav Pipravit 邸kolen鱈, workshop, webin叩 Zajistit support databaz鱈. Spolupr叩ce od 4h ms鱈n Spolupr叩ce na projektech EMERGENCY kontakt a dal邸鱈 Kontakt: Web: http://www.tomas-solar.com/kontakt/ Mail: tom@tomas-solar.com Tel: 731 196 647 Skype: tssoli Bezplatn叩 konzultace ! Skype, hangout, telefon.
  • 26. Tomas Solar Consulting Dkuji za pozornost. Napi邸te m ihned. Dokud m叩te ot叩zky v hlav T邸鱈m se na dal邸鱈m webin叩i. Dkuji za vyplnn鱈 dotazn鱈ku, kter箪 V叩m za邸lu. http://www.tomas-solar.com/dotaznik-k-webinari/ Registrace na komunitn鱈m webu pro DBA. http://database-administrator.com/ Registrace k odbru ebooku http://www.tomas-solar.com/ebook-zdarma/