Monthly Archive March 2018

ByJoel Pérez ( Oracle ACE Director )

Oracle Sharding Overview.. Video..!!

Oracle Sharding Overview.. Video..!!

Hi guys 

Enjoy this great video to know the key points about Oracle Sharding!

Additional Material:

Sharding Database Infrastructure Horizontally – Sharding in Oracle 12.2 – Part 1

Sharding Database Infrastructure Horizontally – Sharding in Oracle 12.2 – Part 2

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

ByJoel Pérez ( Oracle ACE Director )

Oracle RAC now available on Docker..!!

Oracle RAC now available on Docker..!!

Now you have an opportunity to try RAC on Docker for yourself, as Oracle has just released Docker build files to create an Oracle RAC Database Docker image. Click the link down below to read about it.

Oracle RAC now available on Docker!

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

ByJoel Pérez ( Oracle ACE Director )

Oracle autonomous database is really autonomous.. you do not have full DBA control..!!

Oracle autonomous database is really autonomous.. you do not have full DBA control..!!

Hi readers 

In a big conversation I had many months ago with Andrew Holdsworth ( Vice President of Real World Performance at Oracle Corp. ) he clarified me how autonomous works inside.. it’s very simple.. no indexes.. no any complex objects to speed up.. just the everything rely on the huge power of exadata.. + artificial intelligence, machine learning, and blockchain technology into its cloud-based services.

Exadata reads huge quantity of data so fast..

Exadata writes data so fast..

Exadata communication is so fast.. the disks are so fast..

So.. the autonomous concept is very simple.. use the HUGE POWER of exadata to process in a plain mode.. + ( advanced techniques of artificial intelligence, machine learning, and blockchain technology )  and you will have great predictable results.. simple like that.. that’s why in autonomous you can not create indexes or any other structure that affects a kind plain processing mode..

that;s why in autonomous.. you do not manage the database parameters.. etc.. it’s just to use the big BULL to drag the load.. simple like that..

See vestiges of that concept in this article. Click the image or the link down below.

To read Click here:

DBA Internals of the Oracle Autonomous Database

For additional reading, click down below:

First Impressions of Oracle Autonomous Data Warehouse Cloud..!!

Additionally you can take a look to this video:

Oracle revolutionizes cloud storage with AI, Machine Learning

http://www.techbeat.ph/oracle-revolutionizes-cloud-storage-ai-machine-learning/

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

ByJoel Pérez ( Oracle ACE Director )

Live Demo: Oracle Autonomous Data Warehouse Cloud

Live Demo: Oracle Autonomous Data Warehouse Cloud

 

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

ByJoel Pérez ( Oracle ACE Director )

Oracle 18c: Your Autonomous Future: A Panel Discussion..!!

Oracle 18c: Your Autonomous Future: A Panel Discussion..!!

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

ByJoel Pérez ( Oracle ACE Director )

Enjoy Watching: Larry Ellison Unveils the Autonomous Future..!!

Enjoy Watching: Larry Ellison Unveils the Autonomous Future..!!

Oracle is redefining data management and analytics – and the benefits for you and your customers’ businesses are revolutionary.

Watch Larry Ellison and Mark V. Hurd for an important Oracle announcement. Click the link down below

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

ByJoel Pérez ( Oracle ACE Director )

算法分析:Oracle 11g 中基于哈希算法对唯一值数(NDV)的估算

算法分析:Oracle 11g 中基于哈希算法对唯一值数(NDV)的估算

在这里阅读原文

 

1

为什么引入新 NDV 算法

字段的统计数据是 CBO 优化器估算执行计划代价的重要依据。而字段的统计数据可以分为两类:

1. 概要统计数据:如 NDV 字段平均长度 ACL 最大、最小值等

2. 柱状图数据:也叫直方图(histograms)记录 NDV 和它们出现的频率

NDV 也叫做唯一值数,是对表的字段唯一值个数的统计,对于第一类数据,实际上可以通过一次扫描表获取所有字段的统计数据。

但是,对于大型表的分析,为减少资源消耗,需要通过采样分析。由于采样具有随机性,对于一些数据分布不均匀的字段,通过采样数据获取统计数据可能会导致获取到的数据与实际数据产生较大差异

尤其对于一些海量数据表,通常采样比较低,因而每次分析对象获取到的数据的精度会存在较大的不确定性。这种不确定性可能会对系统的整体性能造成重大影响。     

举个例子

一个字段的里面的数据如下:

[0,1,1,1…(100*1)…1,2,3,4,5,6,7,8,9]

其实际的 NDV 是10,通过采样(假设采样比为10%)获取 NDV 时,由于采样的随机性,可能就会出现以下情况:

[1…(10*1)…,2,6]

得到的 NDV 是3,和实际值存在很大的出入(如果除以采样比的话,NDV 为3/10×100=30)。而如果优化器采样了这样数据进行执行计划代价估算的话,就很有可能获取不到最优的执行计划。

而降低这种不确定性的手段就是提高采样比例。但是,对于大型表来说,提高采样比又会带来更多的资源消耗,尤其是获取 NDV 数值时。

由于获取 NDV 数值需要消除重复值(通过 count (distinct col) 方式获取),Oracle 是通过排序的方法将已经读取的唯一值保持在 PGA 当中,以便消除后续的重复值。因此,当取样比增加时,PGA 的消耗也会线性增加

对于大型表,PGA 可能不足以容纳全部数据,从而会导致临时磁盘空间的读写,导致重大的性能问题

2

新 NDV 算法介绍

在11g中,采用了一种新的算法消除 NDV 计算时,数据量与 PGA 消耗之间的线性关系,从而使得通过完全扫描表获得精确统计数据成为可能。因此,在 11g,自动采样模式下不再进行快速取样,而是直接进行全表扫描获取统计数据。这一新算法称为唯一值数估计(Approximate NDV)。

默认情况下,在进行自动采样时,也就是 AUTO _SAMPLE_SIZE 时,就采样该算法。

这个新特性也可以通过隐含参数 “APPROXIMATE _NDV” 来关闭。

SQL 代码:

HELLODBA.COM>exec dbms_stats.set_param(‘APPROXIMATE_NDV’,’FALSE’);

PL/SQL procedure successfully completed.  

 

注意:11g 中,对分区表全局统计数据的增量(INCREMENTAL)计算方式,也是利用了该算法。

3

新NDV算法过程 

 

该算法充分利用了哈希算法的分布均衡特性。其基本算法过程如下:

  • 它将每个扫描到的数值通过哈希算法转换为一个二进制数值,并放入一个数据结构中,我们称该数据结构为一个纲要(synopsis);

  • 扫描下一个数值,获取到其哈希二进制数值,将其与纲要中已有哈希值比较,如果已经存在相同值,则丢弃该值,否则就插入纲要中

  • 纲要是有大小限制的,当新插入哈希值时,纲要已经达到大小限制,则按照一定规则分裂该纲要、并丢弃其中一份数据(例如,将首位为0的数值丢弃掉),此时,纲要级别也相应增加(起始为0,分裂一次加1);

  • 获取到新的哈希数值时,如果其符合被丢弃数据的规则,则不再插入纲要中;

  • 再次分裂时,按照递进的规则(如将前2为都为0的数值分裂)丢弃数据,并以此类推,直到扫描完所有数据;

我们称纲要中最终剩下数值数成为集数 (S) ,纲要分裂次数称为级数 (I)

而 NDV 的估算公式是:NDV = S*2^I

在这种算法下,由于每个字段在 PGA 中仅保存一个纲要数据结构,因此,它不会随着读取的数据量的增加而导致 PGA 消耗的增加。

资源下载

算法分析:Oracle 11g 中基于哈希算法对唯一值数(NDV)的估算

在这里阅读原文

The article finishes here!

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

ByJoel Pérez ( Oracle ACE Director )

SQL*Plus 18c rocks..!!

SQL*Plus 18c rocks..!!

Hi Readers

SQL*Plus 18c is rocking.. Discover the new capability to get SQL IDs.. this will blow your mind.. To watch the video click it.

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

 

ByJoel Pérez ( Oracle ACE Director )

Do you know how to cancel a single SQL command in Oracle 18c ?

Do you know how to cancel a single SQL command in Oracle 18c ?

Hi Readers

As of Oracle 18c , you can not only abort a database session, but also just a single SQL command. This article shows how it works. Click to read:

Cancel Session in Oracle 18c

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

ByJoel Pérez ( Oracle ACE Director )

Suggestion and Solution to SCN Compatibility and DB Link Interconnection Issue

1. Background

 

All current Oracle databases have an upper limit on the SCN according to Oracle’s kernel design, the upper limit is the second’s difference between the current time and 1988/01/01 then times 16k.

For some specified high version database (11.1.0.7.20, 11.2.0.3.9, 11.2.0.4.*, 12.1.0.2 and above), the current value of this limit is calculated by the algorithm whose main factor is SCN COMPATIBILITY. Through this parameter,the value of SCN won’t exceed the upper limit, and DB Link between databases works well.

However, the SCN COMPATIBILITY of these high version database will be adjusted from 1 to 3 after June 23, 2019, meaning the maximum growth rate will reach 96k, which may result in the situation that the upper limit of high-version DB is much higher than the low-version databases.so when that happens, Low version database cannot connect with high version through DB Link.

Then what do we do?

2. Which are high version DB and which are not?

Basically, the exact version of DB and PSU information can help you to distinguish these two kinds of Database.The high-version database includes the following:

All 12.1.0.2 and above databases, including Oracle 18c
11.2.0.4 databases which contain all PSUs
11.2.0.3 databases, with whose PSU at least to 11.2.0.3.9
11.1.0.7 databases, with whose PSU at least to 11.1.0.7.20

all the other versions are lower versions, including:

Oracle 11.1.0.6 and previous versionsincluding Oracle 10g.
Oracle 11.1.0.7, with whose PSU less than 11.1.0.7.20
Oracle 11.2.0.1/11.2.0.2
Oracle 11.2.0.3, with whose PSU less than 11.2.0.3.9

If the accurate PSU is known, you can also check the DBMS_SCN package. For in the highversion,Oracle introduces the features of SCN Compatibility, and which is managed by DBMS_SCN package, so if DBMS_SCN package exists, the database is high version.

use the following SQL to find out:

