ORACLE/Admin

오라클 19c New Features 및 주요 변경사항

내맘대로긍정 2021. 5. 12. 21:03

OS환경 : Oracle Linux 7.6 (64bit)

 

DB 환경 : Oracle Database 19.11.0.0

 

방법 : 오라클 19c New Features

19c 주요 변경사항

 - Oracle 19c 부터 SE 버전의 RAC 구성을 더 이상 지원하지 않음

 - 19c 이전 버전에서 SE 버전의 RAC를 사용 중인 고객이 19c로 업그레이드 하시려면 EE 버전의 RAC로 구성하거나,  -   - Single Instance로 전환을 업그레이드 전에 수행 해야함
 - RAC 구성 요소 중 MGMT DB (GIMR)이 선택 사항으로 변경됨. 12.1.0.2부터 필수 구성 요소 였으나, 19c에서 선택사항으로 변경되었고 오라클에선 구성을 권고하고 있음
 - RAC 구성시 OCR/Voting Disk 저장영역을 CFS로 선택할 수 있음. 이전 버전인 18c에선 OCR/Voting Disk 저장영역은 ASM만 선택할 수 있었음
 - Flex Cluster의 구성요소 중 Leaf Node가 없어지고, 모두 Hub Node로 구성됨
 - Database Software Install 방식이 Grid Software 처럼 $ORACLE_HOME Path에 Unzip 후 runInstaller를 수행하는  형태로 변경되었으며, Linux 버전의 경우 rpm 패키지 설치도 가능함
 - Dbca -slient 옵션을 사양해서 DB 복제(duplicate) 수행이 가능함. 이를 이용해 PDB - CDB- Non CDB or RAC 와  - Single등 여러 형태로 복제 수행이 간단하게 가능함
 - Grid (Clusterware) Upgrade를 검증하기 위한 dry-run mode가 추가되었음. 이를 이용해 Upgrade 절차에 문제가 없는지 운영 환경에 영향없이 사전에 검증을 수행 할 수 있음
 - Zero-Downtime Oracle Grid Infrastructure Patching 을 지원함
 - Addnode.sh와 clone.pl script가 지원 중단됨

 

 

19c New Features

영문을 구글번역기로 번역 후 다듬은 게시글이라 문장이 조금 어색할 수 있음

 

 

Oracle Database 제공 사용자 계정은 이제 스키마 전용 계정임
SYS 및 샘플 스키마를 제외한 대부분의 Oracle Database 제공 사용자 계정은 이제 스키마 전용 계정임

즉, 이러한 계정은 암호없이 생성됨. 이렇게 하면 악의적인 사용자가 이러한 계정에 로그인하지 못함

인증을 원할 때마다 이러한 계정에 암호를 할당 할 수 있음. 계정 상태를 확인하려면 DBA_USERS 뷰의 ACCOUNT_STATUS 컬럼을 확인하면 됨. 계정이 스키마 전용인 경우 상태는 NONE 임

Automatic indexing
Automatic indexing 기능은 애플리케이션 워크로드의 변화에 ​​따라 Oracle 데이터베이스에서 인덱스 생성, 리빌드 및 삭제와 같은 인덱스 관리 작업을 자동화함. 이 기능은 Oracle 데이터베이스에서 인덱스를 자동으로 관리하여 데이터베이스 성능을 향상시킴

과도한 시스템 리소스를 사용하는 SQL 문에 대한 격리
이제 CPU 및 I/O와 같은 시스템 리소스의 과도한 소비로 인해 Resource Manager에 의해 종료 된 SQL 문에 대한 격리를 구성 할 수 있음. 격리 된 SQL 문은 다시 실행할 수 없으므로 성능 저하로부터 데이터베이스를 보호함

최적화 된 Rowstore - 빠른 수집
Memoptimized Rowstore의 빠른 수집 기능은 사물 인터넷 (IoT)과 같은 애플리케이션의 high-frequency 단일 행 데이터 삽입 처리를 최적화함

