Ldap search query takes more than 10 seconds
LDAP query takes more than 10 seconds to execute.
For validating the policy configured, the Acess Manager(Sun Java System Access Manager) contacts the LDAP (Sun Java System Directory Server 6.2) to get the users in a dynamic group. The time out value configured in Access Manager for LDAP searches is 10 seconds.
Issue : The ldap query takes more than 10 seconds to execute at some times .
The query is executing with less than 10 seconds in most of the cases, but it takes more than 10 seconds in some cases. The total number of users available in the ldap is less than 1500.
7 etime =1
6 etime =1
102 etime=4
51 etime=5
26 etime=6
5 etime=7
4 etime=8
From the ldap access logs we can see the following entry,some times the query takes more than 10 seconds,
[28/May/2012:14:21:26 +0200] conn=281 op=41433 msgId=853995 - SRCH base="dc=****,dc=****,dc=com" scope=2 filter="(&(&(***=true)(**=true))(objectClass=vfperson))" attrs=ALL
[28/May/2012:14:21:36 +0200] conn=281 op=41434 msgId=854001 - ABANDON targetop=41433 msgid=853995 nentries=884 etime=10
The query was aborted by the access manger after 10 seconds.
Please post your suggestions to resolve this issue .
1.How we can find out , why the query is taking more than 10 seconds ?
2.Next steps to resolve this issue .
Hi Marco,
Thanks for your suggestions.
Sorry for replying late. I was out of office for few weeks.
1) Have you already tuned the caches? (entry cache, db cache, filesystem cache?)
We are using db cache and we have not done any turning for cache. The application was working fine and there was no much changes in the number of users .
2) Unfortunately we don't have direct access to the environment and we have contacted the responsible team to verify the server health during the issue .
Regarding the IO operations we can see that, load balancer is pinging the ldap sever every 15 seconds to check the status of ldap servers which yields a new connection on every hit. (on average per minute 8 connections - )
3) We using cn=dsameuser to bind the directory server. Other configuration details for ldap
LDAP Connection Pool Minimum Size: 1
LDAP Connection Pool Maximum Size:10
Maximum Results Returned from Search: 1700
Search Timeout: 10
Is the Search Timeout value configured is proper ? ( We have less than 1500 user in the ldap server).
Also is there any impact if the value Maximum Results Returned from Search = set to 1700. ( The Sun document for AM says that the ideal value for this is 1000 and if its higher than this it will impact performance.
The application was running without time out issue for last 2 years and there was no much increase in the number of users in the system. ( at the max 200 users added to the system in last 2 years.)
Thanks,
Jay
Similar Messages
-
QUERY TAKES MORE THAN 30 MINUTES AND IT'S CANCELED
Hi
I have one workbook and sometimes it takes more than 30 minutes to be executed, but Discoverer cancels it, Does anybody know how to alter this? I mean if the query takes more than 30 minutes i need it to be finished.
Any help will be appreciated.
Best Regards
Yuri LópezHi
You need to alter the timeout settings and these are located in multiple places.
Discoverer Plus / Viewer using this workflow:
1. Edit the pref.txt file on the server located here: $ORACLE_HOME\discoverer\util
2. Locate the preference called Timeout and change it to your desired value in seconds. The default is 1800 which means 30 minutes
3. Save pref.txt
4. Execute applypreferences.bat if running on Windows or applypreferences.sh if running on Linux or Unix
5. Stop and restart the Discoverer server
Discoverer Administrator using this workflow:
1. Launch Discoverer Administrator
2. From the menu bar, select Tools | Privileges
3. Select the user
4. Open the Query Governor tab
5. If "Prevent queries from running longer than" is checked, increase the limit
6. Click OK
Note: if "Prevent queries from running longer than" is not checked then the Timout in the pref.txt controls how long before the queries stop. If it is checked and it is lower than Timeout you need to increase it.
Let me know if this helps
Best wishes
Michael Armstrong-Smith
URL: http://learndiscoverer.com
Blog: http://learndiscoverer.blogspot.com -
Search Query Help – more than one word
I have been struggling with this for weeks. I used Dreamweaver to set up a lot of this and I think it is hindering me as I make changes to the code.
I have a search interface that takes the input from a user (in the form of text) – searches though the db to match words – then return the results based on how many times the input is located in the db.
I have this working very good for a single word input. If you search for one word only – it works great. But, if you try to input two words together – it returns no results.
I have tried several different things to get this to work – like exploding the input then searching the db for each word in order. The problems I get, I think, is that this conflicts with the code Dreamweaver wrote – I think where the code requests the value string. But, each time I think I find a fix for one error – it creates several others – not just in the php code above the header – but in the php code in the body when I try to retrieve the results.
It seems that I am just going around in circles. But, there has to be simple way to search for more than one word in the db – count the matches – add the matches from each search together – then return the results ordered by the largest number of matches.
I have even tried using a foreach statement – but received errors that I have never seen before. Then after researching and trying to fix those errors – just received more and more errors.
Please help. If it cannot be done given the code I have – then please point me in the right direction to rewrite the code.
Code is attached.Based on what you explained as your requirements, it is very easy. I'll just speak in psuedo-code. You will need to parse the input into seperate words. If there can be an unknown number of words you can store those in a string array.
Then just use the array to build your where clause using the IN predicate or using the = and OR operators.
Select count(*), keyword
where keyword in (term[0], term[1], etc)
group by keyword
order by count(*) desc
If this is not what you meant, then you will need to explain your requirements in more detail. As you have discovered, once your requirements exceep the capabilities of DW's behaviors, you will need to become very familar with sql and your server side scripting language. If you don't understand what the DW code is doing (as evidenced by your comments in the attachment), then you really are not ready to start modifying it. -
6 million + records, query takes more than 50 min to execute.
Hi
I am trying to get records from a table which has more than 6 million of records.
The value set of the particular col IND can be
NULL
'0'
'1'
and other value like A B '6'
The data type of IND is varchar.
I want all the records where the value is other than NULL, 0 and 1
I tried this simple query
SELECT ID, IND
FROM tablename
WHERE
IND IS NOT NULL
AND IND <> '0'
AND IND <> '1'
Now this query is taking more than 30-40 min. Is this a way I can speed up this query. Also I can't index on the column.
any suggestions ?I don't know anything about your tables or hardware (nor your Oracle version because you didn't post it) but 30 - 40 minutes seems excessive for a full table scan on only 6 million rows.
On my lowly test instance, this full table scan takes a little over a minute:
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 4 | 4800 (2)| 00:01:11 |
| 1 | SORT AGGREGATE | | 1 | 4 | | |
| 2 | TABLE ACCESS FULL| ATLAS_SALES_HISTORY | 6618K| 25M| 4800 (2)| 00:01:11 |
Statistics
631 recursive calls
0 db block gets
55740 consistent gets
55609 physical reads
0 redo size
415 bytes sent via SQL*Net to client
346 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
15 sorts (memory)
0 sorts (disk)
1 rows processedAre you pulling all 6 million rows across the network to your client machine? (And waiting for the rows to scroll?) -
Why does the first Firefox browser takes more than ten seconds to open?
Once my laptop is logged into, Firefox's initial browser takes more than 10 seconds to open. The subsequent windows take less than two seconds. Much more complex programmes like photoshop open in next to no time. Is Firefox a 'heavy' programme to start?
== This happened ==
Every time Firefox opened
== I shifted to Firefox Windows IE two weeks ago. Eversince.See http://autonome.wordpress.com/2010/ for progress of work being done to improve that.40
-
Need to write a query that takes more than 2 minutes to execute
Hi ,
I am using Oracle 10g as my DataBase.
I am writing a small program for Testing purpose , in that my requirement is to write a query that takes more than 2 minutes to execute .Right now i have only a small Table called as "Users" with very less data .
Please let me know how can i achieve this thing ??
Thanks .So please tell me , how can i achieve this . Thanks in advance .P. Forstman's example above will probably be more reliable, but here's an example of my idea - harder to control timing (untested)
select count(*)
from dba_objects o, dba_tables t, dba_tab_columns tc
where o.object_name||'' = t.table_name||''
and o.owner||'' = t.owner||''
and t.table_name||'' = tc.table_name
and t.owner||'' = tc.owner||'' -
[OIM] Resources search takes more than 10 minutes
Hi everyone,
I have several resources (more than 6,000), and I have the following problem:
1) I go to Request -> Resources
2) select a user.
3) in the notification screen, I left the send notification checked and click on next.
After the last next, the resources screen should appear. It takes more than 10 minutes. I am uploading more resources and I see that as I add more, the time of searching the resources increases linearly with the ammount of resources.
Is there a way of putting some filter for this search so it takes less time, or I have to make a custom app for requesting resources?
Thanks!I think the application does too much validations in these kind of searches. I noticed that until 9.1.0, the Organization lookup in the Users -> Create User showed all possible results, but in 9.1.0.2 you will see that it shows nothing, you have to enter a search filter so organizations appears. Perhaps it's the solution to these problems, that all sarches show nothing at the first time and then you filter the results.
I opened the war, but the code for searching appears to be generic to all search pages, so I think it's very dangerous to change the OIM core. -
Query takes more time from client
Hi,
I have a select query (which refers to views and calls a function), which fetches results in 2 secs when executed from database. But takes more than 10 mins from the client.
The tkprof for the call from the client is given below. Could you please suggest, what is going wrong and how this can be addressed?
The index IDX_table1_1 is on col3.
Trace file: trace_file.trc
Sort options: exeela
count = number of times OCI procedure was executed
cpu = cpu time in seconds executing
elapsed = elapsed time in seconds executing
disk = number of physical reads of buffers from disk
query = number of buffers gotten for consistent read
current = number of buffers gotten in current mode (usually for update)
rows = number of rows processed by the fetch or execute call
SELECT ROUND(SUM(NVL((col1-col2),(SYSDATE - col2)
FROM
table1 WHERE col3 = :B1 GROUP BY col3
call count cpu elapsed disk query current rows
Parse 0 0.00 0.00 0 0 0 0
Execute 7402 0.27 7.40 0 0 0 0
Fetch 7402 1.13 59.37 1663 22535 0 7335
total 14804 1.40 66.77 1663 22535 0 7335
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 32 (ORADBA) (recursive depth: 1)
Rows Execution Plan
0 SELECT STATEMENT MODE: ALL_ROWS
0 SORT (GROUP BY NOSORT)
0 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF 'table1'
(TABLE)
0 INDEX MODE: ANALYZED (RANGE SCAN) OF 'IDX_table1_1'
(INDEX)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 1663 1.37 57.71
OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
Parse 0 0.00 0.00 0 0 0 0
Execute 0 0.00 0.00 0 0 0 0
Fetch 0 0.00 0.00 0 0 0 0
total 0 0.00 0.00 0 0 0 0
Misses in library cache during parse: 0
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 16039 3.09 385.04
db file scattered read 34 0.21 1.42
latch: cache buffers chains 26 0.34 2.14
SQL*Net break/reset to client 2 0.05 0.05
SQL*Net message to client 2 0.00 0.00
SQL*Net message from client 2 79.99 79.99
SQL*Net message to dblink 1 0.00 0.00
SQL*Net message from dblink 1 0.00 0.00
OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
Parse 0 0.00 0.00 0 0 0 0
Execute 7402 0.27 7.40 0 0 0 0
Fetch 7402 1.13 59.37 1663 22535 0 7335
total 14804 1.40 66.77 1663 22535 0 7335
Misses in library cache during parse: 0
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 1663 1.37 57.71
1 user SQL statements in session.
0 internal SQL statements in session.
1 SQL statements in session.
1 statement EXPLAINed in this session.
Trace file: trace_file.trc
Trace file compatibility: 10.01.00
Sort options: exeela
1 session in tracefile.
1 user SQL statements in trace file.
0 internal SQL statements in trace file.
1 SQL statements in trace file.
1 unique SQL statements in trace file.
1 SQL statements EXPLAINed using schema:
ORADBA.prof$plan_table
Default table was used.
Table was created.
Table was dropped.
84792 lines in trace file.
4152 elapsed seconds in trace file.Edited by: agathya on Feb 26, 2010 8:39 PMI have a select query (which refers to views and calls a function), which fetches results in 2 secs when >executed from database. But takes more than 10 mins from the client.You are providing proof for the latter part of your statement above.
But not for the former part (fetches in 2 secs when exec'd from db).
It would have been nice if you also provide the sql-trace information for that.
Without it we cannot help you much. Other than making the observation that you obviously have a query that is I/O bound, and that I/O on your system is rather slow: on average an I/O takes 0.04 seconds (66.77 divided by 1663). -
Dear All,
I have created the following code which extended my filter functionality and allowed a to take more than one entry (Comma have to be inserted after
each entry).
For example:
"Country Filter" can take ----> Germany,Egypt,Holand<o:p></o:p>
"City Filter " can take ---------> Berlin,Münster
if (Country_PAR != null)
String[] Country_Array = Country_PAR.Split(new Char[] { ','});
query = from p in query where Country_Array.Contains(p.Hotel_Country) select p;
if (City_PAR != null)
String[] City_Array = City_PAR.Split(new Char[] {','});
query = from p in query where City_Array.Contains(p.Hotel_City) select p;
Now want to extend it more and say something like:
If * is included ---- > Give me all entries
ex. Ge* This will give me everything which starts with Ge
If <> is entred -----> Give me entries which are not equal to a certain entry
ex. Country Filter = <> Germany give me all other entries except Germany
Thanks alot,
ZayedThanks your reply. I mean no one know my feeling. except if the new car is your. If Geek Squad can't install it. Just let me know and go. right? I ask many time? Are you ok to finish? He said yes. First time fail after 5 hours long wait and tow my car to Toyota repair. Second time said only take 20 to 30 minutes to program the key. but fail again after about 4 hours 30 minutes long wait and head light is not automatic turn on at night. I have to take a day off drive to Toyota repair. My time is money. wait there more than 10 hours and done nothing. 5 days no car and take the subway Bus and long walk. How do I feel? I m the customer. if without the customer. How you get pay? Geek Squad use my remote start and alarm and I can't return it. I loss time and money. My new car has a repair record. That is what Bestbuy want to do for the customer. Geek Squad work for Bestbuy. right? You are not just loss one customer. You will loss more and more than the remote start alarm cost. Bestbuy will not know? How come just 200$ remote start alarm and the 50$ module. Bestbuy don't want to reimburse. I m not tell you to pay me 5 days for rental car. why don't just want a happy ending? Bestbuy is big company. I m very small. 250$ it cost Bestbuy nothing. You can't let the customer loss money because you. right?
-
Hi All,
I have cloned KSB1 tcode to custom one as required by business.
Below query takes more time than excepted.
Here V_DB_TABLE = COVP.
Values in Where clause are as follows
OBNJR in ( KSBB010000001224 BT KSBB012157221571)
GJAHR in blank
VERSN in '000'
WRTTP in '04' and '11'
all others are blank
VT_VAR_COND = ( CPUDT BETWEEN '20091201' and '20091208' )
SELECT (VT_FIELDS) INTO CORRESPONDING FIELDS OF GS_COVP_EXT
FROM (V_DB_TABLE)
WHERE LEDNR = '00'
AND OBJNR IN LR_OBJNR
AND GJAHR IN GR_GJAHR
AND VERSN IN GR_VERSN
AND WRTTP IN GR_WRTTP
AND KSTAR IN LR_KSTAR
AND PERIO IN GR_PERIO
AND BUDAT IN GR_BUDAT
AND PAROB IN GR_PAROB
AND (VT_VAR_COND).
Checked in table for this condition it has only 92 entries.
But when i execute program takes long time as 3 Hrs.
Could any one help me on this>1.Dont use SELECT/ENDSELECT instead use INTO TABLE addition .
> 2.Avoid using corresponding addition.create a type and reference it.
> If the select is going for dump beacause of storage limitations ,then use Cursors.
you got three large NOs .... all three recommendations are wrong!
The SE16 test is going in the right direction ... but what was filled. Nobody knows!!!!
Select options:
Did you ever try to trace the SE16? The generic statement has for every field an in-condition!
Without the information what was actually filled, nobody can say something there
are at least 2**n combinations possible!
Use ST05 for SE16 and check actual statement plus explain! -
Query returns more than one row
hi all,
I am getting this error msg, single row query returns more than one row after i added this
(select FUNC_GET_COUNTY_NAME(CCNTY1)
FROM proposal ) CName,
and the error is righ here AND K.CONTID = Q.CONTID
can someone help me what to do to take care of this error msg.
SELECT DISTINCT Decode(trim(Min(J.ROUTE)),null,'Un known', Min(J.ROUTE)) rt, v.vendor vd, r.addrnum ad, v.vnamel vn,
TRIM (r.aaddr1 || decode(trim(r.aaddr2),null,'',' - ') || r.aaddr2) ad1,
p.billto, r.acity cy, r.astate st,r.azipcode zp,
(select FUNC_GET_COUNTY_NAME(CCNTY1)
FROM proposal ) CName,
substr(decode(trim(r.vasst1),null, 'N/A','000/000-0000?','N/A','000/000-0000','N/A', r.vasst1),1,12) fx,
substr(decode(trim(r.aphone),null, 'N/A','000/000-0000?','N/A', r.aphone),1,12)ph,
substr(l.letting,3,2)||'-'|| substr(l.letting,5,2)||'-'|| substr(l.letting,1,2)lt,
l.CALL cl, l.lcontid cid, q.cprojnum sp, q.cfacssup ds,q.ccnty1 cty
FROM VENDOR V, VENDADDR R, LETPROP L, PLANHOLD P,PROPOSAL Q, PROJECT J,PROPPROJ K
WHERE V.VENDOR = R.VENDOR
AND K.CONTID = Q.CONTID
AND K.PCN = J.PCN
AND L.LCONTID = K.CONTID
and l.lcontid = '060143'
AND P.VENDOR = V. VENDOR
AND L.LETTING = P.LETTING
AND L.CALL = P.CALL
AND R.ADDRNUM = P.BILLTO
group by V.VENDOR,R.ADDRNUM, V.VNAMEL, R.AADDR1, R.AADDR2,P.BILLTO,R.ACITY, R.ASTATE,
R.AZIPCODE,R.VASST1,R.APHONE,L.LETTING, L.CALL,L.LCONTID,Q.CPROJNUM,Q.CFACSSUP,Q.CCNTY1 ,CCNTY1
ORDER BY Q.CPROJNUM DESC(select FUNC_GET_COUNTY_NAME(CCNTY1)
FROM proposal ) CName,You have no where clause.
But you might not need a select statement at all. Instead of a scalar subquery, can you just call the function:
,FUNC_GET_COUNTY_NAME(CCNTY1) -
10g Full Database Dump Takes more than 2 Hours Still not finished
Hi all,
Full Database Dump Takes more than 2 Hours, Still not finished.
Version - Oracle 10g 1.0.2.0
Database Size is Around 160GB.
Used Below Query to take Full Database Dump.
expdp user/pwd@10gdb full=y directory=test_dir dumpfile=curent10g.dmp logfile=expdpcurent10g.log;
It takes more than 1 hour in processing the functions.i.e)
Processing object type DATABASE_EXPORT/SCHEMA/FUNCTION/FUNCTION
And the Log File:
Export: Release 10.1.0.2.0 - Production on Friday, 04 May, 2012 10:17
Copyright (c) 2003, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
FLASHBACK automatically enabled to preserve database integrity.
Starting "EXPTEST"."SYS_EXPORT_FULL_02": exptest/********@curentdb full=Y directory=test_dir dumpfile=curent10g.dmp logfile=expdpcurent10g.log;
Estimate in progress using BLOCKS method...
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 4.574 GB
Processing object type DATABASE_EXPORT/TABLESPACE
Processing object type DATABASE_EXPORT/DE_SYS_USER/USER
Processing object type DATABASE_EXPORT/SCHEMA/USER
Processing object type DATABASE_EXPORT/ROLE
Processing object type DATABASE_EXPORT/GRANT/SYSTEM_GRANT/PROC_SYSTEM_GRANT
Processing object type DATABASE_EXPORT/SCHEMA/GRANT/SYSTEM_GRANT
Processing object type DATABASE_EXPORT/SCHEMA/ROLE_GRANT
Processing object type DATABASE_EXPORT/SCHEMA/DEFAULT_ROLE
Processing object type DATABASE_EXPORT/SCHEMA/TABLESPACE_QUOTA
Processing object type DATABASE_EXPORT/RESOURCE_COST
Processing object type DATABASE_EXPORT/SCHEMA/DB_LINK
Processing object type DATABASE_EXPORT/TRUSTED_DB_LINK
Processing object type DATABASE_EXPORT/SCHEMA/SEQUENCE/SEQUENCE
Processing object type DATABASE_EXPORT/SCHEMA/SEQUENCE/GRANT/DE_S_SEQ_OWNER_OBJGRANT/OBJECT_GRANT
Processing object type DATABASE_EXPORT/DIRECTORY/DIRECTORY
Processing object type DATABASE_EXPORT/DIRECTORY/GRANT/OBJECT_GRANT
Processing object type DATABASE_EXPORT/CONTEXT
Processing object type DATABASE_EXPORT/SCHEMA/DE_PUBLIC_SYNONYM/SYNONYM
Processing object type DATABASE_EXPORT/SCHEMA/SYNONYM
Processing object type DATABASE_EXPORT/SCHEMA/TYPE/TYPE_SPEC
Processing object type DATABASE_EXPORT/DE_SYSTEM_PROCOBJACT/DE_PRE_SYSTEM_ACTIONS/PROCACT_SYSTEM
Processing object type DATABASE_EXPORT/DE_SYSTEM_PROCOBJACT/DE_POST_SYSTEM_ACTIONS/PROCACT_SYSTEM
Processing object type DATABASE_EXPORT/SCHEMA/PROCACT_SCHEMA
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/PRE_TABLE_ACTION
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/GRANT/DE_S_TABLE_OWNER_OBJGRANT/OBJECT_GRANT
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/GRANT/DE_S_TABLE_NOTWGO_OBJGRANT/OBJECT_GRANT
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/INDEX/INDEX
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/CONSTRAINT/CONSTRAINT
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/COMMENT
Processing object type DATABASE_EXPORT/SCHEMA/PACKAGE/PACKAGE_SPEC
Processing object type DATABASE_EXPORT/SCHEMA/PACKAGE/GRANT/DE_S_PACKAGE_OWNER_OBJGRANT/OBJECT_GRANT
Processing object type DATABASE_EXPORT/SCHEMA/FUNCTION/FUNCTION
Help me.Export is Still in progress
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Job: SYS_EXPORT_FULL_02
Owner: EXPTEST
Operation: EXPORT
Creator Privs: FALSE
GUID: 94AB0C8AA824462AA96C8481CF0F676F
Start Time: Friday, 04 May, 2012 10:18
Mode: FULL
Instance: curentdb
Max Parallelism: 1
EXPORT Job Parameters:
Parameter Name Parameter Value:
CLIENT_COMMAND userexp/********@curentdb full=Y directory=test_dir dumpfile=curent10g.dmp logfile=expdpcurent10g.log;
DATA_ACCESS_METHOD AUTOMATIC
ESTIMATE BLOCKS
INCLUDE_METADATA 1
LOG_FILE_DIRECTORY TEST_DIR
LOG_FILE_NAME expdpcurent10g.log;
TABLE_CONSISTENCY 0
State: EXECUTING
Bytes Processed: 0
Current Parallelism: 1
Job Error Count: 0
Dump File: C:\ORACLE DMP\CURENT10G.DMP
bytes written: 4,096
Worker 1 Status:
State: EXECUTING
Object Schema: PUBLIC
Object Type: DATABASE_EXPORT/SCHEMA/PACKAGE/GRANT/DE_S_PACKAGE_OWNER_OBJGRANT/OBJECT_GRANT
Completed Objects: 1
Total Objects: 1
What Does it mean, Suggest. -
[Solved] File "Save As" takes more than 20s before dialogue box opens
Whenever I use File "Save As" in any non-kde application (eg firefox, medit, kino), the dialogue box opens immediately but then takes more than 20 seconds to display the contents of the initial directory, after which I can then save the file. Alternative directories can then be selected instantly without problem. Starting File Save As again, causes the same long delay, so its not a caching issue. This occurs in XFCE4, LXDE & KDE.
KDE apps, however, list the contents virtually immediately, indicating that its not a disk or filing system problem.
The XFCE4 theme (under Appearance > Style) is Foresight, and the icon theme is Nuvola. Changing these does not make any apparent difference.
This is on a SATA drive with 84 GB free running Arch 64.
Can anyone suggest how this can be rectified?
Last edited by Cotton (2010-01-01 19:19:12)Many thanks for that - problem solved.
The file contained 323 lines pointing to a single directory with multiple subdirectories, none of which was a removable device.
Moving the file to another location, resulted in the File Save As operation functioning properly.
Not sure if I actually use gtk-bookmarks as it hadn't been modified in over 6 months.
Anyway, thanks again - its made a big difference. -
IChatAgent takes more than 100% of CPU
The iChatAgent takes more than 100% of CPU. It works normally for 10-15min with little CPU usage but then takes 100% of CPU and stays like that until I quit/kill the process. I tried waiting for hours to see it might go down is usage, but no, and the cpu fan remains on continuously.
I simply use it for text based chatting, and have disabled audio, video,microphone etc, and still this behavior that I can't use it for more than 15min.
Here is the iChat version: Version 5.0.3 (745)
Macbook Pro/10.6.4/Intel Core i7
I have tried removing ~/Library/preferences/com.apple.iChatAgent.plist as suggested elsewhere, and that hasn't helped either.Thanks again Ralph.
No, I do not have any add-ons, just out-of-the-box ichat without any audio, video in use.
At this stage unfortunately, I can't continue using iChat as it hogs up the CPU in less than 15min. And that I do not experience any problem with other chat-clients such as AIM or jabber, so switching over to those until there is a resolution.
Suhas
Here is a process-inspection done through ActivityMonitor when it was taking 100%:
Sampling process 517 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling iChatAgent (pid 517) every 1 millisecond
Call graph:
2457 Thread_7542 DispatchQueue_1: com.apple.main-thread (serial)
2457 start
2457 main
2454 -[NSRunLoop(NSRunLoop) run]
2439 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
2160 CFRunLoopRunSpecific
2087 __CFRunLoopRun
670 machport_insertmember
662 mach_msg
661 machmsgtrap
1 mach_msg
5 machport_insertmember
3 migget_replyport
596 machport_extractmember
589 mach_msg
577 machmsgtrap
12 mach_msg
4 machport_extractmember
3 migget_replyport
389 mach_msg
371 machmsgtrap
18 mach_msg
355 __CFRunLoopDoSources0
237 _MessageAvailable(void*)
110 XprtGetMessage
106 XPRT::InternalGetMessage(void*, unsigned int&, void*&, void*&, bool)
39 XPRT::TMessageQueue::GetMessage(bool)
14 XPRT::TPtrList::RemoveHead()
7 XPRT::TList<void*, XPRT::TDynamicTraits>::FreeNode(XPRT::TList<void*, XPRT::TDynamicTraits>::TNode*)
6 XPRT::TList<void*, XPRT::TDynamicTraits>::FreeNode(XPRT::TList<void*, XPRT::TDynamicTraits>::TNode*)
1 XPRT::TDynamicTraits::VOrphanElement(void*) const
7 XPRT::TPtrList::RemoveHead()
11 pthreadmutexunlock
8 pthreadmutexlock
4 spinlock
2 OSSpinLockUnlock
2 pthreadmutexlock
3 XPRT::TMessageQueue::GetMessage(bool)
3 _spinlock
31 free
20 szone_size
11 free
24 szonefree_definitesize
23 szonefree_definitesize
1 spinlock
5 XPRT::InternalGetMessage(void*, unsigned int&, void*&, void*&, bool)
5 operator delete(void*)
1 XPRT::TCritSec::Unlock()
1 _spinlock
2 XprtTlsGetValue
2 pthread_getspecific
110 XprtGiveMessage
85 COOL::TSocket::SocketMessageProc(unsigned int, void*, void*)
50 XprtPostMessage
48 XPRT::InternalPostMessage(void*, unsigned int, void*, void*)
25 operator new(unsigned long)
21 malloc
18 malloczonemalloc
10 szonemalloc_shouldclear
6 szonemalloc_shouldclear
4 _cpunumber
5 malloczonemalloc
2 _spinlock
1 szone_malloc
3 malloc
4 operator new(unsigned long)
10 XPRT::TMessageQueue::PostMessage(XPRT::SMessage*)
5 XPRT::TPtrList::AddTail(void*)
4 XPRT::TList<void*, XPRT::TDynamicTraits>::NewNode(void*, XPRT::TList<void*, XPRT::TDynamicTraits>::TNode*, XPRT::TList<void*, XPRT::TDynamicTraits>::TNode*)
1 XPRT::TPtrList::AddTail(void*)
4 pthreadmutexlock
1 _spinlock
6 pthreadmutexunlock
5 pthreadmutexunlock
1 spinlock
2 XPRT::InternalPostMessage(void*, unsigned int, void*, void*)
2 _spinlock
1 XPRT::TCritSec::Lock()
1 dyldstub__spinlock
1 dyldstub__spinunlock
2 XprtPostMessage
14 COOL::TSocket::FireDataAvailable()
13 COOL::TProxiedSocket::OnDataAvailable(IInputStream*, IUnknown*)
6 XPTL::CComObject<COOL::TProxiedSocket>::AddRef()
5 XPTL::CComObject<COOL::TProxiedSocket>::Release()
2 COOL::TProxiedSocket::OnDataAvailable(IInputStream*, IUnknown*)
1 COOL::TSocket::FireDataAvailable()
7 non-virtual thunk to COOL::TProxiedSocket::OnDataAvailable(IInputStream*, IUnknown*)
6 COOL::TSocket::SocketMessageProc(unsigned int, void*, void*)
6 XPRT::TPtrFromPtrMap::Lookup(void*, void*&) const
6 XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::Lookup(void*, void*&) const
3 XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::GetNode(void*, unsigned int&, unsigned int&, XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::TNode*&) const
2 XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::GetNode(void*, unsigned int&, unsigned int&, XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::TNode*&) const
1 XPRT::TDynamicKeyTraits::VHashKey(void const*) const
3 XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::Lookup(void*, void*&) const
2 XPTL::CComObject<COOL::TSocket>::AddRef()
17 XPRT::TMessageMap::Lookup(unsigned int)
7 XPRT::TPtrFromPtrMap::Lookup(void*, void*&) const
5 XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::Lookup(void*, void*&) const
4 XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::GetNode(void*, unsigned int&, unsigned int&, XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::TNode*&) const
3 XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::GetNode(void*, unsigned int&, unsigned int&, XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::TNode*&) const
1 XPRT::TDynamicKeyTraits::VHashKey(void const*) const
1 XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::Lookup(void*, void*&) const
2 XPRT::TPtrFromPtrMap::Lookup(void*, void*&) const
3 _spinlock
3 pthreadmutexunlock
2 XPRT::TMessageMap::Lookup(unsigned int)
2 pthreadmutexlock
1 OSSpinLockUnlock
1 pthreadmutexlock
8 XprtGiveMessage
6 _MessageAvailable(void*)
4 CFRunLoopSourceSignal
3 CFRunLoopSourceSignal
1 spinlock
4 _IMWillLog
2 _spinlock
1 OSSpinLockUnlock
85 CFSetApplyFunction
84 CFBasicHashApply
40 CFBasicHashGetBucket
28 _CFSetApplyFunction_block_invoke1
20 __CFRunLoopCollectSources0
12 __CFRunLoopCollectSources0
4 CFRetain
3 _CFRetain
1 OSAtomicCompareAndSwap32Barrier
1 _compare_andswap32
8 _CFSetApplyFunction_block_invoke1
16 CFBasicHashApply
1 CFSetApplyFunction
16 __CFRunLoopDoSources0
4 CFRelease
3 _CFRelease
2 CFGetTypeID
2 dyldstubOSAtomicCompareAndSwap32Barrier
2 dyldstub_IMWillLog
1 CFBasicHashGetCount
1 CFSetGetCount
1 OSAtomicCompareAndSwap32Barrier
1 _compare_andswap32
1 OSSpinLockUnlock
29 CFSetContainsValue
25 CFBasicHashGetCountOfKey
25 _CFBasicHashFindBucket1
13 _CFBasicHashFindBucket1
10 __CFStringHash
1 CFHash
1 __CFBasicHashStandardCallback
4 CFSetContainsValue
24 __CFRunLoopRun
9 _spinlock
5 dispatch_get_main_queue_port4CF
3 CFRunLoopGetMain
2 OSSpinLockUnlock
2 dyldstubOSSpinLockLock
1 dyldstub_mach_msgtrap
1 pthread_getspecific
1 pthreadmainnp
36 __CFRunLoopFindMode
31 CFSetGetValue
30 CFBasicHashFindBucket
29 _CFBasicHashFindBucket1
9 __CFStringHash
8 _CFBasicHashFindBucket1
6 CFHash
5 __CFBasicHashStandardCallback
3 CFEqual
2 __CFBasicHashStandardCallback
1 __CFRunLoopModeHash
1 CFBasicHashFindBucket
1 CFSetGetValue
2 __bzero
2 memset
1 __CFRunLoopFindMode
17 __CFRunLoopModeIsEmpty
17 CFSetContainsValue
17 CFBasicHashGetCountOfKey
17 _CFBasicHashFindBucket1
12 __CFStringHash
5 _CFBasicHashFindBucket1
8 CFRunLoopRunSpecific
7 _spinlock
2 spinlock
2 dyldstub_machmsg
1 dyldstubOSSpinLockUnlock
121 _CFRunLoopFinished
80 __CFRunLoopFindMode
66 CFSetGetValue
63 CFBasicHashFindBucket
57 _CFBasicHashFindBucket1
22 __CFBasicHashStandardCallback
16 CFEqual
14 CFEqual
2 __CFRunLoopModeEqual
6 __CFBasicHashStandardCallback
17 _CFBasicHashFindBucket1
9 __CFStringHash
6 CFHash
3 __CFRunLoopModeHash
5 CFBasicHashFindBucket
1 __CFBasicHashStandardCallback
3 CFSetGetValue
6 __bzero
5 __CFRunLoopFindMode
2 memset
1 _CFRuntimeSetInstanceTypeID
29 __CFRunLoopModeIsEmpty
19 CFSetContainsValue
14 CFBasicHashGetCountOfKey
13 _CFBasicHashFindBucket1
7 __CFStringHash
3 _CFBasicHashFindBucket1
2 __CFBasicHashStandardCallback
1 CFHash
1 CFBasicHashGetCountOfKey
5 CFSetContainsValue
6 pthreadmainnp
2 pthread_getspecific
1 CFRunLoopGetMain
1 __CFRunLoopModeIsEmpty
6 _CFRunLoopFinished
2 OSSpinLockUnlock
2 _spinlock
2 dyldstub_pthread_mainnp
39 _CFAutoreleasePoolPop
23 _CFAutoreleasePoolPop
7 pthread_setspecific
3 pthread_getspecific
2 objcgetFreedObjectClass
2 objc_collectingEnabled
2 pthread_self
29 -[NSCFString isEqual:]
11 -[NSCFString isEqual:]
8 CFStringGetCStringPtr
4 object_getClass
3 objcmsgSendvtable2
2 _CFStringGetLength2
1 NSClassFromObject
28 CFAbsoluteTimeGetCurrent
21 gettimeofday
18 __gettimeofday
12 __nanotime
6 __gettimeofday
3 gettimeofday
7 CFAbsoluteTimeGetCurrent
17 _CFAutoreleasePoolPush
8 pthread_setspecific
7 _CFAutoreleasePoolPush
2 objc_collectingEnabled
13 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
6 NSPopAutoreleasePool
2 NSPopAutoreleasePool
2 _CFExecutableLinkedOnOrAfter
2 objc_collectingEnabled
5 _spinlock
4 objc_msgSend
3 dyldstub_CFStringGetLength2
3 dyldstub_pthreadsetspecific
2 CFRunLoopRunInMode
2 CFRunLoopGetCurrent
2 dyldstubCFStringGetCStringPtr
2 dyldstubOSSpinLockUnlock
1 dyldstub__objcgetFreedObjectClass
1 dyldstubgettimeofday
1 dyldstub_objccollectingEnabled
1 dyldstub_pthreadgetspecific
1 objcmsgSendvtable12
9 objc_msgSend
3 -[NSRunLoop(NSRunLoop) run]
1 +[NSDate distantFuture]
1 CFRunLoopRunInMode
1 NSPushAutoreleasePool
3 dyldstub_objcmsgSend
2457 Thread_7543 DispatchQueue_2: com.apple.libdispatch-manager (serial)
2457 start_wqthread
2457 pthreadwqthread
2457 dispatch_workerthread2
2457 dispatch_queueinvoke
2457 dispatch_mgrinvoke
2457 kevent
2457 Thread_7553
2457 thread_start
2457 pthreadstart
2457 XPRT::_ThreadProc(void*)
2457 XPRT::TTimer::ThreadProc(void*)
2457 XPRT::TCondVar::Wait(int)
2457 pthread_condwait
2457 _semwaitsignal
2457 Thread_7554
2457 thread_start
2457 pthreadstart
2457 XPRT::_ThreadProc(void*)
2457 COOL::TSocket::SocketThreadProc(void*)
2457 select$DARWIN_EXTSN
Total number in stack (recursive counted multiple, when >=5):
11 _spinlock
6 OSSpinLockUnlock
5 __CFBasicHashStandardCallback
5 __CFStringHash
5 _CFBasicHashFindBucket1
5 spinlock
Sort by top of stack, same collapsed (when >= 5):
_semwaitsignal 2457
kevent 2457
select$DARWIN_EXTSN 2457
machmsgtrap 1609
__CFStringHash 47
_CFBasicHashFindBucket1 46
CFBasicHashGetBucket 40
_spinlock 37
mach_msg 31
__CFRunLoopRun 24
_CFAutoreleasePoolPop 23
szonefree_definitesize 23
szone_size 20
pthreadmutexunlock 19
CFEqual 17
CFBasicHashApply 16
__CFRunLoopDoSources0 16
pthread_setspecific 15
CFHash 14
-[NSRunLoop(NSRunLoop) runMode:beforeDate:] 13
objc_msgSend 13
__CFBasicHashStandardCallback 12
__CFRunLoopCollectSources0 12
__nanotime 12
-[NSCFString isEqual:] 11
free 11
CFSetContainsValue 9
OSSpinLockUnlock 9
spinlock 9
CFRunLoopRunSpecific 8
CFStringGetCStringPtr 8
XprtGiveMessage 8
_CFSetApplyFunction_block_invoke1 8
__bzero 8
pthread_getspecific 8
CFAbsoluteTimeGetCurrent 7
XPRT::TPtrList::RemoveHead() 7
_CFAutoreleasePoolPush 7
non-virtual thunk to COOL::TProxiedSocket::OnDataAvailable(IInputStream*, IUnknown*) 7
pthreadmainnp 7
pthreadmutexlock 7
CFBasicHashFindBucket 6
COOL::TSocket::SocketMessageProc(unsigned int, void*, void*) 6
XPRT::TList<void*, XPRT::TDynamicTraits>::FreeNode(XPRT::TList<void*, XPRT::TDynamicTraits>::TNode*) 6
XPTL::CComObject<COOL::TProxiedSocket>::AddRef() 6
_CFRunLoopFinished 6
_MessageAvailable(void*) 6
__CFRunLoopFindMode 6
__gettimeofday 6
migget_replyport 6
objc_collectingEnabled 6
szonemalloc_shouldclear 6
XPRT::InternalGetMessage(void*, unsigned int&, void*&, void*&, bool) 5
XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::GetNode(void*, unsigned int&, unsigned int&, XPRT::TMap<void*, void*, XPRT::TDynamicKeyTraits, XPRT::TDynamicTraits>::TNode*&) const 5
XPTL::CComObject<COOL::TProxiedSocket>::Release() 5
dispatch_get_main_queue_port4CF 5
machport_insertmember 5
malloczonemalloc 5
operator delete(void*) 5
Sample analysis of process 517 written to file /dev/stdout -
What is the reason for query take more time to execute
Hi,
What is the reason for the query take more time inside procedure.
but if i execute that query alone then it excute within a minutes.
query includes update and insert.I have a insert and update query when I execute
without Procedure then that query execute faster but
If I execute inside procedure then It takes 2 hours
to execute.Put you watch 2 hours back and the problem will disappear.
do you understand what I want to say?I understood what you wanted to say and I understood you didn't understood what I said.
What does the procedure, what does the query, how can you say the query does the same as the procedure that takes longer. You didn't say anything useful to have an idea of what you're talking about.
Everyone knows what means that something is slower than something else, but it means nothing if you don't say what you're talking about.
To begin with something take a look at this
When your query takes too long ...
especially the part regarding the trace.
Bye Alessandro
Maybe you are looking for
-
Error while creating service tickets
Hi all, we are facing the followin error when we try to create a service ticket in WEB UI. Version CRM 7 with EhP1 installed. Please find the error details Context initialization failed in view ICCMP_BTPARTNER/PartnerTable of UI Component ICCMP_BTPAR
-
Runtime.getRuntime().exec problems
i am trying to run files from my java application, i use the following command Runtime.getRuntime().exec("cmd /c start " + filePath);but it seems that it cant handle file path with spaces, like C:\Documents and Settings\Administrator\My Documents\My
-
How can I get access to all the disk capacity?
I want to use all the disk capacity of SCSI target disks. When I call prtvtoc for these disks, it written something like this: cylinders number is N, available cylinders number is N-2, so Solaris takes 2 cylinders from each disk. Is there any way to
-
Any one got sound driver for this HP Pavilion dv2-1014AU​?
I recently bought this model: Pavilion dv2-1014AU , but I realy hate Win Vista, so downgraded to Win XP, but HP doesn't provide the sound driver for Win XP I go thru http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?product=3977897&lc=en&cc=sg&dlc
-
Why are colors different on my MacBook Pro?
I am struggling with some color issues and am wondering if anyone can help shed some light on what's going on. We have several macs in our office that we use for developing printed and interactive materials. We occasionally need to grab files from cl