Select count(*) from dba_objects

Where

owner = ‘SYS’ and object_name =’DBMS_SCN’ and object_type=’PACKAGE BODY’;

COUNT(*)

———-

1

If the SQL return 1, it proves the DB is a high version, otherwise a low version. For a higher version database, the current SCN Compatibility information can be obtained by calling DBMS_SCN with the following code.

Set serverout on

declare

v_autorollover_date date;

v_target_compat number;

v_RSL number;

v_hr_in_scn number;

v_hr_in_sec number;

v_t4 number;

v_max_cmpat number;

v_isenabled boolean;

v_current_compat number;

begin

dbms_scn.GETCURRENTSCNPARAMS(

​​v_RSL,v_hr_in_scn,v_hr_in_sec,v_current_compat,v_max_cmpat);

dbms_scn.GETSCNAUTOROLLOVERPARAMS(

​​v_autorollover_date,v_target_compat,v_isenabled);

dbms_output.put_line(‘Current SCN compatibility:’||v_current_compat);

dbms_output.put_line(‘Current SCN RATE:’||round((v_hr_in_scn/v_hr_in_sec)/1024)||’k’);

if(v_isenabled) then

dbms_output.put_line(‘AUTO SCN compatibility rollover is ENABLED!!!’);

dbms_output.put_line(‘AUTO rollover time:’||to_char(v_date,’YYYY/MM/DD’));

dbms_output.put_line(‘AUTO rollover target value:’||v_target_compat );

else

dbms_output.put_line(‘AUTO SCN compatibility rollover is DISABLED!!!’);

end if;

end;

/

If no changes have been made, then the Current SCN compatibility is 1 and AUTO rollover is enabled, the time is 2019, 06/23, and the target is 3.

For older databases, we can assume the SCN compatibility is 1.

3. Potential risk analysis

According to the upper limit algorithm of Oracle’s SCN, the upper limit of 16k speed and 96k speed is obviously different.

If some of the databases automatically change SCN Compatibility to 3 on 2019/06/23, then the SCN limit of these databases will become 3.5E13 or higher soon, and those have not changed will stay between 1.8E13 and 2E13 for 10 years.

Imagine this: the SCN Compatibility = 3 in one database, and SCN abnormal increase due to certain reasons (bugs, manual settings, etc.), and the value exceeds the SCN ceiling with whose rate is 16k if DB Link communication between two data is required, the mutual SCN will equivalent to the higher one, and then value exceeds the upper limit, DB Link communication will fail.

To sum up, the SCN issue usually doesn’t occur unless all the following factors are met:

A. The SCN Compatibility between the two databases is inconsistent.

B. Abnormal growth happens in the Database with high SCN compatibility, and exceeds the upper limit value of databases with low SCN Compatibility

C. These two kinds of databases connected through the DBLink.

4. Suggestion and solution

To avoid the above problem, the most thorough approach is to unify the SCN Compatibility. There are four situations:

If the databases are all high-version databases, nothing need to be done.
If the database is mainly a high version and a few low- version databases, then it is highly recommended to upgrade the low-version database to a higher version.
If the databases are all lower versions, there is no rush to upgrade the databases right away. But the issue of adding new versions database in the future should be concerned.
If the databases is mainly a low version, and it is inconvenient to upgrade; or a high version is main, yetlow version databases cannot be upgraded, then it is recommended to set SCN Compatibility=1 for all databases, and close the Auto Rollover function of high version to avoid automatically changing of SCN Compatibility.
 

5. Method by adjusting Auto Rollover and SCN Compatibility

1、If you decide to keep the overall environment in the SCN Compatibility=1 after 2019/06/23, you need to disable the SCN Compatibility AutoRollover function of the new version of the database before 2019/06/23.

Note: the following actions are risky and it is not recommended to do it by yourself.
Begin

DBMS_SCN.DISABLEAUTOROLLOVER;

end;

/

The following information will appear in the Alert log

Fri Mar 16 17:15:15 2018

Database SCN compatibility auto-rollover disaedbl

You can also check this by running the script of the second chapter, the expected output is:

AUTO SCN compatibility rollover is DISABLED!!!

2If you decide to keep the entire environment in the SCN compatibility=1 state, then you also need to pay attention to the database added after 2019/06/23, it needs to be manually changed to SCN compatibility=1 to alter the default value, this operation needs to be performed in the Mount state, as follows.

 

Begin

DBMS_SCN.DISABLEAUTOROLLOVER;

end;

/

shutdown immediate

startup mount

alter database set SCN COMPATIBILITY 1;

 

The following information will appear in the Alert log

Completed: alter database set scn compatibility 1

6. Reference

Oracle Support document:

Oracle Databases Need to be Patched to a Minimum Patchset/PSU/RU level before April 2019 (Doc ID 2361478.1)

Mandatory Patching Requirement for Database Versions 11.2.0.3 or Earlier, Using DB Links (Doc ID 2335265.1)

 

The article finishes here!

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

ByJoel Pérez ( Oracle ACE Director )

Read THIS.. Before Patching by April 2019..!!

WarningOracle Databases Need to be Patched to a Minimum Patchset/PSU/RU level before April 2019

By Eygle Gai ( Oracle ACE Director )

There are two warning articles which were recently released on Oracles official support site My Oracle Support, have caused widespread concern among users of Oracle Database.

Those two articles’ ID are respectively 2361478.1 and 2335265.1

Oracle Databases Need to be Patched to a Minimum Patchset/PSU/RU level before April 2019 (Doc ID 2361478.1)
Mandatory Patching Requirement for Database Versions 11.2.0.3 or Earlier, Using DB Links (Doc ID 2335265.1)
 

Different from normal reports or news for oracle users, Oracle point the exact version(11.2.0.3), and specific deadline(before April 2019) for certain Database scenariosUsing DB Links and operationsPatchand use the strong word( Mandatory) in the titlemake it necessary for oracle users to put it into schedule as the deadline is not so far.

After those two articles were published, many users wondered:

How does Oracle trigger this problem after April 2019, how come the exact time point, could it be a time trigger that Oracle laid into the database?

We did a little research and find out this time constraint does exist, but the real trigger time is: June 23, 2019. (about the time difference, we’ll explain it later)

now, let us analyze it step by step.

As we can see, the document 2361478.1 was created and published on the site on February 15, 2018 

We may remember that on February 16, 2018, the Oracle 18c database was released,

referring to: Oracle 18c database has been released and new features introduced

which means this document was released with the new version Oracle 18c, and the new features of 18c can lead to major changes of Oracle Internal mechanism.

Let’s look at some key contents of this article:

What we are announcing:

All supported releases of Oracle Databases need to be patched to a minimum patchset/PSU level before April 2019 to ensure proper functioning of database links. 

Scope of impact: 12.2.0.1 and later versions are not affected, the 11.2.0.4 and 12.1.0.2 patch sets already contain the necessary fixes, and the released patches are available for versions 11.1.0.7 and 11.2.0.3.

Other versions have no patches and need to be upgraded, otherwise there may be problems when connecting other libraries of lower versions and new versions through DB Link.

What changes have caused this effect? The document explain it briefly and effectively as following:

What is the change introduced by the patches listed above?

The patches listed above make the older databases capable of supporting increased SCN soft limit (i.e. support transactions with higher SCN rate) though the increased SCN soft limit only becomes effective later (after April 2019).

Simply putthe algorithm of the SCN needs to be altered, the growth rate to be specific. That way, when data is accessed in multi-DB environment through DB link, the lower and higherversions must use the same algorithm to ensure that the DB Link access is working well.

In those articles, the term Soft Limit was described as follows. In the Oracle 11.2.0.2 and before, the threshold of this value 16K,

“At any point in time, the Oracle Database calculates a “not to exceed” limit for the SCN a database can have used, based on the number of seconds elapsed since 1988, multiplied by 16,384. This is known as the ‘Soft Limit’. If the soft limit is likely to be exceeded in the next SCN increment, then Oracle will issue an ORA-0600 error and the process will be cancelled.”

Once the SCN exhausted, problem appeared and the threshold would rise to 32K:

I wrote a article explain how SCN works and may cause problems in the situation of DBlink, you can access that in my blog(www.eygle.com). It works like this: the data query via DB Link will synchronize the SCN of the database. This leads to many Headroom issues that when SCN runs out:

[oracle@jumper oracle]$ sqlplus “/ as sysdba
SQL*Plus: Release 9.2.0.4.0 – Production on Tue Nov 7 21:07:56 2006
SQL> select dbms_flashback.GET_SYSTEM_CHANGE_NUMBER scn from dual;

      SCN
—————

  5287824

What would happen then?

Some of the clues can already be seen in 18c. This new feature was introduced in official document as following:

Consistency Levels for Multi-Shard Queries

You can specify different consistency levels for queries across multiple shards in a shardeddatabase. For example, you might want some queries to avoid the cost of SCN synchronization across shards, and these shards could be globally distributed. Another use case is when you use standbys for replication and slightly stale data is acceptable for cross-shard queries, as the results could be fetched from the primary and its standbys.  You can use the initialization parameter MULTISHARD_QUERY_DATA_CONSISTENCY to set different consistency levels when executing multi-shard queries across shards.

This feature enables you to avoid the cost of SCN synchronization while executing multi-shard queries across shards and these shards potentially could be distributed globally.

For multi-shard queries, this feature allows slightly stale data from the standby databases.

This feature is currently targeted at the Oracle Sharding database, which means that the cost of SCN synchronization can be avoided in cross-Shard queries.

what does this really mean?

By further increasing the upper limit of SCN growth rate (above 32K) or use other technique replace synchronization, the previous SCN propagation problems through DB Link can be avoided.
these features will be fully supported in Oracle Database 19th, which would be released in April 2019, and SCN will completely abandon the growth rate of 16K after then.
 

Many customers have been asking questions, which exact BUG should be repaired? Oracle did not answer it in the documentation directly, but it proposes the minimum patch requirements, and different versions of the patch application matrix:

 

What is the exact minimum patch set we are talking about in this list?

After analyzing, we finally confirmed that the BUG is 14121009, for the minimum patch required to be applied by April 2019 has the exactly same version with the BUG 14121009,Such as 11.2.0.3.9, 11.1.0.7.20, and Windows 11.2.0.3 Patch 28, 11.1.0.7 Patch 57.