하이브리드 파티션 테이블
Oracle Database는 이제 하이브리드 파티션 테이블이라는 새로운 유형의 테이블을 지원함. 하이브리드 파티션 테이블은 일부 파티션이 데이터베이스에 있고 일부 파티션은 운영 체제 파일 또는 HDFS (Hadoop Distributed File System) 파일과 같은 외부 파일에있는 데이터베이스 외부에있는 파티션 된 테이블임

DBCA silent 모드의 새로운 기능
 - 원격 PDB를 복제하여 PDB 생성
   DBCA 명령 중 createPluggableDatabase의 createFromRemotePDB 파라미터를 사용하여 원격 PDB를 복제하여 PDB를 생성할 수 있음

 - PDB를 다른 CDB로 재배치
   DBCA 명령 중 relocatePDB를 사용하여 PDB를 다른 CDB로 재배치 할 수 있음

 - Oracle 데이터베이스의 복제본 만들기
   DBCA 명령 중 createDuplicateDB를 사용하여 Oracle 데이터베이스의 복제본을 만들 수 있음

SQL 문 진단과 관련된 새로운 기능
SQL Test Case Builder 및 SQL Repair Advisor와 같은 SQL 진단 및 복구 도구가 향상되어 문제가 있는 SQL 문 관리를 위한 더 나은 진단 및 복구 기능을 제공함

새로운 SQL 복구 어드바이저 기능 DBMS_SQLDIAG.SQL_DIAGNOSE_AND_REPAIR
새로운 SQL Repair Advisor 함수 인 DBMS_SQLDIAG.SQL_DIAGNOSE_AND_REPAIR는 진단 작업을 생성하고 실행하며 심각한 오류를 생성하는 SQL 문에 대한 SQL 패치 권장 사항을 수락?함

SQL Test Case Builder 출력을 제어하는 ​​새로운 옵션
새로운 옵션 지정 가능 - compress, diag_event, problem_type 등

DBMS_SQLDIAG.EXPORT_SQL_TESTCASE 프로시저에서 SQL 테스트 케이스 빌더의 출력을 제어함

새로운 뷰 V$SQL_TESTCASES
V$SQL_TESTCASES 뷰를 조회하여 SQL Test Case Builder에서 생성한 모든 테스트 케이스에 대한 정보를 볼 수 있음


data dictionary 빌드를 위한 새 SQL 스크립트 catpcat.sql
CREATE DATABASE 문을 사용하여 데이터베이스를 만든 후 data dictionary을 빌드하기 위해 catalog.sql 및 catproc.sql 스크립트를 실행하는 대신 새 스크립트 catpcat.sql을 사용하여 catctl.pl을 실행할 수 있음.

catpcat.sql 스크립트는 병렬 프로세스로 catalog.sql 및 catproc.sql 스크립트를 실행하므로 data dictionary을 수동으로 빌드하는 성능이 향상됨

새로운 ALTER SYSTEM 문 절 - FLUSH PASSWORDFILE_METADATA_CACHE
데이터베이스 패스워드 파일 이름 또는 위치가 변경된 경우 변경 사항을 적용하려면 FLUSH PASSWORDFILE_METADATA_CACHE 절과 함께 ALTER SYSTEM 문을 실행해야함

Oracle Database In-Memory에 대해 Oracle Database Resource Manager가 자동으로 활성화 됨
Resource Manager는 INMEMORY_SIZE 초기화 매개 변수를 0보다 큰 값으로 설정하여 Oracle Database In-Memory가 활성화되면 자동으로 활성화됨

새보기 뷰 DBA_REGISTRY_BACKPORTS
새로운 DBA_REGISTRY_BACKPORTS 뷰는 데이터베이스에 적용된 패치로 수정 된 버그를 보여줌. data dictionary를 수정 한 버그 수정 만 이 뷰에 표시됨

 

원문

Oracle Database supplied user accounts are now schema only accounts
Most of the Oracle Database supplied user accounts, except SYS and sample schemas are now schema only accounts, that is, these accounts are created without passwords. This prevents malicious users from logging into these accounts. You can assign passwords to these accounts whenever you want them to be authenticated. To find the status of an account, query the ACCOUNT_STATUS column of the DBA_USERS data dictionary view. If the account is schema only, then the status is NONE.

