Multiple executions of a query found in the ADDM Report
Hi,
I generated an ADDM Report on my DB for the time when the DB performance was very slow. Below are some lines from it:
RECOMMENDATION 1: SQL Tuning, 15% benefit (28820 seconds)
ACTION: Run SQL Tuning Advisor on the SQL statement with SQL_ID
"725bgkkhqs73v".
RELEVANT OBJECT: SQL statement with SQL_ID 725bgkkhqs73v and
PLAN_HASH 2688602638
select column1,column2 from table1;
ACTION: Investigate the SQL statement with SQL_ID "725bgkkhqs73v" for
possible performance improvements.
RELEVANT OBJECT: SQL statement with SQL_ID 725bgkkhqs73v and
PLAN_HASH 2688602638
select column1, column2 from table1;
RATIONALE: SQL statement with SQL_ID "725bgkkhqs73v" was executed 32 times and had an average elapsed time of 900 seconds.
Can anyone help me out with the reason behind these repeated executions of the SQL query thus resulting in a avg elapsed time of 15 mins. Also, I could see that some queries ran on the DB even for 145,445,335 times, however the total time elapsed for executing these queries was only 0.000048 seconds.
COuld it be because there was exclusive locks on those tables during the times there queries were getting executed or do I need to look at query tuning here? Kindly help.
yeah. posting it here:
select column1,column2 from table1;
Plan hash value: 2688602638
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | | | 4 (100)| |
| 1 | HASH GROUP BY | | 1 | 77 | 4 (25)| 00:00:01 |
| 2 | TABLE ACCESS BY INDEX ROWID| column1 | 1 | 18 | 1 (0)| 00:00:01 |
| 3 | NESTED LOOPS | | 1 | 77 | 3 (0)| 00:00:01 |
| 4 | TABLE ACCESS FULL | column2 | 1 | 59 | 2 (0)| 00:00:01 |
| 5 | INDEX RANGE SCAN | x_abc | 1605 | | 1 (0)| 00:00:01 |
SQL_ID 725bgkkhqs73v
select column1, column2 from table1;
Plan hash value: 2947532035
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | | | 4 (100)| |
| 1 | HASH GROUP BY | | 41 | 1476 | 4 (50)| 00:00:01 |
| 2 | TABLE ACCESS BY INDEX ROWID | column1 | 14 | 252 | 1 (0)| 00:00:01 |
| 3 | NESTED LOOPS | | 50 | 1800 | 2 (0)| 00:00:01 |
| 4 | TABLE ACCESS BY INDEX ROWID| column1 | 3 | 54 | 1 (0)| 00:00:01 |
| 5 | INDEX RANGE SCAN | X_abc| 1602 | | 1 (0)| 00:00:01 |
| 6 | INDEX RANGE SCAN | XAK_def| 14 | | 1 (0)| 00:00:01 |
Does this shed any light?
Thanks in advance for all your help!
Similar Messages
-
Query regarding the ADDM Report
Hi All,
My DB performance was quite slow during the last weekend because we had a major data load job and dbms_stats.gather_schema_stats jobs running simultaneously. So, we got an ADDM report generated for these 2 days and from that i could extract 2 things:
1. The performance was slow because the dbms_stats.gather_schema_stats job was running simultaneoulsy on it.
2. I could see that some of the SELECT queries on the tables in the schema got executed 145445335, 35, 30 and 20 times repeatedly on the DB. Now this leaves me shocked. Can anyone possibly explain the reason behind it? Was it because a gather_schema_stats was also running on the DB? But how would a select be affected by it? Would it be because it had a exclusive locks on those DB objects during the time it was running?
Kindly suggest.
Thanks in advance.Hi,
Thanks for your response.
No, i cannot see any of the terms like library cache locks and library cache pins with those SQL statements. The only things is see is:
RECOMMENDATION 1: SQL Tuning, 15% benefit (28820 seconds)
ACTION: Run SQL Tuning Advisor on the SQL statement with SQL_ID
"725bgkkhqs73v".
RELEVANT OBJECT: SQL statement with SQL_ID 725bgkkhqs73v and
PLAN_HASH 2688602638
SELECT column1 from table1;
ACTION: Investigate the SQL statement with SQL_ID "725bgkkhqs73v" for
possible performance improvements.
RELEVANT OBJECT: SQL statement with SQL_ID 725bgkkhqs73v and
PLAN_HASH 2688602638
RATIONALE: SQL statement with SQL_ID "725bgkkhqs73v" was executed 32
times and had an average elapsed time of 900 seconds.
Also, my DB is 10.2.0.3.0 and OS is HP-UNX B.11.23. -
Field column not found in the ALV Report
Hello all,
Sorry my problem is not solved.It is in hidden fields under the column set and it needs to be come
under displayed column for ever in the similar way the other fields like Bill to # , VAT registration number, company code etc. are getting dispalyed.
Thank you,
SirishaSnippet of the code
perform append_new_fieldcat USING:
'NAME1' 'TYPE_ALV' SPACE space 'Bill-To Name'
space space SPACE CHANGING ct_fieldcat.
FORM append_new_fieldcat
USING l_fieldname TYPE slis_fieldcat_alv-fieldname
l_ref_tabname TYPE slis_fieldcat_alv-ref_tabname
l_ref_fieldname TYPE slis_fieldcat_alv-ref_fieldname
l_cfieldname TYPE slis_fieldcat_alv-cfieldname
L_seltext TYPE SLIS_FIELDCAT_ALV-seltext_l
l_no_out TYPE slis_fieldcat_alv-no_out
l_no_zero TYPE slis_fieldcat_alv-no_zero
l_do_sum TYPE slis_fieldcat_alv-do_sum
CHANGING p_lt_fieldcat TYPE slis_t_fieldcat_alv.
DATA: l_fieldcat TYPE slis_fieldcat_alv. "Field string
l_fieldcat-fieldname = l_fieldname.
l_fieldcat-ref_tabname = l_ref_tabname.
l_fieldcat-ref_fieldname = l_ref_fieldname.
l_fieldcat-cfieldname = l_cfieldname.
l_fieldcat-no_out = l_no_out.
l_fieldcat-no_zero = l_no_zero.
l_fieldcat-do_sum = l_do_sum.
if not l_seltext is initial.
move l_seltext to l_fieldcat-seltext_l.
move l_seltext to l_fieldcat-seltext_m.
move l_seltext to l_fieldcat-seltext_s.
MOVE 'L' TO L_FIELDCAt-ddictxt.
endif.
APPEND l_fieldcat TO p_lt_fieldcat.
ENDFORM. " append_new_fieldcat -
Need solution from the ADDM Report
Hi,
Iam a newbie ..Can anyone help me solve this,,, any suggestions abt what i need to do
FINDING 1: 39% impact (1999 seconds)
SQL statements consuming significant database time were found.
RECOMMENDATION 1: SQL Tuning, 27% benefit (1390 seconds)
ACTION: Investigate the SQL statement with SQL_ID "16yhs0atuwcj5" for
possible performance improvements.
RELEVANT OBJECT: SQL statement with SQL_ID 16yhs0atuwcj5 and
PLAN_HASH 4196229529
select Holdate,CalName from Holidays WHERE holdate <=
TO_DATE(:"SYS_B_0",:"SYS_B_1") and holdate >=
TO_DATE(:"SYS_B_2",:"SYS_B_3") order by calname,holdate
RATIONALE: SQL statement with SQL_ID "16yhs0atuwcj5" was executed 144
times and had an average elapsed time of 2.9 seconds.
Plz help..ThanksHello,
Iam a newbie Wellcome :)
any suggestions abt what i need to doBascially you need to run SQL Tuning Advsior against the SQL_ID "16yhs0atuwcj5".
Re: sql tuning advisor
Re: oracle 10g sql tuning advisor...
Adith -
How can I get the elapse time for execution of a Query for a session
Hi ,
How can I get the elapse time for execution of a Query for a session?
Example - I have a report based on the procedure ,when the user execute that it takes say 3 min. to return rows.
Is there any possible way to capture this session info. for this particular execution of query along with it's execution elapse time?
Thanks in advance.Hi
You can use the dbms_utility.get_time tool (gives binary_integer type value).
1/ Initialize you time and date of beginning :
v_beginTime := dbms_utility.get_time ;
2/ Run you procedure...
3/ Get end-time with :
v_endTime := dbms_utility.get_time ;
4/ Thus, calculate elapsed time by difference :
v_elapsTime := v_endTime - v_beginTime ;
This will give you time elapsed in of 100th of seconds...
Then you can format you result to give correct print time.
Hope it will help you.
AL -
Multiple Executions Plans for the same SQL statement
Dear experts,
awrsqrpt.sql is showing multiple executions plans for a single SQL statement. How is it possible that one SQL statement will have multiple Executions Plans within the same AWR report.
Below is the awrsqrpt's output for your reference.
WORKLOAD REPOSITORY SQL Report
Snapshot Period Summary
DB Name DB Id Instance Inst Num Release RAC Host
TESTDB 2157605839 TESTDB1 1 10.2.0.3.0 YES testhost1
Snap Id Snap Time Sessions Curs/Sess
Begin Snap: 32541 11-Oct-08 21:00:13 248 141.1
End Snap: 32542 11-Oct-08 21:15:06 245 143.4
Elapsed: 14.88 (mins)
DB Time: 12.18 (mins)
SQL Summary DB/Inst: TESTDB/TESTDB1 Snaps: 32541-32542
Elapsed
SQL Id Time (ms)
51szt7b736bmg 25,131
Module: SQL*Plus
UPDATE TEST SET TEST_TRN_DAY_CL = (SELECT (NVL(ACCT_CR_BAL,0) + NVL(ACCT_DR_BAL,
0)) FROM ACCT WHERE ACCT_TRN_DT = (:B1 ) AND TEST_ACC_NB = ACCT_ACC_NB(+)) WHERE
TEST_BATCH_DT = (:B1 )
SQL ID: 51szt7b736bmg DB/Inst: TESTDB/TESTDB1 Snaps: 32541-32542
-> 1st Capture and Last Capture Snap IDs
refer to Snapshot IDs witin the snapshot range
-> UPDATE TEST SET TEST_TRN_DAY_CL = (SELECT (NVL(ACCT_CR_BAL,0) + NVL(AC...
Plan Hash Total Elapsed 1st Capture Last Capture
# Value Time(ms) Executions Snap ID Snap ID
1 2960830398 25,131 1 32542 32542
2 3834848140 0 0 32542 32542
Plan 1(PHV: 2960830398)
Plan Statistics DB/Inst: TESTDB/TESTDB1 Snaps: 32541-32542
-> % Total DB Time is the Elapsed Time of the SQL statement divided
into the Total Database Time multiplied by 100
Stat Name Statement Per Execution % Snap
Elapsed Time (ms) 25,131 25,130.7 3.4
CPU Time (ms) 23,270 23,270.2 3.9
Executions 1 N/A N/A
Buffer Gets 2,626,166 2,626,166.0 14.6
Disk Reads 305 305.0 0.3
Parse Calls 1 1.0 0.0
Rows 371,735 371,735.0 N/A
User I/O Wait Time (ms) 564 N/A N/A
Cluster Wait Time (ms) 0 N/A N/A
Application Wait Time (ms) 0 N/A N/A
Concurrency Wait Time (ms) 0 N/A N/A
Invalidations 0 N/A N/A
Version Count 2 N/A N/A
Sharable Mem(KB) 26 N/A N/A
Execution Plan
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | UPDATE STATEMENT | | | | 1110 (100)| |
| 1 | UPDATE | TEST | | | | |
| 2 | TABLE ACCESS FULL | TEST | 116K| 2740K| 1110 (2)| 00:00:14 |
| 3 | TABLE ACCESS BY INDEX ROWID| ACCT | 1 | 26 | 5 (0)| 00:00:01 |
| 4 | INDEX RANGE SCAN | ACCT_DT_ACC_IDX | 1 | | 4 (0)| 00:00:01 |
Plan 2(PHV: 3834848140)
Plan Statistics DB/Inst: TESTDB/TESTDB1 Snaps: 32541-32542
-> % Total DB Time is the Elapsed Time of the SQL statement divided
into the Total Database Time multiplied by 100
Stat Name Statement Per Execution % Snap
Elapsed Time (ms) 0 N/A 0.0
CPU Time (ms) 0 N/A 0.0
Executions 0 N/A N/A
Buffer Gets 0 N/A 0.0
Disk Reads 0 N/A 0.0
Parse Calls 0 N/A 0.0
Rows 0 N/A N/A
User I/O Wait Time (ms) 0 N/A N/A
Cluster Wait Time (ms) 0 N/A N/A
Application Wait Time (ms) 0 N/A N/A
Concurrency Wait Time (ms) 0 N/A N/A
Invalidations 0 N/A N/A
Version Count 2 N/A N/A
Sharable Mem(KB) 26 N/A N/A
Execution Plan
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | UPDATE STATEMENT | | | | 2 (100)| |
| 1 | UPDATE | TEST | | | | |
| 2 | TABLE ACCESS BY INDEX ROWID| TEST | 1 | 28 | 2 (0)| 00:00:01 |
| 3 | INDEX RANGE SCAN | TEST_DT_IND | 1 | | 1 (0)| 00:00:01 |
| 4 | TABLE ACCESS BY INDEX ROWID| ACCT | 1 | 26 | 4 (0)| 00:00:01 |
| 5 | INDEX RANGE SCAN | INDX_ACCT_DT | 1 | | 3 (0)| 00:00:01 |
Full SQL Text
SQL ID SQL Text
51szt7b736bm UPDATE TEST SET TEST_TRN_DAY_CL = (SELECT (NVL(ACCT_CR_BAL, 0) +
NVL(ACCT_DR_BAL, 0)) FROM ACCT WHERE ACCT_TRN_DT = (:B1 ) AND PB
RN_ACC_NB = ACCT_ACC_NB(+)) WHERE TEST_BATCH_DT = (:B1 )Your input is highly appreciated.
Thanks for taking your time in answering my question.
RegardsOracle Lover3 wrote:
Dear experts,
awrsqrpt.sql is showing multiple executions plans for a single SQL statement. How is it possible that one SQL statement will have multiple Executions Plans within the same AWR report.If you're using bind variables and you've histograms on your columns which can be created by default in 10g due to the "SIZE AUTO" default "method_opt" parameter of DBMS_STATS.GATHER__STATS it is quite normal that you get different execution plans for the same SQL statement. Depending on the values passed when the statement is hard parsed (this feature is called "bind variable peeking" and enabled by default since 9i) an execution plan is determined and re-used for all further executions of the same "shared" SQL statement.
If now your statement ages out of the shared pool or is invalidated due to some DDL or statistics gathering activity it will be re-parsed and again the values passed in that particular moment will determine the execution plan. If you have skewed data distribution and a histogram in place that reflects that skewness you might get different execution plans depending on the actual values used.
Since this "flip-flop" behaviour can sometimes be counter-productive if you're unlucky and the values used to hard parse the statement leading to a plan that is unsuitable for the majority of values used afterwards, 11g introduced the "adaptive" cursor sharing that attempts to detect such a situation and can automatically re-evaluate the execution plan of the statement.
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/ -
Is there any query to know the multiple users name from their ids?
is there any query to know the multiple users name from their ids?
Hi,
Goto TCode SUIM Select Users Select Users by Address Data
It will give you the users list
Regards,
Sankaran -
Many execution of a query with different selections in the same work book
Hi all,
I have a workbook with one query that show sales of a plant. User can select many plants, but he doesn't like it, too easy. In this way query shows all the plant in the same sheet and he want a sheet for each plant.
The most simply way to do this is making a query for each plant with a filter with the plant as a constant. Then I put all that queries in the workbook. But this is not too smart, right?
Any suggestion?Hi,
I will try and explain here, if you get stuck and do get back.
1) On Sheet1 Rename it to BEX01 and Add the Query that will return all Plants. Hide this Sheet
2) On Sheet2 Rename it to BEX02 and Add the Main Query. Hide this Sheet.
3) On Sheet3 Rename it to Main and Add a Command Button. Goto Properties and Change the Name to cmdRefresh and then do View Code and add following code.
Private Sub cmdRefresh_Click()
Call RefreshReports
End Sub
4) Add a Module to your VBA Project
5) Open Module1 and Add following code.
Option Explicit
Public Sub RefreshReports()
Dim wksBEX01 As Worksheet, wksBEX02 As Worksheet, wks As Worksheet
Dim lRows As Long, lRow As Long
Dim sPlant As String, sName As String
Dim fRng As Range
sName = "Main"
With ThisWorkbook
Set wksBEX01 = .Sheets("BEX01")
Set wksBEX02 = .Sheets("BEX02")
End With
wksBEX01.Activate
wksBEX01.Range("A1").Select
'This will refresh both the Queries All Plants and the Main one.
If Run("SAPBEX.XLA!SAPBEXrefresh", True) <> 0 Then
MsgBox "Refresh of All Queries Failed."
Exit Sub
End If
'Lets say your All Plants Query, Lists all the Plants Starting in Cell A15
'Then Do the following.
lRows = wksBEX01.Cells(Rows.Count, 1).End(xlUp).Row
For lRow = 15 To lRows
sPlant = Trim$(wksBEX01.Cells(lRow, 1).Value)
'Now Use this Plant to Set the Filter Value for the Main Query.
'I am assuming that your Plant Charateristic will show up in A14 on the Worksheet.
With wksBEX02
.Activate
'Adjust this according to where you insert the Query and which cell has correct info.
.Range("A14").Select
Set fRng = Selection
End With
'Call the API to Do a Select Filter Value.
If Run("SAPBEX.XLA!SAPBEXSetFilterValue", sPlant, "", fRng) <> 0 Then
MsgBox "Unble to Set Filter for Plant : " & sPlant
Exit Sub
Else
'Here you can Now Copy the the Sheet to new Sheet. If filter value worked.
Set wks = ThisWorkbook.Sheets.Add(After:=sName)
wksBEX02.Cells.Select
wksBEX02.Copy
wks.Range("A1").Paste
wks.Name = sPlant
sName = sPlant
End If
Next
'Save the workbook as new name else you will have to first delete all the old sheets.
Thisworkbook.SaveAs "Some New Name"
End Sub
Here I have just created a new Sheet for Each Plant. You can work on the EXCEL Part to take and do what you want with new Sheets.
Hope this gets you started.
Just a Suggestion. Don't hide the BEX01 and BEX02 sheets untill the code works correctly.
Datta -
Run a query multiple times in the same report for different nodes in Hier
Hi,
I have created a query as per my requirements. But my issue is I need to run the report for all the profit centers in a hierarchy. Right now I enter a node value of the hierarchy in the variable and I get the result. But I want to run it for each node in the hierarchy and display the result in the same report.Is it possible to do so in web using information broadcaster or any BI 7.0 tools. Has anyone done similar to this in web. I would prefer the web route rather than the excel but if excel is the only answer I will follow the excel path.
Looking forward to your suggestions on this.
Thanks,
KalHello Kal,
if the number of Profit Centers is limited, you could probably work with query views (one for each PC) and include all these into your Web Template.
If this is not appropriate, I don´t know if there is any way of programming possible.
Regards
Cornelia -
Hi,
I would like to konw how I can make multiple parameters to sql query string seperated by ,(comma) ..
For example, this parameters can be printed like 'abc,dde,ggf,eeg' ,once I use "join(Parameters!rpCode.Value,",")" with report builder ,
By the way, when I test this multiple parameters by Query Designer of report builder there was no problem,.(using Define query parameters, I put abc,dde,ggf,eeg)
however, when I run this report , it won't be executing , with (rsErrorExecutingCommand)
Plz, help me....If its sql query then it should like this
Select t.*
from table t
inner join dbo.ParseValues(@Parameters,',')f
on f.val = t.ID
ParseValues can be found him
http://visakhm.blogspot.in/2010/02/parsing-delimited-string.html
or easier way is
Select t.*
from table t
where ',' + @Parameters + ',' LIKE '%,' + CAST(t.ID AS varchar(10)) + ',%'
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page -
Avoid multiple function calls in query
I have a query as follows:
select
col1,
substr(test_func(col2,test_func(col3)) , 1 , length(test_func(col2,test_func(col3))),
col3,
substr(test_func(col2,test_func(col3)) , 1 , length(test_func(col2,test_func(col3)) - 5),
col4
from table1
where pk_column = pi_param;
The test_func has couple of select queries inside and returns a string which i need to split in a particular way and return as two different column values.
To optimize performance, I need to reduce the multiple calls to test_func function.
I tried query with query like below:
select
col1,
substr(func_ret_value,1,length(func_ret_value)) value1,
col3
substr(func_ret_value,1, length(func_ret_value) - 5 ) value2,
col4
from(
select
col1,
col3,
test_func(col2,test_func(col3)) func_ret_value
col4
from table1
where pk_column = pi_param);
Above approach works but when i check the trace of above query , it still shows multiple executions( of the select queries inside the function.
Also there is no performance gain.
How do i avoid these multiple calls to the function and improve performance.
Thanks.Hi,
You can call the function once, in a sub-query, then use it (by referencing the column alias tf in the example below) as often as you want to in a super-query, like this:
WITH got_tf AS
SELECT table1.* -- or list columns needed
, test_func ( col2
, test_func (col3)
) AS tf
FROM table1
SELECT col1
, tf AS value1 -- = SUBSTR (tf, 1, LENGTH (tf))
, col3
, SUBSTR ( tf
, 1
, LENGTH (tf) - 5
) AS value2
, col4
FROM got_tf
WHERE pk_column = pi_param;If possible, create the function as DETERMINISTIC. -
How to Pass Multiple Value Range From Query ?
Hi,
I have searched over SDN to find about how do we pass multiple value ranges from Query to SAP ODATA?
But I have not found suitable answers so I am posting it here.
If we need to pass a date parameter in Query which has a multiple range like sales orders created date between 03/02/2014 to 05/07/2014.
How do we phrase it in Query ?
I tried as below but the IT_FILTER_SELECT_OPTIONS of /IWBEP/IF_MGW_APPL_SRV_RUNTIME~GET_ENTITYSET does not get filled up with the parameters
How do we pass multiple values in Query?
http://ctnhsapapp16.corp.ken.com:8000/sap/opu/odata/sap/ZCHAKRABK_MAINT_ORDERS_SRV/Maint_Orders?$filter=Maint_Plant eq 'US19' and B_st_dt gt datetime'2015-02-01T00:00:00' and B_st_dt lt datetime'2015-02-28T00:00:00'
Thanks in Advance.
KC.Hi,
I Have Found solution to the Query posted above.
Please find the URL's below for more clarifications.
Revert for any suggestions please.
http://ctnhsapapp16.corp.ken.com:8000/sap/opu/odata/sap/ZCHAKRABK_MAINT_ORDERS_SRV/Maint_Orders?$filter=Maint_Plant eq 'US19' and ( B_st_dt ge (datetime'2015-02-01T00:00:00') or B_st_dt le (datetime'2015-02-27T00:00:00'))
http://ctnhsapapp16.corp.ken.com:8000/sap/opu/odata/sap/ZCHAKRABK_MAINT_ORDERS_SRV/Maint_Orders?$filter=Maint_Plant eq 'US19' and ( B_st_dt ge (datetime'2015-02-01T00:00:00') and B_st_dt le (datetime'2015-02-27T00:00:00'))
Thanks KC. -
Hi,
We are facing issue in BizTalk 2010 837 Institutional claim process. The Error is “Loading property information list by namespace failed or property not found in the list. Verify that the schema is deployed properly”.
We have used Custom Pipeline component to update the promoted property like MessageType. When we drop the XML File in Receive Location it generates the XML file through Pipeline but promoted property MessageType is not updated in Receive Location and throw
the error as mentioned.
We have the schema which is not duplicate as well as different version.
Could you please help on this issue.
Thanks in advance.Praveen,
There are two issues here.
“Loading property information list by namespace failed or property not found in the list. Verify that the schema is deployed properly” issue is normally due to the deployment issues. This more often occurs when you have same schema with multiple
version and this issue is due to the sequence/order in which these two schemas are deployed. If you run the following SQL query in your BizTalk management db replacing it with your target namespace of the schema deployed
SELECT *
FROM bt_XMLShare
WHERE target_namespace like N'http://YourTaggetNameSpace'
You shall see two version of the same schema listed and both of them should have Activate flag set to 1. If any of the schemas is set to 0, then you will have the above mentioned issues. This is due to the way the different versions of the schemas are deployed.
You can undeply both the version, deploy them together or deploy the older version first and the later version later.
And for another issue of custom property not updating the MessageType property, debug the pipeline component code. This issue has no direct impact to the above issue. If you you’re your Message Type to be updated and if it’s not getting changed, then debug
the code and check why its not been updated.
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply. -
Any way to pass Multiple Values for a single Label in the Parameter?
I have a Report that Contains 2 Parameters, @Customer & @Area. When trying to set up the Available Values for @Area, I'm having issues using multiple values for one Label, i.e. = "4006" Or "4610"
One of the Filters in the Report is an Operation number, which is the [OPERATION] field, which is setup as a filter on the Tablix referencing the @Area parameter.
PROBLEM: I cannot retrieve any data when trying to use the ‘Or’ Operator here. If I simply put “4006” or “4610” I retrieve data, but when trying to combine it returns no data.
Example, I need to allow a user to select ‘Chassis Incoming’, which would include data from Operations 4006 & 4610.
QUESTION:
Any way to pass Multiple Values for a single Label in the Parameter?
I realize the typical solution may be to use ‘Multi-Value’ selection, but in this case we want the User to select the Area and the multiple values for Filtering will be automatically determined for them. Otherwise, they are subject to not getting
it correct.
I have tried several different ways, such as =”4006” Or “4610”, =(“4006”, “4610”), = In(“4006”, “4610”), etc….
Note: We are using Report Builder 3.0Based on my experience, there's no way to 'intercept' the query that gets passed back to SQL Server, so a Split wouldn't work.
Try creating either a function or stored procedure using the code below (compliments to
http://www.dotnetspider.com/resources/4680-Parse-comma-separated-string-SQL.aspx) to parse the string:
CREATE FUNCTION dbo.Parse(@Array VARCHAR(1000), @Separator VARCHAR(10))
RETURNS @ResultTable TABLE (ParseValue VARCHAR(100))AS
BEGIN
DECLARE @SeparatorPosition INT
DECLARE @ArrayValue VARCHAR(1000)
SET @Array = @Array + @Separator
WHILE PATINDEX('%' + @Separator + '%' , @Array) <> 0
BEGIN
SELECT @SeparatorPosition = PATINDEX('%' + @Separator + '%', @Array)
SELECT @ArrayValue = LEFT(@Array, @SeparatorPosition - 1)
INSERT @ResultTable VALUES (CAST(@ArrayValue AS VARCHAR))
SELECT @Array = STUFF(@Array, 1, @SeparatorPosition, '')
END
RETURN
END
Once created you can do things like this:
SELECT * FROM Parse('John,Bill,David,Thomas', ',')
SELECT * FROM (SELECT 'John' AS TestName union select 'David' AS TestName) AS Main
WHERE TestName IN (SELECT ParseValue FROM dbo.Parse('John,Bill,David,Thomas', ','))
This is what your SQL query would probably look like:
SELECT OperationID, OperationName FROM dbo.Operations
WHERE AreaID IN (SELECT ParseValue FROM dbo.Parse(@Area, ','))
You may need to fiddle around with the Separator depending on whether SQL Server inserts a space between the comma and next value. -
Hi All,
I am new to Siebel and installed Siebel 8.1.1.11 on RHEL 5.5 (64 bit). Everything is fine Siebel server and gateway server are up and running but i am unable to open login page.
Login Error : The server you are trying to access is either busy or experiencing difficulties. Please close the Web browser, open a new browser window, and try logging in again.[15:36:09]
Siebel Server log file error :
GenericLog
GenericError
1
00006c5c52eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c6352eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c6452eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c6552eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c6652eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c7152eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c8052eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c8152eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c9052eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c9152eb6e6f:0
2014-01-31 13:06:04
(sccitems.cpp (310) err=2555932 sys=0) SBL-SCM-00028: Key not found
GenericLog
GenericError
1
00006c9152eb6e6f:0
2014-01-31 13:06:04
(sccconfg.cpp (2149) err=2555932 sys=0) SBL-SCM-00028: Key not found
I can connect to Siebel Server manager using command as : srvrmgr /g 192.168.0.163 /e Sieb81 /u SADMIN /p SADMIN
ODBC connectivity is also ok and i can connect as : ./odbcsql /source Sieb81_DSN /u SADMIN /p SADMIN
While installing Siebel i had left one step i .e.. creation of siebenv.sh using CreateSiebSrvrEnvScript because i got error when executed this script as :
Execution command : ./CreateSiebSrvrEnvScript /u01/siebel/ses/siebsrvr 192.168.0.163:2320 ENU Oracle
Error : cp: cannot copy a directory, '/u01/siebel/ses/siebsrvr/locale/' , into itself , '/u01/siebel/ses/siebersrvr/locale/C/locale'
Please suggest me what to do because if i want to configure again the same issue with CreateSiebSrvrEnvScript.
Message was edited by: Prabhakar2991Hi Prameela,
You can see all application objects are online and running. One more thing I have also checked ODBC is also working fine. I mean , user SADMIN can connect using ODBC.
=====================================================================================================================================
[oracle@siebel163 siebsrvr]$ srvrmgr /g 192.168.0.163 /e Sieb81 /u SADMIN /p SADMIN
Siebel Enterprise Applications Siebel Server Manager, Version 8.1.1.11 [23030] LANG_INDEPENDENT
Copyright (c) 1994-2012, Oracle. All rights reserved.
The Programs (which include both the software and documentation) contain
proprietary information; they are provided under a license agreement containing
restrictions on use and disclosure and are also protected by copyright, patent,
and other intellectual and industrial property laws. Reverse engineering,
disassembly, or decompilation of the Programs, except to the extent required to
obtain interoperability with other independently created software or as specified
by law, is prohibited.
Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of
Oracle Corporation and/or its affiliates. Other names may be trademarks
of their respective owners.
If you have received this software in error, please notify Oracle Corporation
immediately at 1.800.ORACLE1.
Type "help" for list of commands, "help <topic>" for detailed help
Connected to 1 server(s) out of a total of 1 server(s) in the enterprise
srvrmgr> list components
SV_NAME CC_ALIAS CC_NAME CT_ALIAS CG_AL IAS CC_RUNMODE CP_DISP_RUN_STATE CP_STARTMODE CP_NUM_RUN_TASKS CP_MAX_TASKS CP_ACTV_MTS_PROCS CP_MAX _MTS_PROCS CP_START_TIME CP_END_TIME CC_INCARN_NO CC_DESC_TEXT
siebelsrvr BusIntBatchMgr Business Integration Batch Manager BusSvcMgr EAI Batch Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr BusIntMgr Business Integration Manager BusSvcMgr EAI Batch Not Online Auto 0 20 0 1 2014-01-29 02:48:30
siebelsrvr SCCObjMgr_enu Call Center Object Manager (ENU) AppObjMgr CallC enter Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr CustomAppObjMgr_enu Custom Application Object Manager (ENU) CustomAppObjMgr EAI Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr DQMgr Data Quality Manager Dqmgr DataQ ual Batch Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr EAIObjMgr_enu EAI Object Manager (ENU) EAIObjMgr EAI Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr InfraEAIOutbound EAI Outbound Server BusSvcMgr EAI Batch Not Online Auto 0 20 0 1 2014-01-29 02:48:30
siebelsrvr EIM Enterprise Integration Mgr EIM EAI Batch Online Auto 0 5 2014-01-29 02:48:30
siebelsrvr FSMSrvr File System Manager FSMSrvr Syste mAux Batch Online Auto 0 20 1 1 2014-01-29 02:48:25
siebelsrvr GenTrig Generate Triggers GenTrig Workf low Batch Online Auto 0 1 2014-01-29 02:48:30
siebelsrvr JMSReceiver JMS Receiver EAIJMSRcvr EAI Batch Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr MqSeriesAMIRcvr MQSeries AMI Receiver EAIRcvr EAI Background Online Auto 0 20 2014-01-29 02:48:30
siebelsrvr MqSeriesSrvRcvr MQSeries Server Receiver EAIRcvr EAI Background Online Auto 0 20 2014-01-29 02:48:30
siebelsrvr MSMQRcvr MSMQ Receiver EAIRcvr EAI Background Online Auto 0 20 2014-01-29 02:48:30
siebelsrvr SMQReceiver SMQ Receiver EAIRcvr EAI Background Online Auto 0 20 2014-01-29 02:48:30
siebelsrvr SServiceObjMgr_enu Self Service Object Manager (ENU) AppObjMgr CallC enter Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr ServerMgr Server Manager ServerMgr Syste m Interactive Running Auto 2 20 2014-01-29 02:48:20
siebelsrvr SRBroker Server Request Broker ReqBroker Syste m Interactive Running Auto 25 100 1 1 2014-01-29 02:48:20
siebelsrvr SRProc Server Request Processor SRProc Syste mAux Interactive Running Auto 2 20 1 1 2014-01-29 02:48:25
siebelsrvr SvrTblCleanup Server Tables Cleanup BusSvcMgr Syste mAux Background Running Auto 1 1 2014-01-29 02:48:25
siebelsrvr SvrTaskPersist Server Task Persistance BusSvcMgr Syste mAux Background Running Auto 1 1 2014-01-29 02:48:25
siebelsrvr AdminNotify Siebel Administrator Notification Component AdminNotify Syste mAux Batch Online Auto 0 10 1 1 2014-01-29 02:48:25
siebelsrvr SCBroker Siebel Connection Broker SCBroker Syste m Background Running Auto 1 1 2014-01-29 02:48:20
siebelsrvr WorkActn Workflow Action Agent WorkActn Workf low Background Online Auto 0 5 2014-01-29 02:48:30
siebelsrvr WorkMon Workflow Monitor Agent WorkMon Workf low Background Online Auto 0 5 2014-01-29 02:48:30
siebelsrvr WfProcBatchMgr Workflow Process Batch Manager BusSvcMgr Workf low Batch Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr WfProcMgr Workflow Process Manager BusSvcMgr Workf low Batch Not Online Auto 0 20 0 1 2014-01-29 02:48:30
siebelsrvr WfRecvMgr Workflow Recovery Manager BusSvcMgr Workf low Batch Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eChannelCMEObjMgr_enu eChannel Power Communications Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eCommunicationsObjMgr_enu eCommunications Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eCommWirelessObjMgr_enu eCommunications for Wireless Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eCustomerCMEObjMgr_enu eCustomer Power Communications Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eEnergyObjMgr_enu eEnergy Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eMediaObjMgr_enu eMedia Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eEnergyOGCObjMgr_enu eOil Gas & Chemicals Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eSalesCMEObjMgr_enu eSales Power Communications Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eServiceObjMgr_enu eService Object Manager (ENU) AppObjMgr CallC enter Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
37 rows returned.
srvrmgr>
=======================================================================================================================================
Please suggest me what to do.
Thanks
Prabhakar
Maybe you are looking for
-
Why does my MacBook Pro go back to sleep just after it wakes up?
My MacBook Pro (OSX 10.7.5, 13" late 2011 model) tends to go to sleep about 15 seconds after it wakes up. I open the cover, type in my password, pull up email or web browser, and suddenly the screen goes black & the computer is back in sleep mode.
-
End-to-end layer-2 link with CPE administration
Dears I am working on a scenario to monitor a CPE in a layer-2 setup. The CPE is connected with the local PE across a last mile with a single vlan from the provider. The customer has purchased layer-2 end-to-end connection from local CPE to remote CP
-
How much space to backup my mac mini
My mac mini was running on 512 GB's I've increased to 2GB How much space do I need to do a full backup before upgrading? I thought 2GB usb would be enough, but I obviously figured wrong.... advice?
-
Thumbnail or "Icon View" on Retina not rendered correctly.
The Icon View in the Finder does not render the icon images correctly on Retina Macs. You can tell best when setting the viewing size to 32x32 or 16x16, especially when you compare the same viewing size while in List View. I was hoping that Yosemite
-
Missing letters in the new ipod nano
Hi, i bought my new ipod nano 2 months ago. now and after uploading the new update i realized that the ipod is not showing some letters in the play list. so Repeat is only epeat, Daft Punk is aft unk. can any one help me please! regards Ahmed