How does the query decide which Infoprovider to fetch data from
Hi,
Could somebody please explain what steps go on in background to enable the query to decide which Infoproviders it should fetch data from in a multiprovider.Assuming that in the multprovider we have some infocubes that are logically partitioned by Fiscal Year and other cubes that are not.
Thanks VK..
Does the RRKMULTIPROVHINT technique work in case of a multiprovider that is not homogenous... Also in case there are 5 infocubes, does the select query run on fact table of all infocubes or are select queries run initially on the dimension tables and based upon which infocube has the required data for the query the fact table is queried..
Thanks
Similar Messages
-
How does disk utility decide which optical drive to use for burn?
This is a somewhat daft question and purely out of interest.
How does disk utility decide which optical drive bay to open for burning?
I have two drives in a MacPro and both have the same capabilities (DVD-RW). Why does it sometimes open the lower one, and sometimes the top one?Grant Bennet-Alder wrote:
The estimate is based on how long it already took to do how many blocks, and how many blocks are left to do. If you told it to overwrite 35 times, it will be a long, long time before it completes.
The estimate is made grossly large by the presence of Bad Blocks that need to be Read during the test (not the case with Erase and Write Zeroes).
Each Block is written with some redundancy bits, so that small errors can be corrected on reading. A Bad Block causes the drive to re-read. and re-read, and re-read, in hopes of getting correctable data the next time. This should NOT be an issue in writing. But if the drive stops responding (which can and does happen with a bad drive) the Erase function will just sit there, thinking it is making progress, and stretching out the time.
Thanks, Grant.
If I read your reply correctly, Erase and Zero Out free space shouldn't elongate the process, because there's no read occurring.
The drive will not be Mounted while Disk Utility works on it, so it will not be on the Desktop. But ask Apple System Profiler \[ About this Mac > More Info > Serial ATA ] if the drive is still THERE . If it cannot be seen, you have your answer -- the drive dropped out of sight while being tested -- Bad Drive.
Well, now I am confused. It's a FW800 drive. It's on the Desktop. And it appears under FireWire in System Profiler. AND Disk Utility shows a mount point. But the Unmount and Eject buttons are grayed out.
Will the drive be mounted if it fails to respond to Disk Utility? That doesn't seem to make sense.
How do I determine its status? It appears to be stuck at "1 day, 5 hours" but it'll take an hour for that to change. I think it's been that long since I first noticed the time.
Harv -
How does the system decide where to put a file on the desktop?
So you've just created some sort of file, and you choose to save it to the desktop. A second later--presto!--the file icon appears on the screen.
How does the computer decide where on the desktop to put that icon?I'm not 100% on this, but I think the system will save files to the last destination you nominated unless you designate another destination at the point of saving. I guess you previously saved something to the Desktop.
Just tested it on my two Macs and that's how it behaves here. -
How to use for all entires clause while fetching data from archived tables
How to use for all entires clause while fetching data from archived tables using the FM
/PBS/SELECT_INTO_TABLE' .
I need to fetch data from an Archived table for all the entries in an internal table.
Kindly provide some inputs for the same.
thanks n Regards
RameshHi Ramesh,
I have a query regarding accessing archived data through PBS.
I have archived SAP FI data ( Object FI_DOCUMNT) using SAP standard process through TCODE : SARA.
Now please tell me can I acees this archived data through the PBS add on FM : '/PBS/SELECT_INTO_TABLE'.
Do I need to do something else to access data archived through SAP standard process ot not ? If yes, then please tell me as I am not able to get the data using the above FM.
The call to the above FM is as follows :
CALL FUNCTION '/PBS/SELECT_INTO_TABLE'
EXPORTING
archiv = 'CFI'
OPTION = ''
tabname = 'BKPF'
SCHL1_NAME = 'BELNR'
SCHL1_VON = belnr-low
SCHL1_BIS = belnr-low
SCHL2_NAME = 'GJAHR'
SCHL2_VON = GJAHR-LOW
SCHL2_BIS = GJAHR-LOW
SCHL3_NAME = 'BUKRS'
SCHL3_VON = bukrs-low
SCHL3_BIS = bukrs-low
SCHL4_NAME =
SCHL4_VON =
SCHL4_BIS =
CLR_ITAB = 'X'
MAX_ZAHL =
tables
i_tabelle = t_bkpf
SCHL1_IN =
SCHL2_IN =
SCHL3_IN =
SCHL4_IN =
EXCEPTIONS
EOF = 1
OTHERS = 2
OTHERS = 3
It gives me the following error :
Index for table not supported ! BKPF BELNR.
Please help ASAP.
Thnaks and Regards
Gurpreet Singh -
Select query taking 30 sec to fetch data from table containing BLOB column.
Hi Friends,<o:p></o:p>
Please help me...<o:p></o:p>
I have 15 columns in a table, in that 2 columns containing blob (images).<o:p></o:p>
More than 22 lakhs records are in a table.<o:p></o:p>
While i am try to fetch data from this table it nearly takes 25~30 sec to execute that query.<o:p></o:p>
When i deleted the two columns containing blob and i tried its executing fast .<o:p></o:p>
I should not change the table schema.<o:p></o:p>
Views also i created and indexes also there in a table.<o:p></o:p>
How can i improve the query execution speed?.<o:p></o:p>And how large is the size of BLOB data in your table? If it's several giga bytes, then the time is simply required to read the amount of data from disk and to transfer it to the Client.
Olaf Helper
[ Blog] [ Xing] [ MVP] -
How does the query function on a Infoset?
Hi Gurus,
I have 3 ODS(GL ODS,Purchasing item,Purchasing Schedule Line).I have built an infoset on these ods.
Now my question is :
1)When i run a query on the infoset,what does the OLAP processor do?
The GL ODS is on the left hand side in Infoset and other 2 ODS are being joined with a left outer join.Does this mean that the OLAP processor goes into GL ODs first and then looks for corresponding records (in the Pur ODS) based on the Join conditions.
Please Advice
thanks in advanceHi Adam/Ashwin,
sorry for the late reply.I have another question.
In the same scenario,i have my infoset below a multiprovider and the selection parameters i have chosen are only available in FI-GL ODS.
Like i have chosen Ccompany Code and Fiscper as the selection parameters on the query,which are available only on FI-GL ods.
How would the OLAp processor behave in this scenario,please explain?
Ashwin,when i am using the Infoset the keyfigures are match.its that iw ould like to know how the OLAP processor fnctions?
thanks in advance -
How does the scrollbar know which field it lands on?
Hi all
I'm looking at components at the moment. Not how to use them
but how to create them yourself to increase your workflow.
When dragging a scroll component on to a dynamic textfield it
automatically determines which field it land on, and populate the
targetInstanceName variable in the property inspector.
How does it do that? I guess it's a jsfl file being run, but
I can't figure out how to run a jsfl file the moment the user let
go on the component.
Thanks in advance,
JakobHi Antony,
There is no need of Sender Agreement and hence sender communication channel. Sender Agreement identifies three things,
Namespace, Software component version and Outbound Interface. In Idoc communcation there is no need of Sender agreement as we can identify above things without Sender Agreement itself like namespace - Idocs have standard namespace and can be accessed across the sofwatware component versionsn and the idoc type it self specifies the interface name.
You cannot define a sender IDOC channel in Integration Directory due to fact dat IDOC adapter does not run in J2EE AF but is an 'built in" adapter.
Thanks,
Vijay Kumar T. -
I have a no code sandbox solution, in a content by search web part, I want to return pages from the library except the page I am visiting.
I have 2 pages:
Page A, the title is: Page title without special character
Page B, the title is: Page title with special character "a b c d ..."
And then I use Title<>{Page.Title} in the query text of the CSWP.
While I visit Page A, the CSWP returns Page B, it works as expected.
But while I visit Page B, the CSWP returns nothing, expected result should be Page A. I just consider, whether the special characters in the Title of Page B breaks the query text.
I can not find similar topics in the forum, Does anyone have idea?
Many thanks!Thank you for your feedback, Daniel.
I have some updates, and found the root cause: if the field value contains special characters, the CSWP will not render the double quotation marks around the field value.
View the page html source, and then find the text "QueryModification", you will see what happen:
Query Text Input: Title<>{Page.Title}
1. While the page title is "Test Page 1" (without special character), the rendered query text is
Title<>\"Test Page 1\". It works as expected.
2. While the page title is "Test-Page-1" (with special character "-", of cause we have more special characters on production), the rendered query text is
Title<>Test-Page-1. The double quotation marks are not rendered by the CSWP, so the query text are broken. It does not work as expected.
If I make the query text as Title<>"{Page.Title}"
1. While the page title is "Test Page 1", the rendered query text is
Title<>\"\"Test Page 1\"\". It does NOT work since the
quotes are duplicated (no sure why CSWP duplicates the quota mark),
2. While the page title is "Test-Page-1", the rendered query text is
Title<>\"Test-Page-1\". Quotes are correct, but it does NOT work as expected still.
The expected rendered query text (view from the html source) should be
Title<>\"Test\\\-Page\\\-1\". (Here is test url: <a href="http://server/_api/search/query?querytext='Title<>"Test%5c%5c%5c-Page%5c%5c%5c-1"'&rowlimit=10">http://server/_api/search/query?querytext='Title<>"Test%5c%5c%5c-Page%5c%5c%5c-1"'&rowlimit=10)
From the above information, I can say the CSWP not handle the special character correctly ("\" is not inserted before any special charactor).
Is there any setting in CSWP can be used to resolve above problem? -
How does Belle FP2 decide which keyboard is presen...
Hi,
I'm a long-time user of Profimail on Symbian devices. Now that I've gotten used to the new keyboard on Belle FP2 I'm finding it frustrating to use the pre-FP2 keyboard that Profimail presents.
I asked the developers if they could update Profimail to use the FP2 keyboard and this was their response:
ProfiMail doesn't make any keyboard selection. System decides what kind of text input it offers.
Hard to tell what kind of compatibility mode is used in this case.
If this is true then what is it that some apps do to ensure the system selectes the FP2 keyboard? I'd like to pass on the answer to the developers.
Many thanks,
MattI guess I could create aliases in the physical layer on Customer and Customer contacts and then separate logical tables in the BMM where the LTS points to these new aliases. This would make the new star schema isolated from other star schemas.
However, it would have been great if I could have been able to reuse the existing dimensions in the BMM. Any suggestions on how we could reuse the existing dimensions and still have the BI Server join the existing dimensions through the new fact ? Any suggestions would be appreciated. -
How does the copyright thing work when importing a song from iTunes to iMovie.
The song was purchased legally through iTunes but does that mean I can include it in a movie for personal use?
ffeuer wrote:
The song was purchased legally through iTunes but does that mean I can include it in a movie for personal use?
Absolutely not.
Well... define what you mean by "personal use".
Matt
Message was edited by: Matthew Morgan -
How does the Reader or Acrobat determine which plug-ins should be loaded
Hi,
I have a custom plug-in for Adobe Reader and Adobe Acrobat.
The custom plug-in api file will be available in the plugins folder for all users.
But I want the plug-in to load for few users only.
Is there any registry key or any other property available to achieve this?
How does the Reader or Acrobat determine which plug-ins should be loaded?
Thanks,
VatsapalAdobe Reader and Adobe Acrobat looks for files with extension .api in the plugins folder.
-
How does the follwoing query work?
Want to know how does the follwoign query work??
For every row in flsp
the subquery is going to get executed or is it just one time execution of the subquery??
UPDATE flsp
SET (DURATION, sdr, inr) =
(SELECT SUM (tot_charges), SUM (tot_charges_sdr),
SUM (tot_duration)
FROM t
WHERE t.sender_pmn = flsp.sender_pmn
AND t.recipient_pmn = flsp.recipient_pmn
AND t.imsi_min = flsp.imsi
AND TRUNC (t.call_date) = TRUNC (flsp.call_date)
AND t.call_type = flsp.call_type
AND t.service_code = flsp.service_code
GROUP BY sender_pmn,
recipient_pmn,
imsi_min,
TRUNC (t.call_date),
call_type);
Edited by: user8731258 on Sep 27, 2010 2:54 AMuser8731258 wrote:
the global session table is going to hold data for one sessions where as the table flsp is going to hold data for the entire day.During a session there could be say 10 thousand records.Sounds like a bad idea.
user8731258 wrote:
ANd there are goign to aroung 100 such sessions.Continues to sound bad.
user8731258 wrote:
I have to update the flsp continually.Just got worse.
user8731258 wrote:
How do i make this fetch fast??This still makes no sense to me.
Why are you moving all this data around and utilizing temporary tables instead of directly querying the underlying data on an 'as needed' basis?
I think you have undertaken entirely the wrong technical approach to whatever business problem you are attempting to solve (though it's hard to say for sure as we still know little of what you've got going on).
So back to step number one like i asked before.
Can you explain (from the very beginning) WHY you are attempting this type of set up? -
How does the Labview based program apply to computer which without Labview
How does the Labview based program apply to computer which without Labview
student number:1110340001SInce you list your "student number", you are probably using the student edition.
You cannot build standalone executables with the student edition.
You need LabVIEW professional. If you only have LabVIEW full, you need to purchase the application builder seperately.
LabVIEW Champion . Do more with less code and in less time . -
How does the Family Share ask-to-buy notification determine which organizer's device to send it to? I keep receiving notifications on my iPad, but not on my iPhone. My iPad does not have a data plan so if I'm not on wireless, I don't receive any notifications.
Did you ever receive a solution for this issue?
-
How does the CBO calculate the selectivity for range predicates on ROWID ?
Hi all,
I'm wondering how the CBO estimate the selectivity for range predicates based on ROWID columns.
For example, for the following query the CBO estimates there's going to be 35004 rows returned instead of 7:
SQL> SELECT count(*)
FROM intsfi i
WHERE
ROWID>='AAADxyAAWAAHDLIAAB' AND ROWID<='AAADxyAAWAAHDLIAAH'; 2 3 4
COUNT(*)
7
Elapsed: 00:00:02.31
SQL> select * from table(dbms_xplan.display_cursor(null,null,'iostats last'));
PLAN_TABLE_OUTPUT
SQL_ID aqbdu2p2t6w0z, child number 1
SELECT count(*) FROM intsfi i WHERE ROWID>='AAADxyAAWAAHDLIAAB' AND
ROWID<='AAADxyAAWAAHDLIAAH'
Plan hash value: 1610739540
| Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers |
| 0 | SELECT STATEMENT | | 1 | | 1 |00:00:02.31 | 68351 |
| 1 | SORT AGGREGATE | | 1 | 1 | 1 |00:00:02.31 | 68351 |
|* 2 | INDEX FAST FULL SCAN| INTSFI2 | 1 | 35004 | 7 |00:00:02.31 | 68351 |
Predicate Information (identified by operation id):
2 - filter((ROWID>='AAADxyAAWAAHDLIAAB' AND ROWID<='AAADxyAAWAAHDLIAAH'))According to Jonathan Lewis' book, for a normal column the selectivity would have been:
(value_column1-value_column2)/(high_value-low_value)+1/num_distinct+1/num_distinct
But here with the ROWID column, how does the CBO make its computation ?
SINGLE TABLE ACCESS PATH
Single Table Cardinality Estimation for INTSFI[I]
Table: INTSFI Alias: I
Card: Original: 14001681.000000 Rounded: 35004 Computed: 35004.20 Non Adjusted: 35004.20Hi Jonathan,
Some Clarifications
=============
DELETE /*+ ROWID(I) */ FROM INTSFI I WHERE
(I.DAVAL<=TO_DATE('12032008','DDMMYYYY') AND (EXISTS(SELECT 1 FROM
INTSFI S WHERE S.COINT=I.COINT AND S.NUCPT=I.NUCPT AND S.CTSIT=I.CTSIT
AND NVL(S.RGCID,-1)=NVL(I.RGCID,-1) AND S.CODEV=I.CODEV AND
S.COMAR=I.COMAR AND S.DAVAL>I.DAVAL) AND I.COMAR IN (SELECT P.COMAR
FROM PURMAR P WHERE P.NUPUR=1))) AND ROWID>='AAADxyAAWAAHDLIAAB' AND
ROWID<='AAADxyAAWAAHDLIAAH'
Plan hash value: 1677274993
| Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers | OMem | 1Mem | Used-Mem |
| 0 | DELETE STATEMENT | | 1 | | 0 |00:00:05.94 | 53247 | | | |
| 1 | DELETE | INTSFI | 1 | | 0 |00:00:05.94 | 53247 | | | |
|* 2 | HASH JOIN SEMI | | 1 | 9226 | 7 |00:00:05.94 | 53180 | 783K| 783K| 471K (0)|
| 3 | NESTED LOOPS | | 1 | 9226 | 7 |00:00:00.01 | 10 | | | |
|* 4 | TABLE ACCESS BY ROWID RANGE| INTSFI | 1 | 9226 | 7 |00:00:00.01 | 6 | | | |
|* 5 | INDEX UNIQUE SCAN | PURMAR1 | 7 | 1 | 7 |00:00:00.01 | 4 | | | |
| 6 | INDEX FAST FULL SCAN | INTSFI1 | 1 | 14M| 7543K|00:00:01.73 | 53170 | | | |
Predicate Information (identified by operation id):
2 - access("S"."COINT"="I"."COINT" AND "S"."NUCPT"="I"."NUCPT" AND "S"."CTSIT"="I"."CTSIT" AND
NVL("S"."RGCID",(-1))=NVL("I"."RGCID",(-1)) AND "S"."CODEV"="I"."CODEV" AND "S"."COMAR"="I"."COMAR")
filter("S"."DAVAL">"I"."DAVAL")
4 - access(ROWID>='AAADxyAAWAAHDLIAAB' AND ROWID<='AAADxyAAWAAHDLIAAH')
filter("I"."DAVAL"<=TO_DATE(' 2008-03-12 00:00:00', 'syyyy-mm-dd hh24:mi:ss'))
5 - access("P"."NUPUR"=1 AND "I"."COMAR"="P"."COMAR")
When I force the NESTED LOOP SEMI JOIN the query runs faster:
DELETE /*+ ROWID(I) */ FROM INTSFI I WHERE
(I.DAVAL<=TO_DATE('12032008','DDMMYYYY') AND (EXISTS(SELECT /*+ NL_SJ
*/ 1 FROM INTSFI S WHERE S.COINT=I.COINT AND S.NUCPT=I.NUCPT AND
S.CTSIT=I.CTSIT AND NVL(S.RGCID,-1)=NVL(I.RGCID,-1) AND S.CODEV=I.CODEV
AND S.COMAR=I.COMAR AND S.DAVAL>I.DAVAL) AND I.COMAR IN (SELECT P.COMAR
FROM PURMAR P WHERE P.NUPUR=1))) AND ROWID>='AAADxyAAWAAHDLIAAB' AND
ROWID<='AAADxyAAWAAHDLIAAH'
Plan hash value: 2031485112
| Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers |
| 0 | DELETE STATEMENT | | 1 | | 0 |00:00:00.01 | 94 |
| 1 | DELETE | INTSFI | 1 | | 0 |00:00:00.01 | 94 |
| 2 | NESTED LOOPS SEMI | | 1 | 9226 | 7 |00:00:00.01 | 27 |
| 3 | NESTED LOOPS | | 1 | 9226 | 7 |00:00:00.01 | 9 |
|* 4 | TABLE ACCESS BY ROWID RANGE| INTSFI | 1 | 9226 | 7 |00:00:00.01 | 5 |
|* 5 | INDEX UNIQUE SCAN | PURMAR1 | 7 | 1 | 7 |00:00:00.01 | 4 |
|* 6 | INDEX RANGE SCAN | INTSFI1 | 7 | 14M| 7 |00:00:00.01 | 18 |
Predicate Information (identified by operation id):
4 - access(ROWID>='AAADxyAAWAAHDLIAAB' AND ROWID<='AAADxyAAWAAHDLIAAH')
filter("I"."DAVAL"<=TO_DATE(' 2008-03-12 00:00:00', 'syyyy-mm-dd hh24:mi:ss'))
5 - access("P"."NUPUR"=1 AND "I"."COMAR"="P"."COMAR")
6 - access("S"."COINT"="I"."COINT" AND "S"."NUCPT"="I"."NUCPT" AND
"S"."CTSIT"="I"."CTSIT" AND "S"."CODEV"="I"."CODEV" AND "S"."COMAR"="I"."COMAR" AND
"S"."DAVAL">"I"."DAVAL")
filter(NVL("S"."RGCID",(-1))=NVL("I"."RGCID",(-1)))the above post is from Ahmed AANGOUR
Case 1 - . If you check Plan hash value: 16772749938
=====
TABLE ACCESS BY ROWID RANGE| INTSFI For every row access from INTSFI - it fetches a record from INDEX UNIQUE SCAN | PURMAR1
If we check A-rows = 9226
9226 * 7 = 64582 request across the table - perhaps with hint of rowid it fetches exact rows from PURMAR1
in this case i think going for hash join with ordered hints (jonathan as you suggest go for leading hint's instead of ordered) - from INTSFI - PURMAR1 - instead of going for IN clause would get the rows that satifies the ("P"."NUPUR"=1 AND "I"."COMAR"="P"."COMAR")
|* 2 | HASH JOIN SEMI | | 1 | 9226 | 7 |00:00:05.94 | 53180 | 783K| 783K| 471K (0)|
| 3 | NESTED LOOPS | | 1 | 9226 | 7 |00:00:00.01 | 10 | | | |
|* 4 | TABLE ACCESS BY ROWID RANGE| INTSFI | 1 | 9226 | 7 |00:00:00.01 | 6 | | | |
|* 5 | INDEX UNIQUE SCAN | PURMAR1 | 7 | 1 | 7 |00:00:00.01 | 4 | | | |My understanding with above plan would change to
HASH JOIN
TABLE ACCESS BY ROWID RANGE| INTSFI
INDEX UNIQUE SCAN | PURMAR1
HASH JOIN
INDEX FAST FULL SCAN | INTSFI1
Which migt be feasible.
2 .
DELETE /*+ ROWID(I) */ FROM INTSFI I WHERE
(I.DAVAL<=TO_DATE('12032008','DDMMYYYY') AND (EXISTS(SELECT /*+ NL_SJ
*/ 1 FROM INTSFI S WHERE S.COINT=I.COINT AND S.NUCPT=I.NUCPT AND
S.CTSIT=I.CTSIT AND NVL(S.RGCID,-1)=NVL(I.RGCID,-1) AND S.CODEV=I.CODEV
AND S.COMAR=I.COMAR AND S.DAVAL>I.DAVAL) AND I.COMAR IN (SELECT P.COMAR
FROM PURMAR P WHERE P.NUPUR=1))) AND ROWID>='AAADxyAAWAAHDLIAAB' AND
ROWID<='AAADxyAAWAAHDLIAAH'Ahmed AANGOUR, modified the query by /*+ NL_SJ */ hint, Instead of that in to remove the most of the rows as we join the tables using subquery, I still doubt it
to go push_predicate hints - still doubt it.
Jonathan your comments are most valuable in the above two cases..
Looking forward to calrify my understanding with concepts of indexes for above test cases
- Pavan Kumar N
Maybe you are looking for
-
Why won't Firefox keeped me logged in to anything after I close and reopen it?
When I was running an older version of Firefox, when I would close a firefox window and later reopen it, I would stay logged in to everything: facebook, hotmail, gmail with multiple sign in, etc. It would also reload all the tabs I had open without m
-
I am looking at getting an SSD installed on my iMac. If I get the SSD installed, it will have no OS it will be blank. How would I get Mac OS X back on the hard drive? If I were to purchase a hard drive inclosure and put my old hard drive in the enclo
-
Grouping vendor payments using Grouping key issue
Hello Gurus, I created a new grouping key in config to be assigned to the vendor master (under Payments Transactions Accounting). The grouping key fields used were BUDAT (Posting Date) and ZFBDT (Baseline Payment Date). The automatic payment program
-
How to set delay between dequeue operation of an AQ adapter
Hi, We have one urgent requirement in 11g. We have some messages in DB for AQ queue and from composite, we want some delay between dequeuing of messages so as to avoid dequeing all the messages at one go. JCA Adapter wizard does not provide us any op
-
I'm trying to open a file of media clips & sequences to the browser. They're in Documents>Capture Scratch>P2 folder. When I click on P2 folder it opens the list in the right column. But it won't open the whole list in the brower where I need them. It