Automatic indexing
The automatic indexing feature automates the index management tasks, such as creating, rebuilding, and dropping indexes in an Oracle database based on changes in the application workload. This feature improves database performance by managing indexes automatically in an Oracle database.

Quarantine for SQL statements consuming excessive system resources
You can now configure quarantine for SQL statements terminated by the Resource Manager due to their excessive consumption of system resources, such as CPU and I/O. The quarantined SQL statements are not allowed to run again, thus protecting the database from performance degradation.

Memoptimized Rowstore - Fast Ingest
The fast ingest feature of the Memoptimized Rowstore optimizes the processing of high-frequency, single-row data inserts from applications, such as Internet of Things (IoT).

Hybrid partitioned tables
Oracle Database now supports a new type of table called hybrid partitioned table. A hybrid partitioned table is a partitioned table in which some partitions reside in the database and some partitions reside outside the database in external files, such as operating system files or Hadoop Distributed File System (HDFS) files.

New features in DBCA in the silent mode
The following are the new features in DBCA in the silent mode:

Create a PDB by cloning a remote PDB
You can use the createFromRemotePDB parameter of the DBCA command createPluggableDatabase to create a PDB by cloning a remote PDB.

Relocate a PDB to another CDB
You can use the DBCA command relocatePDB to relocate a PDB to another CDB.

Create a duplicate of an Oracle database
You can use the DBCA command createDuplicateDB to create a duplicate of an Oracle database.

New features related to SQL statements diagnosibility
The SQL diagnostics and repair tools, such as SQL Test Case Builder and SQL Repair Advisor have been enhanced to provide better diagnosis and repair capabilities for managing problematic SQL statements.

New SQL Repair Advisor function DBMS_SQLDIAG.SQL_DIAGNOSE_AND_REPAIR
The new SQL Repair Advisor function DBMS_SQLDIAG.SQL_DIAGNOSE_AND_REPAIR creates a diagnostic task, executes it, and accepts SQL patch recommendation for a SQL statement that is generating a critical error.

New options to control SQL Test Case Builder output
You can specify the new options ? compress, diag_event, and problem_type ? in the DBMS_SQLDIAG.EXPORT_SQL_TESTCASE procedure to control the output of SQL Test Case Builder.

New view V$SQL_TESTCASES
You can view the information about all the test cases generated by SQL Test Case Builder by querying the V$SQL_TESTCASES view.

New SQL script catpcat.sql for building the data dictionary
After creating a database using CREATE DATABASE statement, you can run catctl.pl with the new script catpcat.sql in place of running the scripts catalog.sql and catproc.sql for building the data dictionary. The script catpcat.sql runs the scripts catalog.sql and catproc.sql with parallel processes, thus improving the performance of building the data dictionary manually.

New ALTER SYSTEM statement clause ? FLUSH PASSWORDFILE_METADATA_CACHE
If the database password file name or location has changed, then you must run the ALTER SYSTEM statement with the FLUSH PASSWORDFILE_METADATA_CACHE clause for the changes to take effect.

Oracle Database Resource Manager automatically enabled for Oracle Database In-Memory
The Resource Manager is automatically enabled when Oracle Database In-Memory is enabled by setting the INMEMORY_SIZE initialization parameter to a value greater than 0.

New view DBA_REGISTRY_BACKPORTS
The new view DBA_REGISTRY_BACKPORTS shows the bugs that have been fixed by the patches applied to the database. Only the bug fixes that have modified the data dictionary are displayed in this view.


19c ASM, RAC New Features

영문을 구글번역기로 번역 후 다듬은 게시글이라 문장이 조금 어색할 수 있음

 

 

