How to reduce number of records on CTXSYS.DR$WAITING,CTXSYS.DR$PENDING tables in Oracle EBS?

From Metalink 382809.1

Solution

a) Following jobs will purge unwanted records in CTXSYS.DR$WAITING,CTXSYS.DR$PENDING

1.FND Rebuild Help Search Index
2.JTF Item InterMedia Index Optimizing operation (CRM Foundation)
3.JTF Item InterMedia Index Sync Operation (CRM Foundation)
4.MES InterMedia Index Optimizing operation (Oracle MarketView)
5.MES InterMedia Index Sync Operation (Oracle MarketView)
6.Knowledge Management Index Synchronization Program (Oracle Service)
7.Rebuilding Intermedia Index for Task Names
8.Synchronize JTF_NOTES_TL_C1 index

b) Execute the following query to find out what are the indexes that still have pending rows in DR$PENDING:

connect as ctxsys:

select u.username, i.idx_name
from dr$index i, dba_users u
where u.user_id=i.idx_owner#
and idx_id in (select pnd_cid from dr$pending);

Synchronize those indexes manully, running:

exec ctx_ddl.sync_index('USERNAME.INDEX');

or u can generate sql using:

select count(*) from ctxsys.dr$waiting
select count(*) from ctxsys.dr$pending

select 'exec ctx_ddl.sync_index('''||u.username||'.'||i.idx_name||''')'
from ctxsys.dr$index i, dba_users u
where u.user_id=i.idx_owner#
and idx_id in (select pnd_cid from ctxsys.dr$pending);

Reference:
0.Metalink:382809.1 here Are Millions Of Records In CTXSYS.DR$PENDING And CTXSYS.DR$WAITING Tables
1.Predefined Administrative Accounts CTXSYS
http://download.oracle.com/docs/cd/B28359_01/server.111/b28337/tdpsg_user_accounts.htm#BABHBBIA
2.Metalink:731921.1 Cannot Export Data from E-Business Suite to Excel
3.Metalink:427964.1 Information You Should Upload When Creating an SR for File Export and Attachments

-EOF-

add by 2013-10-30

CTXSYS

The account used to administer Oracle Text. Oracle Text enables you to build text query applications and document classification applications. It provides indexing, word and theme searching, and viewing capabilities for text.

See Oracle Text Application Developer's Guide.

转载于:https://www.cnblogs.com/ebs-blog/archive/2010/07/19/2167318.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值