Oracle text related internal procedure taking a lot of time in our Production database
Hi,
I am on Oracle 11.2.0.2 on Linux. I have Oracle Text implemented in all my databases for fuzzy search. I am seeing the following Oracle TExt specific internal procedure to be among the Top SQL in my AWR in production. This is during business time.
SQL ordered by Elapsed Time
Resources reported for PL/SQL code includes the resources used by
all SQL statements called by the code.
% Total DB Time is the Elapsed Time of the SQL statement divided
into the Total Database Time multiplied by 100
%Total - Elapsed Time as a percentage of Total DB time
%CPU - CPU Time as a percentage of Elapsed Time
%IO - User I/O Time as a percentage of Elapsed Time
Captured SQL account for 59.3% of Total DB Time (s): 120,379
Captured PL/SQL account for 33.8% of Total DB Time (s): 120,379
Elapsed Time (s)
Executions
Elapsed Time per Exec (s)
%Total
%CPU
%IO
SQL Id
SQL Module
SQL Text
23,476.22
205,095
0.11
19.50
16.21
7.88
ddr8uck5s5kp3
begin ctxsys.drvdml.com_sync_i...
Note that the sql id ddr8uck5s5kp3 has this sql:
begin ctxsys.drvdml.com_sync_index(:idxname, :idxmem, :partname); end;
Also note that I have the procedure to optimize the indexes (ctx_ddl.optimize_index in FULL mode) set up every night to run at 3 am for all our Oracle Text indexes. Is there anything else needed. I don't know why the procedure I showed above in the AWR report takes so much time and why it is among our Top sql.
I will be very thankful for guidance in this regard.
Thanks,
OrauserN
This is the internal call which drives the SYNC call for a text index. Effectively all the indexing of new and updated data in your text-indexed table is contained within this call.
If you're using parallel SYNC you will see this call contained with a SELECT query - that select is executed as a parallel query on a table function, which is the way we divide up the work between parallel slaves.
Similar Messages
-
Procedure taking a lot of time to compile
Hi all,
When i try to compile my procedure its showing the message as " COmpiling"
But does not seem to stop . I dont know if some locks are applied.
Can any one tell me why is this? and whats the solution for it?
Thank you,
Glen.According to Metalink Oracle Doc ID Note:18236.1
The session specified in the ALTER SYSTEM KILL SESSION command cannot
be killed immediately because the session is in some operation that is non-
interruptible.
Example could be a network operation or a rollback.
The session has been marked as killed but will be killed after the operation completes.
Although further executions of ALTER SYSTEM KILL SESSION command may cause the session to be killed soon.
Adith -
Select Command taking a lot of time to execute
Dear Experts,
My below SELECT command taking a lot of time to execute.
SELECT wid
matl_desc
INTO TABLE open_wid FROM zwb_table
WHERE ( weight2 = 0 OR weight2 IS NULL ).
Table : zwb_table contains around 7 Lacs records. That's why taking a lot of time . I have also Indexed the table zwb_table with field WID & WEIGHT2 . (zwb_table contains only WID as Primary Key Field)
Structure of Internal Table : open_wid ->
wid LIKE zwb_table-wid,
matl_desc LIKE zwb_table-matl_desc,
Please suggest me how to Improve the Performance of the above Select command.
Thanks in Advance
JACKHi Jack,
you are having morethan 7lack records in z table. it is not good practice fetching all the records into internal table and restricting with where clause in loop statement.
I hope you already created secondary index combination of primary key.
check you select query fetching records based on index you have created in ST05.
Refer below link for your program is using index that you have created.
Re: Indexing
Regards,
Peranandam
Edited by: peranandam chinnathambi on Apr 7, 2009 8:38 AM -
Concurrent request is taking a lots of time to run
Hi,
I have one query regarding ICM.
one of the concurrent request is taking a lots of time to run. How can I solve the issue.
Is there any steps to diagnose this issue?
Please reply.
Regards,
ManishHi,
How we can find that particular request are taking long time?See your other thread.
Concurrent request taking long time
Concurrent request taking long time
what is "gather statistrics schema" concurent program and what it does?See (Note: 419728.1 - How To Gather Statistics On Oracle Applications 11.5.10(and above) - Concurrent Process,Temp Tables, Manually).
Regards,
Hussein -
Simple select query is taking a lot of time
hi gems...
my table has 7267563 rows...and i am doing a simple select * from table;
but it is taking a lot of time nearly 25minutes but not completed...
when i did select count(1) from table then it gave the result instantly also select * from table where rownum < 10 is also fine...even when i am selecting all the records using rownum i.e. select * from table where rownum < 7267563 is also giving result instantly...
but the entire table is not getting result i.e. select * from table...also there is no lock in the table(though i know that select is nothing to do with lock)..
what may be the issue..please suggest...thanks in advance...
Edited by: user12780416 on Dec 12, 2011 11:08 PMHi;
Please see below thread
query takes too long ...
help in solving long run query
HOW TO: Post a SQL statement tuning request - template posting
Hope it helps
Regard
Helios -
Hi All,
We have our application on Weblogic Server 8.1 SP5 and its taking a lot of time while starting up.
What I found that these lines are the ones which are taking up majority of the time.
Kindly Suggest how we can improve on this.
####<Jun 15, 2009 4:14:59 PM GMT+05:30> <Info> <Deployer> <sunbom4> <cgServer> <main> <<WLS Kernel>> <> <BEA-149060> <Module uddi of application uddi successfully transitioned from unprepared to prepared on server cgServer.>
This line took more than 2 min.
####<Jun 15, 2009 4:16:50 PM GMT+05:30> <Info> <Deployer> <sunbom4> <cgServer> <main> <<WLS Kernel>> <> <BEA-149060> <Module MLAppCoreWL610.jar of application IntellectMM successfully transitioned from unprepared to prepared on server cgServer.>
####<Jun 15, 2009 4:18:23 PM GMT+05:30> <Info> <Deployer> <sunbom4> <cgServer> <main> <<WLS Kernel>> <> <BEA-149060> <Module OpenFXWrapperEJB.jar of application IntellectMM successfully transitioned from unprepared to prepared on server cgServer.>
The above 2 lines are taking 1.5min each.I suggest that you take some thread dumps 10-15 secs apart during the time it's slow. The log timing alone won't tell you where the threads are spending time.
-
My Mac is taking a lot more time to load photos from iPhone and iPad than was taking before.What can be the reason of it ?
ThanksDO NOT INSTALL MACKEEPER or any other so called 'cleaning ' application. Please read the following user tip:
https://discussions.apple.com/docs/DOC-3036
Look for reasons in this user tip for your issues of slow operation:
https://discussions.apple.com/docs/DOC-3521
Ciao. -
Can we optimize the query : It is taking a lot of time
the following query is taking a lot of time ...
Can anyone suggest to make it run faster ???
table B has 12 million records
table a has 10000 records
CREATE TABLE less_time
PARALLEL
NOLOGGING
AS
SELECT a.user_id,a.mp_id, COUNT(product_id) product _count
FROM table a,table b
WHERE TRUNC(a.call_time) < TRUNC(SYSDATE) - 1
AND a.history_id = b.call_id
AND b.product_type = 1
AND b..product_status= 50
AND user_id IS NOT NULL
GROUP BY user_id,mp_id;analyze index indx_mtx compute statistics
thanks for explaining David ...
Actually I somewhat bettered it
i made a consolidated index on table b
like create index indx_ty on table b (call_id,mp_id,user_id,b.product_type,product_status)
now the explain plan shows that the query is much much faster also i did one trick in the query
SELECT a.user_id,a.mp_id, COUNT(product_id) product _count
i changed to SELECT a.user_id,a.mp_id, COUNT(1) product _count
to enable it to do FFS
thanks anyways .... -
My laptop is taking a lot of time to start up.It just shows the Lenovo screen and stops there.What could be the problem?
Thanksin advance.hi mamuninayak,
The system might be experiencing a boot or a POST issue.
- Remove all USB devices.
- Remove the AC adapter and battery then held down the power button for 15 sec.
Reconnect just the AC and try.
-See if BIOS can be reset.
Start hiting F2 when while powering the system on.
If succesfull in booting into BIOS. Hit F9 the F10
Try Removing the Harddrive and turn the system on, See if there will be any changes.
Hope this helps
Cheers!
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
Follow @LenovoForums on Twitter! -
My iPad is taking a lot of time to factory reset..What should I do?
Hello,
I am currently factory resetting my iPad , but i forgot to do it using my pc , so I did it without using iTunes , I did it using the option in the iPad's settings but it is taking a lot of time , so far it has been 2 hours ... What should I do if it takes more than 5 hours or so?
Thanks in advance,hi mamuninayak,
The system might be experiencing a boot or a POST issue.
- Remove all USB devices.
- Remove the AC adapter and battery then held down the power button for 15 sec.
Reconnect just the AC and try.
-See if BIOS can be reset.
Start hiting F2 when while powering the system on.
If succesfull in booting into BIOS. Hit F9 the F10
Try Removing the Harddrive and turn the system on, See if there will be any changes.
Hope this helps
Cheers!
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
Follow @LenovoForums on Twitter! -
Background task taking a lot of time to execute
Hi,
There is a background task in my workflow which is taking a lot of time to execute.
I have tested it in dialog mode.. and it works fine.. takes just 2 mins.
Only when the task is executed from background.. it takes about 10 mins.
Is this a config problem? How do I check if it is so?you could try activating a trace (sql) and see what the differences are,.
you could check if maybe user parameters are influencing this. Or ask your basis team if there are a lot of differences between syystem users and dialog users in terms of resource allocation.
Did you find anything different whilst debugging it?
Kind regards, Rob Dielemans -
Hello i have a problem that i was making update IOS7 for my i phone 5 it's taking a lot of time about 4 hours till now, i can't use my phone know, it's appere logo i tunes only, can't do eny thing else like shutdown
Hey Andrew keriakous,
Thanks for the question. It sounds like your iPhone may be in recovery-mode. To resolve this issue, see the following:
If you can't update or restore your iOS device
http://support.apple.com/kb/HT1808
Thanks,
Matt M. -
my ipod was disabled and i tried to restore it, now i am downloading an apple software update which is taking a **** lot of time and ipod is still disabled.. will it be ok after the download ends? help please..!!
We need to know more about your system, please download EtreCheck and run the report and please post it on your next reply. Then we can see how your system is configured, what apps are on it and look for anything obvious. We will look forward to seeing your report.
-
hi,
I have a small schema in a database housing lots of users.
The expdp is taking a lot of time for this schema eventhough the old exp takes 1/10 th time.
When i switched on the trace i see its stuck at below on <SID>dw0115741.trc trace file
KUPW: 03:40:41.551: 1: DBMS_LOB.TRIM returned
KUPW: 03:40:41.551: 1: DBMS_METADATA.FETCH_XML_CLOB called
its stuck at
Starting "USER"."USER_JOB": USER/******** dumpfile=USER.dp logfile=USER.log job_name=USER_job parallel=4 exclude=grant,index,trigger,constraint,statistics,index_statistics trace=1FF0300 directory=EXPDP_BKP
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
I have replaces the actual username with USER
sga_target 2147483648
sga_max_size 2634022912
streams_pool_size 0
Does any one has any suggestion?
I tried the metalink as well but didnt find anything useful
Thanks
ShipraPl post details of OS and database versions
Pl see is MOS Doc 453895.1 (Checklist for Slow Performance of Export Data Pump (expdp) and Import DataPump (impdp)) - "Defects 10/11" - can help
HTH
Srini -
Generic Extraction : Taking a lot of time
HI Experts
I have created ZKONV a generic extracter which is a copy of KONV table. It has around 16,00,000 records .When I´m pulling the data in to ODS it is taking a lot of time. it is taking around 5+ hours to load the data. Is there anything wrong with my Datasource why it is taking so much of time.
Kindly provide some inputs
Thanks
NLNHi Lakshminarayana
You got to check couple of things.
First goto the source system and see, how long the extract program is running. The long time may be due to poor source system performance or huge processing at the BW system side. If the job in the source system is running for a long time, then check the source system resource. Build proper index on the mentioned table and see whether it has improved the performance. You can ask the basis people for the SQL trace and they let u know what kindof indexes u can build on the tables.
If the processing is taking more time, then u have to imrpove the start/update routine in the BW side. Please let us know, where exactly u have the problem. Then we can think of resolving it.
Sriram
Maybe you are looking for
-
Multiple RFC calls in same session
Hi All, I'm looking for a way to execute multiple RFCs (one after the other) within the same "session". The reason I need to execute them within the same session is because the initial RFCs store information in ABAP memory (EXPORT x TO MEMORY ID y)
-
Hanging up when syncing email attachment​s in Inbox to Go / Beyond Contacts
I have a Palm TX with latest Palm desktop and OS and I'm running Docs to Go 10 and Beyond Contacts with the Inbox to Go email option. Every time sync tries to process attachments it freezes. It looks like the attachments are making it to the Inbox
-
How to find the date difference in query level?
Hi All, I have to find the difference between Delivery Date and Posting Date in the query level. Canyou please let me know whether it is possible or not? Thanks in advance!! Regards, Ramanathan.R
-
How do I redeem my digital copy when my new mac doesn't have a disc drive?
I just bought a dvd with digital copy but my Mac doesn't have a disc drive. I have the redemption code but can't load the disc to redeem it like it asks. TIA
-
Download center WHERE is CS6??
I am on the download center page- and I need to download CS6 photoshop??? Now I also have had issues downloading this program- and I am MAJORILY FUSTRATED!