So what key function was introduced in this patch and changed the algorithm of Oracle SCN?

From the article we’ve learnt this new feature is SCN compatibility, which has a time limit set in it and requires this patch to be applied.

The command to modify the database SCN algorithm is:

ALTER DATABASE SET SCN COMPATIBILITY.

warnning: do not test it in any of your important environment, it may cause you into big trouble.

The compatibility feature has 4 options that can be changed to three values: 1, 2, 3

SQL> ALTER DATABASE SET SCN COMPATIBILITY 2;

Database altered.

SQL> ALTER DATABASE SET SCN COMPATIBILITY 3;

Database altered.

When the SCN compatibility is modified to a small value, the database needs to be restarted:

The final key question is, what does this all have to do with time?

Our answer is: Oracle sets the time point for each compatibility of the SCN, that means, low-level compatibility will automatically expire in certain time, and all the revised database will beJumped to Compatibility 3 on June 23 2019.

Level 3 allows for a higher SCN growth rate, exceed 32K is possible.

Therefore, if your old database is not upgraded, the database that connects to Level 3 compatibility may immediately exceed the SCN limit, and the data access may be denied.

All this is because Oracle introduced a feature called Auto-RollOver in the kernel, which sets the time for different SCN growth rates and automatically expires. As time goes by, new SCN algorithm will replace the old one yet user known.

You can get the internal information through the DBMS_SCN package. It’s like a time bomb buried in the database

effective_auto_rollover_ts  – timestamp at which rollover becomes effective

target_compat         – SCN compatibility value this database

—                  will move to, as a result of auto-rollover

is_enabled            – TRUE if auto-rollover feature is currently enabled

The reason why Oracle prompts in the warning 2019 April, I think it is to leave the user 84 days of margin.

Based on the above analysis, we also got the answer to following questions which users most concerned:

If I access data between low versions, will it be a problem?

No, there will be no problem if there are mutual accesses to the low-level databases that have not been patched; however, problems may arise if there is a data access between the unpatched low-level version and the applied high-level version.

If there is an exchange of visits between the lower version and the higher version, will there be a problem after April 2019?

Not necessarily, cross-DB Link access is not necessarily a problem, especially if the SCN’s growth rate keeps a low database; however, due to changes in the algorithm, problems are likely to occur, and the probability is high;

Why introduce such modifications and patches?

Because SCN is Oracle’s core mechanism, the Headroom problem encountered in the past must be eliminated, so the algorithm needs to be adjusted.

Do we need to patch?

It does not matter if the database is maintained at a low version or does not communicate with each other through DB Link; Oracle also provides the function of disabling this feature, but does not guarantee that it will not change afterwards; since versions below 11.2.0.4 are unsupported versions, users are highly recommended to upgrade.

So what happens if something goes wrong? In MOS document 1393360.1, If the lower version of the database SCN cannot be elevated, then ORA-19706: invalid SCN may be encountered.

Rejected the attempt to advance SCN over limit by 9374 hours worth to 0x0c00.00000f66, by distributed transaction remote logon, remote DB: REMDB.XX.ORACLE.COM. 

Client info: DB logon user ME, machine yy, program sqlplus@yy (TNS V1-V3), and OS user uuu

In fact, the last part of this document has revealed changes in the new features of the SCN. In the new version, the SCN’s growth rate can be fully adjusted to be dynamic:

Warning: The SCN intrinsic growth rate has been consistently

higher than system default 16384 per sec. for last 60 mins.

Current SCN intrinsic growth rate is 24416 per sec., zas 7fffff!

The Current SCN value is 3354492471, SCN Compat value is 1

Additional reading related to this topic:

Suggestion and Solution to SCN Compatibility and DB Link Interconnection Issue

The article finishes here!

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

ByJoel Pérez ( Oracle ACE Director )

专家视角 | 小荷的 ORACLE DATABASE 18C 新特性快速一瞥

 

专家视角 | 小荷的 Oracle Database 18c 新特性快速一瞥

2018-02-23 何剑敏 数据和云 数据和云

 

作者介绍:何剑敏  大疆创新 互联网事业部 运维部数据库技术团队负责人,曾供职于中国联通,卓望数码,IBM 和 ORACLE ACS 华南团队。多年从事一线的数据库运维工作,有丰富项目经验、维护经验和调优经验,目前带领团队专注于 Oracle,MSSQL,PostgreSQL,MySQL,Redis 和 MongoDB 的云上云下的整体运维。

 

Oracle 18c 是在 2018-02-16 发布出来的,还是秉承着 Oracle 的 Cloud first 理念,18c 现在 Cloud 和 Engineered Systems 上推出。

 

下面,从我自己的角度快速 Review 一下值得关注的 18c 新特性(当然可能还有其他很多值得关注的新特性)。

 

(一)Availability


1. Oracle Data Guard Multi-Instance Redo Apply Supports Use of Block Change Tracking Files for RMAN Backups

现在,Multiple-Instance Redo Apply(也叫 MIRA ),也可以支持 BCT(Block Change Tracking)的备份方式了。这对于超大的数据库,且是主从都是 RAC,且备份发生在从库上,这是非常有效的一种增量备份方式。

 

2. Automatic Correction of Non-logged Blocks at a Data Guard Standby Database

新增两种 standby logging 模式(主要是为了加快主库 loading 数据):

 

一种是 Standby Nologging for Data Availability,即 loading 操作的 commit 会被 delay,直到所有的 standby 都 apply data 为止。

SQL> ALTER DATABASE SET STANDBY NOLOGGING FOR DATA AVAILABILITY;

 

一种是 Standby Nologging for Load Performance,这种模式和上一种类似,但是会在 load 数据的时候,遇到网络瓶颈时,先不发送数据,这就保证了 loading 性能,但是丢失了数据,但是丢失的数据,会从 primary 中再次获取。

 

SQL> ALTER DATABASE SET STANDBY NOLOGGING FOR LOAD PERFORMANCE;

 

3. Shadow Lost Write Protection

创建一个 shadow tablespaces(注:是 big file tablespace)来提供保护。注:此时你就可以不需要 ADG 来提供额外的 lost write 的保护了。


搞 MySQL 的同学,你们是不是发现了什么?这是不是很像 double write? 嘿嘿……

4. Backups from non-CDBs are usable after migration to CDB

原来的 non-CDB,可以以这种方式,作为一个 PDB 迁移到当前已经存在的 CDB 中。

 

5. Support for PDBs as Shards and Catalogs

天,终于支持 shard 是 pdb 了。但是!但是!但是!也只是支持单个 pdb 在单个 cdb 中。哈哈哈哈哈,等于没支持。

 

6. User-Defined Sharding Method

这个在12.2中的 beta 版中存在的特性在,在正式发布是被取消了。现在,再次 release 出来了。

 

7. Consistency Levels for Multi-Shard Queries

提供 MULTISHARD_QUERY_DATA_CONSISTENCY 初始化参数,执行的之前可以先设置该初始化参数,避免跨分片查询时的 SCN synchronization。

 

8. Manual termination of run-away queries

现在,你可以手动的杀掉一个语句,而不断开这个 session:ALTER SYSTEM CANCEL SQL。

ALTER SYSTEM CANCEL SQL ‘SID, SERIAL, @INST_ID, SQL_ID’;

 

(二)Big Data and Data Warehousing


9. Approximate Top-N Query Processing

注:18c 中,增加了 APPROX_COUNT 和 APPROX_SUM 来配合 APPROX_RANK 的使用。

10. LOB support with IMC, Big Data SQL

LOB 对象也支持 in memory 了。

 

(三)Database Overall


11. Copying a PDB in an Oracle Data Guard Environment

新增了2个参数,方便在 ADG 环境中创建 PDB。

  1. 一个是 STANDBY_PDB_SOURCE_FILE_DIRECTORY,自动寻找 ADG 的数据文件路径(注,在 18c 之前,如果将一个 pdb 插入到一个 standby 环境的中 cdb,需要手动将文件拷贝到 pdb 的 OMF 路径下)

  2. 另一个是 STANDBY_PDB_SOURCE_FILE_DBLINK,方便 remote clone 时自动查找 ADG 文件路径(注:在 18c 之前,如果是本地 clone,就不用复制数据文件,但是远程 clone,就需要手动复制)。

 

12. PDB Lockdown Profile Enhancements

现在可以在 application root 和 CDB root 中创建 PDB lockdown profile。

你现在还可以根据一个 pdb lockdown profile,创建另外一个 pdb lockdown profile。

18c 包含三个默认的 lockdown profile:PRIVATE_DBAAS,SAAS,PUBLIC_DBAAS

 

13. Refreshable PDB Switchover

PDB refresh 一直号称是穷人的 ADG,这个特性,在18c中也越来越好用了。支持了 switchover。switchover 分成计划内核计划外的两种场景。

计划内的,可以切回去,主要用于平衡 CDB 的负载。

计划外的,主要用于 PDB master 失效之后,不用整个 CDB 做切换。


14. PDB Snapshot Carousel

pdb 的 snapshot 备份转盘,默认保留8份,每24小时备份一次。

ALTER PLUGGABLE DATABASE SNAPSHOT MODE EVERY 24 HOURS;

 

15. New Default Location of Oracle Database Password File

注意,新的密码文件路径已经在 ORACLE_BASE,而不是 ORACLE_HOME。

 

16. Read-Only Oracle Home

可以在 dbca 或者 roohctl -enable 来进程 read only oracle home 的安装,

运行 orabasehome 命令可以检查当前的 Oracle Home 是否只读,如果这个命令输出的结果和 $ORACLE_HOME 一样,则表示 Oracle Home 是可读写的。如果输出是 ORACLE_BASE/homes/HOME_NAME,则表示 Oracle Home 是只读。

 

17. Online Merging of Partitions and Subpartitions

支持在线合并分区。注:需要使用 ONLINE 关键字。

 

18. Concurrent SQL Execution with SQL Performance Analyzer

SPA 可以并行运行了(默认情况还是串行),帮你更快的完成 SPA 测试。

 

(四)Performance

19. Automatic In-Memory

自动 In Memory 会根据 Heat Map,在内存使用紧张的情况下,将不常访问的 IM 列驱逐出内存。

 

20. Database In-Memory Support for External Tables

