Xcelsius BICS query execution - Whole query or only defined set
Hello All,
I am wondering about how the BICS exactly works in relation to the query handling while running a dashboard.
Let's say i have a dashboard with a graphic that shows the sales quantities per sales organisation.
In XCELSIUS i will make the query lay-out giving only this row and column.
Now i could have two options for the source query:
1. containing all characteristics from the infocube (let's say 10 chars), all put in the Free Characteristic section.
2. containing only salesorg characteristic and sales quantity.
What is the difference in execution when running the dashboard?
What is extracted from the infocube in both cases? Is all data extracted and later on filtered by the BICS, or do we really only get what i defined in the xcelsius query part.
Did anybody do some testing about this?
Thanks for the replies!
The 'in memory' flag means don't ask the db. If your second part of the VC needs to do an exists (which need to be done using the db) this part isn't executed.
Timo
Similar Messages
-
SEM_MATCH query execution time when a predicate is set as a variable
Hello there,
Our ontology contains 70 million triples (12.5 million asserted triples and 58 million inferred triples). We created a virtual model which includes both asserted and inferred triples).
Our semantic network index configuration is 'PSCM' (index status is valid).
The problem we encounter is when we run a SEM_MATCH query which includes a predicate as a variable, the query ran for 22 seconds. When a similar query is run when the variable is subject or an object or both the time for the SEM_MATCH query execution is 0.2 seconds. Is this reasonable? What do we do wrong?
For example:
1. Predicate as a variable (execution time is 22 seconds):
SELECT a FROM TABLE ( SEM_MATCH
( ' { <http://www.tomproj.com/rep#entity_4> ?a 4 }',
SEM_MODELS( 'TOM_VIRTUAL_MODEL') ,
NULL,
NULL,
NULL,
'ALLOW_DUP=T'));
2. Subject as a variable (execution time is 0.2 seconds):
SELECT a FROM TABLE ( SEM_MATCH
( ' { ?a <http://www.tomproj.com/rep#id> 4 }',
SEM_MODELS( 'TOM_VIRTUAL_MODEL') ,
NULL,
NULL,
NULL,
'ALLOW_DUP=T'));
2. Object as a variable (execution time is 0.2 seconds):
SELECT a FROM TABLE ( SEM_MATCH
( ' { <http://www.tomproj.com/rep/#entity_4> <http://www.tomproj.com/rep#id> a }',
SEM_MODELS( 'TOM_VIRTUAL_MODEL') ,
NULL,
NULL,
NULL,
'ALLOW_DUP=T'));
Cheers,
DoronHi,
So far no lack, None of the solutions are working.
Query execution time didn't change after executing the following:
1. SEM_APIS.DROP_SEM_INDEX('SCP');
2. SEM_APIS.ADD_SEM_INDEX('SCPM');
3. SEM_APIS.ALTER_SEM_INDEX_ON_MODEL('TOM','SCPM','REBUILD');
4. SEM_APIS.ALTER_SEM_INDEX_ON_MODEL('TOM_TF','SCPM','REBUILD');
5. SEM_APIS.ALTER_SEM_INDEX_ON_RULES_INDEX('TOM_RI','SCPM','REBUILD');
My original query (see below) execution time remains 22 secs.
SELECT a FROM TABLE ( SEM_MATCH
( ' { <http://www.tomproj.com/rep#entity_4> ?a 4 }',
SEM_MODELS( 'TOM_VIRTUAL_MODEL') ,
NULL,
NULL,
NULL,
'ALLOW_DUP=T'));
When running the SEM_MATCH on each model ('TOM,'TOM_TF') separately execution time was very fast (~0.007 secs):
1. SELECT a FROM TABLE ( SEM_MATCH
( ' { <http://www.tomproj.com/rep#entity_4> ?a 4 }',
SEM_MODELS( 'TOM') ,
NULL,
NULL,
NULL,
NULL));
2. . SELECT a FROM TABLE ( SEM_MATCH
( ' { <http://www.tomproj.com/rep#entity_4> ?a 4 }',
SEM_MODELS( 'TOM_TF') ,
NULL,
NULL,
NULL,
NULL));
When running the query on both models, execution time was 54 secs:
SELECT a FROM TABLE ( SEM_MATCH
( ' { <http://www.tomproj.com/rep#entity_4> ?a 4 }',
SEM_MODELS( 'TOM','TOM_TF') ,
NULL,
NULL,
NULL,
NULL));
We also run the original query via the Jena Adaptor using Java language and SPARQL, but the results were similar.
As for using parallel parameter in SEM_APIS.ALTER_SEM_INDEX…, since we are using Oracle 11g release 1 the SEM_APIS.ALTER_SEM_INDEX doesn’t support the parallel parameter as far as we know.
In Oracle 11g release 2 the SEM_APIS.ALTER_SEM_INDEX was extended to support the use of 'parallel' parameter.
Any ideas on what do we do wrong?
Cheers,
Doron -
SQL query execution in DB02 hangs if record set is more than 50000
Hi,
We are facing issue in a report performance. The return is using native SQL query.
There are custom views created ar database level for pricing/maetrial and stock. The native sql query is written on these views. The report takes around 15 mins to run in background .
We are trying to analyse the native SQL query through DB02. I tried fetching records for one particular
custom view to make out if its indexing issue or something else.When i using TOP 35000 records with select query runs fine with this dataset or less than this . If i increase it to 40000 system doesn;t show anything in SQL ouptut. And above one lakh records system gives timeout.
The count in this view gives some 10 lakh records which I don't feel is v.v.huge that query that too native sql takes so much time.
Any help on this will be highly appreciated.
Regards
Madhuwhat do you expect from that poor information.
do you change data or onyl select.
If you use SAP and ABAP, then you should also use Open SQL.
Otherwise it is possible to run the SQL Trace with Native SQL, it is anyway only Native SQL, what the trace sees.
Use package size and it will probably work fine.
Siegfried -
Error in query execution from Query designer
Hi,
We have recently installed the BI 7 server, when i execute the query from query designer i got the following URL:
http:///irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=TEST_REP&VARIABLE_SCREEN=X&DUMMY=2
due to that page is not displayed, i guess there is some sort of hostname setting need to be done.
Can anybody please guide me where all these settings are done, help required urgently ?
Thanks in advanceHello Dipika
May be you have not included host string in logon pad.
1. Open SAP log on pad
2. Select the system and go to change mode
3. you have IP defined for the system, here you need to put host string name which u can get from C:\WINDOWS\system32\drivers\etc file for your SAP system in your system.
4. Save and exit.and run query again
Thanks
Tripple k -
Selection of Filter Values for Query Execution -Only Values in InfoProvider
I created a query based on an ODS. For the query charateristic 0NFCAT_CODE a variable was created by me. To the time of query execution F4 shows all values available in the charateristic, but only values available in the ODS are expected.
The characteristic 0NFCAT_CODE is a reference characteristic to 0CAT_CODE. 0NFCAT_CODE is compounded with 0NFCAT_TYPE (reference to 0CAT_TYPE) and 0NFCAT_GRP (reference to 0CAT_GRP). All characteristics 0CAT_CODE, 0CAT_TYPE and 0CAT_GRP are set to Query Def. Filter Value Selection = Only Values in InfoProv and Query Execution Filter Val. Selectn = Only Values in InfoProvider.
Could anybody give me a help? Thanks in advance.Hi,
that is master data of 0NFCAT_CODE.
Regards,
San! -
Dear SCN,
I am new to BOBJ Environment. I have created a webi report on top of bex query by using BISC connection. Bex query is build for Vendor Ageing Analysis. My bex query will take very less time to execute the report (max 1 min). But in case of webi is takeing around 5 min when i click on refresh. I have not used any conditions,filters,restrictions are done at webi level all are done at bex level only.
Please let me know techniques to optimize the query execution time in webi. Currently we are in BO 4.0.
Regards,
PRKHi Praveen
Go through this document for performance optimization using BICS connection
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0e3c552-e419-3010-1298-b32e6210b58d?QuickLink=index&… -
I am new to SSRS and I am trying to migrate reports from 2008 to 2012. As I have so many reports to migrate, I simply got the back up of ReportServer,
ReportServerTempDB, and Encryption Key and restored them to test environment. I made necessary configuration from RS configuration tool. I am able to see the reports now when I browse //hostname/reports. But when I open any particular report I am getting some
error.
· An error has occurred during report processing.
(rsProcessingAborted)
Query execution failed for dataset 'dataSet'.
(rsErrorExecutingCommand
Semantic query execution failed. Invalid object name
'RPT. ******'. (rsSemanticQueryEngineError)
****** - I am assuming this is a custom data class.
Does anyone have insight on this? or any better way that I can migrate the reports to new server with less efforts.
I don’t have the reports solution file to deploy the reports, so I have followed backup and restore process.Hi Kishore237,
According to your description, you migrated some reports from Reporting Services (SSRS) 2008 to 2012. Now you get error when accessing the reports on SSRS 2012. Right?
In this scenario, did you modify the report data source in database after migration? You can try to open the report in Report Builder or Report designer and check the report dataset. If you can preview the report in Report builder or Report designer,
please try to redeploy the report to Report Server. If it is still not working, please try to restore the database from backup. And for migrating reports, please follow the "Content-Only Migration" in the link below:
http://msdn.microsoft.com/en-us/library/ms143724(v=sql.110).aspx
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
Unable to select the filter value after query execution
hi,
I am unable to drill down my keyfigures.
1.i have a lC and GC values out of which GC is hidden so after the query execution i would like to filter my value between GC and LC but i do get only LC value in the filter and i do not get GC value to select .
Could any one tell me how this can be done.this is very urgent.
Thx
Subharesolved on my own,so i am closing this.
Thx
Subha -
Asset query execution performance after upgrade from 4.6C to ECC 6.0+EHP4
Hi,guys
I am encounted a weird problems about asset query execution performance after upgrade to ECC 6.0.
Our client had migrated sap system from 4.6c to ECC 6.0. We test all transaction code and related stand report and query.
Everything is working normally except this asset depreciation query report. It is created based on ANLP, ANLZ, ANLA, ANLB, ANLC table; there is also some ABAP code for additional field.
This report execution costed about 6 minutes in 4.6C system; however it will take 25 minutes in ECC 6.0 with same selection parameter.
At first, I am trying to find some difference in table index ,structure between 4.6c and ECC 6.0,but there is no difference about it.
i am wondering why the other query reports is running normally but only this report running with too long time execution dump messages even though we do not make any changes for it.
your reply is very appreciated
Regards
BrianThanks for your replies.
I check these notes, unfortunately it is different our situation.
Our situation is all standard asset report and query (sq01) is running normally except this query report.
I executed se30 for this query (SQ01) at both 4.6C and ECC 6.0.
I find there is some difference in select sequence logic even though same query without any changes.
I list there for your reference.
4.6C
AQA0FI==========S2============
Open Cursor ANLP 38,702 39,329,356 = 39,329,356 34.6 AQA0FI==========S2============ DB Opens
Fetch ANLP 292,177 30,378,351 = 30,378,351 26.7 26.7 AQA0FI==========S2============ DB OpenS
Select Single ANLC 15,012 19,965,172 = 19,965,172 17.5 17.5 AQA0FI==========S2============ DB OpenS
Select Single ANLA 13,721 11,754,305 = 11,754,305 10.3 10.3 AQA0FI==========S2============ DB OpenS
Select Single ANLZ 3,753 3,259,308 = 3,259,308 2.9 2.9 AQA0FI==========S2============ DB OpenS
Select Single ANLB 3,753 3,069,119 = 3,069,119 2.7 2.7 AQA0FI==========S2============ DB OpenS
ECC 6.0
Perform FUNKTION_AUSFUEHREN 2 358,620,931 355
Perform COMMAND_QSUB 1 358,620,062 68
Call Func. RSAQ_SUBMIT_QUERY_REPORT 1 358,569,656 88
Program AQIWFI==========S2============ 2 358,558,488 1,350
Select Single ANLA 160,306 75,576,052 = 75,576,052
Open Cursor ANLP 71,136 42,096,314 = 42,096,314
Select Single ANLC 71,134 38,799,393 = 38,799,393
Select Single ANLB 61,888 26,007,721 = 26,007,721
Select Single ANLZ 61,888 24,072,111 = 24,072,111
Fetch ANLP 234,524 13,510,646 = 13,510,646
Close Cursor ANLP 71,136 2,017,654 = 2,017,654
We can see first open cursor ANLP ,fetch ANLP then select ANLC,ANLA,ANLZ,ANLB at 4.C.
But it changed to first select ANLA,and open cursor ANLP,then select ANLC,ANLB,ANLZ,at last fetch ANLP.
Probably,it is the real reason why it is running long time in ECC 6.0.
Is there any changes for query selcection logic(table join function) in ECC 6.0. -
Query Execution/Elapsed Time and Oracle Data Blocks
Hi,
I have created 3 tables with one column only. As an example Table 1 below:
SQL> create table T1 ( x char(2000));
So 3 tables are created in this way i.e. T1,T2 and T3.
T1 = in the default database tablespace of 8k (11g v11.1.0.6.0 - Production) (O.S=Windows).
T2 = I created in a Tablespace with Blocksize 16k.
T3 = I created in a Tablespace with Blocksize 4k. In the same Instance.
Each table has approx. 500 rows (So, table sizes are same in all the cases to test Query execution time ). As these 3 tables are created under different data block sizes so the ALLOCATED no. of data blocks are different in all cases.
T1 = 8k = 256 Blocks = 00:00:04.76 (query execution time/elapsed time)
T2 = 16k=121 Blocks = 00:00:04.64
T3 = 4k = 490 Blocks = 00:00:04.91
Table Access is FULL i.e. I have used select * from table_name; in all 3 cases. No Index nothing.
My Question is why query execution time is nearly the same in all 3 cases because Oracle has to read all the data blocks in each case to fetch the records and there is a much difference in the allocated no. of blocks ???
In 4k block size example, Oracle has to read just 121 blocks and it's taking nearly the same time as it's taking to read 490 blocks???
This is just 1 example of different data blocks. I have around 40 tables in each block size tablespace and the result are nearly the same. It's very strange for me because there is a much difference in the no. of allocated blocks but execution time is almost the same, only difference in milliseconds.
I'll highly appreciate the expert opinions.
Bundle of thanks in advance.
Best Regards,Hi Chris,
No I'm not using separate databases, it's 8k database with non-standard blocksizes of 16k and 4k.
Actually I wanted to test the Elapsed time of these 3 tables, so for that I tried to create the same size
tables.
And how I equalize these is like I have created one column table with char(2000).
555 MB is the figure I wanted to use for these 3 tables ( no special figure, just to make it bigger than the
RAM used for my db at the db startup to be sure of not retrieving the records from cache).
so row size with overhead is 2006 * 290,000 rows = 581740000(bytes) / 1024 = 568105KB / 1024 = 555MB.
Through this math calculation I thought It will be the total table size. So I Created the same no. of rows in 3 blocksizes.
If it's wrong then what a mes because I was calculating tables sizes in the same way from the last few months.
Can you please explain a little how you found out the tables sizes in different block sizes.Though I understood how you
calculated size in MB from these 3 block sizes
T8K =97177 BLOCKS=759MB *( 97177*8 = 777416KB / 1024 = 759MB )*
T16K=41639 BLOCKS=650MB
BT4K=293656 BLOCKS=1147MB
For me it's new to calculate the size of a table. Can you please tell me then how many rows I can create in each of
these 3 tables to make them equal in MB to test for elapsed time.
Then I'll again run my test and put the results here. Because If I've wrongly calculated table sizes then there is no need to talk about elapsed time. First I must equalize the table sizes properly.
SQL> select sum(bytes)/1024/1024 "Size in MB" from dba_segments> 2 where segment_name = 'T16K';
Size in MB
655
Is above SQL is correct to calculate the size or is it the correct alternative way to your method of calculating the size??
I created the same table again with everything same and the result is :
SQL> select num_rows,blocks from user_tables where table_name = 'T16K';NUM_ROWS BLOCKS
290000 41703
64 more blocks are allocated this time so may be that's y it's showing total size of 655 instead of 650.
Thanks alot for your help.
Best Regards,
KAm
Edited by: kam555 on Nov 20, 2009 5:57 PM -
Query Execution Filter Val. Selection take no effect on query based on AG
Hi,
by setting the 'Query Execution Filter Val. Selection' property in query, we can control the value list when we execute the query. with setting 'Only posted value values for navigation', only the data posted to cube can be listed when you do the selection in the Query Execution selection screen and with setting 'values in master data table', all the date will be listed when you do the selection in the Query Execution selection screen.
1. but for queries based on cube or multi-cube, when i select 'values in master data table' in query defination, still only the posted value is displayed when i do the selection in the Query Execution selection screen. is there anyone know why?
2. for queries based on aggregation level, whatever setting i choose, all the values is displayed when i do the selection in the Query Execution selection screen. how i can do select the posted value for this kind of query?
Many Thanks
JonathanI apologize I meant the other link:
I will put the useful text from that link here.
Regarding the query built on aggregation level please note the following
the aggregation level is always a Virtual Provider built other
InfoProvider and hence it does not have the dimension table and hence
the F4 mode D is not supported.
Therefore when aggregation level is used in a query, F4 does not supportD-mode: 'Only Values in InfoProvider' and all master data values are
displayed in the value list.
Reference from the note
984229 F4 modes for input help as of SAP NetWeaver 2004s BI
4. Since other InfoProviders do not have a dimension table, the system
displays only posted values if you select "Only Posted Values for
Navigation". Otherwise, it displays the values from the master data
table.
Hope this should clarify your doubts. Please let me know if you have
questions else please confirm the message at your earliest convenie
Edited by: Abhijit N on Apr 2, 2009 6:06 PM -
Query execution failed for data set
Hi,
We are using SQL 2005 server for generating reports.When we ran the reports it taking so much time after some time it shows this error:---
ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for data set ---> System.Data.SqlClient.SqlException: A severe error occurred on the current command. The results, if any, should be discarded.
Can you help me out.
Thanks,
--AmitMy team is also facing similar problem. The RS trace logs report:
w3wp!processing!13!9/26/2007-15:31:23:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for data set 'msdb'., ;
Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for data set 'msdb'. ---> System.Data.SqlClient.SqlException: A severe error occurred on the current command. The results, if any, should be discarded.
Operation cancelled by user.
In our system, Report Server and Database are on different machines. Report Server access database using a service account who has stored proc execute permissions on database.
Problem comes only if the query execution time exceeds 5 mins. Otherwise the report gets generated successfully.
I suspected this to be some timeout issue. But I have checked that all timeout settings in rs config files are as default.
Any pointers?
Thanks
puns
[email protected] -
Master data taking Long time in Query Execution
hello Experts
I have an issue while executing a query.
The input parameter for the query is the 0customer variable in which when I try to select the value from the tab Select From the List & goes for single value option or any other option then goes for long time loading the values & then come out with a short dump.
I want to know why this is happening.
Please help me out from this.
Thanks in advance
NehaThanks to All
I have checked the info Object - 0Customer.
The following settings are there in Bex Explorer tab ::
Query Def. Filter Value Selection - Values in Master Data Table
Query Execution Filter Val. Selectn - Only Posted Values for navigation
Also the Value for display in the object are only 1000. This takes time only in analyzer not in designer.
What I have to do, plz suggest
Thanks
Neha -
Hi Experts,
I have problem with query execution. It is taking more time to execution.
Query is like this :
SELECT gcc_po.segment1 bc,
gcc_po.segment2 rc,
gcc_po.segment3 dept,
gcc_po.segment4 ACCOUNT,
gcc_po.segment5 product,
gcc_po.segment6 project,
gcc_po.segment7 tbd,
SUBSTR (pv.vendor_name, 1, 50) vendor_name,
pv.vendor_id,
NVL (ph.closed_code, 'OPEN') status,
ph.cancel_flag,
ph.vendor_site_id,
ph.segment1 po_number,
ph.creation_date po_creation_date,
pv.segment1 supplier_number,
pvsa.vendor_site_code,
ph.currency_code po_curr_code,
ph.blanket_total_amount,
NVL (ph.rate, 1) po_rate,
SUM (DECODE (:p_currency,
'FUNCTIONAL', DECODE (:p_func_curr_code,
ph.currency_code, NVL
(pd.amount_billed,
0),
NVL (pd.amount_billed, 0)
* NVL (ph.rate, 1)
NVL (pd.amount_billed, 0)
)) amt_vouchered,
ph.po_header_id poheaderid,
INITCAP (ph.attribute1) po_type,
DECODE (ph.attribute8,
'ARIBA', DECODE (ph.attribute4,
NULL, ph.attribute4,
ppf.full_name
ph.attribute4
) origanator,
ph.attribute8 phv_attribute8,
UPPER (ph.attribute4) phv_attribute4
FROM po_headers ph,
po_vendors pv,
po_vendor_sites pvsa,
po_distributions pd,
gl_code_combinations gcc_po,
per_all_people_f ppf
WHERE ph.segment1 BETWEEN '001002' AND 'IND900714'
AND ph.vendor_id = pv.vendor_id(+)
AND ph.vendor_site_id = pvsa.vendor_site_id
AND ph.po_header_id = pd.po_header_id
AND gcc_po.code_combination_id = pd.code_combination_id
AND pv.vendor_id = pvsa.vendor_id
AND UPPER (ph.attribute4) = ppf.attribute2(+) -- no index on attributes
AND ph.creation_date BETWEEN ppf.effective_start_date(+) AND ppf.effective_end_date(+)
GROUP BY gcc_po.segment1,-- no index on segments
gcc_po.segment2,
gcc_po.segment3,
gcc_po.segment4,
gcc_po.segment5,
gcc_po.segment6,
gcc_po.segment7,
SUBSTR (pv.vendor_name, 1, 50),
pv.vendor_id,
NVL (ph.closed_code, 'OPEN'),
ph.cancel_flag,
ph.vendor_site_id,
ph.segment1,
ph.creation_date,
pvsa.attribute7,
pv.segment1,
pvsa.vendor_site_code,
ph.currency_code,
ph.blanket_total_amount,
NVL (ph.rate, 1),
ph.po_header_id,
INITCAP (ph.attribute1),
DECODE (ph.attribute8,
'ARIBA', DECODE (ph.attribute4,
NULL, ph.attribute4,
ppf.full_name
ph.attribute4
ph.attribute8,
ph.attribute4Here with out SUM funciton and group by function its execution is fast. if i use this Sum function and Group by function it is taking nearly 45 mins.
Explain plan for this:
Operation Object Name Rows Bytes Cost Object Node In/Out PStart PStop
SELECT STATEMENT Optimizer Mode=ALL_ROWS 1 6364
HASH GROUP BY 1 272 6364
NESTED LOOPS OUTER 1 272 6363
NESTED LOOPS 1 232 6360
NESTED LOOPS 1 192 6358
NESTED LOOPS 1 171 6341
HASH JOIN 1 K 100 K 2455
TABLE ACCESS FULL PO_VENDOR_SITES_ALL 1 K 36 K 1683
TABLE ACCESS FULL PO_VENDORS 56 K 3 M 770
TABLE ACCESS BY INDEX ROWID PO_HEADERS_ALL 1 82 53
INDEX RANGE SCAN PO_HEADERS_N1 69 2
TABLE ACCESS BY INDEX ROWID PO_DISTRIBUTIONS_ALL 1 21 17
INDEX RANGE SCAN PO_DISTRIBUTIONS_N3 76 2
TABLE ACCESS BY INDEX ROWID GL_CODE_COMBINATIONS 1 40 2
INDEX UNIQUE SCAN GL_CODE_COMBINATIONS_U1 1 1
TABLE ACCESS BY INDEX ROWID PER_ALL_PEOPLE_F 1 40 3
INDEX RANGE SCAN PER_PEOPLE_F_ATT2 2 1 plz giv me solution for this.....Whihc Hints shall i use in this query.....
thanks in ADV....I have a feeling this will lead us nowhere, but let me try for the last time.
Tuning a query is not about trying out all available index hints, because there must be one that makes the query fly. It is about diagnosing the query. See what it does and see where time is being spent. Only after you know where time is being spent, then you can effectively do something about it (if it is not tuned already).
So please read about explain plan, SQL*Trace and tkprof, and start diagnosing where your problem is.
Regards,
Rob. -
Query execution time estimation....
Hi All,
Is it possible to estimate query execution time using explain plan?
Thanks in advance,
Santosh.The cost estimated by the cost based optimizer is actually representing the time it takes to process the statement expressed in units of the single block read-time. Which means if you know the estimated time a single block read request requires you can translate this into an actual time.
Starting with Oracle 9i this information (the time to perform single block/multi block read requests) is actually available if you gather system statistics.
And this is what 10g actually does, as it shows an estimated TIME in the explain plan output based on these assumptions. Note that 10g by default uses system statistics, even if they are not explicitly gathered. In this case Oracle 10g uses the NOWORKLOAD statistics generated on the fly at instance startup.
Of course the time estimates shown by Oracle 10g may not even be close to the actual execution time as it is only an estimate based on a model and input values (statistics) and therefore might be way off due to several reasons, the same applies in principle to the cost shown.
Regards,
Randolf
Oracle related stuff:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle:
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/
Maybe you are looking for
-
"Mail" doesn't open all of the way up....
First off, i'd like to express my extreme dissapointment with Apple support line. I was on hold for 10 minutes before being asked what the nature of the problem, after stating that my "Mail" program was not working, she asked for my serial number and
-
How can I have my iPad not be linked to my daughter's iPod touch?
My daughter has had her iPod for over a year,I just bought an ipad2 and now I realize that they want to act as one as far as content because they are both linked to my apple id. I set her iPod up on my desktop user account thus my iTunes library,exce
-
N97 can no longer connect to ovi store via wlan??
Hi there since the recent update on the N97 i have not been able to connect to the ovi.store via wlan. before the update i was always asked if i wanted to connect via contract wap of my wireless network. I have gone all through the settings and there
-
Project Status Report - cProjects 4.0
Hi all, I am using cProjects 4.0. After selecting the PDF Print form DPR_STATUS_REPORT_AIF for the project type and marking 'Active' and 'Status' report checkboxes, when I go to create Status reports, I can see the template "Project Status Report". H
-
Enhanced dictation shuts down other audio sources.
enhanced dictation shuts down other audio sources. So I cannot transcribe voice memos or listen to music as I type. this is a 6 y.o. IMac. 4 GB RAM. any idea why?