Schedule the Execution of Query
Hi,
I want to schedule the excution of Query in BI7 periodcally like weekly or monthly.
I dont want to use Broadcasting or Reporting Agent.
Is there any way..
please help...
Hi,
What is the purpose and where do you want to store the information(out put of the query).
Regards
PV
Similar Messages
-
Error message "Error when scheduling the query(JOB_CLOSE)".
Hi all,
While using query extractor (rscrm_bapi) I am getting error message "Error when scheduling the query(JOB_CLOSE)".
Could you please find what this error is?
Thanks,
Uday.Hi Uday,
This problem can occur if you changed the query definition.
In this case the query definition would be inconsistent with the existing extract structure.
Certain Meta information is maintained with each extract defined using the RSCRM_BAPI. If the definition of the query is changed and you need to use the same extract table then you need to delete the extract using the report RSCRMBW_DEL_ALL_EXTRACTS selecting the extract you want
to delete.
After this you could use the same table name for any further extract that you need to create.
One caution is that the extract table should not be deleted through any other transaction before you run the report.
Rgds,
Colum -
BI Publisher: Issue while scheduling the report/query to be executed daily
Hi,
We are using Oracle Business Intelligence 11.1.1.6.3 and while we schedule a report(RTF Template) we are facing issue.We use bursting query and when we select option to execute immediately it runs fine and sends notifications,it also executes when we schedule it to run Once but fails when i schedule the report to be executed DAILY .hii
The query does not includes any RKF, CKF any complex calculations. as I said before also query is based on MP which is designed on a single Cube. There are no such navigational Attributes used for selection, Number of records are not more than 300 on that particular selection parameter
there is only one info object which is creating issue & it is a master info object. If i am restricting this info object in the query & then executes the query , it gives the error msg also i put a variable for input parameter, & there I restrict the value, then also query executes with an error msg
But if query is not restricted with any value for that info object then query executes with in a second.
Thanks
neha -
RWI 00200 Error while scheduling the Bex Query based Webi report
Dear All,
I am facing the below error while scheduling the Bex Query based Webi report.
Error:RWI 00200
We are using BO XI 4.0 Sp05.
Please adviseHi,
I am on BO 4.0 SP05 Patch 6. Webi reports are just showing processing but not giving results. When I try to create new report it is throwing java security error.
Tried applet patch upgrade(From link : https://websmp207.sap-ag.de/~sapidb/011000358700000902752013E) for webi certificate but didn't help.
Please suggest what could be done.
Thanks and Regards,
Ankit Sharma -
How to capture the execution plan for a query
HI All,
Can anyone please help me in finding out the command to capture the execution plan for a query.
Execution plan for select * from EMP where <Condtions>
it is getting executed successfully but i need to get the proper execution plan for the same.
Thanks971830 wrote:
i want to know where execution plan gets generated??
in PMON of server process or in shared pool??
i know that optimixer create execution plan..It is stored in Library Cache (present inside Shared Pool ).
select * from v$sql_plan;An absolute beautiful white paper :
Refer this -- www.sagelogix.com/sagelogix/SearchResults/SAGE015052
Also -- http://www.toadworld.com/KNOWLEDGE/KnowledgeXpertforOracle/tabid/648/TopicID/XPVSP/Default.aspx
HTH
Ranit B. -
Tool to find the execution plan of a SQL query
Hi,
I new to Oracle. I come from the SQL Server world.
I would like to know what tool(s) should I use to identify the execution plan for a SQL statement and to see if a query is missing indices.
Thanks,
PaulUse SQL*PLUS.
SQL> select dummy from dual;
D
X
SQL> set autotrace on explain
SQL> r
1* select dummy from dual
D
X
Execution Plan
0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=2 Card=1 Bytes=2)
1 0 TABLE ACCESS (FULL) OF 'DUAL' (TABLE) (Cost=2 Card=1 Bytes
=2)
SQL> set autot off
SQL> explain plan for select dummy from dual;
Explained.
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 1157671242
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 2 | 2 (0)| 00:00:01 |
| 1 | TABLE ACCESS FULL| DUAL | 1 | 2 | 2 (0)| 00:00:01 |
8 rows selected.
SQL> disconnect
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining options
SQL> -
Reduce the execution time for the below query
Hi,
Please help me to reduce the execution time on the following query .. if any tuning is possible.
I have a table A with the columns :
ID , ORG_LINEAGE , INCLUDE_IND ( -- the org lineage is a string of ID's. If ID 5 reports to 4 and 4 to 1 .. the lineage for 5 will be stored as the string -1-4-5)
Below is the query ..
select ID
from A a
where INCLUDE_IND = '1' and
exists (
select 1
from A b
where b.ID = '5'
and b.ORG_LINEAGE like '%-'||a.ID||'-%'
order by ORG_LINEAGE;
The only constraint on the table A is the primary key on the ID column.
Following will be the execution plan :
Execution Plan
0 SELECT STATEMENT Optimizer=CHOOSE (Cost=406 Card=379 Bytes=2
653)
1 0 SORT (ORDER BY) (Cost=27 Card=379 Bytes=2653)
2 1 FILTER
3 2 TABLE ACCESS (FULL) OF 'A' (Cost=24 Card
=379 Bytes=2653)
4 2 TABLE ACCESS (BY INDEX ROWID) OF 'A' (Co
st=1 Card=1 Bytes=6)
5 4 INDEX (RANGE SCAN) OF 'ORG_LINEAGE'
(NON-UNIQUE)I order it by the org_lineage to get the first person. So it is a result problem? The order by doesn't give you the first person, it gives you a sorted result set (of which there may be zero, one, or thousands).
If you only want one row from that, then you're spending a lot of time tuning the wrong query.
How do you know which ORG_LINEAGE row you want?
Maybe it would help if you posted some sample data. -
Inserting into Table-in-Table after re-execution the Outer Table query
Hi Gurus,
I have a problem with inserting into Table-in-Table after re-execution the Outer Table query:
The problem:
I have two tables; both tables are based on VO; tables have a VL between them;
The Inner Table is hidden when page lode.
I'm executing the Outer Table, open the details to see the Inner Table, I can add rows to the Inner Table. Everything is OK.
But-
After I'm executing the Outer Table again –
Adding new rows to the Inner Table is not work anymore, despite I'm executing the Inner Table RowSet query.
Scenario is:
In processRequest():
In the processRequest() I'm calling executeQuery() of the Outer Table Only.
(So the Details executeQuery() will be done by VL and Its works fine.)
In processFormRequest():
User opens the details to see the Inner Table.
On some event, I'm executing the Outer Table query.
On some other event, programmatically I am inserting a new row to the Inner Table, and a new row is displayed in the Inner Table as I wanted.
In this way, one row after another, I can add as many rows as I wish, without any problem.
(This scenario should behave as same clicking on button of type "Add-Another-Row", just adding the row automatically)
The code for the inserting (as specified in the chapter "Classic Tables" --> "table-in-table"):
OARow newRow = (OARow) innerRowSet.createRow();
innerRowSet.insertRow(newRow);
innerRowSet.setRangeSize(innerRowSet.getRangeSize()+ 1);
innerRowSet.executeQuery();
If the user won't cause to re-execution of the outer table – no problem occurs.
* Should I add something after the Outer Table VO execution?
* Maybe to the inserting to the Inner Table code?
Please help…Hi, Thanks.
I don't know which one of the Outer Table rows is the current row,
But-
Only the Details (the Inner Tables) who where opened before the executeQuery() of the Outer table are not acts as they should.
All the Details who where closed before the executeQuery() of the Outer table are still works fine.
Please advise. -
The execution of the query doesn't end
Hi,
I have this completely nested query:
SELECT S.sname from S where
S# in (select S# from table where
P# in (select P# from table1 where table1.name
= 'Bodg')
and
Jn in (select J# from table 2 where table2.something= 'hjgfjh')
but when pressed execute, the execution doesn't stop, in fact it doesn't execute.
Can anybody help me what is the problem please?
ThanksThis is a C# forum. Do you have some problem with C# code?
You may be better off in an SQL forum. But I suggest that you decide if the query doesn't execute or executes forever. The two problems you have cited are exact opposites of each other.
If the code doesn't execute then you need to explain what 'pressed execute' means and show us the associated code.
If the code doesn't stop then you should double check if it just runs for a long time. How big are the tables, what indexes are defined, why don't you use a join are the kinds of questions that will be asked in an SQL forum.
Paul Linton -
How to get the execution time of a query
Hi,
Environment: 10.2.0.4.0
Just wondering how I can get the query execution time? I am not interested in the query output nor do I want the statistics, just the execution time?
Any suggestions will be appreciated
Thanks in advance
rogers42If you're using SQL*Plus
SQL> set autotrace traceonly
SQL> set timing on
SQL> <<your query here>>SQL*Plus will fetch all the data and then report the query plan, execution statistics, and elapsed time. It will not display the actual data.
SET TIMING ON alone tells SQL*Plus to display the execution time of each SQL statement-- the problem is that it also displays all the data which can skew the results because you're including the time required by SQL*Plus to pipe a bunch of data to the screen.
Justin -
How to find the execution time of a query?
hi guys,
i need to find the execution time of a query.
i tried finding it in rsrt but couldn find the execution time.
pleasse let me know the way to do it..
regards
sagarHi sagar,
If you want to know the frontend time, first of all you need to maitain the BW Statistics. To maintain you have to go the respective target and click on it. Go to the tools, select BW Statistics of infoprovider. It pop ups a window there you find two check boxes 1) WHM and 2) Front end time. Check both.
Now Exe query and close the analyzer. Then go to SE11 table RSDDSTAT. There is one field which displays Frentend time.
OR
Go to STO3 here also you can analys the frontend time.
If you feel useful Assign Pts.
Regards,
Vishal -
Statistic of the executions of the Query
Hi people,
I have to find out how many time my query was executed.
I know there is a table: RSDDSTAT, but it shows me only one register and this query was already executed many times.
Obs.: This query is based on ODS.
Could you help me please and say why the RSDDSTAT doesn´t show me a quantity of registers we waited to find?
And if there is other better way to find that?
Thank you a lot,
Rosana.1.Goto ST03N
2.Select user mode as "Expert"
3.From Functions list (upper left pane) select "BW System Load" and under month selection, select your time duration
4.From the analysis view (down left pane) from the "Reporting" expand "Query Runtimes" and double click "BEx Queries".
5.Output is shown in right pane.
6.Select aggregation level as query.
7.Double click on the query name
8.A window popup with every run of the query.
9.To find out, how many times it has run, click on "Display Graphics" button. It will show with no of runs as X-axis
OR
if you are working with BW 3.5 you can look in table RSDDSTAT in BI 7.0 it is RSDDSTAT_OLAP.
Make a selction on the infocube and the OLAP Statistic Object which is the query ID/tech name and execute. Then you should see how often the query was executed, by whom and which date/time. -
Hi!
After integrating and configuring Siebel Marketing 8 with OBIEE 10g, I can now create segments using OBIEE metadata.
But how can I schedule the Segment execution, in order to load S_CAMP_CON at a schedule date/time, so it does not load it during the day, when the system is heavily used?
thanks.
FPGHi,
Have you selected any query saved under the Category defined by you? The Schedule will be greyed out till the time the saved query from the category is not highlighted.
Check whether you can schedule the query to be run to the defined parameter in the Schedule : Report Execution.
Kind Regards,
Jitin
SAP Business One Forum Team -
Execution of query......?
Hello
Lets assume that I have a query that i want to execute every day evening 5'O clock.
How would i schedule this execution in the reporting?
Please let me know the solution for this
Iam waiting for your inputs
thanks & regards
dj reddyfind more info in the following links:
http://help.sap.com/saphelp_nw04/helpdata/en/28/734d3caa70ea6fe10000000a114084/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/2.0/2.0b reporting agent incl. precalculating web templates.pdf -
No rows are loaded after the execution
Which product and version are you using?
ans client 9.2.0.2.8 and db 9.2.0.4
- On which platform and version is it installed?
windows 2000
- Is this part of Oracle Applications (i.e. Financials, Inventory, etc.)?
its part of 9ids. I installed data warehouse in saperate home
- Has this ever worked correctly? If yes, what has changed?
No. This is my first project and we are evaluating oracle over other warehouse
product.
All is working except the rows are not loaded. Mapping is validated correctly. Deployed successfully, executed successfully from the deployment manager but 0
rows are loaded. You get a small pop up window after execute of a mapping. Log message
at the end of the execute shows insert 0, update 0, delete 0 and merged 0.
The mapping consists of two table operators. One from source table from differenct schema and one for target. There is nothing so complicated here. All I want is
to copy the data from source to target table through warehouse. My question really what do I need to insert the record? Once the mapping is defined, deployed and executed should not the rows be loaded?
Everything else is working. Like creation of target tables and so on.
The source operator properties are bound_name-eqpthist_qtr, primary source-no loading type-Insert.
The target has bouondname-test, primary source-no, loading type delete/insert.after the execution there errors whatsoever. It executes with out any error.
Its working when I replace the source table with one from the target schema itself. I mean a copied table to target using slqplus. I uses any tables under its schema itself then all the rows are inserted. Its not working when copying/referencing from another source schema. THe target user is given select any table, all object privileges of the source table, even dba role. Still no rows are loaded.
the target has DBA,CONNECT,RESOURCE,AQ_USER_ROLE, WB_A_VLSIOWRUN, WB_D_VLSIOWRUN, WB_R_VLSIOWRUN, WB_U_VLSIOWRUN, SELECT_CATALOG_ROLE.
The target has system privs as
CREATE VIEW
CREATE TABLE
ALTER SESSION
CREATE SESSION
CREATE SYNONYM
CREATE TRIGGER
CREATE ANY TYPE
CREATE SEQUENCE
CREATE SNAPSHOT
CREATE DIMENSION
CREATE INDEXTYPE
CREATE PROCEDURE
SELECT ANY TABLE
DROP ANY DIRECTORY
DROP PUBLIC SYNONYM
CREATE ANY DIRECTORY
CREATE DATABASE LINK
GLOBAL QUERY REWRITE
UNLIMITED TABLESPACE
CREATE PUBLIC SYNONYM
SELECT ANY DICTIONARY
CREATE PUBLIC DATABASE LINK
and the following privs on the source table as well
SELECT
ALTER
DELETE
INDEX
INSERT
UPDATE
REFERENCES
ON COMMIT REFRESH
QUERY REWRITE
DEBUG
FLASHBACK
Maybe you are looking for
-
How to get back to regular arrange view after double clicking on a rex file
Hi. How do I get back to the regular arrange view where I can see all of my tracks in the arrange window. I had double clicked on one of the tracks which was a rex file. I wanted to see what the slices looked like. Doing so just brought me to a new a
-
Sun Management Console doesn't support MD5 passwords?
I recently converted all our Sun systems to use MD5 passwords, using the Linux-BSD algorithm. I chose the Linux-BSD algorithm for compatibility reasons. After giving root a new password, now stored in MD5 format, I can no longer log in to the Sun Man
-
Integrating calendar server with messaging server
hi all, i have installed messaging server but am not able to bind messaging server and calendar server together.the calendar server does not start with ./start-cal command.i am attaching the ics.conf file below. !!!! ics.conf Parameter Specification:
-
Error/Scheduled messages in idx5
Hello, I have idoc to mdm scenari, thru XI. The idoc gets successfully posted to XI. In XI, when i monitor sxmb_moni, I see 3 successful messages (one sender, 3 receiver). this is OK. when i monitor, idx5 in XI, I see the 3 messages successful. and 3
-
How to save "Paragraph style" to be default?
Hi. I try to add to my profile Paragraph style, so every time I use this profile, I'll have this style ready to use. but it seems "New document" ignore the styles I added before save.. Is there any way user can apply style on AI as whole, and not per