19c ASM New Features
 - SRVCTL 명령 향상
 - 패스워드 파일 메타 데이터 flush 기능
 - CONTENT_CHECK 디스크 그룹 속성을 사용하여 자동 블록 손상 복구
 - 신규 및 업데이트 된 ASMCMD 명령
     ASMCMD pwcreate 명령의 암호 옵션은 이제 선택 사항임
     새로운 ASMCMD setsparseparent 명령은 sparse 하위 파일의 부모를 설정함
     새로운 ASMCMD mvfile 명령은 파일이 저장된 동일한 디스크 그룹의 지정된 파일 그룹으로 파일을 이동함
 - 패리티 보호 파일 지원

 

19c RAC(Clusterware) New Features
 - 다운 타임없는 Oracle Grid Infrastructure 패칭
 - Oracle Clusterware를위한 대체 네트워크 제공
 - Oracle Clusterware 19c에 대한 SRVCTL 변경 사항
 - 신속한 홈 프로비저닝 이름 변경
 - 세분화 된 단일 인스턴스 PDB 패치
 - 플릿 패치 및 프로비저닝을 사용한 다운 타임 제로 Oracle Grid Infrastructure 패치
 - Oracle Grid Infrastructure 업그레이드를위한 자동화 된 트랜잭션 드레이닝
 - Oracle Restart 패치 및 업그레이드
 - CRSCTL을 사용하여 TLS 암호 사양 지원

 

 

원문

 - SRVCTL command enhancements
 - Flushing the password file metadata
 - Automatic block corruption recovery with the CONTENT_CHECK disk group attribute
 - New and updated ASMCMD commands
    The password option with the ASMCMD pwcreate command is now optional.
    The new ASMCMD setsparseparent command sets the parent for a sparse child file.
    The new ASMCMD mvfile command moves a file to the specified file group in the same disk group where the file is stored.
 - Support for Parity Protected Files


These are the new features for Oracle Clusterware Administration in Oracle 19c.
 - Zero-downtime Oracle Grid Infrastructure Patching
 - Provide an Alternate Network for Oracle Clusterware
 - SRVCTL Changes for Oracle Clusterware 19c
 - Rapid Home Provisioning Name Change
 - Fine-Grained Single-Instance PDB Patching
 - Zero-Downtime Oracle Grid Infrastructure Patching Using Fleet Patching and Provisioning
 - Automated Transaction Draining for Oracle Grid Infrastructure Upgrades
 - Oracle Restart Patching and Upgrading
 - Support the Specification of TLS Ciphers Using CRSCTL

 

 

19c Backup & Recovery New Features

 

영문을 구글번역기로 번역 후 다듬은 게시글이라 문장이 조금 어색할 수 있음

 


PDB에 대한 복구 카탈로그 지원
대상 데이터베이스가 플러그 형 데이터베이스 (PDB) 인 경우 복구 카탈로그에 연결할 수 있음

플래시백 로그 자동 삭제
보존 기간이 지난 플래시백 로그는 자동으로 삭제됨. 플래시백 로그 자동 삭제는 빠른 복구 영역의 관리를 단순화하고 플래시백 데이터베이스의 성능을 향상시킴

GRANT 및 REVOKE 명령의 PLUGGABLE DATABASE 절
특정 PDB에 대한 권한을 데이터베이스 사용자에게 부여하고 취소 할 수 있음

 

 

원문

Recovery catalog support for PDBs
You can connect to a recovery catalog when the target database is a pluggable database (PDB).

Automatic deletion of flashback logs
Flashback logs that are beyond the retention period are automatically deleted. Automatically deleting flashback logs simplifies the management of the fast recovery area and improves the performance of flashback database.

PLUGGABLE DATABASE clause in GRANT  and REVOKE commands
You can grant and revoke privileges on a specific PDB to a database user.

 

19c Multitenant New Features

영문을 구글번역기로 번역 후 다듬은 게시글이라 문장이 조금 어색할 수 있음

 

 