外部表支持 IM 特性。

 

21. Memoptimized Rowstore

在 SGA 中有一块 memoptimize pool 区域,大小受 MEMOPTIMIZE_POOL_SIZE 参数设置,当开启 fast lookup 的时候,就能利用该内存区域,进行快速的查找。

开启 fast lookup,需要在建表语句中加上关键字:

当基于主键查询时,就能使用到 fast lookup。

Memoptimized Rowstore 将极大的提高物联网中基于主键的高频查询。

 

(五)RAC and Grid


22. ASM Database Cloning

可以基于 ASM 做 pdb 的克隆。基于 ASM 的 flex diskgroup 来实现。



23. Converting Normal or High Redundancy Disk Groups to Flex Disk Groups without Restricted Mount

呵呵,鼓励往 flex diskgroup 上转型。

 

(六)Security


24. Integration of Active Directory Services with Oracle Database

和微软的 AD 结合。在18c之前,需要使用 Oracle Enterprise User Security (EUS) 进行交互,现在,可以使用 centrally managed users (CMU) 直接将 AD 的 users 和 groups 和 Oracle 的 users 和 role 进行 mappiing。

 

(七)其他


25. 新增初始化参数: 

 

ADG_ACCOUNT_INFO_TRACKING

FORWARD_LISTENER

INMEMORY_AUTOMATIC_LEVEL

INMEMORY_OPTIMIZED_ARITHMETIC

MEMOPTIMIZE_POOL_SIZE

MULTISHARD_QUERY_DATA_CONSISTENCY

OPTIMIZER_IGNORE_HINTS

OPTIMIZER_IGNORE_PARALLEL_HINTS

PARALLEL_MIN_DEGREE

PRIVATE_TEMP_TABLE_PREFIX

STANDBY_PDB_SOURCE_FILE_DBLINK

STANDBY_PDB_SOURCE_FILE_DIRECTORY

TDE_CONFIGURATION

UNIFIED_AUDIT_SYSTEMLOG

WALLET_ROOT

 

值得说一下的是 OPTIMIZER_IGNORE_PARALLEL_HINTS,在纯 OLTP 的系统中,你终于可以禁用开发人员不受控制的并发了(往往不写并发度)。:)

 

26. dbms_session.sleep

可以

exec dbms_session.sleep(3);

终于不用再单独 grant dbms_lock 的权限了。 

看到上面的这些新特性,你怎么想?“DBA 将死”、“Oracle 将实现自动驾驶”?这些新特性是不是还需要 DBA? :)

 

相关阅读:

Oracle Database 18c 的10大新特性一览

技术前沿:Oracle 18c 最新特性概览

开工大吉:Oracle 18c已经发布及新特性介绍

极速体验:Oracle 18c 下载和Scalable Sequence新特性

 

参考资料:

1. Oracle Database Database New Features Guide, 18c

https://docs.oracle.com/en/database/oracle/oracle-database/18/newft/index.html

2. ORACLE 18C: ORACLE 18C.. NEW FEATURES.. WHAT’S NEWS.. 

http://blog.enmotech.com/2017/12/17/14-oracle-18c-oracle-18c-new-features-whats-news/

3. Franck Pachot (@FranckPachot)

https://twitter.com/FranckPachot/

 


 

祝大家开工大吉!加入我们,开始新一年的学习吧!

资源下载

关注公众号:数据和云(OraNews)回复关键字获取

‘2017DTC’,2017DTC大会PPT

‘DBALIFE’,“DBA的一天”海报

‘DBA04’,DBA手记4经典篇章电子书

‘RACV1’, RAC系列课程视频及ppt

‘122ARCH’,Oracle 12.2体系结构图

‘2017OOW’,Oracle OpenWorld资料

‘PRELECTION’,大讲堂讲师课程资料

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

ByJoel Pérez ( Oracle ACE Director )

The Future of Data Management is Autonomous..!

The Future of Data Management is Autonomous..!

Hi Readers

Click the image or the link down below to watch this interesting video about the future and Autonomous.

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

ByJoel Pérez ( Oracle ACE Director )

Oracle 18c: Oracle 18c.. New Features.. What’s NEWS..!!

Oracle 18c: Oracle 18c.. New Features.. What’s NEWS..

Oracle 18c 新功能一览

 

By Joel Peréz Skant Gupta

 

This article is brought by en.enmotech.com

 

Well.. Oracle 18c.. one release more.. ? Uhmm perhaps not.. Oracle 18c has a that kind of air of.. “Starting now.. it’s when Oracle Cloud Database will mark a real strong beginning..”

 

I have been playing with Oracle Databases in Cloud from some years ago when all this was barely starting.. when it was more the concept of “Cloud Computing” as a whole.. I’m talking about when the Cloud Computing model was originally designed to be implanted “On-prem”, basically with an arrange of some servers.. software.. resources ( CPU.. Memory.. etc ) and all that could be managed by Enterprise Manager to built your own Cloud infrastructure but “On-prem”, that was around year 2013.. the service of Public Cloud was not still available in that time.. In that time we started to know concepts of “Pay-as-you-go..”.. “Chargeback..” and things like that.. the real concept of that first commercial proposal was really a model of “Cloud Computing”

 

In that time the concept of Oracle Database Cloud was extreme far from what it’s nowadays.. of course.. the product.. the concept was getting mature.. getting shape..

A couple of years later the first Public Cloud services appeared in the market.. year 2015.. Uhmm.. this was really a more close image of what we were having in mind about Oracle Database Cloud.. of course.. it was product that was changing all time.. and getting mature.. at the beginning even you could not choose the database character set.. the wizard interface had more steps.. and so on.. it was like a child opening his/her eyes to the world.. and we could enjoy how all that was growing..

 

Little by little more Oracle Database Cloud Services were starting to be available as per we have now:

  • Oracle Database Cloud Service
  • Oracle Bare Metal Cloud Database Service
  • Oracle Database Exadata Cloud Service
  • Oracle Database Exadata Cloud Machine
  • Oracle Database Express Cloud Service

 

All these lastly mentioned does not include the future new Oracle Database Cloud Services that will be available starting with Oracle 18c.

 

So.. continuing with the subject.. Oracle Database Cloud services were still changing/evolving.. even its web interface, pricing model, etc until the last months.. so.. it can be said the product was still modeling itself.. but internally we can consider it already a strong product.

 

So, according to my point of view, all that was a process to see how the product had interaction with real people.. with real customers.. with real companies.. All that was the preparation way to present finally the king product.. “Autonomous Database Suit of Services on Oracle18c..”, which is a great mix of all learned with Oracle Cloud Database Services and all years making better and better the auto-performance tuning techniques.. ( AWR, ADDM, Advisors.. etc )

 

So, I consider Oracle 18c and all its new feature a real “before and after” related to Cloud Databases..

 

Oracle 18c as every release.. has many new features.. that can be suitable for some kind of companies and others not too much.. as always.. perhaps a small company for sure will not be interested in autonomous database running in a powerful Exadata and so on.. Perhaps new “Startup” companies could be very interested in the regular “Oracle Database Cloud Service” to have a cheap and fast IT infrastructure.. not thinking as before how costly could be to establish an own data center.. etc..

 

So, the point it’s.. Oracle 18c as every release has new features for everyone..

 

The objective of this article is to name/to introduce them briefly before we can get the real production release starting December 2018.

 

Then, Let’s talk briefly technically of What’s news in Oracle Database 18c..

 

The figure you will see now is the Lifetime Support Commitments and Plans for current and future Oracle Releases.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*Oracle Database 19c is expected to the long term support release.

Always check MOS Note 742060.1 for the latest schedule.

 

As you can see between all that information, we will have extended support of 12.2 until 2025 and Oracle 18c will start on December2017. There are a lot of people in fear for the future for DBAs related to Autonomous Database & Oracle 18c, if you want to read my point of view about that subject go here:

#10 Oracle 18c: “Oracle 18c and its impact on DBAs”

 

Now, Let’s highlight briefly some of what we have today and what we will have in Oracle Database 18c

 

Performance

Today:

  • In-Memory Column Store
  • Software in Silicon
  • Engineered Systems

Oracle Database 18c:

Low Latency Memory Transactions

  • 2x throughput for streaming ingest
  • 4x throughput for low latency key lookups

Non Volatile Memory Support

  • Multi Tiered Database Cache

In-Memory Column Store Improvements

  • Performance improvements
  • Automatic Population

 

Memory Optimized Access for OLTP Workloads

Example: Read Joel’s Balance

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ultra-Fast key-based lookup:

  • Uses new lock-free In-memory hash index
  • Just declare table MEMOPTIMIZE FOR READ

New low latency client protocol with direct access to data engine

Performance benefits:

  • Up to 4x throughput increase for Primary Key based lookups
  • 50% lower response times

 

Memory Optimized Access for IoT Workloads

Example: Write Temperature Reading


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

New streaming ingest:

  • Declare table MEMOPTIMIZE FOR WRITE
  • Clients performs low-latency write into in-memory buffer
  • Buffered writes drained in background
  • Very high throughput inserts since server issues deferred writes in large batches

Performance:

2x faster throughput than conventional

  • 21M inserts per second on 2-socket server

 

Multitenant

Today:

Container managed database virtualization

Manage Many as one

  • Patching, Backup, Security, Online Cloning, Online Relocation

Software as Service

  • Shared metadata, Data location transparency

Oracle Database 18c:

  • Per-PDB Switchover
  • Transportable Backups
  • Snapshot Carousel
  • Faster Upgrades

Example of

  • Per-PDB Switchover

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RMAN

Oracle 18c: RMAN New Features.. What’s NEWS..

http://blog.enmotech.com/2017/12/17/16-oracle-18c-rman-new-features-whats-news/

 

Oracle Data Guard

Oracle 18c: New Features for Oracle Data Guard.. What’s NEWS..

RAC

Oracle 18c: RAC New Features.. What’s NEWS..

Availability

Today:

Comprehensive HA and disaster recovery functionality

  • Real Application Clusters, Active Data Guard, Recovery Appliance

Oracle Golden Gate for heterogeneous replication

Scale out and fault isolation with Oracle Database Sharding

 

Oracle Database 18c:

Zero Impact Grid Infrastructure Patching

