Do Query Views use existing OLAP Cache or create their own

Hi, I'm looking to find out if a Query View will use the Parent Query OLAP Cache or will it create it's own? 
I am imagining that it would use the query view, but create additional cache if it drilled down on a free characteristic that wasn't in the original query output.  Any comments

If there are any entries in the CACHE which meets the drilldown and filter criteria for the view it will be able to make use of existing Cache.
As you mentioned for any additional drilldowns if there are not entries in the cache it will have to read from DB.

Similar Messages

  • HT204053 Can multiple people use the same Apple ID for their own devices?

    Can multiple people use the same Apple ID for their own devices? I just set up my IPhone 4S (first time user) using the same Apple ID as my daughters and now we receive each others texts, do I need to set up my own Apple ID account?

    Yes, you can.  In fact it's recommended that you use different IDs for iMessage, FaceTime and iCloud.  You can still share the same ID for iTunes without any issues.
    You are getting each other's text messages because you're using the same ID for iMessage.  To fix this, one of you should go to Settings>Messages>Send & Receive, tap the ID, sign out, then sign in with a different ID.  To avoid getting each other's FaceTime calls, do the same thing in Settings>FaceTime.

  • I connected a friends ipod to my computer without syncing it. Now my apple ID is on their ipod. How do they delete my iD and create their own to be  able to facetime and use apple store

    I connected a friends ipod to my computer without syncing it. Now my apple ID is on their ipod. How do they delete my iD and create their own to be  able to facetime and use apple store?

    For Apple store go to Settings>iTunes and App Stores and sign out and sig in with correct ID
    For messages go to Settings>FaceTime>You can be reached at and ad an their own unique email address and delete the common Apple ID address.
    Similar for Messages too.

  • Is there a way my two daughters can use the same laptop and have their own individual I Tune music??

    Is there a way my two children can use the same laptop and have their own individual music accounts?

    Do you mean different music collections, camille?
    If so, there's several options given in the following document:
    How to use multiple iPods, iPads, or iPhones with one computer

  • HT3965 I bought my children ipad minis and they signed up using my apple id...I have created their own apple id now how do I switch their devices from my id to theirs so all of my contacts, pictures, and etc are gone from their devices

    I bought my children ipad mini's...I signed them up using my apple id not realizing all of my calander, pictures, contacts and etc would show up on thier devices. I now want to switch them to their own apple id (which I have now created) but it won't let me erase my apple id on the device to change it...How can I change the apple id on the device?

    Create a new IDs for them:
    On the iPod go to
    - Settings>Messages>Send and receive and sign out your ID and sign into their ID. Make sure that only their ID email address is listed.
    - Settings>FaceTime sign out of your ID and sign into theirs. Make sure that under You can be reached at only their ID email address is listed
    - Settings>iCloud and sign out and sign in with theirs
    - Settings>iTunes and App Store and sign out your ID and sign into theirs.
    - Apps are locked to the account that purchased them.
    - To update apps you have to sign into the account that purchased the apps. If you have apps that need updating purchased from more than one account you have to update them one at a time until the remaining apps were purchased from one account.

  • SQL Query C# Using Execution Plan Cache Without SP

    I have a situation where i am executing an SQL query thru c# code. I cannot use a stored procedure because the database is hosted by another company and i'm not allowed to create any new procedures. If i run my query on the sql mgmt studio the first time
    is approx 3 secs then every query after that is instant. My query is looking for date ranges and accounts. So if i loop thru accounts each one takes approx 3 secs in my code. If i close the program and run it again the accounts that originally took 3 secs
    now are instant in my code. So my conclusion was that it is using an execution plan that is cached. I cannot find how to make the execution plan run on non-stored procedure code. I have created a sqlcommand object with my queary and 3 params. I loop thru each
    one keeping the same command object and only changing the 3 params. It seems that each version with the different params are getting cached in the execution plans so they are now fast for that particular query. My question is how can i get sql to not do this
    by either loading the execution plan or by making sql think that my query is the same execution plan as the previous? I have found multiple questions on this that pertain to stored procedures but nothing i can find with direct text query code.
    Bob;
     

    I did the query running different accounts and different dates with instant results AFTER the very first query that took the expected 3 secs. I changed all 3 fields that i've got code for parameters for and it still remains instant in the mgmt studio but
    still remains slow in my code. I'm providing a sample of the base query i'm using.
    select i.Field1, i.Field2, 
    d.Field3  'Field3',
    ip.Field4 'Field4', 
    k.Field5 'Field5'
    from SampleDataTable1 i, 
    SampleDataTable2 k, 
    SampleDataTable3 ip,
    SampleDataTable4 d 
    where i.Field1 = k.Field1 and i.Field4 = ip.Field4 
    i.FieldDate between '<fromdate>' and  '<thrudate>' 
    and k.Field6 = <Account>
    Obviously the field names have been altered because the database is not mine but other then the actual names it is accurate. It works it just takes too long in code as described in the initial post. 
    My params setup during the init for the connection and the command.
    sqlCmd.Parameters.Add("@FromDate", SqlDbType.DateTime);
            sqlCmd.Parameters.Add("@ThruDate", SqlDbType.DateTime);
            sqlCmd.Parameters.Add("@Account", SqlDbType.Decimal);
    Each loop thru the code changes these 3 fields.
        sqlCommand.Parameters["@FromDate"].Value = dtFrom;
        sqlCommand.Parameters["@ThruDate"].Value = dtThru;
        sqlCommand.Parameters["@Account"].Value = sAccountNumber;
    SqlDataReader reader = sqlCommand.ExecuteReader();
            while (reader.Read())
                reader.Close();
    One thing i have noticed is that the account field is decimal(20,0) and by default the init i'm using defaults to decimal(10) so i'm going to change the init to 
       sqlCmd.Parameters["@Account"].Precision = 20;
       sqlCmd.Parameters["@Account"].Scale = 0;
    I don't believe this would change anything but at this point i'm ready to try anything to get the query running faster. 
    Bob;

  • Cant use existing apple id or create new one on a new ipod, why ?

    Hello, my friend has been using my Apple ID but now he bought a new iPod and he wants to have his own Apple ID but also transfert everything from his old one to the new one. However, when trying to set up the new iPod, it won't take my Apple ID or create a new one and i don't understand why. I think to transfer the datas, i have to restore using his old one's name and that's it ?.But when he puts iTunes on his own computer, is everything gonna be transferred from his iPod to iTunes ?

    - Apps are locked to the account that purchased them and can't be transferred between acounts
    - To update apps you have to sign into the account that purchased the apps. If you have apps that need updating purchased from more than one account you have to update them one at a time until the remaining apps were purchased from one account.
    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device

  • N00b query: Why would anyone ever want to define their own Exception class?

    I've been reading thru my Java textbook for the past couple hours.
    Exceptions are a wonderful thing. I already found several instances where I could've implemented try/cacth in my earlier programs.
    Anyway, getting back to the point. My question is, can someone give me a realistic situation/example where a custom Expcetion class is REQUIRED? (the key word here is "required"!)
    I can see why someone would want to have his own Exception class..... e.getMessage() as custom error messages are SO DAMN COOL!!!!!! :P
    hehe
    But seriously, if you are making intermidiate/advanced Java programs, would you ever REQUIRE to make your own Exception class? Afterall, even a custom made Exception class always "extends" from a pre-defined Java class, right?
    Let me make this a bit more clear... public class CustomException extends IOException{  }Now, if I am making a try/catch statement, I can simply say
    try{
    throw new CustomException;
    catch (IOException e) { }
    Now as you can see, the CustomException was caught by the catch claus, because IOException is the superclass of CustomException. So, in other words, the whole CustomException thingy didnt do anything useful.
    I know I know, I am so naive. Enlighten me >.<

    Sure. Say you want to have a system where you want to include a custom error code which maps to some internationalized error messages. You would create an Exception subclass with a field to hold that value separate from the normal "default" message. Then you could throw that exception in all your code. Other code can catch it as a plain Exception if they want and use the "default" message, which is okay if they don't really care about the error code.
    I don't think you are ever "required" to make your own exceptions. I have done so, but I don't often. It depends. See, there are plenty of Exception subclasses in the standard packages, and most of them cover many of the things you need. So more often if I'm throwing an exception, I'll be using the already existing ones, like IllegalArgumentException or IOException (whatever is relevant to the code).
    Yes, you can do what you did below with CustomException. However the reason you might do that is cuz you really want to do this:
    try {
       // call some code that may throw IOException from some standard IO package
       // or may throw CustomException from some of my methods...
    } catch (CustomException ce) {
       // handle cusotm exception
    } catch (IOException ioe) {
       // handle IO exception
    }Cuz you may want to differentiate between your exceptions vs. IOExceptions that might be thrown from some java.io class.
    Usually when you use an exception class it's a named class that relates to some condition. It may hold additional information besides the standard message, but I think most of the time it's just the class name which describes the problem. And if there isn't one that describes the problem that you're code might encounter, then create a subclass.

  • Can I use classes and objects to create my own package in LabVIEW?

    Hi....I am writing my thesis on develpoing a simulation package.  I am trying to compare simulation packages and their feautures as a scope of my project.  Does anyone know if LabVIEW allows users to create their own toolboxes like MATLAB?...i mean something that can be done in object-oriented programming by making classes and objects.
    thanks guys 

    The short answer is yes. NI sells toolkits. There's also OpenG. How you code the guts is up to you - you can do it non-LVOOP or LVOOP.

  • 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
    Thanks

    Hi,
    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

  • Warming up the OLAP cache

    Hi,
    I would like to schedule execution of some queries in order to put the results in the OLAP cache for fast use.
    Each user run the query with very restricted selection: one period, one node in the CostCenter hierarchy and one currency type! All the selections are obligatory and for single values.
    I created a "super" query with the same characteristics, all in the rows or columns, with not mandatory variables, ...
    I scheduled the "super" query and it create an entry in the OLAP cache.
    When I now run the production query (other query on the same cube, for one node, one period, one currency) the system doesn't use the OLAP cache, but create a new line in the OLAP cache.
    It is impossible to schedule every combination.
    Is there a way to worm up the cache with a different Q?
    Should the seedling be done with Broadcaster or Reporting Agent (in NW2004s)? I think this should be the same ?!
    Any suggestion to fill the cache for my situation?
    Thanks, Tom

    The OLAP cache is at a query level, so to warm up the cache, you must run the actual query that the users will run, not just a similar or "super" query that is similar.
    SDN has some doc on effectively using Global cache which would be good to review.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9f4a452b-0301-0010-8ca6-ef25a095834a
    The other key thing to understand is how the setting on variable "Can be changed during query navigation" works.  If this setting is NOT set on your variables, then in order for a query to access the data in the cache, the query must have been run previously with the exact same variable values, as the varaiable values get saved as part of the cached info.
    Selecting the "Can be changed during navigation" variable setting changes the way the system considers the variable - it behaves as a filter.  This has some implications with way prompts for variables appear to the user, so there are user impacts.  In BEx, a variable is normally presented for input when you first run the query and then whenver you refresh it, but when you change the variable setting to Can be changed..., the variable prompt will be presented teh frist time the query is run, but NOT when a refresh is done, it now behaces as if you added a filter to the query.
    So if you change all the variables (or create new ones) used bythe query to Can be changed..., then run your query thru reporting agent or info broadcasting wide open, or with restrictions that encompass all your user's query executions, the subsequent user executions will use the global Olap cache.

  • How to understand if olap cache is used

    Hi,
    I am trying to understand if my query uses the olap cache or not.
    First I executed the report with specific selections. After that, I executed the report again with the same selections but it took almost same time to bring the report output. There are lots of exception aggregates in my query, so i wonder if olap cache will help me or not.
    So, how can I understand if the query uses the olap cache or not ? (i am using RSRT screen, with 'do not use cache' blank)
    Thanks
    Ozan

    Hi
    Check in tcode RSRT. Input your query tech name and from the properties tab, you can see if the olap cache is set to be used in the cache mode field.
    You can check if the entries you are making in the cache are used, if you, also from RSRT, go to cache monitor->main memory and expand the folder "query directory".
    now search for your query tech name.
    a folder will appear with your query tech name if the cache mode enabled.
    right-click and choose details. here you will see "read accesses" and the number will tell you how many times this entry has been read.
    regards
    jacob

  • SAP BW query view deletion in Web/ "Delete Query view" in web

    Dear All,
    We are using the standard template: BW web analyzer (0ANALYZER). In this standard template, SAP provided two links "Save View" and "Open View" for creating new query views and opening existing query views respectively. However, no oppurtunity was provided to "delete query views".
    We would like to have an oppurtunity to delete the query views as well from Web. (currently we are deleting the unwanted query views from Bex analyzer, as per the request from business users - who have access only to the web reports).
    Would be great if you can suggest some solution to this problem.
    By the way, We would not like to use the standard "Query view selection" web item. (as it creates user specic local views only).
    best regards.

    Hi atlaj
    There is a Function Module called
    CALL FUNCTION 'RZX2_OBJECT_DELETE'
    you can make yourselves a little ABAP with.
    Hope this Helps.
    Best Regards
    Armin Baggenstos

  • How to improve query performance using infoset

    I create one infoset that including 4 char.and 3 DSO which all are time-dependent.When query run, system show very poor perfomance, sometimes no data show in BEX anayzer. In this case I have to close BEX analyzer at first and then open it again, after that it show real results. It seems very strange. Does anybody has experience on infoset performance improvement. pls info, thanks!

    Hi
    As info set itself doesn't have any data so it improves Performance
    also go through the below tips.
    Find the query Run-time
    where to find the query Run-time ?
    557870 'FAQ BW Query Performance'
    130696 - Performance trace in BW
    This info may be helpful.
    General tips
    Using aggregates and compression.
    Using less and complex cell definitions if possible.
    1. Avoid using too many nav. attr
    2. Avoid RKF and CKF
    3. Many chars in row.
    By using T-codes ST03 or ST03N
    Go to transaction ST03 > switch to expert mode > from left side menu > and there in system load history and distribution for a particular day > check query execution time.
    Statistical Records Part 4: How to read ST03N datasets from DB in NW2004
    How to read ST03N datasets from DB
    Try table rsddstats to get the statistics
    Using cache memory will decrease the loading time of the report.
    Run reporting agent at night and sending results to email. This will ensure use of OLAP cache. So later report execution will retrieve the result faster from the OLAP cache.
    Also try
    1. Use different parameters in ST03 to see the two important parameters aggregation ratio and records transferred to F/E to DB selected.
    2. Use the program SAP_INFOCUBE_DESIGNS (Performance of BW infocubes) to see the aggregation ratio for the cube. If the cube does not appear in the list of this report, try to run RSRV checks on the cube and aggregates.
    Go to SE38 > Run the program SAP_INFOCUBE_DESIGNS
    It will shown dimension Vs Fact tables Size in percent.If you mean speed of queries on a cube as performance metric of cube,measure query runtime.
    3. To check the performance of the aggregates,see the columns valuation and usage in aggregates.
    Open the Aggregates...and observe VALUATION and USAGE columns.
    "---" sign is the valuation of the aggregate. You can say -3 is the valuation of the aggregate design and usage. ++ means that its compression is good and access is also more (in effect, performance is good). If you check its compression ratio, it must be good. -- means the compression ratio is not so good and access is also not so good (performance is not so good).The more is the positives...more is useful the aggregate and more it satisfies the number of queries. The greater the number of minus signs, the worse the evaluation of the aggregate. The larger the number of plus signs, the better the evaluation of the aggregate.
    if "-----" then it means it just an overhead. Aggregate can potentially be deleted and "+++++" means Aggregate is potentially very useful.
    In valuation column,if there are more positive sign it means that the aggregate performance is good and it is useful to have this aggregate.But if it has more negative sign it means we need not better use that aggregate.
    In usage column,we will come to know how far the aggregate has been used in query.
    Thus we can check the performance of the aggregate.
    Refer.
    http://help.sap.com/saphelp_nw70/helpdata/en/b8/23813b310c4a0ee10000000a114084/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/60/f0fb411e255f24e10000000a1550b0/frameset.htm
    performance ISSUE related to AGGREGATE
    Note 356732 - Performance Tuning for Queries with Aggregates
    Note 166433 - Options for finding aggregates (find optimal aggregates for an InfoCube)
    4. Run your query in RSRT and run the query in the debug mode. Select "Display Aggregates Found" and "Do not use cache" in the debug mode. This will tell you if it hit any aggregates while running. If it does not show any aggregates, you might want to redesign your aggregates for the query.
    Also your query performance can depend upon criteria and since you have given selection only on one infoprovider...just check if you are selecting huge amount of data in the report
    Check for the query read mode in RSRT.(whether its A,X or H)..advisable read mode is X.
    5. In BI 7 statistics need to be activated for ST03 and BI admin cockpit to work.
    By implementing BW Statistics Business Content - you need to install, feed data and through ready made reports which for analysis.
    http://help.sap.com/saphelp_nw70/helpdata/en/26/4bc0417951d117e10000000a155106/frameset.htm
    /people/vikash.agrawal/blog/2006/04/17/query-performance-150-is-aggregates-the-way-out-for-me
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1955ba90-0201-0010-d3aa-8b2a4ef6bbb2
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ce7fb368-0601-0010-64ba-fadc985a1f94
    http://help.sap.com/saphelp_nw04/helpdata/en/c1/0dbf65e04311d286d6006008b32e84/frameset.htm
    You can go to T-Code DB20 which gives you all the performance related information like
    Partitions
    Databases
    Schemas
    Buffer Pools
    Tablespaces etc
    use tool RSDDK_CHECK_AGGREGATE in se38 to check for the corrupt aggregates
    If aggregates contain incorrect data, you must regenerate them.
    202469 - Using aggregate check tool
    Note 646402 - Programs for checking aggregates (as of BW 3.0B SP15)
    You can find out whether an aggregate is usefull or useless you can find out through a proccess of checking the tables RSDDSTATAGGRDEF*
    Run the query in RSRT with statistics execute and come back you will get STATUID... copy this and check in the table...
    This gives you exactly which infoobjects it's hitting, if any one of the object is missing it's useless aggregate.
    6
    Check SE11 > table RSDDAGGRDIR . You can find the last callup in the table.
    Generate Report in RSRT
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cccad390-0201-0010-5093-fd9ec8157802
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4c0ab590-0201-0010-bd9a-8332d8b4f09c
    Business Intelligence Journal Improving Query Performance in Data Warehouses
    http://www.tdwi.org/Publications/BIJournal/display.aspx?ID=7891
    Achieving BI Query Performance Building Business Intelligence
    http://www.dmreview.com/issues/20051001/1038109-1.html
    Assign points if useful
    Cheers
    SM

  • OLAP Caching question

    Hi
    I'm not sure if this is the right forum, but I figured I would ask anyways. Using the broadcaster, I have configured a couple variable settings on a query to fill the OLAP Cache.
    Is there a way to update the parameter settings by an api instead of going in manually to each query and updating the parameter values?
    For example, say I want to cache only two months worth of data. I set the query settings for Jan and Feb. Now I want to configure to Mar and Apr. Instead of manually opening up the settings and entering and saving I want to do this using code if possible.
    The reason why is if I have 100 queries to set this, it would be much easier to run this through code than manually updating the values.
    Thanks in advance,
    Daniel

    check the table RSRPARAMETRIZA, field-content which stores the variant values. You can update the variant values dynamically using ABAP.
    This articles shows you how to do that.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f048c590-31a4-2c10-8599-bd01fabb93d4

Maybe you are looking for

  • [Bug] Bad algorithm to mark SMSs as read

    I use so much my phone connected to my laptop... so I receive and send messenges on Ovi Suite. But is very annoying that when I disconnect my phone many messenger were not marked as read and this is why: 1. If one contact is already selected when you

  • Why is my FCP export blurry/pixelated?

    I'm using FCP 4.5 (upgrade next year!) and complete newbie to FCP/video post. I've captured video from a Sony PD150 using "DV PAL 48KHz". Now when I play back the video is horribly blurry and pixelated. When playing, but when paused it's nice and sha

  • Cryptsetup luks without kernel module (static kernel)

    If I have all required drivers and kernel code built into the static kernel image I still need an initrd for cryptdevice=device don't I? When I build custom kernels I disable module support with all other stuff I don't use or need and failed to boot

  • /dev/null file permission changes frequently

    Hi, We are experiencing file permission change issue frequently for the following files: root@domain5 # ls -l /devices/pseudo/mm@0:null crw-rw-rw- 1 root sys 13, 2 Apr 22 2009 /devices/pseudo/mm@0:null root@domain5 # ls -l /dev/null crw-rw-rw- 1 root

  • How to make PCM file that is 8 Bit A-low compressed Mono 8kHz?

    Hi folks! I desperately need help. I use Audition 3.0 and i need to make file that must meet next requirements: Format: PCM Bit Rate: 8 Bit Channels: 1 (Mono) Channels: 8kHz Sample Size: 8 Bit Alow compressed I tried to do it my way but it seems to b