데이터베이스 관리 PDB 스냅샷의 향상
초기화 파라미터 CLONEDB가 TRUE 인 경우 데이터베이스 관리 스냅샷은 소스 PDB의 데이터 파일에 대한 희소 복사본을 만듬. Oracle Database 19c부터는 읽기/쓰기가 가능하고 open된 소스 PDB에서 데이터베이스 관리 스냅샷 복제 PDB를 생성 할 수 있음. 이전 릴리스에서는 소스 PDB가 스냅샷 클론 PDB의 수명 동안 읽기 전용으로 유지되고 변경되지 않아야했음

PDB에서 워크로드 캡처 및 재생
로컬 사용자는 PDB 수준에서 워크로드를 캡처, 재생 및보고 할 수 있음

PDB에 대한 ADDM 분석
ADDM을 사용하여 PDB 내부에서 생성 된 AWR 스냅 샷을 통해 PDB 내부에 저장된 AWR 데이터를 분석 할 수 있음. 비 CDB, CDB 루트 또는 PDB의 AWR 저장소로 가져온 PDB의 AWR 데이터를 분석 할 수도 있음. PDB의 자동 ADDM은 기본적으로 비활성화되어 있음. 자동 AWR 스냅 샷을 활성화하여 PDB에 대해 활성화 할 수 있음.

동일한 CDB에서 여러 PDB 샤드 지원
단일 CDB에는 샤드 카탈로그 데이터베이스로 여러 PDB가 포함될 수 있음. 또한 CDB에는 서로 다른 분할 된 데이터베이스 (SDB)의 분할 된 PDB가 포함될 수 있으며, 각각은 별도의 카탈로그 데이터베이스에서 관리됨.

세분화 된 단일 인스턴스 PDB 패치
Oracle Grid Infrastructure에서 Rapid Home Provisioning을 사용하여 한 CDB에서 다른 CDB로 PDB 재배치를 자동화 할 수 있음.

DBCA를 사용하여 원격 PDB 복제
자동 모드에서 DBCA를 사용하여 원격 PDB를 복제 할 수 있음.

원격 PDB 재배치
DBCA (Database Configuration Assistant)를 사용하여 PDB를 원격 CDB에서 로컬 CDB로 재배치 할 수 있음.

데이터 펌프 Import를 위한 클라우드 개체 저장소 지원
impdb의 credential 매개 변수는 오브젝트 저장소 버킷에 액세스하는 데 필요한 사용자 이름과 비밀번호를 포함하는 신임 오브젝트의 이름을 지정함. 데이터베이스 속성 DEFAULT_CREDENTIAL을 사용하여 기본 자격 증명을 지정할 수도 있음.

인프라 데이터베이스 관리자를위한 Database Vault Operations Control
Oracle Database Vault를 사용하여 일반 사용자 (예 : 인프라 DBA)가 PDB의 로컬 데이터에 액세스하지 못하도록 차단할 수 있음. 따라서 일반 사용자는 로컬 데이터에 액세스 할 수 없음. 이를 통해 비즈니스 애플리케이션에 대한 민감한 데이터를 저장하고 민감한 고객 데이터에 액세스하지 않고도 운영에서 데이터베이스 인프라를 관리 할 수 있음.

 

 

원문

Enhancements to database-managed PDB snapshots
When the initialization parameter CLONEDB is TRUE, database-managed snapshots create sparse copies of the data files of the source PDB. Starting in Oracle Database 19c, you can create database-managed snapshot clone PDBs from a source PDB that is open read/write. In previous releases, the source PDB needed to remain read-only and unchanging for the lifetime of any snapshot clone PDB.

Workload capture and replay in a PDB
A local user can capture, replay, and report on a workload at the PDB level.

ADDM analysis for PDBs
You can use ADDM to analyze AWR data stored inside the PDB through an AWR snapshot taken inside the PDB. You can also analyze AWR data of a non-CDB, CDB root, or PDB imported into the AWR storage of a PDB. Automatic ADDM of a PDB is disabled by default. You can enable it for a PDB by enabling automatic AWR snapshots.

Support for multiple PDB shards in the same CDB
A single CDB can contain multiple PDBs as shard catalog databases. Also, a CDB can contain shard PDBs from different sharded databases (SDBs), each managed by its own separate catalog database.