Sharded RAC

  • Logically partition data across instances in RAC
  • Sharded access for shard-aware applications and transparency for non-sharded applications

Sharding improvements

  • User Defined Sharding
  • Improved Cross Shard Query support

 

Sharded RAC

Higher performance for shard-aware RAC applications

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Affinitizes shards to RAC instances

  • Requests that specify sharding key will be routed to the RAC instance that logically holds the shard
  • Affinity gives better cache utilization and reduced block pings across instances

Requests that don’t specify sharding key still work transparently

Gives Sharded Database performance with minimal application changes

  • Just add sharding key to the most performance intensive operations

 

Security

Today:

Security In-Depth

  • Access Controls, Encryption, Redaction, Masking, Auditing, SQL Firewalls

Key Vault

Audit Vault Database Firewall

Security Assessment Tool

 

Oracle Database 18c:

Integration with Active Directory

  • Authorization to database through Active Directory user/group mappings to database schema users and roles

Per PDB Key storage

Password-less schema creation

  • No default passwords

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Data Warehousing and Big Data

Today:

The most advanced analytics engine available today

  • Partitioning, Compression, SQL, Analytical Views, Analytical SQL, Data Mining

Easily analyze data held in Hadoop with Big Data SQL

Big Data Appliance

 

Oracle Database 18c:

In-Memory for external tables

Automatic propagation of nologged data to standby

More Machine Learning algorithms

Polymorphic Table Functions

Alter Table Merge Partition Online

Approximate Query Improvements

 

Development

Today:

Application Express 5.1

SQL Developer & SQLCl

Comprehensive Language support

  • PL/SQL, SQL , Python, Node.js, PHP, Java, C, .NET, REST

JSON

  • SODA API, SODA REST API
  • SQL Support

 

Oracle Database 18c:

Improved JSON Support

Property Graph Improvements

  • Support for PGQL

Rolling patches for OJVM

Private Temporary Tables

 

Private Temporary Tables

Transient tables useful for reporting applications

 

Global temporary tables

Persistent, shared (global) table definition

Temporary, private (session-based) data content

  • Data physically exists for a transaction or session
  • Session-private statistics

 

Private temporary tables (18c)

Temporary, private (session-based) table definition

  • Private table name and shape

Temporary, private (session-based) data content

  • Session or transaction duration

 

Database Instance Management REST API

  • A REST API to provide instance management and monitoring
  • Same consistent API for Cloud and On Premises
  • Simple API for all database lifecycle operations
  • Supports Oracle Databases integration with orchestration frameworks
  • Expected CY2018

 

List the pdbs in the exadata database container: https://myserver.mydomain.com/ords/databases/exadata/pdbs

 

Official Docker Support

Oracle Database is fully supported on Docker for

  • Oracle Linux 7
  • Red Hat Enterprise Linux 7

** Oracle RAC is not supported on Docker “CURRENTLY” but in Oracle 18c Oracle RAC support is coming

MOS Note: Oracle Support for Database Running on Docker (Doc ID 2216342.1)

Oracle 12.2.0.1 & 12.1.0.2 images are available on Oracle Container Registry

Docker build files also available at

 

New Installation Approaches

  • Oracle Gold Image as a Service
  • On demand image creation including application of RUs, RURs and one off patches
  • Request images as a

Zip file, TAR File, Docker Image, Virtual Box, VM (Ravello, BMC, Vbox)

  • Web Interface or REST API
  • Coming soon…

Oracle Installation via RPM

  • Oracle EE, SE2, and Grid Infrastructure

 

Oracle Database 18c XE

  • Free use for development and production
  • Expected CY 2018
  • Nearly all functionality is included
  • Limited to 12GB of user storage
  • Limited to 2GB of SGA

 

If you want to be updated with all our articles send us the Invitation or Follow us:

Joel Perez’s LinkedIn: www.linkedin.com/in/SirDBaaSJoelPerez

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

or Join our LinkedIn group: Oracle Cloud DBaaS

Follow us in Enmotech LinkedIn Page: https://www.linkedin.com/company/1856106/

 

Author Bios:

 

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

 

Skant Gupta is an Oracle Certified Cloud Professional in Oracle Database 12c, an Oracle Certified Expert in Oracle Real Application Clusters (Oracle RAC) in Oracle Database 11g and 12c, and an Oracle Exadata Certified and an Oracle Certified Professional in Oracle Database 10g, 11g, and 12c. He works at Vodafone Technology in the UK and formerly worked as a senior DBA at Etisalat in Dubai. He has six years of experience with various Oracle technologies, focusing mainly on Cloud, database, and high availability solutions, Oracle WebLogic Suite, Oracle Exadata and Oracle GoldenGate. He has presented at several Oracle user groups worldwide, most recently in the US, the United Arab Emirates, and the India. Skant website link: oracle-help.co

 

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

ByJoel Pérez ( Oracle ACE Director )

Installing Oracle Database 18.0.0.0.0 binaries on Oracle Linux 7

Hi Readers

Install 18c.. Little Hack.. For reading click the image or the link down below.

Installing Oracle Database 18.0.0.0.0 binaries on Oracle Linux 7

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

 

ByJoel Pérez ( Oracle ACE Director )

When will Oracle Database 18c be available “On-prem”?

When will Oracle Database 18c be available “On-prem”?

By Mike Dietrich

When will Oracle Database 18c be available “On-prem”?.. for knowing the answer.. Click the image or the link down below.

When will Oracle Database 18c be available on-prem?

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

ByJoel Pérez ( Oracle ACE Director )

Oracle 18c: “Oracle 18c and its impact on DBAs”

By Joel Peréz Skant Gupta

 

“DBAs will be fired.. ? It’s the end of DBAs because of the Autonomous Databases..?

Obviously not.. believe it or not.. now the DBAs will have more important role in enterprises.

Later of completing the reading of this article you could read more about new features related to Oracle18c:

Oracle 18c: Oracle 18c.. New Features.. What’s NEWS..

http://blog.enmotech.com/2017/12/17/14-oracle-18c-oracle-18c-new-features-whats-news/

Oracle 18c: New Features for Oracle Data Guard.. What’s NEWS..

http://blog.enmotech.com/2017/12/17/15-oracle-18c-new-features-for-oracle-data-guard-whats-news/

Oracle 18c: RMAN New Features.. What’s NEWS..

http://blog.enmotech.com/2017/12/17/16-oracle-18c-rman-new-features-whats-news/

Oracle 18c: RAC New Features.. What’s NEWS..

http://blog.enmotech.com/2017/12/17/17-oracle-18c-rac-new-features-whats-news/

Oracle 18c: Data Warehousing New Features.. What’s NEWS.

http://blog.enmotech.com/2017/12/17/18-oracle-18c-data-warehousing-new-features-whats-news/

Now, Let’s continue with the article..

I have +17 years as Oracle DBA and I could tell you how this profession have been evolving, having a tendency of:

  • More elaborated and advanced features.. that’s the essence of every new release..
  • More automated tasks released by release.. the DBAs and Enterprises must realise real advantages to perform early or convenient upgrades before the “Non support of Release” force them to do it..
  • and above all.. how to become DBA each day is even more complex than before.. and who will be affected by this.. this is the main point I want to focus in this short article.

Oracle Database 18c the next generation of the industry-leading database.

Oracle introduces the world’s first autonomous database cloud. Oracle Autonomous Database Cloud eliminates complexity, human error, and manual management, helping to ensure higher reliability, security, and more operational efficiency at the lowest cost.

 

 

At the previous paragraph I have highlighted the sentences “database cloud” & “Oracle Autonomous Database Cloud“, it means.. when we are talking about Cloud Databases, Oracle Autonomous Database Cloud is just another different kind of Cloud database service, so, in this article we will call it simply as “Cloud Databases”.

 

Autonomous Databases/Cloud Databases.. is a subject that could be analyzed from different points of views. Most of articles and publications focus in how ideal would be a futuristic database etc..

 

but Let’s think for a minute about Autonomous Databases..

Who will decide under what kind of service the databases will be.. ?

Who will implant the policies for those autonomous databases ?

Who will have the knowledge to decide or estimate the cost of these services based on the regular activities of those databases ?

Who will decide the complex design of IT Infrastructure when we have more and more options.. ?

The answer is obvious.. a DBA.. not any simple DBA.. a DBA that has evolved with all this new generation of databases on Cloud.

 

Oracle Autonomous Database as I mentioned before is a kind of different type of a Cloud Database Service. So.. in order to move that database from “On-prem” or create it from zero, a DBA must be needed..

 

Oracle Autonomous Database is a kind of database with a lot of mundane tasks already automated such as:

  • Applying of Patches
  • Upgrades
  • and Tunes itself..

The more important section of this article is the following

I will use the exact smart words of my colleague Tim Hall ( Oracle ACE Director ) “18c on-prem will have very little impact on DBAs. It is the Autonomous Database suite of services that have the impact”

  • “18c on-prem will have very little impact on DBAs”, Yes.. Exactly, Oracle 18c is just another higher version, “Oracle 18c” is not a relational database manager software that will work by default in autonomus mode, in fact, Autonomous Database suite of services has been designed “Up to now” just for Cloud, not for “On-prem” databases.
  • “It is the Autonomous Database suite of services that have the impact”, Autonomous databases is a kind of suit of services that will be available for “Oracle Public Cloud”, this means that “On-Prem” databases will not work in autonomous mode “until what we know up to now..”, perhaps later that kind of service could be available for “On-prem databases”

Most of DBAs currently are in fear believing “Autonomous Databases suite of Services” will let them without job.. but the reality is not even near to that.. actually there are several kind of services to lodge a database on Cloud:

  • Oracle Database Cloud Service
  • Oracle Bare Metal Cloud Database Service
  • Oracle Database Exadata Cloud Service
  • Oracle Database Exadata Cloud Machine
  • Oracle Database Express Cloud Service

“Autonomous Databases suite of Services” will represent just other possible services you could contract

 

Now, we will see some important points about Autonomous Databases that perhaps most of people does not know..

 

Oracle self driving database ( Autonomous Database ) will be available starting Oracle18c but there is still a huge period of support for 12cR1/R2. 12cR1 until 4 years more in comparison to this date, we are talking about until 2021 more or less..

