Curios about query drilldown process?
we load data from ODS to Cube and finally report off of the cube. what i am trying to find out is when the user look for particular chunk of data does the query drill down from the cube all the way up to ODS to get that particualr chunk of data? this is what the concept of jump target is right? in other words is the query is able to drill down in to the ods or the cube is it limit?
Thank you,
York.
Hi Les,
While writing the query you have to choose on which infoprovider u r using. If the query req detail info, it won't go automatically upto ODS to get it done. By using Navigational attribute you can dirll down to any level, in this case you can jump one infoprovider to another to pick the data. What ever the case you have to specify to lead the query where to search the data (Info Provider).
thanks
Srinivas.D
Similar Messages
-
About Query returns no results?????
Has anyone had any luck getting an about(xxx) query to function as described in the documentation? I'm sure it works....but I can't seem to get anywhere.
I created a table "TEST_HELP". Columns Help_id, Help_Text
I put a handfull of records in the table, populating the column Help_Text with data such as
1, This is a document about animals.
2, This is all about the wonder world of dogs.
3, This is why fish suck.
4, Cats and why they think they rule the world.
5, Creature of the deep.
ok, next I created a small thesaurus with terms defined as:
animal
syn creature
nt dog
nt cat
nt fish
I load the thesaurus.
I create a CONTEXT index on TEST_HELP, utilizing LEXER preferences:
INDEX_TEXT= YES
INDEX_THEMES= YES
I can issue a contains query using the thesaurus operators SYN, NT and get the results I expect. However if I issue an about(animal) query I would expect to get all 5 records. (Based on the expansion of all SYN and NT)
So, can anyone tell me if my process is wrong? Are my expectations wrong? Does it even work?
Working with Oracle 9.2 on a windows 2000 server platform.
Thank you all for you time.Alright, I recreated the table, thesaurus and index (in that order)
and the about query appears to be working.
When I recreated the table I added more robust data to the help_text column.
(Don't know if this had anything to do with it or not)
Is there a specific order of creation that needs to be followed? table, thes, index -
About query Operator in find page??
hi all~
I hava a trouble about query operator.
for example:
In find page , there are some attribute for query.
attribute BRAND for query the vender's name,
Assume database has the follow data:
BRAND
=================
1.IBM
2.RedIBM
3.BLUEIBMCO
Case 1:When i input IBM in BRAND attribute and press Find,the result is :IBM
Case 2:When i input %IBM in BRAND attribute and press Find,the result is : RedIBM,BLUEIBMCO
How could I get above two result just input IBM??
I want to serch the value of BRAND that contain IBM whether it location at the frond or middle.Spray Lin,
I'm afraid that this time I do not quite understand what you are after.
When I understand you correctly, you are saying that the current behavior is not what I think it should be, for example IBM results in IBM and IBMblue. That is strange indeed.
Furthermore is it that when you try to find on IBM it should find everything with IBM in it? Said in other words, entering IBM should have the same result as entering %IBM%?
If that is the case, you can achieve that by adding an extra property to the find form bean: "wildcardUsage". Setting this to "surround" will result in a "%" being put in front and at the end of the value you enter.
You can look this up in the JHeadstart Developers Guide in the section Model-Aware Form Beans.
Jan Kettenis,
JHeadstart Team -
Question about sql batch process in java app
hi all
i have few questions about using batch process in the java.sql package. the addBatch method can take sql statements like inserts or updates. can we use a mixture of insert and update then? can we use prepared statement for this? it's just for performance consideration. thanks in advance.hi all
i have few questions about using batch process in the
java.sql package. the addBatch method can take sql
statements like inserts or updates. addBatch() is a method that has no parameters. It doesn't 'add' sql statements.
can we use a
mixture of insert and update then? can we use
prepared statement for this? it's just for
performance consideration. thanks in advance.The point of batching is that you take something that is invariant and then 'add' a variant part.
Thus a single insert has an invariant part (the table and specific columns) and a variant part (the data for each row by column.)
You can use anything that is valid SQL (for jdbc, driver, database) and use it presuming your database allows that particular usage in batching. But that does require some regular pattern - it won't work if your usage is random. Nor will it work if some statements need to be executed only some of the time. Finally also note that transaction processing will often require smaller chunks - you can't insert a million rows in one batch. -
About query not using extended knowledge base
Hello,
I compiled a small thesaurus to the knowledge base:
ctxkbtc -user dcenter/dcenter -name THES_PLACE
It contains:
GERMAN
USE FEDERAL REPUBLIC OF GERMANY
UF FRG
BT EUROPE
NT BAVARIAN
I have 2 record, 1 containing GERMAN, 1 containing BAVARIAN.
Field is indexed with a context index, and the index is synchronized.
I'm using 8.1.7.2 english.
Using an ABOUT operator, I always get 1 hit.
SQL> select count(*) from file_info where contains (places, 'about(BAVARIAN)') > 0;
The (9i) doc says:
When you augment the existing knowledge base with your new thesaurus, you query with the ABOUT operator which implicitly expands to synonyms and narrower terms.
How can I get the ABOUT query to expand to the narrower term in 8.1.7.2? Is this a bug, do I have to upgrade, or am I missing something?
ThanksHello.
Did you load the supplied english thesaurus as your DEFAULT thesaurus using the command line utility ctxload (or some other method)?
I had the same experience until I loaded the sample thesaurus in $ORACLE_HOME/ctx/sample/thes/. Now my ABOUT and SYN queries work as expected though I still have a concern about the incomplete nature of the sample thesauri (I'll open a new thread on that topic).
Hope this helps. -
Eternal "Query being processed"
Hi all!
I try to monitorize the Communication Channel status in the RTW then i put CC name -> Use filter -> select the CC, popout a typical message "Query being processed" and nothing happens..
Please help!Hi,
If you need to see the log information you can check the following PI logs:
1) defaultTrace.trc
2) applications.log
3) xi.log
Also, its a worth reading - http://help.sap.com/saphelp_nw70/helpdata/en/44/2a1a8620323f0ee10000000a114a6b/frameset.htm
Hope this helps.
Regards,
Neetesh -
SAP B1 2007 A PL46
Hi All,
I have many questions about query generator :
1. It is possible to use or to call a stored procedure ? If yes, how can we implement this ?
2. I try to use this query :
declare @commercial integer
set @commercial = [%0]
declare @prjbegin nvarchar(20)
set @prjbegin = '[%1]'
declare @prjend nvarchar(20)
set @prjend = '[%2]'
SELECT T2.[DocNum], T2.[DocDate], T2.[CardCode], T2.[CardName], T3.[ItemCode], T3.[Dscription], T3.[Quantity] FROM [dbo].[OINV] T2 INNER JOIN [dbo].[INV1] T3 ON T2.DocEntry = T3.DocEntry WHERE T2.[SlpCode] =@commercial AND T3.[Project] >=@prjbegin AND T3.[Project] <=@prjend
but it don't work. How can we do to use this ?
Thanks for your help.
Best regards.
MichaelHi,
I try this but it's not working :
declare @commercial integer
set @commercial = (SELECT SlpCode FROM OSLP WHERE SlpCode=[%0])
declare @prjbegin nvarchar(20)
set @prjbegin = 'N000001'
declare @prjend nvarchar(20)
set @prjend = 'R000003'
SELECT T2.[DocNum], T2.[DocDate], T2.[CardCode], T2.[CardName], T3.[ItemCode], T3.[Dscription], T3.[Project] FROM [dbo].[OINV] T2 INNER JOIN [dbo].[INV1] T3 ON T2.DocEntry = T3.DocEntry WHERE T2.[SlpCode] =@commercial AND T3.[Project] >=@prjbegin AND T3.[Project] <=@prjend
I have an error that is : you must specify a table name where execute the selection ...
I think we can't use %0 and the statement DECLARE.
Thanks
Michael -
Doubts about Query Builder tool
Hi!
We are using database link and the developed querys have many schemas.
There is possible to use the Query Builder tool for multi Database schemas? How to do?
There is possible to create query in Query Builder tool using database link? How to do?
I would like to know about Query Builder tool in the our activies.
*If there is more information about it(Query Builder tool) or documentations, please talk to me.
Best Regards,
Priscila Brittohi.
try this [http://sourceforge.net/projects/sqleonardo/|http://sourceforge.net/projects/sqleonardo/]
maybe it can help you. -
Problems about query filter (BEx).
Hello there,
I have some problems about query filter (BEx).
I have master data and I want to use attribute in this master data to dynamic filter in query(BEx).
But this attribute is key figure. I can't done it now. TT
Is this possible? If yes, could anyone advise how this is to be done?
Thanks in advance.Hi
In BEx there is option as 'Exceptions' & 'Conditions'. If you go in condition, you can specify range for key figure output. This is either predefined or by user selection. You create the condition as per your requirement & it will show you filtered data.
How to create conditions you will find easily on this site.
You can create as many conditions as no of filters you want. You can create these at query level also at report output level. -
Curios about Lync 2013 std FE SQL instances - 3 of them?
Hi there.
We are just "curios" about instances which were created in SQL express for Lync server 2013 standard front end.
Those are: LyncLocal, RTC, RTCLocal.
We were wondering is it necessary to have all the three ones?
What is the "role" of every instance?
bostjancYes. It is necessary to have all three databases.
You can take a look at Jeff's blog here for more detailed information
http://blog.schertz.name/2013/03/lync-server-2013-deployment-part-2/
Also, take a look at the following technet article which explains what each database is used for
http://technet.microsoft.com/en-us/library/gg398479.aspx
Hire Us : http://www.datsit.in/
Get your first Lync project done absolutely free! -
What means about Non-local Process blocks cleaned out in RACalert log
Hi Experts,
We have 4 nodes oracle 11.1 RAC in redhat5.1.
I saw lots of message about Non-local Process blocks cleaned out in alert log files today.
such as
Tue Sep 8 16:31:04 2009
Reconfiguration started (old inc 18, new inc 20)
List of nodes:
0 1 2 3
Global Resource Directory frozen
Communication channels reestablished
* domain 0 valid = 1 according to instance 0
Tue Sep 8 16:31:04 2009
Master broadcasted resource hash value bitmaps
Non-local Process blocks cleaned out
Tue Sep 8 16:43:46 2009
LMS 0: 0 GCS shadows cancelled, 0 closed
Tue Sep 8 16:43:46 2009
LMS 1: 0 GCS shadows cancelled, 0 closed
Set master node info
Submitted all remote-enqueue requests
Dwn-cvts replayed, VALBLKs dubious
All grantable enqueues granted
Does some expert above message for me?
Thanks
JimThanks- good observation.
Unusual, perhaps, but it is what we need in our setting. And- allegedly this is supported / encouraged based on my understanding of the OS X Server docs. I don't have any control over the AD server (since it's in the university-level IT management's hands) but I -do-, of course, have control over my own server. So I just want to use their authentication (and save my students / lab folk the trouble of having multiple logins, etc).
You make a good point / observation / point-of-debuggery. Indeed, if I set the client machines to use -only- the main campus AD server (and thus allow logins from everyone on campus) it works first time. So it is some interesting interaction betwixt the Mac OS Server and the client methinks. In fact, across campus, all the 'public' machines are simply bound to the AD server and you can just log in that way. -
Hi All,
I work with Result Source in SP 2013 which is configured to use OpenSearch protocol. When I create KeywordQuery and execute the query with SearchExecutor the below error is thrown and log at ULS
Microsoft.Office.Server.Search.Query.Pipeline.Processing.OpenSearchReaderProducer : Unable to complete OpenSearch communication. System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Office.Server.Search.Query.Pipeline.Processing.OpenSearchReaderProducer.ReadAccountAuthCredentials(AuthenticationInformation
authInfo, String& username, String& password)
This code does work on certain farm setting, but for a particular setting like
+ Search Admin, Crawler, Content Processing, Analytics Processing is on 1 server
+ Query Processing, Index Partition is on 1 server
I've tried to find the assembly which has class OpenSearchReaderProducer to decompile and see what could causing null exception but I cannot find that assembly, does anyone know where it is or could suggest a better solution for above issue?
Appreciate all the comments
Thank you
StevenHi Steven,
According to your description, my understanding is that you got an error when you tried to use Result Source in SharePoint 2013.
You can set it to anonymous search, then check whether it works.
Here is a similar post for you to take a look at:
http://social.technet.microsoft.com/Forums/en-US/26fe7715-e4b3-404a-bcb7-6f6f3ff1ea62/opensearch-search-has-encountered-a-problem-that-prevents-results-from-being-returned?forum=sharepointsearch
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
Lingering query cannot process
Hi, I need some help tracking the reason behind the lingering of a Create Table as Select STATEMENT;
Something is hapening, most probably some locks have been aquired and never released by the server.
First of, i am runing queries against a database server with one client: myself. All the queries it runs are ordered by me.
I cannot make any sense of what is making my query sometimes run, and others not.
The query I am trying to run:
CREATE TABLE FAVFRIEND
NOLOGGING TABLESPACE TARGET
AS
SELECT USRID, FAVF
FROM (
SELECT ID AS USRID, FAVF
FROM PROFILE P
MODEL
PARTITION BY (ID)
DIMENSION BY (1 as FINDEX)
MEASURES (FAVF1, FAVF2, FAVF3, FAVF4, FAVF5, 0 AS FAVF)
RULES (
FAVF[1] = FAVF1[1],
FAVF[2] = FAVF2[1],
FAVF[3] = FAVF3[1],
FAVF[4] = FAVF4[1],
FAVF[5] = FAVF5[1]
) FAVFRIEND
WHERE FAVF IS NOT NULL
The query Is syntatically correct, and has finished more than once.
Before this query is run my program launches sqlplus with a script that performs
DROP TABLE FAVFRIEND PURGE;
QUIT;
After this I snapshot a set of statistics. That do not involve querying neither the PROFILE table, nor the FAVFRIEND table.
Finally I order the execution of this query, and most times, it just hangs there not doing any processing.
I can tell with certanty that all the other sql I have sent to the database has finished execution.
1) because it was processed via sqlplus, which always disconnects after processing a batch.
2) because I run the following query:
select s.username,s.sid,s.serial#,s.last_call_et/60 mins_running,q.sql_text
from v$session s join v$sqltext_with_newlines q on s.sql_address = q.address
where status='ACTIVE'
and s.username = 'SONO99'
and type <>'BACKGROUND'
and last_call_et> 0
order by sid,serial#,q.piece
Which tells me that the only query sono99 (my user) is running, is the CREATE TABLE as SELECT.
Furthermore, the exact same procedure that isn't working for this query has worked before with the Unpivot query and the Select Project and Union queries.
The only thing that changed from the previous benchmakrs to this one is that this one involves the model query.
Another piece of information, let's say my sqlplus is haning there... trying to execute the Model query that just does not run. I kill sqlplus. Instantly when i query Oracle for the lingering queries with the select from v%session and sql_text, I notice that my CREATE TABLE with model is no longer there. So: disconnecting from the database is enough for oracle to know that the client is no longer interested in a server response.
After making sure nothing from sono99 is runing against the database, i try to DROP FAVFRIEND TABLE PURGE;
The statement fails because no FAVFRIEND table was created. And finally i wonder: could it be that the PROFILE table that was only selected upon was locked?
Well, i try to drop the profile table... and it drops.
So: my conclusion is! No locks exist neither on the Profile table nor on the Database object Favfriend (which does not exist at the point that i issue the execution of this query). Possibly some temporary tablespace was aquired by the Model query that has not been made available by oracle at the End of a previous successful CRETE TABLE as select statement.
But even if this was the case, any locks should have been released because I always restart the database before going into the
snapshot
create table as select
snapshot.
I have no idea what may be making oracle not process my statement.
Something else that I have just tried:
Now I just tried bulk loading the 5 million rows of data into the Profile table, and runing the query again.
The data was of course inserted successfully, and the query is of course still hanging.
I tried however, in parallel to run a second query, this one just performing a SELECT count(*) FROM PROFILE, and it succeeded doing so.
A Select NAME FROM PROFILE WHERE ID=500000 also returns a result.
The profile table is definably not the issue here.
by the way i just exported to a txt the status of my haning oracle system, and it looks like this:
"USERNAME" "SID" "SERIAL#" "MINS_RUNNING" "SQL_TEXT"
"SONO99" "140" "40" "10,9" "CREATE TABLE FAVFRIEND
NOLOGGING TABLESPACE TARGET
AS
SELECT USR"
"SONO99" "140" "40" "10,9" "ID, FAVF
FROM (
SELECT ID AS USRID, FAVF
FROM PROFILE P
MODEL"
"SONO99" "140" "40" "10,9" "
PARTITION BY (ID)
DIMENSION BY (1 as FINDEX)
MEASURES (FA"
"SONO99" "140" "40" "10,9" "VF1, FAVF2, FAVF3, FAVF4, FAVF5, 0 AS FAVF)
RULES (
FAVF[1]"
"SONO99" "140" "40" "10,9" " = FAVF1[1],
FAVF[2] = FAVF2[1],
FAVF[3] = FAVF3[1],
FA"
"SONO99" "140" "40" "10,9" "VF[4] = FAVF4[1],
FAVF[5] = FAVF5[1]
) FAVFRIEND
WHERE F"
"SONO99" "140" "40" "10,9" "AVF IS NOT NULL
This is way beyond my comprehention of Oracle. Going to try to run this again with 100 k tuples instead.
Edited by: user10282047 on Oct 20, 2009 12:05 PM
Now, trying the same process, without even restarting the database once (i just killed the lingering sqlplus connection) and recreated the profile table with 100k tuples. It executed successfuly my query. I am starting to think that this problem has something to with oracle and the number of threads it tries to created to run a modal query with 5 Million partitions. But if it is so, it shouldn't work sometimes and others not.
Edited by: user10282047 on Oct 20, 2009 12:23 PMThis definably looks like an oracle bug!
Throughout the night the computer ran several tests against the database with source tables containing less than 5 million tupels and it succeeded in processing them.
The 5 million tuple query has like 1 in 100 chances of succeeding.
I thought about chaning the query implementation and eleminating the Partion By (ID),
but unfortantly the CV(ID) function can only be used on the right side of a rule.
I cannot right a rule like FAVF(cv(ID), 1) = FAVF1(CV(ID),1),
and so. While the first CV works the last doesn't.
Just finished trying this query with 3 million tuples, and It also worked.
I am gonna quit trying to find out a problem on my behalf, this clearly on Oracle's hands not mine.
There is some breaking point where the model query stops working.
Currently i think that it may be related with the Partition By clause, Oracle may not be prepared to handle that many partitions. Unfortunately I can not process the query with just one partiton (that being the whole database table, because they don't allow me to use the CV function on the left side of a rule).
So I will consider the operator tested.
Edited by: sono99 on Oct 21, 2009 8:27 AM -
Help about query performance -Thanks
Hi
I have a j2ee web application with oracle database.
I finish the function implementation by put all caculaton inside oracle query ( funciton (todayData - avg(historical data )) / std(historical data) and using group by and sub query .but performance is very slow about 3 minute whick is far from client's 10 second requirement.
My question is if I take raw data from database and do the caculation part in Java will it be faster. Is there some other way to speed up the process?(historical data is big)
Thanks for your time and helpcreate a function index. after creation, see your sql using the function index
this will be faster
regards -
HCM Processes & Forms - Some questions about the PD Processes
Hi Experts,
At my Organisation we use HCM Processes and Forms and Organisation Management and MSS to manage Position Based Security (PBS).
The MSS Managers have requested a form be developed which they can use to extend an existing Position to Employee temporary assignment (IT1001 S-P with A081 relationship) which is due to expire within the next 30 days. We recently upgraded to ECC EHP6 and I thought I would now have a go at developing this Form.
While researching in SCN and SAP Press books on the ‘HCM Processes and Forms’ topic, I have discovered a lot of information that has assisted me so far in progressing this solution.
There are a few givens that I have confirmed so far, which are as follows;
Since we are using Positions (Organisation Management), the only option available here is to use the PD Process, which implies using the SAP_PD Back_End Service. Therefore this become the baseline to build upon.
While researching in SCN and SAP Press books on this subject I could not find relevant information about what is possible using the SAP_PD Service to achieve my solution design for the above requirements and thus my post to the HCM P&F Community for assistance.
My questions are as follows;
In the solution design, I was considering to use the “Process without Start Object” or “Mass Start” to skip Step 1 - “Selection Object” and use a Generic Service to get all the positions for the Manager (along the lines of the SAP Standard Generic Service - find Positions in Manager’s area of Responsibility) and only retain the Positions where the End Date for the IT1001 A081 relationship in between the Effective Date and Effective Date plus 30 days. This should provide me with all the positions under the Manager that have the A081 relationship with the assigned employee that are about to expire within the next 30 days.
I want the result presented on the Form in a Table format so that the Manager has to enter the Extension Start Date and End Date for the new assignment period.
Is this possible using Standard Design Time functionality?
2. Or Instead of Question 1, could I use OADP to achieve the same result using a custom search class to return a list of multiple objects (Positions)which is used to populate the form?
3. I get the impression that the ‘Mass Start’ process is mainly for multiple employees. Can it also be used for multiple PD objects?
4. I get the impression that if I used the ‘Mass Start’ option I could only use this if I was CREATING a new object or assignment? (I take it that you cannot use the Mass Start option to CHANGE multiple existing objects. Only because I have not seen any SAP Standard examples of this yet!) Please confirm if this is possible?
5. Has anyone used the “Query for Mass Start” option on a Process? How does that work? (Could I write a ‘SAP Query’ to get the positions I am interested in under the Manager?) Is there a sample SAP Standard process that uses a query?
Your assistance would be greatly appreciated.
Thanks in Advance.
Regards,
Steveno limit
no limit
limitations of what?
you can use forms on mac, pc, and other systems
Maybe you are looking for
-
Imac disk error after upgrade to 10.5.7
Hi, I was wondering if anyone could help out, i've having some problems ever since i upgraded to the 10.5.7 Firstly background on my mac, prior to the upgrade i was at 10.5.4, and before this i have had a few kernel panic crashes and managed to fix t
-
Photoshop CS6 - files compatible with all CS versions?
I create designs with Photoshop CS6. Oftentimes they include clipping masks, layers, groups ... . Will my client be able to modify the design with every CS version? Are my designs (made with CS6) 100% compatible with very old CS versions, too? Or sh
-
Is there Converting Pantone Colors to CMYK presets?
I have been trying to convert both Pantone Colors to CMYK and CMYK to Pantones on a few of my projects. I walk throught the steps but nothing happens. My counterpart which has CS5.5 also is able to do it both ways just fine. Is there a pre-set som
-
When I use the healing brush, I see the white paint, but when I click and let go, nothing happens. I am on a Mac.
-
Hello, I am having a problem for a week now: I am in Thailand and wanted to use a Thai Sim on my phone, so I tried one out, but as it wouldn't work I put my Italian Sim back in the phone and since then I am not receiving any emails any more. When I a