SRF compile time taking 5 hours!!!
Hello,
I am not sure if this is the right place to post this question, but I will start here. I am using a Siebel 6 install on a Win XP desktop. In the past, the srf times would take around 2 hours, now, they go upwards to 5-6 hours, which is causing a huge impact on my dept. Some ideas I have that have changed since the 2 hour times, SP3 installed for XP, Symantec upgrade to Symantec EndPoint. Nothing else is running on the machine. I have 3 gb RAM also installed. I do not have a strong background in configuring Siebel Tools to try to optimize the performance, but does anyone have any ideas on where I can start looking to see why the compile is taking so long?
Any help is greatly appreciated.
Thank you,
Mike
Hi Mike,
Very common pb. We have helped customers, and also back when some of us were in the engineering team at Siebel Systems, reduce srf compilation time from 8hours down to 2hours...and these days, our siebel monitoring software can help you do this without getting help from anyone in my team...
If you come to the oracle open world this week, come to our booth (#104 moscone south) and participate to the lottery to win 1 month free use of Germain Monitoring software (complete monitoring and root-cause analysis software built specifically for Siebel CRM. GM automically solves or identify root-cause of any siebel performance issues, rca occurs at every layer of your infrastructure from the end user desktop, firewalls, load balancers, network(lan/www), web, app, db servers, sql, eai, workflow, eScripts...)
Let us know how we can help...have a nice weekend,
Regards,
Yannick Germain
GERMAIN SOFTWARE
21 Columbus Avenue, Suite 221
San Francisco, CA 94111, USA
Cell: +1-415-606-3420
Fax: +1-415-651-9683
[email protected]
http://www.germainsoftware.com
Similar Messages
-
I am trying to update my ipad mini but taking too long time 5 hours
i am trying to update my ipad mini to ios 7 but taking too long time 5 hours so what i have to do
Message was edited by: GOPAL DHRUWYou can try resetting your iPad by simultaneously pressing and holding the Home and Sleep/Wake buttons until you see the Apple Logo. This can take up to 15 seconds so be patient and don't release the buttons until the logo appears.
Try again to see if the problem persists. -
Hello everybody,
I have a generic question regarding the Forte compilation performance. We
have a large application in Forte 3.0.G. We compile this application to
generate an executable. We notice two problems:
1. Each time we change a class, Forte generates the entire application
again, even though we changed only one class (out of 100 classes). Is
there any way to be able to compile only a part of the application. It
takes an enormous time to make a compiled distribution and to actually
compile it. BTW, we use FCompile and not the AutoCompile feature of Forte.
2. The time taken to make a compiled distribution and to fcompile
generated .pgf file is huge (currently it takes more than 4 hours for the
entire process and we have 3 such applications, so the total time is a big
12 hours!). Is there any flag that we can set either in Forte or in
FCompile to speed up the process?
Also have anybody used the Autocompile feature? Does it work faster?
I would be grateful if somebody can help us out.
Thanks,
Anand.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Anand,
Autocompile will be slower that using fcompile. Autocompile is a sequential
process. It starts one compile after the other finishes.
But since you control fcompile, you can start multiple at the same time.
Have you tried the Make Partial Distribution facility. I am not sure if it
will work in your situation, but it is worth a try.
Hope this helps.
Venkat J Kodumudi
PriceWaterhouseCoopers LLP
Internet: [email protected]
Internet2: [email protected]
-----Original Message-----
From: [email protected]
[SMTP:[email protected]]
Sent: Monday, January 18, 1999 11:21 AM
To: Venkat Kodumudi
Subject: Forte Compilation Time
To: [email protected]
cc: (bcc: Venkat Kodumudi/MCS/Price Waterhouse)
From: [email protected] @ INTL
Date: 01/18/99 03:49:22 PM GMT
Subject: Forte Compilation Time
Hello everybody,
I have a generic question regarding the Forte compilation performance. We
have a large application in Forte 3.0.G. We compile this application to
generate an executable. We notice two problems:
1. Each time we change a class, Forte generates the entire application
again, even though we changed only one class (out of 100 classes). Is
there any way to be able to compile only a part of the application. It
takes an enormous time to make a compiled distribution and to actually
compile it. BTW, we use FCompile and not the AutoCompile feature of
Forte.
2. The time taken to make a compiled distribution and to fcompile
generated .pgf file is huge (currently it takes more than 4 hours for the
entire process and we have 3 such applications, so the total time is a big
12 hours!). Is there any flag that we can set either in Forte or in
FCompile to speed up the process?
Also have anybody used the Autocompile feature? Does it work faster?
I would be grateful if somebody can help us out.
Thanks,
Anand.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received
this in error, please contact the sender and delete the material from any
computer.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
With one condition included my discoverer report is taking hours to run
Hi,
I am trying to build a discoverer report based on a view and i have defined couple of conditions as per the business requirement. Here is my view which is executing fine from database and at discoverer level.
Now the requirement is to get the details with conditions
1. Application_date is not equal to apply date
2. Applied_amount>0
parameters should be
Application_date low and high
The report is successfully executing when i use condition1 that is application_date<>apply date with parameters mentioned.
But when i define second condition at report level that applied_amount>0, its taking hours to run.
Please advise me the way to use this condition2 so that it should be executed in normal time.
Thanks,
Prathyusha.
Edited by: 958913 on Oct 10, 2012 1:28 PMHi Srini,hussein,
Thanks so much.
Yes srini that is related to my post. I have tried all the options to make that condition workout. But hard luck i could nt able to make this work out.
Im still wondered my query is successfully getting executed in database fine and when i give any condition on applied amount its taking hours to run from discoverer desktop and i dont find it executed anytime till now.
I am not sure about enabling this trace option as i reviewed the ID's suggested by you and seems that all needs to be done with the help of DBA. But i dont have that much time to make this workout. This is an immediate business requirement and i have never seen this problem anytime with discoverer desktop.
Any help would be appreciated.
Thanks,
Prathyusha. -
Seeburger Module Error at Compilation Time
Hi,
I am using the below modules for configuring the EDI P.O (850) scenario, Initially I am taking the EDI file to one folder up to this fine, after that I am processing this file by using sender File adapter with modules, at the compilation time i am getting this error
"Error: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of SeeClassifier."
Sender file adapter modules
Processing Sequence:
1 localejbs/SeeClassifier Local Enterprise Bean classifier
2 localejbs/CallBicXIRaBean Local Enterprise Bean bic
3 localejbs/Seeburger/MessageSplitter Local Enterprise Bean splitter
4 localejbs/CallSapAdapter Local Enterprise Bean exit
Module Configuration:
bic classifierAttID additionalInfo
bic classifierMappingID additionalInfo
bic destSourceMsg MainDocument
bic destTargetMsg MainDocument
bic mappingName AUTO
bic splitter splitter
classifier destSourceMsg MainDocument
classifier showInAuditLog true
Thanks
Ramesh
Edited by: Venkataramesh Boppana on Nov 8, 2010 8:55 PMHi Ramesh,
"...Object not found in lookup of SeeClassifier..." means, that the Classifier module can not be found.
Did you deploy SeeBaseTools and SeeExtendedTools and SeeModuleCollection?
regards,
Daniel -
IDM 7.1.1 objchange query executing against DB 66K times an hour?!
Howdy folks,
We just upgraded from 7.0 to 7.1.1. One of my co-workers mentioned that they though it was running a little slower. We spoke to a DB about when stats were getting calculated etc on the database, and she started to look at what was running. Turns out we have a statement executing 66,000 times an hour.... Any idea why? It seems like there should be no reason to execute this frequently, and it is biting in to our database cpu cycles....
Here is the SQL if you are curious:
SELECT timestamp, id, version, changeType FROM objchange WHERE timestamp > :1 AND type=:2 ORDER BY timestamp;Basil,
Thanks for taking the time to answer all of the questions! It saves a lot of back/forth. The bad news is that no specific thing comes to mind. The sort of degradation you see could be caused by one or more of:
o memory leaks (presumably not, because you're not running out)
o memory fragmentation -- possible, but hard to measure
o something odd going on in the DB cache -- nothing is obvious yet, but it's still being looked at.
You are using MVCC, which may help diagnose things. Have you ever run without MVCC? I assume you are not using snaphot transactions for updates (if so, you should not be doing that).
Have you tried looking at system/process information using tools like vmstat or top to detect anomalous VM and/or paging activity?
If you come up with any additional information, please post it.
Regards,
George -
Why materialized view taking hours and yet not created
hi,
i am trying to create the following MV
create materialized view MV1
force on demand
start with date 1 next date2
AS
select query 1--> complex query that return approcimately 2 millions rows
union all
select query2 --> complex query that returns 300K rowsit has been taking hours i.e > 4 hrs and still unable to create the MV
w/o the create materialized view statement i am able to return the results from the union of the 2 queries
what might be the possibility ?
tks & rdgsIssue could be due to the complexity of your query..Even i faced the same issue when i worked on materialized views.It was taking too long to create materialized view and then we splitted the query and created two materialized views.
Finally created a View for those MV's.You can also try the same
Materialized View Log
When you create a materialized view using the FAST option you will need to create a view log on the base tables.A fast refresh uses materialized view logs to update only the rows that have changed since the last refresh.
When DML changes are made to the master table's data, Oracle stores rows describing those changes in the materialized view log and then uses the materialized view log to refresh materialized views based on the base table. This process is called an incremental or fast refresh.Without a materialized view log, Oracle must reexecute the materialized view query to refresh the materialized view. This process is called a complete refresh.Usually, a fast refresh takes less time than a complete refresh.
You can go through the below link
http://www.lc.leidenuniv.nl/awcourse/oracle/server.920/a96567/repmview.htm
Thanks
Suni -
My sql query is taking hours to run from toad
SELECT * from (select hr.NAME org_name, ractla.org_id, acct_site.attribute_category,
acct_site.attribute10 general_agent, arc.reversal_category,arr.reversal_gl_date,ard.reversed_source_id,
DECODE (acct_site.attribute_category,
'COMM', acct_site.attribute9,
'IPLAN', acct_site.attribute11,
NULL
) broker_number, -- changed by Michelle
SUBSTR (hca.account_number, 1, 12) customer_number,
ractla.attribute3 plan_type,
SUBSTR (hp.party_name, 1, 15) customer_name,
DECODE (ractla.attribute_category,
'Commercial Receivables', ractla.attribute1,
'Subscriber Receivables', ractla.attribute1,
NULL
) product, --x Product
rax.trx_number trx_number, rax.trx_date transaction_date,
DECODE
(SIGN (INSTR (rax.attribute4, '/')),
1, TO_DATE
( '01'
|| TO_CHAR
(DECODE (SIGN (INSTR (rax.attribute4, '/')),
1, TO_DATE
(SUBSTR (rax.attribute4,
1,
10
'rrrr/mm/dd'
NULL
'MON-RRRR'
'DD-MON-RRRR'
NULL
) coverage_month,
DECODE (SIGN (INSTR (rax.attribute4, '/')),
1, TO_DATE (SUBSTR (rax.attribute4, 1, 10), 'rrrr/mm/dd'),
NULL
) due_date,
DECODE (acct_site.attribute_category,
'COMM', SUBSTR (hca.account_number, 1, 6),
acct_site.attribute10
) employer_group,
DECODE (arc.reversal_category,
'NSF', TRUNC (arr.creation_date),
'REV', TRUNC (arr.creation_date),
DECODE (arr.reversal_gl_date,
NULL, TRUNC (arr.apply_date),
DECODE (ard.reversed_source_id,
NULL, TRUNC (arr.apply_date),
TRUNC (arr.creation_date)
) as application_date,
arr.apply_date,
arr.creation_date, --9/8/03
arc.receipt_number receipt_number, arc.receipt_date receipt_date,
arr.amount_applied applied_amount, rax.attribute1 company,
rax.attribute2 division, ractla.attribute2 coverage_plan, -- (Plan Code)
DECODE (acct_site.attribute_category,
'IPLAN', acct_site.attribute13,
'SH', acct_site.attribute8,
NULL
) coverage_type,
ps.amount_due_original trans_amount,
NVL (ps.amount_due_remaining, 0) trans_amount_remaining,
SUBSTR (hre.first_name || ' ' || hre.middle_name || ' '
|| hre.last_name,
1,
25
) salesrep_name,
SUBSTR (acct_site.attribute5, 1, 5) salesrep_extension,
hca.attribute4 SOURCE
FROM apps.ra_customer_trx_all rax, -- invoice info
apps.ar_payment_schedules_all ps,
apps.ra_cust_trx_types_all rat,
apps.hz_cust_accounts_all hca,
apps.hz_parties hp,
apps.ar_receivable_applications_all arr,
apps.ar_cash_receipts_all arc, --- receipt info
apps.hr_operating_units hr,
apps.hr_employees hre,
apps.hz_cust_acct_sites_all acct_site,
apps.hz_cust_site_uses_all acct_site_use, --added by tapas on 7/16
apps.ra_customer_trx_lines_all ractla,
apps.ar_distributions_all ard
WHERE
hca.cust_account_id = rax.bill_to_customer_id
AND ps.customer_trx_id = rax.customer_trx_id
AND rat.cust_trx_type_id = rax.cust_trx_type_id
AND rat.org_id = rax.org_id
AND arr.applied_customer_trx_id = rax.customer_trx_id
AND arr.status = 'APP'
AND arr.cash_receipt_id = arc.cash_receipt_id
AND hr.organization_id = rax.org_id
AND rax.customer_trx_id = ractla.customer_trx_id
AND ractla.line_number = 1
AND rax.bill_to_site_use_id = acct_site_use.site_use_id
AND hca.cust_account_id = acct_site.cust_account_id
AND acct_site.cust_acct_site_id = acct_site_use.cust_acct_site_id
AND hca.party_id = hp.party_id
AND acct_site.attribute4 = hre.employee_id(+)
AND hr.NAME = 'Commercial Group'
AND ard.source_table = 'RA'
AND ard.source_id = arr.receivable_application_id) app
where app.application_date between :start_date and :end_Date
and app.application_date <> app.apply_date
and app.applied_amount>0;
This is my query..due to some requirement i have written an inline view. The query is getting executed without inline view and even after including inline view but when i included the condition "app.applied_amount>0" its taking hours and i dont see it complete. Please advise. Urgently needed as a discoverer report needs to be built based on this.
Thanks.
Edited by: 958913 on Oct 8, 2012 3:52 PM
Edited by: 958913 on Oct 8, 2012 4:19 PM
Edited by: 958913 on Oct 8, 2012 4:33 PMHi,
the next action plan i have taken is as i need to write a condition that is based on application date(which is not a database column and is getting by a decode statement in the select) i have removed that decode statement from select and written in inline view and there by adding in where condition. Here is the query and still its taking time to run.
/* Formatted on 2012/10/09 13:51 (Formatter Plus v4.8.8) */
SELECT hr.NAME org_name, ractla.org_id, acct_site.attribute_category,
acct_site.attribute10 general_agent, arc.reversal_category,
arr.reversal_gl_date, ard.reversed_source_id,
DECODE (acct_site.attribute_category,
'COMM', acct_site.attribute9,
'IPLAN', acct_site.attribute11,
NULL
) broker_number, -- changed by Michelle
SUBSTR (hca.account_number, 1, 12) customer_number,
ractla.attribute3 plan_type,
SUBSTR (hp.party_name, 1, 15) customer_name,
DECODE (ractla.attribute_category,
'Commercial Receivables', ractla.attribute1,
'Subscriber Receivables', ractla.attribute1,
NULL
) product, --x Product
rax.trx_number trx_number, rax.trx_date transaction_date,
DECODE
(SIGN (INSTR (rax.attribute4, '/')),
1, TO_DATE ( '01'
|| TO_CHAR (DECODE (SIGN (INSTR (rax.attribute4, '/')),
1, TO_DATE
(SUBSTR (rax.attribute4,
1,
10
'rrrr/mm/dd'
NULL
'MON-RRRR'
'DD-MON-RRRR'
NULL
) coverage_month,
DECODE (SIGN (INSTR (rax.attribute4, '/')),
1, TO_DATE (SUBSTR (rax.attribute4, 1, 10), 'rrrr/mm/dd'),
NULL
) due_date,
DECODE (acct_site.attribute_category,
'COMM', SUBSTR (hca.account_number, 1, 6),
acct_site.attribute10
) employer_group,
app.application_date,
arr.apply_date, arr.creation_date, --9/8/03
arc.receipt_number receipt_number,
arc.receipt_date receipt_date, arr.amount_applied applied_amount,
rax.attribute1 company, rax.attribute2 division,
ractla.attribute2 coverage_plan, -- (Plan Code)
DECODE (acct_site.attribute_category,
'IPLAN', acct_site.attribute13,
'SH', acct_site.attribute8,
NULL
) coverage_type,
ps.amount_due_original trans_amount,
NVL (ps.amount_due_remaining, 0) trans_amount_remaining,
SUBSTR (hre.first_name || ' ' || hre.middle_name || ' '
|| hre.last_name,
1,
25
) salesrep_name,
SUBSTR (acct_site.attribute5, 1, 5) salesrep_extension,
hca.attribute4 SOURCE
FROM apps.ra_customer_trx_all rax, -- invoice info
apps.ar_payment_schedules_all ps,
apps.ra_cust_trx_types_all rat,
apps.hz_cust_accounts_all hca,
apps.hz_parties hp,
apps.ar_receivable_applications_all arr,
apps.ar_cash_receipts_all arc, --- receipt info
apps.hr_operating_units hr,
apps.hr_employees hre,
apps.hz_cust_acct_sites_all acct_site,
apps.hz_cust_site_uses_all acct_site_use, --added by tapas on 7/16
apps.ra_customer_trx_lines_all ractla,
apps.ar_distributions_all ard,
(select rax1.customer_trx_id,DECODE (arc1.reversal_category,
'NSF', TRUNC (arr1.creation_date),
'REV', TRUNC (arr1.creation_date),
DECODE (arr1.reversal_gl_date,
NULL, TRUNC (arr1.apply_date),
DECODE (ard1.reversed_source_id,
NULL, TRUNC (arr1.apply_date),
TRUNC (arr1.creation_date)
) as application_date
from apps.ar_receivable_applications_all arr1,
apps.ar_cash_receipts_all arc1,
apps.ra_customer_trx_all rax1,
apps.ar_distributions_all ard1
where arr1.applied_customer_trx_id = rax1.customer_trx_id
AND arr1.status = 'APP'
AND arr1.cash_receipt_id = arc1.cash_receipt_id
AND ard1.source_table = 'RA'
AND ard1.source_id = arr1.receivable_application_id
) app
WHERE hca.cust_account_id = rax.bill_to_customer_id
AND app.customer_trx_id = rax.customer_trx_id
AND arr.apply_date <> app.application_date
and app.application_date between :start_date and :end_date
--AND rax.trx_number IN ('52715888', '52689753')
AND ps.customer_trx_id = rax.customer_trx_id
AND rat.cust_trx_type_id = rax.cust_trx_type_id
AND rat.org_id = rax.org_id
AND arr.applied_customer_trx_id = rax.customer_trx_id
AND arr.status = 'APP'
AND arr.cash_receipt_id = arc.cash_receipt_id
AND hr.organization_id = rax.org_id
AND rax.customer_trx_id = ractla.customer_trx_id
AND ractla.line_number = 1
AND rax.bill_to_site_use_id = acct_site_use.site_use_id
AND hca.cust_account_id = acct_site.cust_account_id
AND acct_site.cust_acct_site_id = acct_site_use.cust_acct_site_id
AND hca.party_id = hp.party_id
AND acct_site.attribute4 = hre.employee_id(+)
AND hr.NAME = 'Commercial Group'
AND ard.source_table = 'RA'
AND ard.source_id = arr.receivable_application_id -
Compilation time - LabVIEW FPGA project
I am trying to compile a LabVIEW FPGA project over NI PXIe-1071 chassis.
My problem briefly lies in the compilation time which last hours while only takes approximately 20 minutes on another chassis I am having with exactly the same specifications.
Is there any project settings I should check which may casuing this problem ?
Thanks.The FPGA boards exactly the same and the VI is exactly the same? All you are changing is the chassis? R Series or FlexRIO? What version of LabVIEW FPGA? How much are the designs "filled up" (like what is the percent utilization of slices)? There are project settings for effort levels of the Xilinx tools depending on what version of LabVIEW you are using.
-
How can I reduce FPGA compiler time
Hi,
I am trying to implement a PID control loop on the FPGA of a cRIO.
The VI which runs on the FPGA target takes very long to compile (1h+).
Does anyone have an idea while the compilation takes so long and how I might be able to inprove compilation time?
The program can be found in attachment.
Best regards,
Jasper
Attachments:
PID FPGA TEST.zip 160 KBHi Jasper,
FPGA's normally take a very long time to compile compared to software compilations. 1 hour sounds about right for a slightly above average sized project. Compile times of anywhere from 2-4 hours (and longer for larger devices!) are not unheard of.
Companies who are serious about FPGA compilation and rely on quick turnaround invest in servers which contain many computers to work on the compilation (this is also why when you compile, it asks you if you would like to compile on the "local sever" (your computer) or an external server).
NI also has a cloud compiler available that will let you compile your code on their servers, however you must pay for the time. I think they offer a free trial if you wanted to see how it works.
So if you seriously need quick turnaround, you must consider some serious hardware.
Otherwise, you will have to queue up multiple compilations and let them run overnight like the rest of us.
www.movimed.com - Custom Imaging Solutions -
1046: Type was not found or was not a compile-time constant: Event.
I am more than a little frustrated. I'm using Flash Professional CS5.5, attempting to publish ActionScript 3.0 for FlashPlayer 10.2
My code begins with:
import flash.events.MouseEvent;
import flash.events.Event;
import flash.events.KeyboardEvent;
import flash.utils.Timer;
import flash.events.TimerEvent;
Then much later I have:
teamFourCar_mc.addEventListener(Event.ENTER_FRAME, trackPosition);
function trackPosition (event:Event)
and I keep getting a compiler error:
Scene 1, Layer 'actions', Frame 1, Line 434
1046: Type was not found or was not a compile-time constant: Event.
I have imported the class "Events". I have successfully used the same construction in other scripts... in fact, virtually the same construction is included in Code Snippets as Fade In and Fade Out. Adding ":void" after (event:Event) makes no difference. I have Googled - to no avail - and spent the better part of a day reading through the on-line help files, but the solution is still eluding me.
It's probably so simple I'm going to smack myself in the forehead and mutter "Duh!" when I find a solution...
If you can do anything to hasten that event (no pun intended) I (with the possible exception of my forehead) will be very grateful.
TIA
TerrySinious:
The entire code of the main movie clip is at http://pastebin.com/JYfLUhh1
A sample of one of the four "problem" movie clips is at http://pastebin.com/gQGDyngx
There is nothing wrong with the "problem" clip. The problems are in the main movie clip:
Scene 1, Layer 'actions', Frame 1, Line 427
1046: Type was not found or was not a compile-time constant: Event.
Scene 1, Layer 'actions', Frame 1, Line 612
1046: Type was not found or was not a compile-time constant: Event.
Scene 1, Layer 'actions', Frame 1, Line 1819
1046: Type was not found or was not a compile-time constant: Event.
There are the only three occurrences of a function with (event:Event). Two are ENTER_FRAME (427 & 1819) The other is COMPLETE from Loader.info
Auto format reported a syntax error "near 'if(movingCar.currentFrame == (dieRoll * 24) + movingCarPosition)' " but I can't detect what, if anything, is wrong with it.
I'm not an experienced developer... in fact, the last programming I did before taking up Flash three months ago was with QuickBasic under DOS 6.2... therefore, please try not to roll your eyes too much when you see how inelegant the code is.
I have a working version, but it's over 7,000 lines and a memory hog. I'm trying to make it more elegant and more efficient. BTW, the three (event:Event) functions are in the working version in more or less the same places, with the same calling code.
I hope you can figure it out.
Thank you in advance -
Hello
In my application I have 4 Model project and one ViewController project.
In the log file , the compilation takes 3 minutes! With the startup of the server I'm starting the application for about 5-6 minutes each time.
Is there some way to decrease this time?
here is the snipped from the log that takes 3 minutes (It's too long I know but maybe it would be helpful):
[4:59:18 PM] Appc compilation begin
Compiling out of process...
F:\Dreamix\Oracle\Middleware12\jdk160_14_R27.6.5-32\jre\bin\javaw.exe -Xms128m -Xmx512m -Xverify:none -client -classpath F:\Dreamix\Oracle\Middleware12\jdk160_14_R27.6.5-32\lib\tools.jar;F:\Dreamix\Oracle\Middleware12\wlserver_10.3\server\lib\weblogic.jar -Dweblogic.jsp.diagnosticWithAbsolutePath=true -Dweblogic.classloader.noJarSigners=true weblogic.appc -library "C:\Documents and Settings\game\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\.wlLibs\jsp\ADF-Faces-Components11.war@name=ADF-Faces-Components,F:\Dreamix\Oracle\Middleware12\wlserver_10.3\common\deployable-libraries\jsf-1.2.war@name=jsf@libimplver=1.2.9.0,C:\Documents and Settings\game\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\.wlLibs\jsp\ADF-Data-Visualization1.1.war@name=ADF-Data-Visualization,C:\Documents and Settings\game\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\.wlLibs\jsp\Trinidad-Components1.2.war@name=Trinidad-Components,F:\Dreamix\Oracle\Middleware12\wlserver_10.3\common\deployable-libraries\jstl-1.2.war@name=jstl@libimplver=1.2.0.1,F:\Dreamix\Projects\TechnoclassADF\ViewController\classes\.wlLibs\jsp\TCCustomComponents1.0.war@name=TCCustomComponents" -plan C:\DOCUME~1\game\LOCALS~1\Temp\ViewController996397250600113496_plan\plan.xml -jsps "@C:\DOCUME~1\game\LOCALS~1\Temp\appcFileList6512737247651299161.txt" -output F:\Dreamix\Projects\TechnoclassADF\ViewController\classes\.wlsjsps -g -forceGeneration -classpath F:\Dreamix\Oracle\Middleware12\jdk160_14_R27.6.5-32\jre\lib\resources.jar;F:\Dreamix\Oracle\Middleware12\jdk160_14_R27.6.5-32\jre\lib\rt.jar;F:\Dreamix\Oracle\Middleware12\jdk160_14_R27.6.5-32\jre\lib\jsse.jar;F:\Dreamix\Oracle\Middleware12\jdk160_14_R27.6.5-32\jre\lib\jce.jar;F:\Dreamix\Oracle\Middleware12\jdk160_14_R27.6.5-32\jre\lib\charsets.jar;F:\Dreamix\Projects\TechnoclassADF\.adf;F:\Dreamix\Projects\TechnoclassADF\ViewController\classes;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-impl.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-dtrt.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-fwk.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-rc.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.controller_11.1.1\adf-controller.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.controller_11.1.1\adf-controller-api.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.controller_11.1.1\adf-controller-rt-common.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.model_11.1.1\adf-controller-schema.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.view_11.1.1\trinidad-api.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.view_11.1.1\trinidad-impl.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-api-11.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-impl-11.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.share_11.1.1\adf-share-support.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.share.ca_11.1.1\adf-share-ca.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.share.ca_11.1.1\adf-share-base.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.share_11.1.1\adfsharembean.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.share_11.1.1\adflogginghandler.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.idm_11.1.1\identitystore.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.javacache_11.1.1\cache.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.security_11.1.1\adf-share-security.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.security_11.1.1\adf-controller-security.jar;F:\Dreamix\Oracle\Middleware12\modules\javax.activation_1.1.0.0_1-1.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.model_11.1.1\adfmweb.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.mds_11.1.1\oramds.jar;F:\Dreamix\Oracle\Middleware12\modules\javax.servlet_1.0.0.0_2-5.jar;F:\Dreamix\Oracle\Middleware12\modules\javax.jsp_1.1.0.0_2-1.jar;F:\Dreamix\Oracle\Middleware12\wlserver_10.3\server\ext\jdbc\oracle\11g\ojdbc6.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\jlib\commons-cli-1.0.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.share_11.1.1\commons-el.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.share_11.1.1\jsp-el-api.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.share_11.1.1\oracle-el.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.bali.share_11.1.1\share.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.xmlef_11.1.1\xmlef.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.dms_11.1.1\dms.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.xdk_11.1.0\xml.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.ucp_11.1.0.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.odl_11.1.1\ojdl.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.javatools_11.1.1\javatools-nodeps.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.jmx_11.1.1\jmxframework.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.jmx_11.1.1\jmxspi.jar;F:\Dreamix\Oracle\Middleware12\modules\javax.management_1.2.1.jar;F:\Dreamix\Oracle\Middleware12\modules\javax.management.j2ee_1.0.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\org.apache.commons.beanutils_1.6.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\org.apache.commons.logging_1.0.4.jar;F:\Dreamix\Oracle\Middleware12\modules\com.bea.core.apache.commons.collections_3.2.0.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.jsf_1.2.9\glassfish.jsf_1.2.9.0.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.jsf_1.2.9\glassfish.jstl_1.2.0.1.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.jsf_1.2.9\javax.jsf_1.2.0.1.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.jsf_1.2.9\wls.jsf.di.jar;F:\Dreamix\Oracle\Middleware12\modules\glassfish.el_2.1.1.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.view_11.1.1\dvt-utils.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.view_11.1.1\dvt-jclient.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.view_11.1.1\dvt-trinidad.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.view_11.1.1\dvt-faces.jar;F:\Dreamix\Oracle\Middleware12\jdeveloper\jlib\jewt4.jar;F:\Dreamix\Oracle\Middleware12\jdeveloper\jlib\inspect4.jar;F:\Dreamix\Oracle\Middleware12\jdeveloper\webservices\lib\jaxrpc-api-10.1.3.jar;F:\Dreamix\Oracle\Middleware12\jdeveloper\webservices\lib\wsclient-10.1.3.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.webservices_11.1.1\wsserver.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.webservices_11.1.1\wssecurity.jar;F:\Dreamix\Oracle\Middleware12\jdeveloper\webservices\lib\wsdl.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.webservices_11.1.1\orasaaj.jar;F:\Dreamix\Oracle\Middleware12\modules\com.bea.core.weblogic.saaj_1.4.0.0.jar;F:\Dreamix\Oracle\Middleware12\modules\com.oracle.ws.orawsdl_1.1.0.0.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.webservices_11.1.1\orawsrm.jar;F:\Dreamix\Oracle\Middleware12\jdeveloper\webservices\lib\orawsrel.jar;F:\Dreamix\Oracle\Middleware12\modules\javax.xml.registry_1.0.0.0_1-0.jar;F:\Dreamix\Oracle\Middleware12\jdeveloper\webservices\lib\orajaxr.jar;F:\Dreamix\Oracle\Middleware12\jdeveloper\webservices\lib\xsdlib.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.webservices_11.1.1\mdds.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.webservices_11.1.1\wsif.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\org.jaxen_1.1.1.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.pki_11.1.1\oraclepki.jar;F:\Dreamix\Oracle\Middleware12\jdeveloper\webservices\lib\ojpse.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.osdt_11.1.1\osdt_core.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.osdt_11.1.1\osdt_cert.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.osdt_11.1.1\osdt_xmlsec.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.osdt_11.1.1\osdt_wss.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.osdt_11.1.1\osdt_saml.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.osdt_11.1.1\osdt_saml2.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.ldap_11.1.1\ojmisc.jar;F:\Dreamix\Oracle\Middleware12\modules\com.oracle.ws.http_client_1.1.0.0.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.xdb_11.1.0.jar;F:\Dreamix\Oracle\Middleware12\modules\javax.xml.stream_1.0.0.0.jar;F:\Dreamix\Oracle\Middleware12\modules\glassfish.jaxb_1.2.0.0_2-1-7.jar;F:\Dreamix\Oracle\Middleware12\modules\glassfish.jaxb.xjc_1.2.0.0_2-1-7.jar;F:\Dreamix\Oracle\Middleware12\jdeveloper\webservices\lib\oc4j-schemas.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.odl_11.1.1\ojdl2.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.iau_11.1.1\fmw_audit.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.nlsrtl_11.1.0\orai18n.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\org.apache.commons.digester_1.8.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\org.springframework_2.0.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.wsm.common_11.1.1\wsm-policy-core.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.wsm.common_11.1.1\wsm-pmlib.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.wsm.agent.common_11.1.1\wsm-pap.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.wsm.agent.common_11.1.1\wsm-agent.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.wsm.common_11.1.1\wsm-secpol.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.javatools_11.1.1\javamodel-rt.jar;F:\Dreamix\Oracle\Middleware12\modules\javax.mail_1.4.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.webservices_11.1.1\lwdom.jar;F:\Dreamix\Oracle\Middleware12\modules\com.bea.core.woodstox_1.0.0.0_3-2-5.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.jps_11.1.1\jps-api.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.jps_11.1.1\jps-common.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-databinding-rt.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.ldap_11.1.1\ldapjclnt11.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.jps_11.1.1\jps-ee.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.jps_11.1.1\jps-internal.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.jps_11.1.1\jps-unsupported-api.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.jps_11.1.1\jacc-spi.jar;F:\Dreamix\Oracle\Middleware12\modules\javax.security.jacc_1.0.0.0_1-1.jar;F:\Dreamix\Projects\TechnoclassADF\extlib\jdom-1.1\build\jdom.jar;F:\Dreamix\Projects\TechnoclassADF\extlib\jdom-1.1\lib\jaxen-core.jar;F:\Dreamix\Projects\TechnoclassADF\extlib\jdom-1.1\lib\jaxen-jdom.jar;F:\Dreamix\Projects\TechnoclassADF\extlib\jdom-1.1\lib\saxpath.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.javatools_11.1.1\resourcebundle.jar;F:\Dreamix\Oracle\Middleware12\jdeveloper\jlib\bundleresolver.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.model_11.1.1\adflibfilter.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-changemanager-rt.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.facesconfigdt_11.1.1\facesconfigmodel.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.facesconfigdt_11.1.1\taglib.jar;F:\Dreamix\Projects\TechnoclassADF\extlib\log4j-1.2.15.jar;F:\Dreamix\Projects\TechnoclassADF\extlib\log4j-1.2.15.jar;F:\Dreamix\Projects\TechnoclassADF\CustomComponents\deploy\tcCustomComponents.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.view_11.1.1\dvt-databindings.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.view_11.1.1\dvt-facesbindings.jar;F:\Dreamix\Oracle\Middleware12\jdeveloper\jdev\lib\jdev-rt.jar;F:\Dreamix\Oracle\Middleware12\jdeveloper\sqlj\lib\runtime12.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.model_11.1.1\adfm.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\groovy-all-1.6.3.jar;F:\Dreamix\Oracle\Middleware12\jdeveloper\adfdt\lib\adf-dt-at-rt.jar;F:\Dreamix\Oracle\Middleware12\jdeveloper\adfdt\lib\adf-transactions-dt.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.model_11.1.1\adfdt_common.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.model_11.1.1\db-ca.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.model_11.1.1\jdev-cm.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.model_11.1.1\bc4j-mbeans.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.model_11.1.1\bc4jwizard.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.nlsrtl_11.1.0\orai18n-collation.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.nlsrtl_11.1.0\orai18n-lcsd.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.nlsrtl_11.1.0\orai18n-mapping.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.nlsrtl_11.1.0\orai18n-servlet.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.nlsrtl_11.1.0\orai18n-translation.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.nlsrtl_11.1.0\orai18n-utility.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.nlsrtl_11.1.0\orai18n.jar;F:\Dreamix\Projects\TechnoclassADF\CommonModel\deploy\CommonModelLib.jar;F:\Dreamix\Projects\TechnoclassADF\ModModel\deploy\ModModel.jar;F:\Dreamix\Projects\TechnoclassADF\STModel\deploy\STModel.jar;F:\Dreamix\Projects\TechnoclassADF\OSNModel\classes;F:\Dreamix\Oracle\Middleware12\jdeveloper\BC4J\jlib\bc4jtester.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.model_11.1.1\adfm-debugger.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.adf.model_11.1.1\regexp.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.help_5.0\ohj.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.help_5.0\help-share.jar;F:\Dreamix\Oracle\Middleware12\oracle_common\modules\oracle.help_5.0\oracle_ice.jar;F:\Dreamix\Oracle\Middleware12\jdeveloper\ide\lib\idert.jar;F:\Dreamix\Oracle\Middleware12\jdeveloper\ide\lib\javatools.jar;F:\Dreamix\Oracle\Middleware12\wlserver_10.3\server\lib\weblogic.jar F:\Dreamix\Projects\TechnoclassADF\ViewController\public_html
[5:02:01 PM] Appc compilation endHi all,
I have this problem too, and I know the problem isn't my hardware, because I'm running JDeveloper on a PC with these specs: Win 7 64bit, cpu: intel Core i7-3930K, 16G RAM, SSD Hard.
Also all JDK that I'm using are 64bit, But when my project got bigger, I have these problem too. I can't count on my project RUN TIME, because of hanging JAVAW.exe !
Sometime it passes quickly as a flash, but sometime it takes more than an hour (maybe more!) with same project!
As "a.gruev" mentioned, it's NOT for Compiling Time, and NOT for Weblogic Start Time, it's just JAVAW that takes a long time!
I couldn't find any solution on the net, but I've checked the JAVAW.EXE and I've realized after more than 5 min it doesn't do anything special(!) and just waits, waits, and waits!!
So, I've found a solution incidentally, but I don't know if it's a good solution or not, but it works for me. Every time JDeveloper takes more than 5 min by JAVAW, I'll open "Resource Monitor" in Win 7, and will find javaw.exe in cpu list.
After that, I'll choose "Analyze Wait Chain" via Context Menu on Javaw.exe, and it'll popup a panel that shows two chained thread of javaw.exe. Finally, I'll select Sub-Thread and will order to end process of Sub-Thread, and at last waiting problem will be solved! And JDeveloper will do next step (Weblogic starting commands).
It's working for me, and I hope helps other person who have my problem too. -
Excel ADODB Sql Query Execution taking hours when manipulate excel tables
Hello All
I have 28000 records with 8 column in an sheet. When I convert the sheet into ADODB database and copy to new
excel using below code it is executing in less than a min
Set Tables_conn_obj = New ADODB.Connection
Tables_conn_str = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & Table_Filename & ";Extended Properties=""Excel 12.0;ReadOnly=False;HDR = Yes;IMEX=1"""
Tables_conn_obj.Open Tables_conn_str
First_Temp_sqlqry = "Select * INTO [Excel 12.0;DATABASE=C:\Prod Validation\Database\Second Acat Table.xlsb].[Sheet1] Table [first - Table$];" Tables_conn_obj.Execute First_Temp_sqlqry
But when I change the query to manipulate one column in current table based on another table in the same excel
and try to copy the results in another excel, it is taking more than one hour.. why it is taking this much time when both the query results returns the same number of rows and column. I almost spend one week and still not able to resolve this issue.
Even I tried copyfromrecordset, getrows(), getstring(), Looping each recordset fields options all of them taking
same amount of time. Why there is huge difference in execution time.
Important note: Without into statement even below query is executing in few seconds.
select ( ''''''manipulating first column based on other table data''''''''''''''
iif(
[Second - Table$].[Policy Agent] = (select max([ACAT$].[new_Agent_number]) from [ACAT$] where [ACAT$].[new_Agent_number] = [Second - Table$].[Policy Agent] and [ACAT$].[ACAT_EffectiveDate] = ( select MAX([ACAT$].[ACAT_EffectiveDate] ) from [ACAT$] where [ACAT$].[new_Agent_number] = [Second - Table$].[Policy Agent]and [ACAT$].[ACAT_EffectiveDate] > '2014-10-01') ) , (select max([ACAT$].[Old_Agent_number]) from [ACAT$] where [ACAT$].[new_Agent_number] = [Second - Table$].[Policy Agent] and [ACAT$].[ACAT_EffectiveDate] = ( select MAX([ACAT$].[ACAT_EffectiveDate] ) from [ACAT$] where [ACAT$].[new_Agent_number] = [Second - Table$].[Policy Agent]and [ACAT$].[ACAT_EffectiveDate] > '2014-10-01')) ,
iif( [Second - Table$].[Policy Agent] = (select max([ACAT$].[Old_Agent_number]) from [ACAT$] where [ACAT$].[Old_Agent_number] = [Second - Table$].[Policy Agent] and [ACAT$].[ACAT_EffectiveDate] = ( select MAX([ACAT$].[ACAT_EffectiveDate] ) from [ACAT$]where [ACA T$].[Old_Agent_number] = [Second - Table$].[Policy Agent]and [ACAT$].[ACAT_EffectiveDate] <= '2014-10-01') ), (select max([ACAT$].[new_Agent_number]) from [ACAT$] where [ACAT$].[Old_Agent_number] = [Second - Table$].[Policy Agent] and [ACAT$].[ACAT_EffectiveDate] = ( select MAX([ACAT$].[ACAT_EffectiveDate] ) from [ACAT$] where [ACAT$].[Old_Agent_number] = [Second - Table$].[Policy Agent]and [ACAT$].[ACAT_EffectiveDate] <= '2014-10-01')) ,
[Second - Table$].[Policy Agent] ))) as [Policy Agent],
''''''summing up all other columns''''''''''''''
(iif(isnull(sum([Second - Table$].[Auto BW-Line Of Business Detail])),0,sum([Second - Table$].[Auto BW-Line Of Business Detail]))) as [Auto BW-Line Of Business Detail],(iif(isnull(sum([Second - Table$].[Auto Farmers])),0,sum([Second - Table$].[Auto Farmers]))) as [Auto Farmers],(iif(isnull(sum([Second - Table$].[MCA])),0,sum([Second - Table$].[MCA]))) as [MCA],(iif(isnull(sum([Second - Table$].[CEA])),0,sum([Second - Table$].[CEA]))) as [CEA],(iif(isnull(sum([Second - Table$].[Commercial P&C])),0,sum([Second - Table$].[Commercial P&C]))) as [Commercial P&C],(iif(isnull(sum([Second - Table$].[Comm WC])),0,sum([Second - Table$].[Comm WC]))) as [Comm WC],(iif(isnull(sum([Second - Table$].[Fire Farmers])),0,sum([Second - Table$].[Fire Farmers]))) as [Fire Farmers],(iif(isnull(sum([Second - Table$].[Flood])),0,sum([Second - Table$].[Flood]))) as [Flood],(iif(isnull(sum([Second - Table$].[Kraft Lake])),0,sum([Second - Table$].[Kraft Lake]))) as [Kraft Lake],(iif(isnull(sum([Second - Table$].[Life])),0,sum([Second - Table$].[Life]))) as [Life],(iif(isnull(sum([Second - Table$].[Foremost])),0,sum([Second - Table$].[Foremost]))) as [Foremost],(iif(isnull(sum([Second - Table$].[Umbrella])),0,sum([Second - Table$].[Umbrella]))) as [Umbrella],(iif(isnull(sum([Second - Table$].[MCNA])),0,sum([Second - Table$].[MCNA]))) as [MCNA]
INTO [Excel 12.0;DATABASE=C:\Prod Validation\Database\Second Acat Table.xlsb].[Sheet1]
from [Second - Table$] group by [Second - Table$].[Policy Agent] ;Hi Fei,
Thank you so much for the reply post. I just executed the same above SQL without INTO Statement and assigned the SQL result to ADODB recordset as below. If the time difference is due to the SQL query then below statements also should execute for hours
right, but it gets executed in seconds. But to copy the recordset to excel again it is taking hours. I tried copyfromrecordset,
getrows(), getstring(), Looping each recordset fields options and all of them taking same amount of time. Please let me know there is delay in time for this much small data
Even I tried to typecast all columns to double, string in SQL and still the execution time is not reduced.
First_Temp_Recordset.Open sql_qry, Tables_conn_obj, adOpenStatic, adLockOptimistic ''' OR SET First_Temp_Recordset = Tables_conn_obj.Execute sql_qry -
Excel ADODB Sql Query Execution taking hours when manipulate excel tables why?
I have 28000 records with 8 column in an sheet. When I convert the sheet into ADODB database and copy to new excel using below code it is executing in less than a min
Set Tables_conn_obj = New ADODB.Connection Tables_conn_str = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & Table_Filename & ";Extended Properties=""Excel 12.0;ReadOnly=False;HDR = Yes;IMEX=1""" Tables_conn_obj.Open
Tables_conn_str First_Temp_sqlqry = "Select * INTO [Excel 12.0;DATABASE=C:\Prod Validation\Database\Second Acat Table.xlsb].[Sheet1] Table [first - Table$];" Tables_conn_obj.Execute First_Temp_sqlqry
But when I change the query to manipulate one column in current table based on another table in the same excel and try to copy the results in another excel, it is taking more than one hour.. why it is taking this much time when both the query results returns
the same number of rows and column. I almost spend one week and still not able to resolve this issue.
Even I tried copyfromrecordset, getrows(), getstring(), Looping each recordset fields options all of them taking same amount of time. Appreciate any inputs...
select ( ''''''manipulating first column based on other table data''''''''''''''
iif( [Second - Table$].[Policy Agent] = (select max([ACAT$].[new_Agent_number]) from [ACAT$] where [ACAT$].[new_Agent_number] = [Second - Table$].[Policy Agent] and [ACAT$].[ACAT_EffectiveDate] = ( select MAX([ACAT$].[ACAT_EffectiveDate] ) from [ACAT$] where
[ACAT$].[new_Agent_number] = [Second - Table$].[Policy Agent]and [ACAT$].[ACAT_EffectiveDate] > '2014-10-01') ) , (select max([ACAT$].[Old_Agent_number]) from [ACAT$] where [ACAT$].[new_Agent_number] = [Second - Table$].[Policy Agent] and [ACAT$].[ACAT_EffectiveDate]
= ( select MAX([ACAT$].[ACAT_EffectiveDate] ) from [ACAT$] where [ACAT$].[new_Agent_number] = [Second - Table$].[Policy Agent]and [ACAT$].[ACAT_EffectiveDate] > '2014-10-01')) ,
iif( [Second - Table$].[Policy Agent] = (select max([ACAT$].[Old_Agent_number]) from [ACAT$] where [ACAT$].[Old_Agent_number] = [Second - Table$].[Policy Agent] and [ACAT$].[ACAT_EffectiveDate] = ( select MAX([ACAT$].[ACAT_EffectiveDate] ) from [ACAT$]where
[ACA T$].[Old_Agent_number] = [Second - Table$].[Policy Agent]and [ACAT$].[ACAT_EffectiveDate] <= '2014-10-01') ), (select max([ACAT$].[new_Agent_number]) from [ACAT$] where [ACAT$].[Old_Agent_number] = [Second - Table$].[Policy Agent] and [ACAT$].[ACAT_EffectiveDate]
= ( select MAX([ACAT$].[ACAT_EffectiveDate] ) from [ACAT$] where [ACAT$].[Old_Agent_number] = [Second - Table$].[Policy Agent]and [ACAT$].[ACAT_EffectiveDate] <= '2014-10-01')) ,
[Second - Table$].[Policy Agent] ))) as [Policy Agent],
''''''summing up all other columns''''''''''''''
(iif(isnull(sum([Second - Table$].[Auto BW-Line Of Business Detail])),0,sum([Second - Table$].[Auto BW-Line Of Business Detail]))) as [Auto BW-Line Of Business Detail],(iif(isnull(sum([Second - Table$].[Auto Farmers])),0,sum([Second - Table$].[Auto Farmers])))
as [Auto Farmers],(iif(isnull(sum([Second - Table$].[MCA])),0,sum([Second - Table$].[MCA]))) as [MCA],(iif(isnull(sum([Second - Table$].[CEA])),0,sum([Second - Table$].[CEA]))) as [CEA],(iif(isnull(sum([Second - Table$].[Commercial P&C])),0,sum([Second
- Table$].[Commercial P&C]))) as [Commercial P&C],(iif(isnull(sum([Second - Table$].[Comm WC])),0,sum([Second - Table$].[Comm WC]))) as [Comm WC],(iif(isnull(sum([Second - Table$].[Fire Farmers])),0,sum([Second - Table$].[Fire Farmers]))) as [Fire
Farmers],(iif(isnull(sum([Second - Table$].[Flood])),0,sum([Second - Table$].[Flood]))) as [Flood],(iif(isnull(sum([Second - Table$].[Kraft Lake])),0,sum([Second - Table$].[Kraft Lake]))) as [Kraft Lake],(iif(isnull(sum([Second - Table$].[Life])),0,sum([Second
- Table$].[Life]))) as [Life],(iif(isnull(sum([Second - Table$].[Foremost])),0,sum([Second - Table$].[Foremost]))) as [Foremost],(iif(isnull(sum([Second - Table$].[Umbrella])),0,sum([Second - Table$].[Umbrella]))) as [Umbrella],(iif(isnull(sum([Second - Table$].[MCNA])),0,sum([Second
- Table$].[MCNA]))) as [MCNA]
INTO [Excel 12.0;DATABASE=C:\Prod Validation\Database\Second Acat Table.xlsb].[Sheet1]
from [Second - Table$] group by [Second - Table$].[Policy Agent] ;Hi Fei,
Thank you so much for the reply post. I just executed the same above SQL without INTO Statement and assigned the SQL result to ADODB recordset as below. If the time difference is due to the SQL query then below statements also should execute for hours
right, but it gets executed in seconds. But to copy the recordset to excel again it is taking hours. I tried copyfromrecordset,
getrows(), getstring(), Looping each recordset fields options and all of them taking same amount of time. Please let me know there is delay in time for this much small data
Even I tried to typecast all columns to double, string in SQL and still the execution time is not reduced.
First_Temp_Recordset.Open sql_qry, Tables_conn_obj, adOpenStatic, adLockOptimistic ''' OR SET First_Temp_Recordset = Tables_conn_obj.Execute sql_qry -
Improving Java Regular Expression Compile Time
Hi,
Just wondering if anyone here knows how can i improve the compile time of Java Regular Expression?
The following is fragment of my code which I tired to see the running time.
Calendar rightNow = Calendar.getInstance();
System.out.println("Compile Pattern");
startCompileTime = rightNow.getTimeInMillis();
Pattern p = Pattern.compile(reg, Pattern.CASE_INSENSITIVE);
rightNow = Calendar.getInstance();
endCompileTime = rightNow.getTimeInMillis();
Below is fragment of my regular expression:
(?:tell|state|say|narrate|recount|spin|recite|order|enjoin|assure|ascertain|demonstrate|evidence|distinguish|separate|differentiate|secern|secernate|severalize|tell apart) me (?:about|abou|asti|approximately|close to|just about|some|roughly|more or less|around|or so|almost|most|all but|nearly|near|nigh|virtually|well-nigh) java
My regular expression is a very long one and the Pattern.compile just take too long. The worst case that I experience is 2949342 milliseconds.
Any idea how can I optimise my regular expression so that the compilation time is acceptable.
Thanks in advanceMy regular expression is a very long one and the
Pattern.compile just take too long. The worst case
that I experience is 2949342 milliseconds.Wow, that's pretty pathological. I was going to tell you that you were measuring something wrong, because I had written a test program that could compile a 1 Mb "or" pattern (10,000 words, 100 bytes per) in under 200 ms ... but then I noticed that your patterns have two "or" components, so reran my test, and got over 14 seconds to run with a smaller pattern.
My guess is that the RE compiler, rather than decomposing the RE into a tree, is taking the naive approach of translating it into a state machine, and replicating the second component for each path through the first component.
If you can create a simple hand-rolled parser, that may be your best option. However, it appears that your substrings aren't easily tokenized (some include spaces), so your best bet is to break the regexes into pieces at the "or" constructs, and use Pattern.split() to apply each piece sequentially.
import java.util.Random;
import java.util.regex.Pattern;
public class RegexTest
public static void main(String[] argv) throws Exception
long initial = System.currentTimeMillis();
String[] words = generateWords(10000);
// String patStr = buildRePortion(words);
// String patStr = buildRePortion(words) + " xxx ";
String patStr = buildRePortion(words) + " xxx " + buildRePortion(words);
long startCompile = System.currentTimeMillis();
Pattern pattern = Pattern.compile(patStr, Pattern.CASE_INSENSITIVE);
long finishCompile = System.currentTimeMillis();
System.out.println("Number of components = " + words.length);
System.out.println("ms to create pattern = " + (startCompile - initial));
System.out.println("ms to compile = " + (finishCompile - startCompile));
private final static String[] generateWords(int numWords)
String[] results = new String[numWords];
Random rnd = new Random();
for (int ii = 0 ; ii < numWords ; ii++)
char[] word = new char[20];
for (int zz = 0 ; zz < word.length ; zz++)
word[zz] = (char)(65 + rnd.nextInt(26));
results[ii] = new String(word);
return results;
private static String buildRePortion(String[] words)
StringBuffer sb = new StringBuffer("(?:");
for (int ii = 0 ; ii < words.length ; ii++)
sb.append(ii > 0 ? "|" : "")
.append(words[ii]);
sb.append(")");
return sb.toString();
}
Maybe you are looking for
-
My firefox stops responding and fades for about a half min almost every hour, OR MORE often
My firefox stops responding and fades for about a half min almost every hour, OR MORE often. I am typing a message or information, the screen fades to about half bright. the curser freezes in place and no key responds. The information bar at the top
-
IPAD sees the network; but,will not connect
trying to determine if he IPAD is broken
-
Making built-in iSight an external
I have a white InteliMac with built in iSight that has died. Is it possible to pull the iSight camera out of it and connect it via 4pin firewire cable to be an external? I have the iMac opened (stole other parts to fix other computers) and was curiou
-
Are there binary kernels without SMP available or should I build it from source?
-
Process Chain to do nothing if file does not exist in the application serve
Hi All, We have a process chain that flows to different data targets daily if files delivered in the application server. Process chain does works fine. But my question is do we have anyway to stop the process chain or do not run process chain if it