12cR2 until April 2025 in extended support. As we know.. Customers normally are not moving so fast to a next release until they need it or until the support period is near to expire. So, Oracle 18c is a release that will be used for customers that really need it or by customers they want to be extreme up to date.

 

Up to now Oracle self driving database is designed to be run on Exadata, as per we know Exadata is an Engineering system very powerful but not cheap.. so.. most of customers for sure they will not be in Exadata.. it means.. Exadata has a high cost to be the regular hardware for most of regular medium companies around the world

 

So.. DBA’s no fear.. Oracle self driving database is not Oracle18c.. Oracle self driving database will not be the regular mechanism of your regular databases..

 

Then, important items to remember later of finishing to read this article:

  • Oracle 18c is not Autonomous Database suit of Services
  • Autonomous Database Service suit of Services is not Oracle 18c
  • Autonomous Database suit of Services is a kind of services available up to now just for Oracle Public Cloud
  • Autonomous Database suit of Services will run just in Exadata ( “According to the information we have up to now, later perhaps could change..”)
  • Oracle 18c is just one release more

So.. with those lines you have got the more important section of this article.

The conclusion is that “Oracle 18c” will have little impact for regular “On-prem” databases and databases services related to “self driving”

 

Now, Let’s extend this conversation..

 

But Let’s wait a minute.. Let’s analyze every one of those.. how it can be done today with the regular “Oracle Database Cloud Service (DBCS)” and how we think Oracle will do it.. We talk about “How Oracle will do it.. because the debut of Autonomous Datawarehouse Database Cloud will be in December 2017.

 

Applying of Patches: nowadays, if you want to apply a Patch using DBCS is just to go to the console, see on the screen if there is any available patch for that database and make some clicks to apply it.. So simple..

So.. I think is not “so difficult” for Oracle Corp, replace our clicks for an automated process..

There are some patches that require the database must be stopped because they change binaries.. etc.. well.. most probable Oracle had already a mechanism in order to apply patches having the database running and they have decided to release it now.. if we imagine how work the database inside running sequentially sentences.. etc.. every sentence.. operations.. etc all this can be coordinated so that patches affect in some way “post” sentences.. etc.. in a general way what I’m trying to say is.. the fact of applying patches by itself is not the big thing taking into account the level of development of the Oracle product during years.. So.. the applying patch by itself is just a step forward related to levels of automation.

 

Upgrades: Up to now when you are working with DBCS the only way to upgrade a database already working in the cloud is creating another service which will have another compute node and we apply a regular procedure to upgrade that database. However, we have to remember that Oracle has been working very hard in establish very advance mechanism to manage PDB. Nowadays we can clone PDB in hot, we can move PDBs from one container to another container in hot.. basically is very alike to the mechanism implanted to move a datafile online.. so.. this technology is extreme mature by the Oracle Software in these times.. So.. Upgrade a database must be surely a procedure a alike to what is done with PDB, the CDB in its root definition has the binaries of the corresponding version and we move just the data. I’m “sure”.. that’s the mechanism the Oracle software will use to upgrade databases in hot. So.. if we realise all I have commented.. all this is just a technology that we are using with the current release.. difference in autonomous databases is that they are applying this procedure with complete databases under this kind of new service.

 

Note : later of writing this article my colleague Tim Hall ( Oracle ACE Director ) had helped me to clarify that element, these are the exact words of Tim

Oracle have explained how the upgrades and patches will work. These systems are based on 18c running on Exadata. Since 18c allows rolling upgrades and patches for everything, including OJVM, they are able to do online patches for these services

Thanks Tim!!

 

Tunes itself: is even more easy to explain.. when you tune queries using adaptive technics.. etc.. all this can happen with the databases running.. rebuild indexes online.. etc.. must of tune operations nowadays can be done online.. it’s not so difficult to have an AI ( Artificial Intelligence ) engine collecting data and taking some decisions based on internal tests.. statistics.. etc.. so.. this new level of automation/autonomous is just what we have but being done automatically.

 

Let’s talk with what frequency we do these tasks:

 

Applying of Patches: time to time.. It’s not so frequent.. so.. there are not too much changes to appreciate in the time we employ in this task

Upgrades: even less.. it’s very seldom when we apply upgrades to the databases.. so.. there are not too much changes to appreciate in the time we employ in this task

Tunes itself: tuning.. yes.. many companies.. consultants.. etc.. employ a lot of time in constant tuning to databases for many reasons.. it’s very common that some objects.. some queries.. some code.. etc are added, removed.. changed in the database and of course this generate variations in the performance. This point could impact relatively highly the cost of many enterprises, because tuning a database constantly imply constant high costs. Of course.. we have to see how good the engine can be doing this. We have to remember that currently we have available “Tuning advisors” and they are not perfect.. sometimes we apply some recommendations and the performance of some executions.. etc.. become worst.. so.. the factor of “Tuning itself”.. really.. thinking very honest.. we have to see how that will work. If the results are very good and convenient.. definitely this factor will reduce a lot of cost to enterprises and of course will affect in some way DBAs specialized or in charge of tuning.

 

In December 2017 will be release the autonomous database service for Data warehouse, later on 2018 for OLTP and so on..

The tuning itself for Data Warehouse databases is easier than for OLTP Database according to my point of view. The typical and common operations.. ( Load.. queries.. etc ) are more common between them than for an OLTP database.

When you analize the conditions that will have autonomous databases for DW, you start to discover how it will work internally..

 

These are just some of them..

 

Automated Database Configuration for Autonomous DB for DW

• init.ora parameters

– Parameters optimized for DW workloads

– Memory, parallelism, sessions configured based on number of CPUs – Users can modify a limited set of parameters, e.g. NLS setttings

• Tablespace management

– Pre-defined data and temporary tablespaces – Users cannot create/modify tablespaces

• Compression

– All tables compressed using Hybrid Columnar Compression – Users cannot change compression method or disable compression

• Optimizer stats gathering

– Stats gathered automatically during direct load operations – Users can gather stats manually if they want

• Optimizer hints

– Hints ignored by default – Users can enable hints explicitly

• Result cache configuration

– Result cache enabled by default for all queries

 

and more.. I’ll talk more in detail about all this in an article dedicated to Autonomous DBs for DW.

 

Let’s come back a bit to the topic we were talking about automation and how enterprises can deal with that..

So.. one important thing to think.. You guess Enterprises with extreme important databases will allow to run all these tuning.. etc.. by itself without someone that can be monitoring what the database is doing.. ?

We are going to be honest.. Enterprises with critical databases will not allow to give the 100% of confidence to an engine software to tune itself on demand without control or supervision of a human. Of course, there are some databases.. under some levels of importance.. circumstances that fit that model.. to be tuned 100% without supervision but that not the regular cases.

That self tuning will have sections.. factor.. policies.. etc.. and DBAs will choose what elements could be tune by itself.. and which of them will keep under control of DBAs. At the end.. always DBAs will be needed.. Now DBAs will have more facilities to do their jobs more easy.. but that fact of thinking to replace totally the humans is something difficult to happen in spite of the engine can take correct decisions.

 

Let’s describe a simple example.. Oracle Data Guard has the option to FAILOVER automatically under some circumstances, but for some possible humans errors could happen a database can failover when the humans did not want it.. so.. most of enterprises they fear to use FSF ( Fast Start Failover ), It’s a mechanism that works perfect technically but to give the total control to the software to apply something critical to the data is something most of enterprises are not allow to implant.

 

In a general way I think autonomous databases will reduce tons of working hours for DBAs but will not represent in a practical and real way the elimination of Human presence.

 

So, autonomous databases promises the following:

 

Less time on Administration

– Less time on infrastructure

– Less time on patching, upgrades

– Less time on ensuring availability

– Less time on tuning

 

More time on Innovation

– More time on database design

– More time on data analytics

– More time on data polices

– and very important.. More time on securing data

 

So.. with databases on Cloud, DBAs must strength their skills in Security

 

Now Let’s jump to another point of analysis..

 

Future of DBAs related to Oracle Database Cloud

 

17 years ago.. it was so simple to design a database architecture. You had to decide to lodge your database in a:

  • Server..
  • Or in a Mainframe
  • Or even in a regular desktop machine in some cases..

Now, when DBAs will decide where to lodge databases must think in many options.. such as:

  • – Servers..
  • – Virtual Machines
  • – Engineering Systems such as “Exadata”
  • – and more..

They have to decide if the architecture will be implanted:

  • – “On-Prem” as the regular option
  • – Cloud in our own data center ( Private Cloud )
  • – Hybrid Cloud
  • – Public Cloud, now the public Cloud has more options with autonomous databases in Oracle18c.. etc

and more and more..

 

Before was so simple to design a database architecture.. now not.. Now we have a lot of options.. each one with pros and cons. Basically is a sea of options..

 

So.. the question is.. Who will be in charge of designing all this.. ?

The General Managers ? obviously not.. this will be designed by Database Architects.. ( DBAs )

Now DBAs will be asked more to understand the business rather than just the mechanics of keeping the database healthy and running

 

Before the cost of Servers.. services.. etc.. was not the main thing with what DBAs had to deal.. they were focused just in keeping the database running and implanting them. Now is different.. , now creating a database in Cloud, for example.. implies a decision of what kind of service to use and in what mode.. “Metered.. Non-Metered..” etc.. those factors impact directly the economy of the enterprise and the mode of operating these databases, so.. now the DBAs are more related into the business.

 

Some years ago from the first minute Oracle Corp. announced the release of “Oracle Cloud”, another level of expertise for DBAs was born, turning this business more complex..

DBAs will not be fired.. now the roles of DBAs are even more important.. the role of DBAs is simply shifting to be more of a role of architect..

 

Who must worry because of all these changes.. ?

Those kind of operational DBAs who are or were in charge just of doing simple tasks.. such as:

– Checking Backups..

– Checking storage..

– Making some reports..

– Installing Patchs..

– Installing softwares..

– Creating constantly new environments for developers..

 

All those easy and simple tasks.. have been removing with the addition of automation in Oracle Releases..

For instance, now at the time of creating an Oracle Database Cloud Service, there are many elements created automatically including:

– The creation of compute node ( Host )

– Installation of Software

– and more..

 

Here you can see how simple can be create a disaster recovery configuration on Cloud using Data Guard:

#1 Oracle Cloud (DBaaS): Oracle Data Guard in Database Cloud Service ( DBCS )

 

