Y2018前一直使用Oracle,从曾经的8~9i、10~11g到12cR1/R2,从单机到多节点RAC,从各种Unix到Linux甚至Windows,有Sun/IBM/Dell/EMC存储,从weblogic、obiee等到EBS。。。个中滋味回味起来轮廓依旧清晰(爱憎分明
)
工龄不断+,不妨碍继续捡起来,权当加深了解。从流行的19c开始。
19c - 部署
官方部署文档显示部署和存储和先前版本类似,不表。
19c - Real-Time statistics 增强
该功能在12c支持CTAS,但对大批量数据load有影响,19c对该功大量ETL操作时有了性能帮助。Exadata专用。
19c - Automatic Indexing
基于column的使用情况自动invisible index并自我评估是否保留。
针对全部schema,也可针对特定schema
可为auto index圈定特定的存储tablespace
Oracle为auto index开路,允许你把所有自建的index(不包含主键)自动清除
view试图/report来让你了解auto index的使用情况和建议
18c - Clone a PDB/CDB with DBCA,Duplicate pdb from one CDB to another CDB
use createPluggableDatabase参数,可以帮助我们快速create一个具有相同结构的pdb
use createDuplicateDB参数可以克隆CDB,前提归档
duplicate a pluggable database (PDB) from one container database (CDB) instance to another existing CDB instance using RMAN
18c - Cancel a SQL in a session,等同kill session
ALTER SYSTEM CANCEL SQL 'SID, SERIAL[, @INST_ID][, SQL_ID]';
18c - 清理不活动的sesions
use profile or job,example for profile
-- Kill sessions older than 2 hours.
CREATE PROFILE old_session_profile LIMIT
CONNECT_TIME 120
/
-- Kill sessions that have been inactive for 1 hour.
CREATE PROFILE inactive_session_profile LIMIT
IDLE_TIME 60
/
-- Kill sessions older than 2 hours or inactive for 1 hour.
CREATE PROFILE old_or_inactive_sess_profile LIMIT
CONNECT_TIME 120
IDLE_TIME 60
/
-- Assign relevant profile to a user.
ALTER USER my_user PROFILE old_or_inactive_sess_profile;
18c - allows you to control the amount of disk I/O used by a PDB
很赞,类似资源管理器
参数:MAX_IOPS, MAX_MBPS
当然可通过以下试图进行实时或回顾monitoring
V$RSRCPDBMETRIC
: A single row per PDB, holding the last of the 1 minute samples.V$RSRCPDBMETRIC_HISTORY
: 61 rows per PDB, holding the last 60 minutes worth of samples from theV$RSRCPDBMETRIC
view.V$RSRC_PDB
: Cumulative statistics since the CDB resource plan ws set.DBA_HIST_RSRC_PDB_METRIC
: AWR snaphots, retained based on the AWR retention period.




