Oracle19c无法连接指定的,Oracle 19C 无法启用Auto Indexes特性

Oracle 19C 无法启用Auto Indexes特性

环境:

OS:Red Hat Enterprise Linux Server release 7.5 (Maipo)

DB:Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.3.0.0.0

说明:

近期查看Oracle 19C新特性,发现Auto Indexes特性特别实用,想看看效果;

1 查看auto_index特性未启用;

SQL>

select

*

from

dba_auto_index_config

;

e7809801a11b9d28435f3a30998688e6.png

2 在启用Automatic Indexing

时报如下错误,不支持该特性:

5567444f6ee72d6b3402236b3040ac23.png

SQL>

alter session set container=cjcpdb;

SQL>

EXEC DBMS_AUTO_INDEX.CONFIGURE('AUTO_INDEX_MODE','IMPLEMENT');

BEGIN DBMS_AUTO_INDEX.CONFIGURE('AUTO_INDEX_MODE','IMPLEMENT'); END;

*

ERROR at line 1:

ORA-40216: feature not supported

ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79

ORA-06512: at "SYS.DBMS_AUTO_INDEX_INTERNAL", line 9180

ORA-06512: at "SYS.DBMS_AUTO_INDEX", line 283

ORA-06512: at line 1

问题原因:

只有在

EXADATA systems

系统下才支持

Auto Index

特性。

Auto indexing will be allowed only in EXADATA systems, if not it will raise ORA-40216: feature not supported when we try it turn it on in non exadata systems.

ORA-40216 When Using Auto Index Feature (Doc ID 2570076.1)

APPLIES TO:

Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and later

Information in this document applies to any platform.

SYMPTOMS

When attempting to use auto index feature ,e.g. DBMS_AUTO_INDEX.CONFIGURE('AUTO_INDEX_MODE','IMPLEMENT');

it reports

ORA-40216: feature not supported

ORA-6512: at "SYS.DBMS_SYS_ERROR", line 79

ORA-6512: at "SYS.DBMS_AUTO_INDEX_INTERNAL", line 9180

ORA-6512: at "SYS.DBMS_AUTO_INDEX", line 283

ORA-6512: at line 1

CHANGES

CAUSE

This issue has been discussed in

Bug 30017206 : ADW : AUTO INDEX FEATURE NOT WORKING IN FUTURE PRODUCTION

Closed as 'Not a Bug.'

Development explains:

Auto indexing will be allowed only in EXADATA systems, if not it will raise ORA-40216: feature not supported when we try it turn it on in non exadata systems.

SOLUTION

Do not use AUTO INDEX FEATURE in non-exadata systems.

想学习

AUTO INDEX FEATURE

可以看下面的链接:

Database Administrator’s Guide

---

21 Managing Indexes

21.7 Managing Auto Indexes

You can use the automatic indexing feature to configure and use auto indexes in an Oracle database to improve database performance.

......

欢迎关注我的微信公众号"IT小Chen",共同学习,共同成长!!!

a251924012067fe19a79de2730d37c38.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值