So.. with just this simple example.. you can realise that at the time of working with Oracle Database Cloud Service you do not have to install softwares anymore..

If you want to create a RAC configuration in a using Oracle Database Cloud Service is just some simple clicks and you could have complex RAC-DG configurations.

 

The era of regular and boring tasks is getting away.. so.. if you are a DBA in charge of those kind of simple tasks.. yes.. worry about your future..

 

Contrary of this, if you are a DBA in charge of implanting MAA architectures.. Cloud Databases, Exadata.. etc.. happy for you.. the importance of your role now will be bigger..

 

So.. now we come back to the central point of this article..

you can imagine what will be the vision of a person that is starting as DBA with all these numerous options in the market.. A person that is barely learning SQL.. and “Create table..” etc.. when the market is talking about autonomous databases.. It’s a comparison like between a kid bike and one 1000cc Motorbike.. something like that..

 

My though about all this is:

#1.- DBAs with kind of regular maintenance tasks.. could be removing from their role or job if they do not evolve to be focused in all this new generation related to Cloud

#2.- DBAs that have got the privilege to work with Oracle Databases during the golden era of “On-prem” databases, now they are in the right time to grow in parallel with something that is defining the “before” and “after” of IT. Now the DBAs will have the opportunity to move into a more strategic role in their organisations and based on that the income “salary.. commissions.. etc” will be higher.. now you will be involved in important decisions for the company

#3.- Sorry for new DBAs entering in this database world.. the journey you have to run is even harder than before to get the top level in this area because day by day are generated more and more options

 

Conclusion

1.- If you are a DBA kind #1 according to the previous description, perhaps you have several options.. evolve to #2, or if you decide to stay in the same role, your payment could be less over time or your role could be slowly disappear.

2.- If you are a DBA kind #2, keep on the track.. and your role will be more and more important in this field, by consequence your payment will have high probabilities to be increased. One more thing.. most of DBAs will not reach to be Cloud architects because this require time of study.. researching.. testing.. etc.. so.. feel proud if you reach it and take advantage of that inside your current or future organizations

3.- If you are a DBA kind #3, do not give up.. do not see the journey too long as It really is, just keep learning and you will get the level to be a good competitor in the market.

 

Now, perhaps you have the question.. How I can start to get ready to administer databases on Cloud ?

I could tell you, go to https://www.oracle.com/cloud/index.html and start there..

The page is the starting point of that monster called “Oracle Cloud.. ( PaaS, IaaS, SaaS..) etc etc”, you could be lost easily.

 

If you are DBA and you are interested in managing databases on Cloud, my main recommendation is to follow the path to become OCP Cloud.

The OCP Cloud has the base and initial path of knowledge that every DBA must domain to work with databases on Cloud.

 

This article finish here. If you have liked, go down below and share it in your prefer social medias: LinkedIn, Facebook.. etc. Thanks!!

 

If you want to be updated with all our articles send us the Invitation or Follow us:

Joel Perez’s LinkedIn: www.linkedin.com/in/SirDBaaSJoelPerez

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

or Join our LinkedIn group: Oracle Cloud DBaaS

 

Author Bios:

 

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

 

Skant Gupta is an Oracle Certified Cloud Professional in Oracle Database 12c, an Oracle Certified Expert in Oracle Real Application Clusters (Oracle RAC) in Oracle Database 11g and 12c, and an Oracle Exadata Certified and an Oracle Certified Professional in Oracle Database 10g, 11g, and 12c. He works at Vodafone Technology in the UK and formerly worked as a senior DBA at Etisalat in Dubai. He has six years of experience with various Oracle technologies, focusing mainly on Cloud, database, and high availability solutions, Oracle WebLogic Suite, Oracle Exadata and Oracle GoldenGate. He has presented at several Oracle user groups worldwide, most recently in the US, the United Arab Emirates, and the India. Skant website link: oracle-help.co

 

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

ByJoel Pérez ( Oracle ACE Director )

Oracle Database 18c Now Available on Oracle Database Appliance..!!

Oracle Database 18c Now Available on Oracle Database Appliance..!!

Hi Readers

We  are happy to announce the availability of Oracle Database 18c on Oracle Database Appliance.   This Database Appliance release marks a new and exciting time, giving you the opportunity to start testing and using the new Oracle Database 18c functionality and improvements with your applications.

For Reading all the details about click the image or the link down below

For Reading Click here: https://blogs.oracle.com/oda/oracle-database-18c-oda

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

ByJoel Pérez ( Oracle ACE Director )

Oracle 18c: 26 Remarkable new features of Oracle Database 18c..!!

Oracle 18c: 26 Remarkable new features of Oracle Database 18c..!!

By Joel Pérez ( Oracle ACE Director )

Oracle 18c was released in 2018-02-16, and now available on Cloud and Engineered SystemsAdhering to Oracle’s Cloud first philosophy

Now lets take a look at the 18c new features which are important in our opinion.

(A) Availability

1. Oracle Data Guard Multi-Instance Redo Apply Supports Use of Block Change Tracking Files for RMAN Backups

Multiple-Instance Redo Apply (also known as MIRA) now supports BCT (Block Change Tracking) backups. This is an effective incremental backup method large database, and both master and slave are RAC, and the backup happens on the slave this kind of DB environment.

2. Automatic Correction of Non-logged Blocks at a Data Guard Standby Database

added two new standby logging modes (mainly to speed up the primary database loading data):

One is Standby Nologging for Data Availability, where the commit of a loading operation is delayed until all standby have applied data.

SQL> ALTER DATABASE SET STANDBY NOLOGGING FOR DATA AVAILABILITY;

One is Standby Nologging for Load Performance. This mode is similar to the previous one, but it will not send data when it encounters the network bottleneck during loading data. This guarantees the loading performance but may lose the data which can be obtained again from primary.

SQL> ALTER DATABASE SET STANDBY NOLOGGING FOR LOAD PERFORMANCE;

3. Shadow Lost Write Protection

Create a shadow tablespaces to provide data protection. With this feature you may not need ADG to provide additional lost write protection.

Do you notice that this feature like double write of the MySQL?

4. Backups from non-CDBs are usable after migration to CDB

The original non-CDB can be migrated as a PDB to the existing CDB with this new function.

5. Support for PDBs as Shards and Catalogs

finally, oracle shard could be a pdb.

However, it only supports a single pdb in a single cdb. Whats the point?

6. User-Defined Sharding Method

This feature once appeared in the beta version of 12.2 but canceled in the official release. Now it got released again.

7. Consistency Levels for Multi-Shard Queries

Provides the MULTISHARD_QUERY_DATA_CONSISTENCY initialization parameter, to avoid SCN synchronization during slicing across slices you can be set it before the execution

8. Manual termination of run-away queries

Now you can manually kill a statement without breaking the session:

ALTER SYSTEM CANCEL SQL.

ALTER SYSTEM CANCEL SQL ‘SID, SERIAL, @INST_ID, SQL_ID’;

(B) Big Data and Data Warehousing

9. Approximate Top-N Query Processing

Note: In 18c, APPROX_COUNT and APPROX_SUM were added to make full use of theAPPROX_RANK.

10. LOB support with IMC, Big Data SQL

the memory database start support LOB objects.

(C) Database Overall

11. Copying a PDB in an Oracle Data Guard Environment

Two new parameters have been added to facilitate the creation of PDBs in an ADG environment.

One is STANDBY_PDB_SOURCE_FILE_DIRECTORY, which automatically finds the ADG data file path. (Note that before 18c, if you inserted a pdb into a standby environment, cdbwould need to manually copy the file to pdb’s OMF path)
The other is STANDBY_PDB_SOURCE_FILE_DBLINK, which is used to automatically find the ADG file path when remote clone is used (Note: Before 18c, if you are a local clone, you do not need to copy the data file, but the remote clone requires manual copying).
 

12. PDB Lockdown Profile Enhancements

PDB lockdown profiles can now be created in application root and CDB root.You can now create another pdb lockdown profile based on a pdb lockdown profile.18c contains three default lockdown profiles: PRIVATE_DBAAS, SAAS, PUBLIC_DBAAS

13. Refreshable PDB Switchover

PDB refresh has always been known as the ADG for the poor, this feature is now getting much better in 18c. Switchover is supported. The switchover is divided into two scenarios outside the planned kernel plan.

Planed switchover: it can be cut back and used mainly to balance the load of the CDB.

Unplanned switchover: mainly for the PDB master failure, do not switch the entire CDB.

14. PDB Snapshot Carousel

The pdb snapshot backup carousel, reserves 8 copies and is backed up every 24 hours by default.

ALTER PLUGGABLE DATABASE SNAPSHOT MODE EVERY 24 HOURS;

15. New Default Location of Oracle Database Password File

Note that the new password file path is already in ORACLE_BASE, not ORACLE_HOME.

16. Read-Only Oracle Home

You can use dbca or roohctl -enable to install read only oracle home.Run the orabasehomecommand to check if the current Oracle Home is read-only. If the output of this command is the same as $ORACLE_HOME, Oracle Home is read-write. If the output is ORACLE_BASE/homes/HOME_NAME, Oracle Home is read-only.

17. Online Merging of Partitions and Subpartitions

Supports online consolidation of partitions and the ONLINE keyword is required.

18. Concurrent SQL Execution with SQL Performance Analyzer

The SPA can run in parallel (by default, it is serial), helping you to complete the SPA test faster.

(D) Performance

19. Automatic In-Memory

this feature evicts the infrequently accessed IM columns out of memory in the situation of memory insufficiency, based on the Heat Map.

20. Database In-Memory Support for External Tables

External tables support IM features.

21. Memoptimized Rowstore

There is a memoptimize pool area in the SGA. The size is set by the MEMOPTIMIZE_POOL_SIZE parameter. When fast lookup is turned on, the memory area can be used for quick search.

Open fast lookup, need to add keywords in the table statement:

fast lookup would be used based on the primary key query

Memoptimized Rowstore will greatly improve the high-frequency query based on the primary key in the Internet of Things.

(E) RAC and Grid

22. ASM Database Cloning

You can clone pdb based on ASM. Use the flex diskgroup to achieve.

23. Converting Normal or High Redundancy Disk Groups to Flex Disk Groups without Restricted Mount

