Query views are not using OLAP cache
Hi,
I am trying to pre-fill the OLAP cache with data from a query so as to improve the performance of query views.
I have read several documents on the topic, such as How to
Performance Tuning with the OLAP Cache (http://www.sapadvisors.com/resources/Howto...PerformanceTuningwiththeOLAPCache$28pdf$29.pdf)
As far as I can see, I have followed the instructions and guidelines in detail on how to set up the cache and pre-fill it with data. However, when I run the query views they never use the cache. For example, point 3.4 in the abovementioned document does not correspond with my results.
I would like some input on what I am doing wrong:
1. In RSRT I have Cache mode = 1 for the specific query.
2. The query has no variables, but the following restrictions (in filter): 0CALMONTH = 09.2007, 10.2007, 11.2008 and 12.2007.
3. I have one query view with the restriction 0CALMONTH = 10.2007, 11.2008 and 12.2007.
4. I have a second query view, which builds on the same query as the first query view. This second query view has the restriction 0CALMONTH = 11.2008 and 12.2007.
5. There are no variables in the query.
6. I run the query.
7. I run the first query view, and the second query view immediately after.
8. I check ST03 and RSRT and see that cache has not been used for either of the query views.
Looking at point 3.4 in the abovementioned document, I argue that the three criteria have been fulfilled:
1. Same query ID
2. The first query view is a superset of the second query view
3. 0CALMONTH is a part of the drill-down of the first query view.
Can someone tell me what is wrong with my set-up?
Kind regards,
Thor
You need to use following process of process chain: "Attribute change run (ATTRIBCHAN)". This process needs to be incorporated into your process chains which loads data into provider on top of which your query is based.
See following links on topic how to build it:
https://help.sap.com/saphelp_nw73/helpdata/en/4a/5da82c7df51cece10000000a42189b/frameset.htm
https://help.sap.com/saphelp_nw70ehp1/helpdata/en/9a/33853bbc188f2be10000000a114084/content.htm
cheers
m./
Similar Messages
-
Can a query view be broadcast to olap cache??
Hi,
I am trying to pre-calculate a query view to the olap cache. I do not see this option in drop down. Is it possible
ThanksHi,
Well the few setups of ASA + Ironport that I have seen uses an WCCP ACL on the ASA which already can define which traffic is forwarded to Ironport and which simply bypasses it and goes straight out of the ASA.
Those that need to bypass Ironport are specified in the top of the ACL with "deny" statements.
access-list WCCP line 1 deny ip host host
or
access-list WCCP line 1 deny ip host any
I am not sure if this was what you were looking to do.
- Jouni -
Some Crystal Reports are not using the Cache Server
Hi...we are currently running BOE XI R2 SP2. I setup a server group with a Cache Server and a Page Server. In the CMC, I set this cache server to keep reports cached for 15 minutes. On the Process tab of some reports, I specifically set the report to use this new server group. On some of the reports this works as expected. For others, it does not appear to be since the cache folder's Date Modified date does not change. So far the only similarity between the reports that do not use cache is that these reports have sub-reports. Has anyone experienced this before? If so, how did you resolve it?
Thanks!Hi Rich,
the connectivity on the Designer an don the BusinessObjects system is identical. Is region the only characteristic being used in the report ? which connectivity did you use in Crystal Reports ?
ingo -
We are on 7.3 and I have been doing some performance tuning. I've noticed that even though a query is in the query aggregate in the cache monitor when I run it for the 1st time every morning it does not use the cache. I traced it from ST05 and verified this. However when I run it the second time during the day it uses the cache. The query cache mode is set to 5. do you know why it does this? I am using the exact same parameters when I run the query every time.
You need to use following process of process chain: "Attribute change run (ATTRIBCHAN)". This process needs to be incorporated into your process chains which loads data into provider on top of which your query is based.
See following links on topic how to build it:
https://help.sap.com/saphelp_nw73/helpdata/en/4a/5da82c7df51cece10000000a42189b/frameset.htm
https://help.sap.com/saphelp_nw70ehp1/helpdata/en/9a/33853bbc188f2be10000000a114084/content.htm
cheers
m./ -
Hello All,
I am a newbie to oracle dB.
I have an old VB6 application code that used to "talk" with Oracle dB (version 10g). The 2 machines used to be connected using the Microsoft ODBC for Oracle driver ("Provider=MSDASQL.1"). It used to run fine and all the dB's Views were updated automatically. We recently updated our Oracle to 11g running on Windows2008 r2 64bit machine. We are no longer using the Microsoft ODBC driver but the Oracle client (OraClient11g home1). The VB6 application seems to work OK, see all the records and all BUT, I noticed that all our Views are not being updated automatically anymore. I was wondering if any of you have any idea as to why this is happening and what should I do? I can always go back to the code and force the update on the all the Views but, I was hoping for a quick connection settings tweak if existed.
Thanks
g837748 wrote:
Hello All,
I am a newbie to oracle dB.
I have an old VB6 application code that used to "talk" with Oracle dB (version 10g). The 2 machines used to be connected using the Microsoft ODBC for Oracle driver ("Provider=MSDASQL.1"). It used to run fine and all the dB's Views were updated automatically. We recently updated our Oracle to 11g running on Windows2008 r2 64bit machine. We are no longer using the Microsoft ODBC driver but the Oracle client (OraClient11g home1). The VB6 application seems to work OK, see all the records and all BUT, I noticed that all our Views are not being updated automatically anymore. I was wondering if any of you have any idea as to why this is happening and what should I do? I can always go back to the code and force the update on the all the Views but, I was hoping for a quick connection settings tweak if existed.
Thanks
gWhat evidence do you have that views are not being 'updated'? Are you talking about materialized views? A normal view has nothing to 'update'. A view contains no data. It is nothing but a pre-defined query. -
ATG Search | Query Rules are not executing
Hi,
We want to put some search relaxation, for example partial entry of a search term returns results i.e.if user enter "shi" results should show all shirts.
Followed following steps for that,
1) Created query rules for wildcard pattern with a actions.(For example created a pattern "shi*" and action "prop,string,displayName,Shirt" , so that when a user enter "shi", search results would return all products whose name contain "Shirt" or "Shirts".
2) After indexing, verified Query Rules are applied; using "Index Review" (QueryRuleLoad -- 4 rules, 4 patterns, 4 actions, from stream)
3) Layered the component /atg/commerce/search/catalog/QueryRequest property ruleMode to exec so that search request contain "ruleMode=exec" as per ATG docs.
4) Clear and Disable cache using the component : /atg/search/routing/CacheService/
5) Search submitted on site for "shi".
6) Verified Search request XML that "ruleMode=exec" is being send to Search Engine.
But as per query rules, search results/response are not coming, verified response XML, but didn't find any clue.
Are we missing any configuration for query rules to execute or the pattern & action which we have created are not proper ?
Thanks,
SarbajeetHi ,
According to your description, my understanding is that you want to configure Query Rule for the SharePoint Contextual Search (by default its result page is osssearchresult.aspx).
As far as I know, the Query Rules
work in the SharePoint Contextual Search when you define them on site level. You can create your query rule in
your Site -> Site Settings -> Search -> Query Rules.
Meanwhile the SharePoint Contextual Search is based on the result sources defined in the Site Settings->Search -> Result Sources, you need to make
the result source of your Query Rule to the above Result Source.
Reference:
http://sharepoint.stackexchange.com/questions/64393/where-to-define-query-rule-and-when
Best Regards,
Eric
Eric Tao
TechNet Community Support -
How to not display nodes in a tree if Oracle roles are NOT used?
How to not display nodes in a tree if Oracle roles are NOT used?
We don't use Oracle DB roles to grant users access to Forms from the menu. We use a template and role system of our own. Basically a few tables with templates and roles.
We want to convert our normal Forms menu to a tree menu and one of our key requirements is that when the tree is populated ONLY nodes with programs (i.e. forms) he has been granted to execute is shown.
Since we don't use Oracle Roles how to do this in a tree?
I created a function to show/hide LEAF nodes, BUT problem is that there are sub-menu nodes showing even if the leaf-nodes under it has not being displayed. My function has suppressed it.
My tree query is like this:
SELECT
t.status, LEVEL, t.label, t.icon, t.node VALUE
FROM
tma_tree_menu t
WHERE
tma_authenticate_sys_chk_role(USER, t.node) = 1
CONNECT BY
PRIOR t.node = t.master
START WITH
t.MASTER IS NULL
ORDER SIBLINGS BY
t.position
The tma_authenticate_sys_chk_role will return 1 only if the user has access to the form under that node.
I tried the FTree functions in Forms but even that has nothing.
Any help would be greatly appreciated.
Edited by: Channa on Mar 17, 2010 6:49 AMWould you share the source code? I guess what I need is how exactly you retreive the user credentials from the DB table and set that boolean variable.
and then how to condition it in UIX? -
'You Are Not Using The Correct Type of Phone Cord' Error
Having a issue with my fax on my HP Officejet Pro 8500 wireless. Tried to send a fax, it received a send error. I ran fax test and it came back with "You are not using the correct type of phone cord". Nothing has changed since I last fax'd but I check the lines and connection, everything appears ok. Phone jack is connected to 1-line and Officejet '2-ext' is connected to the phone. I use a dedicated phone # and the Officejet is set to auto answer. I can call out and receive calls on the phone connect to the Officejet. My assumption is that since I can use the phone without issue there is nothing wrong with the phone line. Any ideas?
This question was solved.
View Solution.I was having the same problem. I'm using a the 2 wire phone cord provided with the printer and still getting this error. Turns out that it related to have a phone extension plugged into the printer. If I unplug the telephone form the extension jack on the back of the printer, then the fax test passes. I was even using a 2 wire cord on the phone extension but it seems that simply having a telephone plugged into the extension jack will cause this error.
Run the test without a telephone plugged into the printer's extension jack and you should be fine.
Worked for me! -
BPM worklist app views are not visible in IPM task viewer
Hi,
we upgraded our system from 11.1.1.3.0 to
weblogic 10.3.5.0
SOA 11.1.1.5.0 with BPEL processes
ECM with IPM and UCM 11.1.1.5.0
after upgrade i have problem with profiles in IPM task viewer page. Views are created in BPM worklistapp and all users can see tasks assigned to them there. But those views are not visible in IPM task viewer page (i tried it using driver page). Because of missing profiles/views users can't see and process tasks assigned to them. In log files isn't raised any error message.
Everything was working before upgrade. Can someone help me with this? What can i have wrong there?
Thanks a lot in advance for any help
Edited by: 914063 on Jun 20, 2012 12:56 PM
Edited by: 914063 on Jun 20, 2012 12:57 PMHi Renuka,
There are basically two ways to create an ADF UI for a BPM Task:
1. Generate it from the task
2. Create a ADF Taskflow based on Human Workflow Task
Since I tell this by heart, I might be slightly wrong in the terms.
You probably want to try the second option. It is accessible from the "New Gallery". You'll have to provide the Human Task from the BPM project, but then you can build up the ADF Taskflow by your self, based on the customizations of the rest of your application.
Should not be rocket science for someone with ADF11g experience. Since it is not my dayly job, I need to figure it out every time again ;). But I did it in the past and it wasn't so hard.
Regards,
Martien -
I want to delete a lot of things childrens stories, albums which are not used which that are on my ipad. However when I go through Itunes it wont show me most of the stuff in my library. it takes ages to delete one at a time.
Can you help please?Thanks King_Penguin for taking time to read and reply.
I just purchased this movie on Thursday, May 15, so just a few days ago. I have never had any trouble whatsoever since I have been in Vietnam. I have downloaded several movies and even music and they have all synced to my respected Apple products except for this purchase.
Sorry, I don't quite understand what you mean by studios and different versions. Could you please explain?
I checked my purchased list in my purchase history under my account and there are no hidden items. -
How do I find out what features are not useful in my Classifier?
How do I find out what features are not useful in my Classifier? I am trying to trim down the number of features to speed up the training of my data, I have about 3700 features. I have found the Filter Based Feature Selection Module and have not been successful
in using it. I have looked through all the examples and have not been able to find any examples using the module. Will the Filter Based Feature Selection Module help me to trim features. If so how do I use it?One way to do this would be is to use a random forest classifier. Feature/variable importance can be obtained relatively easily with random forests.
Here is how you may do it in R.
> install.packages('randomForest') #install randomForest package in R if it is not already there
> library(randomForest) # reference the library
> data(mtcars) # load motor cars data that ships with
#train a random forest
> mtcars.rf <- randomForest(mpg ~ ., data=mtcars, ntree=1000,keep.forest=FALSE, importance=TRUE)
> importance(mtcars.rf)
> importance(mtcars.rf)
#You will see an output like below
%IncMSE IncNodePurity
cyl 16.168645 169.96741
disp 18.672188 260.08722
hp 17.584375 184.95007
drat 6.948743 63.54528
wt 17.818509 254.30347
qsec 4.772889 33.25546
vs 5.303058 24.39064
am 5.210181 17.36626
gear 4.619161 21.55450
carb 8.577037 28.46715
# or plot the importance as follows
> varImpPlot(mtcars.rf)
What this tells you is how important predictors/features/variables like horsepower(hp), weight(wt), no. of cylinders (cyl) is in predicting miles per gallon (mpg).
If you are wondering how the data looks like. Try this
head(mtcars) # gives first few lines of the data set.
mpg cyl disp hp drat wt ...
Mazda RX4 21.0 6 160 110 3.90 2.62 ...
Mazda RX4 Wag 21.0 6 160 110 3.90 2.88 ...
Datsun 710 22.8 4 108 93 3.85 2.32 ...
. Try this
Here is a few useful resources:
Random Forest documentation (Check out the pages on variable importance and variable importance plot)
http://cran.r-project.org/web/packages/randomForest/randomForest.pdf
Motor cars data: http://stat.ethz.ch/R-manual/R-devel/library/datasets/html/mtcars.html -
Why exceptions are not using in BAPI
Hi,
I would like to know why exceptions are not using in STANDARD bapi.Is there any reason for this.
Please explain me clearly
Thanks in advance
Thanks and Regards,
VenkatHi,
If the exception is being handled by the caller, meaning that the exception is listed in the EXCEPTIONS section of the
funciton call, then the program will handle it gracefully and continue processing,if it is not in this section of the
funciton call, and it is raised inside the funciton module,
it will issue an ABAP dump and end. This is true for
foreground processing as well as background processing.
https://forums.sdn.sap.com/click.jspa?searchID=12141509&messageID=5433799
Regards
Kiran Sure -
Why Interceptors are not used in Entity beans?
Why Interceptors are not used in Entity beans?
Interceptors can be used in MDB, Session bean but not in Entity bean....why so?
Thanks,
Rahul.Hi,
why batch updations are not prefered in entity beansPlease refer the specification of ejb and find out what the entity bean is meant for.In short the emtity bean represents the object state which can be persisted.
Talking regarding the batch updations does not make sense , also the entity bean represents the row of the table mapped to the Object(java Object).
Regards
Vicky -
Some free tapes are not used by backup job - dpm 2012 r2
Hi,
I have DPM 2012 R2 with IBM TotalStorage 3572 tape library. It is 8 slot tape library. All was working with initial 8 tapes I added to tape library. I had one Protection group to be archived on 8 tapes. I was doing Daily and weekly backups. Every 2nd week
I would do a weekly backup and keep it for 2 weeks i.e. I need 2 tapes for weekly backups. All was working ok until I introduced two new weekly tapes as a replacement for 2 weekly tapes in library. Because of disaster recovery procedure - I have to take
weekly tapes out of library and store them in disaster recovery location for some time. So I pulled out 2 weekly tapes and added 2 new tapes. New tapes were marked free and they are showing as Free tapes.
Now - the trouble is that these 2 free tapes are not used by backup job and instead - backup job writes weekly backup on any of the available Daily tapes (like from 4-5 days ago) instead of using one of the Free tapes that are available.
I'd like the backup job (Protection group) to use Free tapes first and only if there are no available free tapes - to go and do backup on Daily tape or ask for a free tape.
I am probably doing something wrong here - so I would really appriciate if anyone can help me with this? Any ideas?
Thanks,
Damir.
D.Hi,
What update rollup are you running on the DPM 2012 R2 server ? DPM 2012 R2 UR5 introduced a new refresh feature that will re-enumerate data sources on an individual protected server.
Check for VSS errors inside the guests that are having problems being backed up.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights. -
I would like to run a few windows programs but I dont want the mac side to suffer when i am not using the windows os. Is there some way to shutdown the windows part when you are not using?
If you are running MS Windows in Parallels or Fusion or any other virtualization software you can shut it down while the machine is operating and still run OS X. There is no trick, you shut down MS Windows just like you would with any other MS Windows machine. That is one of the main advantages of virtualizaiton software, the ability to run both environments simultaneously if you want. If you don't want to run Windows then simply don't start the virtualizaiton software or if it's already running quit it like you do any app on a Mac.
Maybe you are looking for
-
Sudden Loss of Power... but computer works fine...
I've had my dual 1.8 for about three years now... it's not in the category of G5's that had the power recall. I have it hooked to a Belkin UPS backup, but for the last week or so, the computer will abruptly lose power. I haven't installed any new app
-
I am trying to sync my photos to my iPad 2 through iTunes and keeps shutting my computer down?
I am trying to sync my pictures to my iPad 2 and it shuts my computer down?
-
Authorization Control on Delivery Schedule without PR reference
Dear All, My client wants to control authorization of users for adding delivery schedule in purchase order, where, the user should not be able to add a delivery schedule to Purchase order without referencing to a purchase requisition. This is require
-
Error message trying to update.
I tried to update my MBP17 and got the following error message: Extension Manager 6.0.7 Update Installation failed. Error Code: U44M1P7 Adobe Photoshop 13.0.6 Done with Errors. Error Code: U44M1P6 I can't seem to chat with support at Adobe so the fo
-
How do I create a print button to print a specific range of the document.
How do I create a print button to print a specific range of the document. I've found JavaScript to print a specific page, but a range or even multiple ranges. Form is created in Adobe 9 Pro. Any help would be truly appreciated!