What is the differences between viewCriteria query modes?

Hello all,
recently we faced a performance issue in a production application. after tracing  we found  that the issue was caused by setting the query mode of the view criteria to in memory.
bussiness case description:
when creating a new record for table A, I want to populate one field depending on records in another table B, so I used model driven LOV.
The problem was that new records were created for both tables in the same ADF train i.e. the data for both tables were not posted or committed yet.
so by using a query based ViewObject + viewCriteria with query mode set to memory for viewCriteria I managed to populate the LOV with the correct data,
in another page I will show database records for table A with LOV to show meaningful messages to users ,  but I can as well create new records for table A ,but the loading of this page is very slow.
using alter session set sql_trace=true; I found that table B is fully scanned and all rows are fetched-180000+ record-.
Problem description:
from the trace file generated found that the query issued did not have a where clause.
also found that the viewObject fetched the entire table into memory- 180000+ record,-  then searched them in memory.
changing the query mode of the viewCriteria seems to solve the issue
so in order to avoid such issues in the future ,I wanted to make sure I understand the differences between the query modes of view criteria and their impact on the performance and if there are any differences if the viewObject is based on an entity or a sql dml.
this is what I know so far -please correct me if I am mistaken-:
1)database: search the database appending the conditions of the viewCriteria to whatever the query is
2)memory: search the rows that are already in the memory.
3)both: search both database and memory.
also, in case I updated one of the records in the memory but did not yet post or commit will the fetched rows have the updated values? and if these changes fails the condition from the viewCriteria , will the rows be shown?.

The camera roll contains all the photos and videos taken on your device, as well as any saved on your device from the internet, emails, text messages, etc.  The photo library contains photos synced to your device from your computer.
Only camera roll photos are synced using iCloud with photo stream.  And photo stream only syncs photos, not videos.