We think use the Flex disk groups is great.

(f) Security

24. Integration of Active Directory Services with Oracle Database

Combined with Microsoft’s AD.

Before 18c, interaction with Oracle Enterprise User Security (EUS) was required. Now, you can use the centrally managed users (CMU) to mappiing the AD users and groups directly with the Oracle users and roles.

(G) Others

25. Add initialization parameters:

ADG_ACCOUNT_INFO_TRACKING

FORWARD_LISTENER

INMEMORY_AUTOMATIC_LEVEL

INMEMORY_OPTIMIZED_ARITHMETIC

MEMOPTIMIZE_POOL_SIZE

MULTISHARD_QUERY_DATA_CONSISTENCY

OPTIMIZER_IGNORE_HINTS

OPTIMIZER_IGNORE_PARALLEL_HINTS

PARALLEL_MIN_DEGREE

PRIVATE_TEMP_TABLE_PREFIX

STANDBY_PDB_SOURCE_FILE_DBLINK

STANDBY_PDB_SOURCE_FILE_DIRECTORY

TDE_CONFIGURATION

UNIFIED_AUDIT_SYSTEMLOG

WALLET_ROOT

It’s worth mentioning OPTIMIZER_IGNORE_PARALLEL_HINTS. In a pure OLTP system, you can finally disable developers’ uncontrolled concurrency (often not writing concurrency). 🙂

26. dbms_session.sleep

Exec dbms_session.sleep(3);

Finally, it is no longer necessary to grant grants for dbms_lock separately.

Until here the article. Thanks for Reading!

Additionally you can read another article of us related to this same topic:

Oracle 18c: Oracle 18c.. New Features.. What’s NEWS..

Oracle 18c: New Features for Oracle Data Guard.. What’s NEWS..

Oracle 18c: “Oracle 18c and its impact on DBAs”

Oracle 18c: RMAN New Features.. What’s NEWS..

Oracle 18c: RAC New Features.. What’s NEWS..

Oracle 18c: Data Warehousing New Features.. What’s NEWS..

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

ByJoel Pérez ( Oracle ACE Director )

Oracle 18c Download and New Feature Scalable Sequence..!!

Oracle 18c Download and New Feature Scalable Sequence..!!

By Eygle Gai ( Oracle ACE Director )

Oracle 18c has released and is currently available for download in the Oracle Edelivery website: https://edelivery.oracle.com.

Searching Oracle Database” in the site, You can see the software media of the 18th edition,The current declared media is Exadata only, but it should be possible to install on non-Exadata Linux system platforms. OEL is Oracle’s best recommended support platform:

The current media contains three major files, the clients, software and Grid installation package. The first version of the Linux system is supported (Baidu Cloud shares a copy of software. Search The keyword ’18cNF’ these Files can found in the directory):

We have noticed an interesting feature: Extensible Sequence – Scalable Sequence

By specifying the SCALE clause in a CREATE SEQUENCE or ALTER SEQUENCE statement, you can make the sequence robustly extensible.

How is this feature implemented? What is it to solve?

Let’s review a online lesson of Andrew Holdsworth, who is the Vice President of the Oracle RWP teamIn this video, Andrew mentioned the various index competitions encountered during optimization:

https://www.youtube.com/watch?v=wQNPQGUwjbs

Now let’s take a look at the definition of the scalable sequence in 18c:

The scalable sequence is defined by the following syntax:

When the SCALE statement is specified, a 6-digit number is specified as the sequence prefix, followed by the normal sequence number, and these two number are combined into a new sequence:

How do we get the 6-digit prefix? It is generated by instance number and session number:

6 digit scalable sequence offset number = 3 digit instance offset number || 3 digit session offset number.
The 3 digit instance offset number is generated as [(instance id % 100) + 100]. The 3 digit session offset number is generated as [session id % 1000].
 

So, this design is exact the same as Andrew’s previous description, which is exactly the guidance from practice that ultimately promoted the progress of Oracle database products.

Lets do a little test:

drop sequence enmo_seq;

CREATE SEQUENCE enmo_seq INCREMENT BY 1 MAXVALUE 1000000 SCALE;

SELECT enmo_seq.nextval FROM dual;

Because there is a 6-bit prefix, the sequence must have a minimum length of 7 bits

Even with 7 bits, there will be only 9 available values for a single process connection:

ORA-64603: NEXTVAL cannot be instantiated for ENMO_SEQ. Widen the sequence by 1 digits or alter sequence with SCALE EXTEND.

through this sequential, data can be truly dispersed from different instances, and system has got the lower index competition, higher performance and scalable sequence as well.

Until here the article. Thanks for Reading!

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

 

ByJoel Pérez ( Oracle ACE Director )

For Oracle DBAs.. CrashSimulator..!!

For Oracle DBAs.. CrashSimulator..!!

Hi Readers

CrashSimulator by Francisco Alvarez is able to provide you with almost 50 different scenarios for CDB and Non-CDB Databases and the best part.. It’s free.. read more about it clicking the image or at the link down below.

For Reading click here: http://oraclenz.org/?page_id=4301

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

 

ByJoel Pérez ( Oracle ACE Director )

18c PDB switchover..!!

18c PDB switchover

Hi Readers

In multitenant, the recovery and availability are at CDB level. But customers asked for a switchover at PDB level so Oracle has done that in 18c, based on refreshable PDBs. If you want to discover how to do it, read a great article about written by By Franck Pachot

For reading click the image or the link down below.

https://blog.dbi-services.com/18c-pdb-switchover/

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

ByJoel Pérez ( Oracle ACE Director )

Databases need to be patched to a minimum before April 2019..!!

Databases need to be patched to a minimum before April 2019..!!

Hi Readers

Databases need to be patched to a minimum before April 2019 according to MOS note 2361478.1:  https://support.oracle.com/epmos/faces/DocumentDisplay?id=2361478.1 

The alert refers to an SCN issue, if you want to know more about it, read this great article written Mike Dietrich ( Master Product Manager – Database Upgrades and Migrations at Oracle Corp. ).

To read the article click the image or the link down below

Databases need to be patched to a minimum before April 2019

You can read as well another of our post related to this topic:

WarningOracle Databases Need to be Patched to a Minimum Patchset/PSU/RU level before April 2019

Read THIS.. Before Patching by April 2019..!!

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

ByJoel Pérez ( Oracle ACE Director )

Oracle Autonomous Database: How It Works..!

Oracle Autonomous Database: How It Works..!

Hi Readers

Many comercial announcements about Autonomous databases have crossed your eyes, now it’s time to know a bit more how this will work technically.. so.. for that, read the following article written by Juan Loaiza (SVP, Database Systems Technology, Oracle)

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

 

ByJoel Pérez ( Oracle ACE Director )

Oracle Cloud Predictions 2018..!!

Oracle Cloud Predictions 2018..!!

Hi Readers

Cloud in a general way is causing a shifting in database technology. It’s that kind of technology that arrived to stay.. so.. do you want to know what are the Oracle Cloud Predictions 2018.. ?. Read this great document about it. For reading click the image or the link down below.

http://www.oracle.com/us/solutions/cloud/2018-cloud-predictions-4242085.pdf

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

 

ByJoel Pérez ( Oracle ACE Director )

Oracle Database 18c – Some important changes

Oracle Database 18c – Some important changes

Hi Readers

If you want to read about some important new changes in Oracle Database 18c, read this great article written by Mike Dietrich. For Reading click the image or the link down below.

Oracle Database 18c – Some important changes

We hope the content could be useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

ByJoel Pérez ( Oracle ACE Director )

Playing with 18c on Oracle Database Cloud Service – How to use and create a database STEP by STEP

Playing with 18c on Oracle Database Cloud Service – How to use and create a database STEP by STEP

Hi Readers

Most probable you have already experienced how to build a Cloud configuration with releases 11gR2, 12cR1, 12cR2.. have you done it with the new graphical interface and building your database in version 18c, if not.. come and read an article about it written by Francisco Muñoz ( Oracle ACE Director ). For reading click the image or the image down below.

Playing with 18c on Oracle Database Cloud Service – How to use and create a database STEP by STEP

We hope the content could useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/

ByJoel Pérez ( Oracle ACE Director )

18c Merge Partitions Online..!! by Connor McDonald

18c Merge Partitions Online..!! by Connor McDonald 

Hi Readers

Sometimes we have problems merging partitions, if they are being used we get the typical ORA-00054: resource busy.. etc etc.. and we have to apply some other techniques to solve this problem, even causing others.. so.. watch this video done by Connor McDonald and see the how with the new ONLINE clause all this was improved. For watching, click the image or the link down below.

For watching, click the image or the link down below:

We hope the content could useful for your Oracle DBA Tasks!

This article is brought by Yunhe Enmo (Beijing) Technology Co.,LTD En.enmotech.com

Follow our Company in Linkedin: https://www.linkedin.com/company/1856106/

Subscribe to our Blog and enjoy our Weekly Cloud article..!

Post Author Bios:

Joel Pérez is an Expert DBA ( Oracle ACE Director, Maximum Availability OCM, OCM Cloud Admin. & OCM12c/11g ) with over 17 years of Real World Experience in Oracle Technology, specialised in design and implement solutions of: High Availability, Disaster Recovery, Upgrades, Replication, Cloud and all area related to Oracle Databases. International consultant with duties, conferences & activities in more than 50 countries and countless clients around the world. Habitual and one of leading writers of Technical Oracle articles for: OTN Spanish, Portuguese, English and more. Regular Speaker in worldwide Oracle events like: OTN LAD (Latin America), OTN MENA (Middle East & Africa), OTN APAC ( Asian Pacific), DTCC China, Oracle Code.. . Joel has always been known for being a pioneer in Oracle technology since the early days of his career being the first Latin American awarded as “OTN Expert” at year 2003 by Oracle Corp., one of the first “Oracle ACE” globally in the Oracle ACE Program at year 2004. He was honoured as one of the first “OCM Database Cloud Administrator” & Maximum Availability OCM in the world. Currently Joel works as Senior Cloud Database Architect in “Yunhe Enmo (Beijing) Technology Co.,Ltd”., company located in Beijing, China En.enmotech.com

Joel Pérez’s Linkedin Profile: https://www.linkedin.com/in/sirdbaasjoelperez/