Fine-grained single-instance PDB patching
In Oracle Grid Infrastructure, you can use Rapid Home Provisioning to automate relocation of a PDB from one CDB to another.

Cloning a remote PDB using DBCA
You can clone a remote PDB using DBCA in silent mode.

Remote PDB relocation
You can use Database Configuration Assistant (DBCA) to relocate a PDB from a remote CDB to a local CDB.

Cloud object store support for Data Pump Import
The credential parameter of impdb specifies the name of a credential object that contains the user name and password required to access an object store bucket. You can also specify a default credential using the database property DEFAULT_CREDENTIAL.

Database Vault Operations Control for infrastructure database administrators
You can use Oracle Database Vault to block common users (for example, infrastructure DBAs) from accessing local data in PDBs. Thus, common users are blocked from accessing local data. It enables you to store sensitive data for your business applications and allow operations to manage the database infrastructure without having to access sensitive customer data.

 

 

참조 : 

oracle-help.com/articles/new-features-in-oracle-database-19c/

oracle-help.com/oracle-19c/new-features-of-rac-asm-in-oracle-19c/

oracle-help.com/oracle-19c/new-features-of-backup-recovery-in-oracle-database-19c/

oracle-help.com/articles/new-features-in-oracle-multitenant-19c/

blog.goodusdata.com/128

oracleride.com/new-features-for-database-in-oracle-19c/

docs.oracle.com/en/database/oracle/oracle-database/19/newft/new-features.html#GUID-5490FE65-562B-49DC-9246-661592C630F9

cdn.ymaws.com/ukoug.org/resource/resmgr/scotland_19/Maria_Colgan_2.pdf

2477805.1, 2506547.1, 2735444.1

positivemh.tistory.com/548

 

Oracle Linux 7.6에 Oracle 19c RPM 설치 가이드

OS환경 : Oracle Linux 7.6 (64bit) DB 환경 : Oracle Database 19.3.0.0 방법 : Oracle Linux 7.6에 Oracle 19c RPM 설치 가이드 OS 설치는 아래 게시물 참조 Oracle linux 7.6 설치 가이드(https://positivemh...

positivemh.tistory.com

positivemh.tistory.com/522

 

Oracle Linux 7.6에 Oracle 19c RAC 설치 가이드_Part 1

OS환경 : Oracle Linux 7.6 (64bit) DB 환경 : Oracle Database 19.3.0.0 방법 : Oracle Linux 7.6에 Oracle 19c RAC 설치 가이드_Part 1 OS 설치는 아래 게시물 참조 Oracle linux 7.6 설치 가이드(https://posi..

positivemh.tistory.com

positivemh.tistory.com/659

 

오라클 19c Oracle Database In-Memory BASE_LEVEL 기능

OS환경 : Oracle Linux 7.6 (64bit) DB 환경 : Oracle Database 19.8.0.0 방법 : 오라클 19c Oracle Database In-Memory BASE_LEVEL 기능 Oracle DB 19.8 버전부터 In-Memory BASE_LEVEL 기능을 사용할 수 있게됨..

positivemh.tistory.com

positivemh.tistory.com/575

 

오라클 19c 컴포넌트 설치시 OPEN 되는 유저

OS환경 : Oracle Linux 7.5 (64bit) DB 환경 : Oracle Database 19.3.0.0 방법 : Oracle 컴포넌트 설치시 OPEN 되는 유저 Oracle Text 컴포넌트 설치시 생성 및 OPEN 되는 유저 CTXSYS Oracle Text는 모든 문서..

positivemh.tistory.com

positivemh.tistory.com/555

 

Oracle Linux 7.6에 Oracle 19c 설치 가이드

OS환경 : Oracle Linux 7.6 (64bit) DB 환경 : Oracle Database 19.7.0.0 방법 : Oracle Linux 7.6에 Oracle 19c 설치 가이드 OS 설치는 아래 게시물 참조 Oracle linux 7.6 설치 가이드(https://positivemh.tist..

positivemh.tistory.com