Similar Messages

  • What's the difference between these two modes?

    Hello there!!!
    As you all know, in the deco tool there are three differences modes:
    1. The Symmetry Brush effect mode.
    2. The Grid Fill effect mode.
    3. And the Vine Fill effect mode.
    Inside the Symmetry Brush effect mode, in its advanced options, there is one option named 'Grid Translation', which allow you to create a grid effect from a selected symbol, so I simply wonder what's the difference between this advanced option of the Symmetry Brush effect to the 'Grid Fill effect mode' that also enable you to do just the same thing!!!!
    Everybody who think that he found one or more differences between the mentioned above modes, is invited to post his opinions here.

    In analog terms, to explain YCbCr use the example of the COMPONENT output from your DVD player. It use 3 separate cables (Y = Luminance = Green Cable), (Y-B = Blue Color Diff = BLUE Cable) and (Y-R = Red Color Diff = RED Cable). In the analog world, RGB is actually RGBHV (5-wire) and is adaptable to 15-pin VGA with a simple passive adapter. Many people will mistakenly refer to Analog Component video as RGB, since the cables are Red, Green and Blue.
    So, since all that mumbo jumbo means essentially the same, this appears to be the digital "equivalent" of what is known as Component Video in the Analog world... What I said about RGBHV does not apply to the 10-bit color, but thought I'd mention it anyway.

  • What is the difference between query & query view in BI 7.0 ?

    Hi Experts,
    What is the difference between query & query view in BI 7.0 ?
    Can anyone suggest me on this.
    Thanks & Regards
    Sameer Khan

    Hi Sameer,
    Pls find the below URL for Query&Query View

  • Query: how to use structure and selection and what's the difference between

    Query: how to use structure and selection and what's the difference between these two?
    Would be appreciated if some experts here give examples to demenstrate on how to use structure and selection in query and what's the difference between these two?
    Thanks in advance!

    Hi Kevin,
    1. Well by default all the KF that you include in your query go into a Key Figure Structure. You can additionally have another structure for defining how your chars are laid out. A common example is a Calmonth structure where you have selections for 12 months, quarers and YTD values. This would be a char structure with different selections (for each month, qtr etc)
    2. Yes, a selection with a KF is the same as restricting a KF. You can use am RKF is you have one on the left hand side, or if you need to do this locally in the query, right click the structure and choose New Selection, then proceed to choose your KF and reqd char values.
    Hope this helps...

  • What is the difference between LTE mode, CDMA mode, LTE/legacy 3GGPP mode, and Global mode in Preferred Network?

    What is the difference between LTE mode, CDMA mode, LTE/legacy 3GGPP mode, and Global mode in Preferred Network?

        Great question alczervik!
    LTE- is our 4G network.
    All CDMA/LTE Legacy are going to be related to our 1X, 3G/ EVDO network.
    Global is GSM. Meaning you can use Internationally.
    I hope this helps.
    Follow us on Twitter @VZWSupport

  • 1. What's the difference between private mode in Safari which i have to turn on every time again when opening safari. It's a two click activity which i would love to be able to set in the preference as default.

    1. What's the difference between private mode in Safari which i have to turn on every time again when opening safari.
    It's a two click activity which i would love to be able to set in the preference as default. It's tyering when have to do it everyday a few times. (Yes, i'm one of many who have the "i like safari but since the update crash everyday a few times" syndrome...
    Yes, i have updated my system.
    Yes, i have repared disk permissions with disk utility.
    Am open for any other help in both cases. Thank you upfront
    2. and the "tell websites not to track me" under Safari - Preference - Privacy.

    That box should prevent websites using trackers to log your movements on the Web to benefit advertisers. I have no idea if it does.
    Safari can keep your browsing history private. When you turn on private browsing, Safari doesn’t remember the pages you visit, your search history, or your AutoFill information, so your partner cannot see where you have been, but you must also remember to also turn off acceptance of cookies.
    In all other respects Private Browsing is not as private as you might think:
    http://www.switchingtomac.com/tutorials/how-to-make-safaris-private-browsing-fea ture-actually-private/
    and then Apple's own advice from here: http://www.apple.com/pro/tips/privacy_safari.html
    "Note that the Private Browsing option does not prevent Safari from collecting cookies (the preference files automatically generated by many websites). The Reset Safari option clears all cookies. If you want to delete only certain ones, choose Preferences from the Safari menu, click the Security tab, and then click Show Cookies. You can select and delete individual cookies from the list that appears. Careful, though — if you’re a frequent web user, this list can be very, very long."
    which is itself incomplete, the relevant part being 'If you want to delete only certain ones.
    To that end it is useful to have Safari Cookies installed, which is the only cookie manager available for Safari:
    which automatically deletes all cookies not marked as 'favourites' when closing Safari. It does the same for Flash Cookies, but they are subject for themselves:
    From this website:
    For those who do not know about Flash cookies, more properly referred to as Local Shared Objects (LSO), they operate in a similar way to regular browser cookies but are stored outside the purview of your browser, meaning you cannot delete them from within your browser, whether Safari, Firefox, Opera or any other. Typically they are issued from sites or 3rd party sites that contain Adobe Flash content. Since virtually all internet advertising is  delivered in Flash, Google/Doudleclick and all other internet advertising companies are sure to be tracking your browsing behavior with Flash cookies. These companies can see you traverse the Internet as you come upon the plethora of sites that contain their embedded advertising. Check out the Wikipedia entry here.
    In Mac OS X they are stored in the following location:
    /User’s Home Folder/Library/Preferences/Macromedia/Flash Player/#SharedObjects
    The settings for the Flash cookies are stored in:
    /User’s Home Folder/Library/Preferences/Macromedia/Flash Player/macromedia.com/support/flashplayer/sys
    In OS X Local Shared Objects, or Flash Cookies, are appended with a .sol suffix. Flush deletes all the Flash cookies (.sol) and their settings.
    Flush can be downloaded from that page.
    If you want to retain certain Flash cookies but not others, the excellent add-on for Safari called SafariCookies now includes a setting for automatically deleting flash cookies you don't want to retain, when Safari is shut down, in the same as it deals with ordinary cookies:
    which not only does that but much more equally useful stuff!
    This article covers the issue in more depth:
    Flash cookies are also known as 'Zombie Cookies' and are used by a number of firms, including Hulu, MTV, and Myspace. Graham Cluley, senior technology consultant at the internet security firm Sophos, told BBC News that the source of the trouble was Adobe Flash itself, which he called "one of the weirdest programs on the planet".
    "I think it's highly unlikely that these large companies have abused Flash cookies - which are different from browser cookies - with malicious intent," he said.
    "I think it's much more likely that the vast majority of users are simply oblivious to the bizarre way in which Adobe allows them to configure the software."
    And a more recent article:
    http://www.nytimes.com/2010/09/21/technology/21cookie.html?_r=3&scp=1&sq=flash&s t=cse
    [b]Tracker cookies and the invisible web:[/b]
    – tags, web bugs, pixels and beacons that are included on web pages in order to get an idea of your online behavior.
    Ghostery tracks the trackers and gives you a roll-call of the ad networks, behavioral data providers, web publishers, and other companies interested in your activity.
    This provides an extension to Safari (also available for other browsers) that shows you what data tracking is active on each web page you visit, and enables you to block them.

  • What is the difference between lock mode E and X.

    what is the difference between lock mode E and X.

    The lock mode controls whether several users can access data records at the same time. The lock mode can be assigned separately for each table in the lock object. When the lock is set, the corresponding lock entry is stored in the lock table of the system for each table
    Lock modes:
    S (Shared):
        Several users (transactions) can access locked data at the same time in display mode. A request for another shared lock is accepted, even if it comes from another user. An exclusive lock set on an object that already has a shared lock will be rejected.
    E (Exclusive).
    An exclusive lock protects the locked object against all types of locks from other transactions. Only the same lock owner can reset the lock (accumulate).
    X (eXclusive non-cumulative):
      Exclusive locks can be requested several times from the same transaction and are processed successively. In contrast, exclusive but not cumulative locks can be called only once from the same transaction. Each further lock request will be rejected.
    O (Optimistic):
      Optimistic locks initially behave like shared locks and can be converted into exclusive locks.
    If it is helpful rewards points.

  • What is the difference between BO Designer connect BW QUERY and BW CUBEuFF1F

    HI  friend,
        What is the difference between BO Designer connect BW QUERY and BW CUBE?
    which one is better?
    Best regards.

    Hi Howard,
      You can use autorization variables in  SAP BW and maitain the security there, using that you can apply diferent security not only at Infoobject levet you can apply security per BEX Query.
      Here is some informaion about BEX and SAP BusinessObjects
    BI metadata feature _______SAP OLAP BAPI support level
    Characteristics (incl. Time and Unit)_______ InfoCube/BEx Query
    Hierarchies_______ InfoCube/BEx Query
    Basic Key Figures_______ InfoCube/BEx Query
    Navigational Attributes_______ BEx Query only
    Display Attributes_______ InfoCube/BEx Query
    Calculated Key Figures / Formulas_______ BEx Query only
    Restricted Key Figures_______ BEx Query only
    Custom Structures_______ BEx Query only
    Variables_______ BEx Query only
    I hope this help you.
    BEst regards,

  • What is the difference between Video-out and mirroring?

    What is the difference between Video-out and mirroring? I can't get iPhone 4 video to work on my TV screen
    I have just bought an MD098ZM/A (Apple 30-pin Digital AV Adapter). I am struggling to get it to show a picture on my TV. I know I'm doing something right because the audio is coming out of my TV speakers but no picture on the TV screen.
    I have used the same HDMI channel (on the TV side) with the same cable and my thunderbolt port (MacBook Air) without any trouble - and on the same app (BBC iPlayer download then full-screen mode).
    Now I note that the packaging for the MD098ZM/A says video-out on iPhone 4 but mirroring only on iPhone 4S. I only have an iPhone 4 (not the 4S). Now if the lack of iPhone 4 support for mirroring means that I can't play video material out to my TV, then in what sense is there any video-out capability at all?
    There is only safety and warranty paperwork in the Apple adapter packaging - no help information. And I haven't found further guidance online either.
    I do note somewhere online that it suggests that basic non-mirroring video-out (for this adapter) only works with some external TV sets. Any way of finding out which? I'm using a Sanyo CE32LD90-B LCD TV if it helps.
    So far not doing very well.

    Now found these but have had to give up on this adapter!

  • What is the difference between variable and Define

    these different declarations when it is done using the keyword "variable" and "define"
    and both of these are done OUTSIDE "DECLARE"
    VARIABLE g_monthly_sal NUMBER
    DEFINE p_annual_sal =5000
    -- I understand that p_annual_sal will be taken as a CHAR.
    -- ALSO IF DEFINE variable acts as macro variable, SO is it necessary to give it some value whenever we define it.
    if not what value would be substituted for it?
    OR does that mean whenever we want to specify data type for a bind varible we should use VARIABLE and
    when we do not want to specify type we use DEFINE?
    Edited by: user6287828 on Feb 24, 2009 11:03 AM
    Edited by: user6287828 on Feb 24, 2009 11:04 AM

    Both are SQL*plus commands. In a real programming environment you will not use such constructs (except a few rare scripting cases).
    The difference is how the construct is later used. DEFINE is more like a copy&paste string. Whereever the name of this substitution variable is found it will be pasted into the sql*plus session.
    VARIABLE creates a real variable. You can change the value and if follwos the usual principles of variables (including binding).
    Example can be found the docs:
    from the docs
    Where and How to Use Substitution Variables
    You can use substitution variables anywhere in SQL and SQL*Plus commands, except as the first word entered. When SQL*Plus encounters an undefined substitution variable in a command, SQL*Plus prompts you for the value.
    You can enter any string at the prompt, even one containing blanks and punctuation. If the SQL command containing the reference should have quote marks around the variable and you do not include them there, the user must include the quotes when prompted.
    SQL*Plus reads your response from the keyboard, even if you have redirected terminal input or output to a file. If a terminal is not available (if, for example, you run the script in batch mode), SQL*Plus uses the redirected file.
    After you enter a value at the prompt, SQL*Plus lists the line containing the substitution variable twice: once before substituting the value you enter and once after substitution. You can suppress this listing by setting the SET command variable VERIFY to OFF.
    Using Bind Variables
    Bind variables are variables you create in SQL*Plus and then reference in PL/SQL or SQL. If you create a bind variable in SQL*Plus, you can use the variable as you would a declared variable in your PL/SQL subprogram and then access the variable from SQL*Plus. You can use bind variables for such things as storing return codes or debugging your PL/SQL subprograms.
    Because bind variables are recognized by SQL*Plus, you can display their values in SQL*Plus or reference them in PL/SQL subprograms that you run in SQL*Plus.
    Creating Bind Variables
    You create bind variables in SQL*Plus with the VARIABLE command. For example
    This command creates a bind variable named ret_val with a datatype of NUMBER. See the VARIABLE command for more information. (To list all bind variables created in a session, type VARIABLE without any arguments.)
    Referencing Bind Variables
    You reference bind variables in PL/SQL by typing a colon (:) followed immediately by the name of the variable. For example
    :ret_val := 1;
    To change this bind variable in SQL*Plus, you must enter a PL/SQL block. For example:

  • What is the difference between exists and in

    hi all
    if i have these queries
    1- select ename from emp where ename in ( select ename from emp where empno=10)
    2- select ename from emp where exists ( select ename from emp where empno=10)
    what is the difference between exists and in is that only when i use in i have to bring the field name or what.... i mean in a complex SQL queries is it will give the same answer

    You get two entirely different result sets that may be the same. Haah! What do I mean by that.
    SQL> select table_name from user_tables;
    2 rows selected.
    SQL> select table_name from user_tables where table_name in (select table_name from user_tables where table_name = 'FOO');
    1 row selected.
    SQL> select table_name from user_tables where exists(select table_name from user_tables where table_name = 'FOO');
    2 rows selected.So, why is this? the WHERE EXISTS means 'if the next is true', much like where 1=1 being always true and 1=2 being always false. In this case, where exists could be TRUE or FALSE, depending on the subquery.
    WHERE EXISTS can be useful for something like testing if we have data, without actually having to return columns.
    So, if you want to see if an employee exists you might say
    SELECT 1 FROM DUAL WHERE EXISTS( select * from emp where empid = 10);
    If there is a row in emp for empid=10, then you get back 1 from dual;
    This is what I call an 'optimistic' lookup because the WHERE EXISTS ends as soon as there is a hit. It does not care how many - only that at least one exists. It is optimistic because it will continue processing the table lookup until either it hits or reaches the end of the table - for a non-indexed query.

  • What is the difference between Aspect Ratios?

    Hello. I couldn't find any specific documentation regarding this.
    I am working on an iPhoto 09 slideshow project using the scrapbook theme. I am planning to export the slideshow as a movie (it looks like the default export is mpeg 4 but I could also export as a quicktime .mov) and then move to iDVD to burn on a DVD. Ultimately, I need to show it on a projector using a DVD player. I'm not sure what the projector's resolution is but I assume 16:9 will be the best aspect ratio for the highest quality.
    In the slideshow settings, there are 4 different aspect ratios:
    1) This Screen (16:9)
    2) HDTV (16:9)
    3) TV (4:3)
    4) iPhone (3:2)
    What is the difference between This Screen (1) and HDTV (1)? Does it matter? Any other suggestions?

    Terence Devlin wrote:
    Aspect ratio is the ratio of the width to the height of the image - in other words it's about shape. So both the 'This Screen' and the 'HDTV' settings will be the same Aspect Ratio.
    The Aspect Ratio has no bearing on the quality, only the shape of the final images.
    TD is absolutely correct here. The aspect ratio is only the shape of the image, not the quality. Basically, you need to decide if you are designing the show for viewing on a HD tv (16:9 or widescreen) or a SD tv (4:3 or squarish). A couple of years ago this choice was easy since most tv's out there were still 4:3, but today, the opposite is true. The popular choice now would be 16:9.
    The biggest problem you will have with the quality of your slideshow is the
    fact that you're burning it to DVD.
    Your slideshow will be heavily compressed to fit the DVD spec of 640 x 480
    pixels and this can lead to soft images or even blurry ones.
    I think we're getting "compression" and "resolution" confused here a bit, or at the very least, we're using the wrong terminology.
    For everyone's benefit, let me try to explain...
    If you show an image that is native 640x480 on a screen that is native 640x480 (standard def tv screen), the image will look just fine. This is resolution and will not effect quality as long as you don't try to view at a higher resolution than the image actually is.
    (If you try to view a 640x480 slide show in full screen mode on your computer monitor which is running at 1280x1024, the image will look horrible.)
    Trying to view a higher rez image (ie: 3200x2400) on a lower resolution (ie 640x480 or SD tv) screen will reap NO benefit in quality. Remember that a SD TV will only show 640x480 (or 720x480) and no higher, so there is no benefit in trying to cram more pixels into an image than the screen can actually show.
    Of course this all changes if you're going to view it on today's HiDef tvs, but even on them, the resolution tops at at 1920x1080. Once again, using a very high def image (ie: 3840x2160) will reap NO benefit since the resolution of the screen it's being viewed on tops out at 1920x1080. The aspect ratio on this type of tv is now 16:9 so the images shape will be wider than a normal tv (4:3).
    Compression is the scheme used to compress an image to reduce it's file size, thus reducing it's quality. JPEG is a common form of image compression, and the amount of compression can be adjusted..the more compression, the more degradation of quality. This has nothing to do with resolution.
    Depending on how you're going to process (iPhoto, iMovie, iDVD), the program will reduce the resolution of the original image to the resolution of you output. In other words, don't worry about doing any kind of resolution change prior to creating the dvd, as the program you choose to use will simply lower the resolution (this is not compression) to fit the output you choose.
    Message was edited by: Rufus
    Message was edited by: Rufus
    Message was edited by: Rufus

  • What is the difference between upgradation and migration.

    Hi Guru's
    what is the difference between upgradation and migration.
    actuallly i involved in upgradation project, here my role is
    1. first i check the query's in 3.5 save the query and transport the query. and check the query in bex analyzer also.
    2. go to BI .7  find the query;s ,give the query name and save the query ,
    3. once save the query, again will come to 3.5 open the query , it will not open. this is my job here,
        come to 7.0 check the query in analyzer also.
    i am having littile bit confusion, how it will comes query in 7.0, why are u saving the query's in 3.5 and 7.0
    query's already available in 7.0 why are u doing this work?
    can i know the upgrades those  objects, is it neccessary, if necessary how can i upgrade.
    infoobje , transferrules, transferstructure ,infosoure, datasoure,updaterules, ods, cubes.
    Points will be Assingned ,
    Thanks & Regards

    I was talking in a general sense not on a query level.
    If your taling about migration in that level meaning as a part of larger upgradation (in your case 3.x to 7) there may be many places where you need to do this kind of activities.
    Fr eg migration into new data flow, Migration of Web templates from BW 3.x to Netweaver 2004s, etc
    Hope this helps.

  • What is the difference between buffer busy waits and free buffer waits

    what is the difference between buffer busy waits events and free buffer waits in Oracle database?
    select *
       event like ‘%wait%’;
    buffer busy waits                636528           1557      549700   .863591232
    write complete waits               1193              0       14799   12.4048617
    free buffer waits                  1601              0         622   .388507183

    jetq wrote:
    Buffer busy waits occur when an Oracle session needs to access a block in the buffer cache, but cannot because the buffer copy of the data block is locked. This buffer busy wait condition can happen for either of the following reasons:
    * The block is being read into the buffer by another session, so the waiting session must wait for the block read to complete. If the OP is running 10g, that would be recorded as "read by other session" not "buffer busy waits" - and unfortunately he didn't tell us the version.
    * Another session has the buffer block locked in a mode that is incompatible with the waiting session's request.
    The Free Buffer Waits Oracle metric wait event indicates that a server process was unable to find a free buffer and has posted the database writer to make free buffers by writing out dirty buffers.
    There is another possibility - if the OP is using a keep and recycle pool: see http://jonathanlewis.wordpress.com/2006/11/21/free-buffer-waits/
    Jonathan Lewis
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
    "For every expert there is an equal and opposite expert"
    Arthur C. Clarke                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • What is the difference  between ws_upload and gui_upload

    what is the difference  between ws_upload and gui_upload
    what is the difference  between ws_download and gui_down load
    pls tell  briefly

    Hi Kuamr,
    UPLOAD and DOWNLOAD, the function modules used until now are not part of the standard set of ABAP commands. They are used to display the file interface on the presentation server. UPLOAD and DOWNLOAD are not compatible with USs and have been replaced by GUI_UPLOAD and GUI_DOWNLOAD.
    The new function modules, GUI_UPLOAD and GUI_DOWNLOAD, have an interface that also allows you to write Unicode format to the local hard drive. For a description of these interfaces, refer to the documentation for each function module, available under SAP Easy Access " Development " Function Builder " Goto " Documentation.
    Instead of using the function modules, you can use the static methods GUI_UPLOAD and GUI_DOWNLOAD of the global class CL_GUI_FRONTEND_SERVICES.
    Hope this resolves your query.
    Reward all the helpful answers.

Maybe you are looking for

  • Unable to find data source

    Hi All, we have installed standard cubes and ODS from Business content. Now we want to load standard ODS but we are unable to identify standard data source. 0CPR_C03 -  Infocube. We have already checked in BI Content and help.sap.com but it doesnot d

  • Update drivers from LabVIEW 9.5 to LabVIEW 14

    Hi I am getting crazy: i had a complete control system running properly in LabVIEW 8.5 and after updating it to LabVIEW 14, nothing works. LabVIEW is not able find the drivers of the instruments integrated in a National Instruments PXI. I am using re


    When running final cut, I usually view my work through a tv moniter as my external video monitor. However it is garbled and i have a feeling it is fixable? Anybody know how???

  • MultiThread in Solaris 10

    Hi - Has anybody have problems with multithread applications in Solaris10? I have a multithreaded application which was earlier compiled in Solaris 8 with Forte and works fine. The same was compiled successfully, however I did not include any of the

  • How can you edit a MIDI instrument recording to do a slide?

    I wrote a tune on Finale Songwriter and saved is as a MIDI file then dragged into Garageband. I would like to edit it to include some slides from one note to another. Pitchbend doesn't allow enough pitch variation to slide a full pitch. Is there anot