Query Errors ‘ORA-12850: Could Not Allocate Slaves On All Specified Instances‘ (Doc ID 2388821.1)

当执行查询时遇到ORA-12850错误,表明无法在所有指定实例上分配奴隶。此问题与内部bug有关,该bug已被标记为另一个bug的重复。解决方案包括更新到12.2.0.1版本或应用补丁19768896。作为临时解决办法,可以使用optimizer_features_enable设置为'11.2.0.4'。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

APPLIES TO:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.

SYMPTOMS

  • Query hangs with following error:
ORA-12850: Could Not Allocate Slaves On All Specified Instance
  • Query works with optimizer_features_enable string 11.2.0.4

CAUSE

Internal bug was filed but closed as duplicate to another bug:

Bug 26680874 SQL MONITORING QUERY RAISES ORA-12850 >>>>>>> Unpublished bug closed as duplicate to following
Bug 19768896 : ALWAYS ALLOW INDEX WHEN COMPARING TIMESTAMP TO DATE COLUMN

SOLUTION

  • 1.Bug is fixed in 12.2.0.1
  • 2.Apply Patch 19768896
  • 3.Workaround is to use optimizer_features_enable(‘11.2.0.4’):
/*+ optimizer_features_enable('11.2.0.4') */
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值