Inconsistent Run times for the Calcscript
Hello Guys,
I am getting inconsistent run times when I am executing the same Calcscript on EAS DEV server again and again. Please let me know your thoughts.
Thanks
There are a number of factors that can affect this
First. If the first time you had just loaded the database and ran the calc times would vary from when the calculation is against a fully calculated database
Second, Each time you run the calc, you could be creating fragmentation whould would lenghten the calculation
Third, depending on what is going on, you might have cached some blocks from a previous run wich would speed up calculations. To try to get consistant results there are a few things you could do
1. reload the data prior to every test
2. or restructure the Database to remove fragmentation
3. Stop and restart the database between runs to clear the cache
Similar Messages
-
Battery run time for Tungsten E?
What is the total run time for the battery in the Tungsten E assuming the back light is on all the time while playing a song?
Post relates to: Palm IIIWith a brand new T|E in early 2004 I could get about 3 hours of run time in Aeroplayer with screen off.
I doubt you can get anything like that.
It would be simpler and less time consuming for everyone if you had started one thread with ALL your T|E battery questions.
Post relates to: Palm TX -
How to change the view criteria at run time for af:query
Hi,
I've a usecase where I need to change the view criteria of the af:query at run time.
Use case:
=======
1) Consider a check box (Show Emps Under Dept 10) in the query panel when user selects and clicks 'Search' button should show the employees under dept 10. If user searches without selecting the check box, the results should show all the employees in all the departments.
2) I need to have a check box always in the query panel. Its mandatory.
The way I implemented:
==============
1) Created a transient variable 'Show Emps Under Dept 10' in the EmployeeVO and also created a bind variable bind_DeptNo.
2) Create a view criteria 'AllEmployees' which has only the transient attribute as the view criteria item and whose value set to 'false' by default.
3) Created another view criteria 'EmpUnderDept' which has 'DepartmentId' as the view criteria item and whose value set to the bind variable 'bind_DeptNo'.
4) Dropped the view criteria 'EmpUnderDept' as the 'af:query' panel in the jspx page.
5) Overridden the queryListener as '#{EmpBean.empSearch}'
6) Has the below code in the empSearch method as below. When user selects the check box, applying the other criteria 'EmpUnderDept' and setting the bind variable to '10'.
public void empSearch(QueryEvent queryEvent) {
// Add event code here...
QueryDescriptor queryDesc = (QueryDescriptor) queryEvent.getDescriptor();
ConjunctionCriterion conCrit = queryDesc.getConjunctionCriterion();
List<Criterion> criterionList = conCrit.getCriterionList();
List criterionValues = new ArrayList();
Object criteriaValue = null;
int criteriaNo = 0;
DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
FacesContext facesContext = FacesContext.getCurrentInstance();
for (Criterion criterion : criterionList) {
AttributeDescriptor attrDescriptor = ((AttributeCriterion)criterion).getAttribute();
System.out.println("============== attrDescriptor.getName() =================== " + attrDescriptor.getName());
criteriaValue = ((AttributeCriterion)criterion).getValues().get(0);
if(criteriaNo==0) {
Boolean val = (Boolean) ((AttributeCriterion)criterion).getValues().get(0);
if (val.equals(true)) {
OperationBinding method = (OperationBinding) ADFUtil.findOperation("ExecuteWithParams");
if(method!=null) {
Map params = method.getParamsMap();
//params.put(key, value)
method.getParamsMap().put("bind_DeptId", 10L);
method.execute();
ADFUtil.invokeMethodExpression( "#{bindings.EmpUnderDeptCriteiaQuery.processQuery}", queryEvent);
} else {
//ADFUtil.invokeEL("#{bindings.ExecuteWithParams.execute}");
ADFUtil.invokeMethodExpression( "#{bindings.AllEmployeesCriteriaQuery.processQuery}", queryEvent);
But this approach is not working and its always showing all the employees in all the departments.
Please let me know if there is a way to change the view criteria at run time depending on the values set at run time for one of the view criteria items.
JDev version am using is '11.1.1.5'
Thanks,
LakshmanHi Shay,
It worked for me without overriding the executeQuery() method in the ViewImpl.java.
Instead of creating 2 view criteria, I created only one which has both transient variable and the DepartmentId = <bind_DeptId>. With the above code, it worked properly. Now I am using only one view criteria.
Thank you. -
Error message trying to run Parallels for the first time
Hi,
I've got Vista Ultimate installed on my MacBook Pro via Boot Camp. It works great.
I'm using the 15-day Parallels trial, and every time I try and run it for the first time, it gives me the same error.
After trying to run Windows, it says
"Error: 0xc0000225
Windows failed to load because the firmware (BIOS) is not ACPI compatible."
I have no idea what this means. I ran Boot Camp normally and everything seemed to work fine.
Any ideas?Have you read through their documentation and installed the necessary tools?
http://forums.parallels.com/ -
Hi! Need help to run facetime, for the first time.
An error occurs everytime I try, I quit as its says, but not workingHello Vivmex,
It sounds like you are getting the following message, "An internal FaceTime error occurred: There was a problem with FaceTime. You need to quit and open FaceTime again."
This message comes up if you double click on the FaceTime icon on the dock. If you single click the FaceTime icon on the dock, FaceTime should launch normally:
Symptoms
When opening FaceTime from the Dock, the following alert message may appear:
"An internal FaceTime error occurred. There was a problem with FaceTime. You need to quit and open FaceTime again."
Resolution
Click the FaceTime icon in the Dock one time, then wait for the application to finish opening.
Additional Information
This can happen if you attempt to open FaceTime a second time while it is already loading, such as by clicking the FaceTime Dock icon more than once.
You can find the full article here:
OS X: "An internal FaceTime error occurred" alert after clicking Facetime icon in the Dock
http://support.apple.com/kb/TS4457
Thank you for using Apple Support Communities.
Best,
Sheila M. -
Hi All,
I have a requirement, where in i want to know whether my report has run for 8 mins or not. If it has run for 8 mins then i have to give an information message saying that the report is taking more than 8 mins so schedule the program in back ground.
Is this possible ?
Please let me know how to know during run time the time taken by a report.
Regards
Rakesh.Hi Dominic,
The code you mentioned can be put to know what is the time taken by a select statement or the time taken by a particular piece of code. In my program there are several select queries and complex logics.. So i dont think that it is feesible to calculate the run time for each select and then if its increasing 8 mins then to show error !!!!
My report will be called from an external application. If the program is taking much time it will get timed out. So for a precaution we have to tell them that the way you have given the selection screen filter values its going to take more than 8 mins so better schedule a back ground job. -
Validate/madatory in order to avoid long time for the program execution.
Below is my selction screen. I would like to do validations for specific fields to make them mandatory fields as well.
Could you please suggeste me what are the fields that I can validate/madatory in order to avoid long time for the program run.
*Program selections
SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-h01.
SELECT-OPTIONS : o_as4loc FOR v_as4local,
o_ddlang FOR ddlanguage,
o_vkorg FOR vkorg MEMORY ID vko,
o_auart FOR auart MEMORY ID aat,
o_fdnam FOR fdnam,
o_spart FOR spart MEMORY ID spa,
o_vbeln FOR vbeln MEMORY ID aun,
o_posnr FOR posnr,
o_matnr FOR matnr MEMORY ID mat,
o_pltyp FOR pltyp MEMORY ID vpl,
o_j_3ar FOR j_3arqda,
o_kzr00 FOR kbetr, " -ZR00
o_kalsm FOR kalsmasd,
o_kmwst FOR kbetr, " -MWST
o_kbmen FOR kbmeng,
o_land1 FOR land1 MEMORY ID LND
SELECTION-SCREEN : END OF BLOCK b1.
Thanks in advance.Hi,
Make key fields as well as fields on which there in an index in the database table mandatory.
Regards,
Abhijit G. Borkar -
Anyone else having extra long delivery time for the late 2013 macbook pro 15" 2.6ghz 1tb model?
As of today feb 15 i have been waiting for 78 days. Finland doesn't have an official apple store (only authorized resellers) It was my mistake because i should have bought from apple.com. But i think 2.5 months is too long and i have no information about when i can get it..The low-end 15” rMBP with a 8 GB or RAM and a 256 GB SSD costs $2,000.
The low-end 15” rMBP with a 8 GB or RAM and a 512 GB SSD costs $2,300.
With 16 GB of RAM and a 512 GB SSD it costs $2,500.
The high-end 15” rMBP with a 16 GB of RAM and a 512 GB SSD costs $2,600.
All cost $500 dollars more with a 1 TB SSD.
So the SSD size is not a differentiating factor unless you prefer 256 GB.
If you think you need 16 GB of RAM and a 512 GB SSD then you might as well spend the extra $100 for the high-end model.
The high-end model will make a difference on gaming and graphics-oriented applications.
They tend to run other applications at about the same speed.
Both models are rated with 8 hours of battery life.
Benchmarks on PhotoShop comparing memory sizes: https://discussions.apple.com/thread/5659174?tstart=30
The speed was about 10% different between 8 GB and 16 GB models.
On other applications your mileage may vary.
Application benchmarks:
http://www.macworld.com/article/2059215/15-inch-retina-macbook-pro-review-a-tale -of-two-laptops.html
The low-end and high-end performed the about the same on non-graphics oriented applications.
Graphics oriented benchmarks:
On the Cinebench OpenGL benchmark the high-end was about twice as fast.
On the Unigine Heaven Benchmark benchmark they ran at about the same speed.
On the Unigine Valley Benchmark benchmark the high-end was about 1.5x as fast.
Message was edited by: hands4 -
Hello all,
Can you please tell me how can I see the total running time for a query?
What other transactions besides ST03 and RSRT with statistics on?
Points will be assigned
Thanks
RamonaHi........
You can use ST03N -> BW System Load
Depending on the time frame you select, you get historical data or
current data.
To get to a specific query you need to drill down using the InfoCube
name
Use Aggregation Query to get more runtime information about a
single query. Use tab All data to get to the details.
(DB, OLAP, and Frontend time, plus Select/ Transferred records,
plus number of cells and formats)
Also You can get it in RSRT,RSRTQ...
WE07 IDoc statistics
DB20 Update DB Statistics
Regards,
Debjani........
Edited by: Debjani Mukherjee on Sep 25, 2008 2:42 PM -
Run restore for the specific backup
How will u run restore for the specific backup taken on any specific day?
e.g.
set until time 'sysdate-1/24'; how can we run for specific backup?
Also if somebody can guide me to any tutorial?
thank you,
regards,RMAN> list backup;From which you can determine the particular TAG name you want to restore, then:
RMAN> restore database from tag '<specify_tag_name>'; -
Default maximum run time for updates
Is there a way to change the default "Max run time" for each update? In SCCM 2007 the default run time was 20 minutes per update, now it is 5 minutes. I have machines that repeatedly fail to install updates because the max time of 300 seconds was
reached.Hi,
What is the powershell command to change the maximum run time?
Thanks.
probably this:
http://technet.microsoft.com/en-us/library/jj850138(v=sc.20).aspx
Don
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!) -
How to invoke a class at run-time for primitive data types?
Hi,
I am trying to invoke classes at run-time.
I am using Class.forName("className") for that where the "className" is also obtained at run-time .
The problem I am getting is when the "className" is "int" or "char" etc. the call to Class.forName("int") etc. fails giving ClassNotFound error. It works fine for "className" is "java.lang.String" or "java.lang.Integer" etc.
How can I correct this?
thanks in advance-
kgHi,
Thanks all for the valuable inputs.
I have created a hashtable of primitive data types in the form of "int" as key and "Integer.TYPE" as the object in that element of the hashtable.
Now there is another problem I am facing and that is of 'Casting at run-time'.
Problem is there when the Database type is 'NUMBER' which returns me a "java.lang.BigDecimal" when I do a ResultSet.getObject("XXX") for that whereas the method in the javabean expects an "int" type.
This causes "java.lang.IllegalArgumentException: argument type mismatch"
So I want to cast it at runtime. How can I do it?
Here is the code I am trying (which generates the above exception)
public static void setBeanField(Class pCls,Object pObj,String pMethodName ,Object pColumnValue,Class
pColumnTypeClass){
try{
if(pColumnValue!=null){
Class[] paramTypes = new Class[]{pColumnTypeClass};
Object[] args = new Object[]{pColumnValue};
Method meth = pCls.getMethod(pMethodName,paramTypes);
meth.invoke(pObj,args);
}catch(Exception e){
System.out.println("Exception in TestInrospection.setBeanField " + e);
thanks in advance-
kg -
Maximum allowed run time for a task sequence
I found if i left the maximum allowed run time for a task sequence with a defualt value of "0" in configuration manager 2012 r2 cu2,the required task sequence would never run without a maintenance window larger than
12H.
At client side,the servicewindowmanager.log always said this required task sequence had a maximum runtime of 43200 seconds(12h).
servicewindowmanager.log:
OnIsServiceWindowAvailable called with: Runtime:43200, Type:5
Program cannot Run! Setting *canProgramRun to FALSE
There does not exist a Service Window of this Type, for this duration. The Program will not run.
If i set maximum allowed run time to 120 minutes,task sequence would run under a 3h mainenance window.
So if you leave the maximum allowed run time for a task sequence with a value of "0" then client agent will evaluate it as 43200(12h) for a required deployment,is it true? have i missed something?Hi,
That is correct it will default to the same value as a program with a "Unknown" maximum runtime value, Unknown is also evaluated to 0 = 12h so that is correct behaviour.
Regards,
Jörgen
-- My System Center blog ccmexec.com -- Twitter
@ccmexec -
why did i get charged three times for the same purchase? is it because i use my apple id on three devices.. two iphones, and ipad... and and macbook geez apple i support you enough can i just pay for one copy of the audiobook
These are user-to-user forums, you are not talking to Apple here.
If it was an audiobook then they are one-time only downloads, to get it on your other devices you need to sync it to them and not re-download it oneach. You can try contacting iTunes support and see if they will refund or credit you for the second and third downloads : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption -
my folders take forever to open and then the docs within take a long time for the icon to pop up. the same thing with moving itmes from the desktop to a folder, and also emptying the trashh
Don't know if that would be a failing hard drive, but it may be that you are out of available space. How much hard drive space do you have available? Please highlight the Macintosh HD icon and then press Command and I for a get info window. Once open, please copy and post the following:
Capacity:
Used:
Available:
Mac OS requires a minimum of 10 - 15% of total hard drive space available and empty at all times in order to operate properly.
Maybe you are looking for
-
I bought a new HP Pavilion dv6-6005sa 15.6" Laptop - Linen White on 14/06/11 from Currys digital, Arndale Centre, Manchester. The laptop is less than 1 week old. The screen is a frost blue colour from the second I turn it on to the second it is turne
-
Tip: "DV-Recorder" not available when recording to QT-7...
This ought to be obvious, I suppose, but it bit me over the weekend... If you want to capture video from a FireWire-connected camera directly into QuickTime, then other applications may not be using the FireWire camera at the same time. Apparently th
-
I am just kind of worried that it doesn't even fit. Do I need to kind of pop the expanded portion of the battery to get it to fit back in? The case of the battery has come apart and so to fit it back in I would have to press it back together. The bat
-
Cannot view table with spatial advisor
I have loaded a table using SafeFME software. It did not populate SDO_GEOMETRY.SDO_SRID during the conversion from ArcInfo coverage to Oracle8i Spatial SDO_GEOMETRY. Since I could not view the spatial data with the spatial advisor, I ran the VALIDATE
-
How do I transfer pictures from4s iPhone to computer
I would like to transfer my picturs from my phone to my picutre file on my computer how do I go about doing that?