Filter API will hit the database if not found in Cache???

I wrote a sample program using Filter API i.e. LikeFilter, EqualsFilter which will query the cache (i.e. Map in memory) based on the criteria. But what if it doesn't found the entries in Cache . Will it then query the database with similar criteria.
I don't think so ... Please correct me if i am wrong.
I need to implement Pre-loading the cache and the link http://download.oracle.com/docs/cd/E14526_01/coh.350/e14509/preloadcache.htm#CACCFCFJ
use the Filter API. I am not sure if i can rely on pre-loading the cache from database.
Any sample example preloading the data from database into cache will be greatly appreciated
Regards,
Bansi

Then you won't need the Invokable code (anyway its owned by my employer ;-)
All you need to do is write a simple program something like this :
1. Query everything from the database "select * from table"
2. Iterate through the ResultSet converting them all into objects
3. Cache.put() these objects into Coherence.
Now some optimisations. Re :
1. You have a single query going to the database and will be connecting to a single cluster member. You could divide the query up by some logical division (eg. Customer / Date etc.) and then have many clients putting in concurrently, but it raises the complexity.
2. It is also possible to store List tuples in Coherence, I once worked on a very nice project along those lines.
3. Cache.putAll() is much faster than put() and you should batch these into sizes of 1000 for maximum performance.
However, I would ignore these optimisations for now (tho 3. is the most useful).
You will have to manually kick off this process when you restart your cluster (or put it in your startup script). People generally write a cluster restart script. Tho JavaServiceWrapper is very nice for restarting nodes that run out of memory. When you get really complicated you can use something like FabricServer to dynamically control your cluster, but lets get the basics working now.
Best, Andrew.

Similar Messages

  • DPM 2012 Install Fails, The Database was not Created ID 811

    Hi.
    I've tried installing DPM on a Standalone Server (SQL + DPM), and get the "Database was not Created" error. I initially tried DPM 2012 R2, and found that there is an issue with Disjoint Namespaces, so went to DPM 2012 SP1, but still getting
    the same error.
    The Install Account has full access rights (sysadmin) to the DPM SQL Instance, however cannot seem to get it right. The account using to do the install has full Enterprise admin, Domain Admin, Backup Operators & Administrators rights.
    When opeining SQL Managemet studio, I can see the database has been created but the setup fails and requires me to revert.Here is the last few lines of the Install Log File, please help I always mark as answer.
    2014-10-01 08:54:49 PM] Information : Configuration.DBConfigurator: Setting Read_Committed_SnapShot ON
    [2014-10-01 08:54:49 PM] Information : Creating tables
    [2014-10-01 08:54:49 PM] Information : Execute the SQL script
    [2014-10-01 08:54:49 PM] Data : FileName = "D:\Program Files\Microsoft System Center 2012\DPM\SQL\100\Tools\Binn\SQLCMD.EXE"
    [2014-10-01 08:54:49 PM] Data : Arguments = -b -E -d DPMDB_S_PRODBACKUP -i MiniSetupDBConfiguration.sql -r -S S-PRODBACKUP\SCDPM
    [2014-10-01 08:54:49 PM] Data : Error code = 0
    [2014-10-01 08:54:49 PM] Information : Adding DPM Server entry in tbl_AM_Server table
    [2014-10-01 08:54:49 PM] Information : Preloading Microsoft.Internal.EnterpriseStorage.Dls.AgentManager.DB.InstalledAgents
    [2014-10-01 08:54:49 PM] Information : Preloading Microsoft.Internal.EnterpriseStorage.Dls.EngineUICommon.DpmThreadPool
    [2014-10-01 08:54:50 PM] Data : Database connection string = Integrated Security=SSPI;server=S-PRODBACKUP\SCDPM;Pooling=false;database=DPMDB_S_PRODBACKUP;Pooling=false
    [2014-10-01 08:54:50 PM] Information : Grant execute permissions on dbo.prc_MOM_ProductionServer_Get to DPMDBReaders$S-PRODBACKUP
    [2014-10-01 08:54:50 PM] Information : Grant execute permissions on dbo.prc_MOM_HeartBeat_Get to DPMDBReaders$S-PRODBACKUP
    [2014-10-01 08:54:50 PM] Information : Configuration.DBConfigurator: Registering DPM category
    [2014-10-01 08:54:50 PM] Information : Configuration.DBConfigurator: Adding DPM Category to GlobalSettings table
    [2014-10-01 08:54:50 PM] Information : Configuration.DBConfigurator: Adding ConsiderOfflineMediaToCheckOffsiteReady to GlobalSettings table
    [2014-10-01 08:54:50 PM] Information : Add job definitions
    [2014-10-01 08:54:52 PM] Information : Creating schedules
    [2014-10-01 08:55:00 PM] * Exception :  => System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed. (Exception
    from HRESULT: 0x800706BE)
       at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
       at Microsoft.Internal.EnterpriseStorage.Dls.Engine.CProxyUtils.HandleErrors(Int32 hr, tagSAFEARRAY* exceptionResult)
       at Microsoft.Internal.EnterpriseStorage.Dls.Engine.SchedulerServicesProxy.Register(String scheduleXml)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.RegisterScheduleXml(String scheduleXml)
    [2014-10-01 08:55:00 PM] * Exception :  => The DPM database was not created.Use Add or Remove Programs in Control Panel to remove the DPM files and registry entries that were created during Setup. Verify that SQL Server is properly installed and that
    it is running, and then run Setup again.Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.BackEndErrorException: exception ---> Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.DatabaseConfigurationException: exception ---> System.Reflection.TargetInvocationException:
    Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed. (Exception from HRESULT: 0x800706BE)
       at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
       at Microsoft.Internal.EnterpriseStorage.Dls.Engine.CProxyUtils.HandleErrors(Int32 hr, tagSAFEARRAY* exceptionResult)
       at Microsoft.Internal.EnterpriseStorage.Dls.Engine.SchedulerServicesProxy.Register(String scheduleXml)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.RegisterScheduleXml(String scheduleXml)
       --- End of inner exception stack trace ---
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.RegisterScheduleXml(String scheduleXml)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.RegisterSchedule(String scheduleXmlFile)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.PopulateDefaultScheduleDefinitionsInDatabase(DBConfigurationReader dbCfgReader)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.AddJobAndScheduleDefinitions()
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.MiniSetupConfiguration.PopulateDB(Boolean upgrading, Boolean isRemoteDb, String sqlServerMachineName)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.BackEnd.MachineSpecificConfiguration(Boolean existingDB, Boolean upgrading, Boolean isRemoteDb, String sqlServerMachineName, String instanceName)
    *** Mojito error was: DatabaseCreateFailed; 0; None
       --- End of inner exception stack trace ---
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.BackEnd.MachineSpecificConfiguration(Boolean existingDB, Boolean upgrading, Boolean isRemoteDb, String sqlServerMachineName, String instanceName)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.BackEnd.Configure(Boolean existingDB, Boolean upgrading, String databaseLocation, String sqlServerMachineName, String instanceName, Boolean oemSetup)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.DpmInstaller.Configure()
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.ProgressPage.InstallDpm()
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.ProgressPage.InstallerThreadEntry()
    *** Mojito error was: DatabaseCreateFailed; 0; None
    [2014-10-01 08:55:02 PM] *** Error : The DPM database was not created.
    Use Add or Remove Programs in Control Panel to remove the DPM files and registry entries that were created during Setup. Verify that SQL Server is properly installed and that it is running, and then run Setup again.
    ID: 811
    [2014-10-01 08:55:02 PM] Information : Data Protection Manager installation has failed. To return the server to its original state, you must uninstall Data Protection Manager by using Add or Remove Programs in Control Panel. This will remove all files and components
    copied during installation.
    For details, click the Error tab.
    [2014-10-01 09:33:51 PM] Data : Error Code Web Link =
    http://go.microsoft.com/fwlink/events.asp?ProdName=Microsoft System Center Data Protection Manager&ProdVer=4.1.3313.0&EvtID=811&EvtSrc=MSDPM&LCID=1033&P2wAppId=p2wMsdpmEE

    Hi,
    Check the SQL Agent account on the remote SQL server and make sure the user account syntax is in the form of UserName\DomainName and not UserName@DomainName - if it is change it.
    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.

  • Shared Services database content not found in the specified database."

    Trying to configure Version 11 and get the error: "Shared Services database content not found in the specified database". Relevant details on my issue as below:
    - I'm running Windows 7 and SQL Server 2008 on my local machine.
    - I did have a previous installation of Hyperion 9 on my machine which I uninstalled before installing 11. However, after uninstalling, I could still see the Hyperion EPM (empty folders) in my "All Programs", which I manually deleted.
    - Now I've installed Essbase 11, and for now am trying to configure Hyperion Foundation only (Common Settings and Configure Database is greyed out, I checked deploy to applicaiton server. I left the calculation manager and workspace blank).
    - The next window is the "Configure Shared Services and Database Registry" option. I chose "Perform 1st time Configuration of Shared Services Database". When I enter the relevant details, I got the error mentioned above. My error log file entries are as below:
    (Jul 14, 2010, 02:10:50 PM), com.hyperion.hit.registry.Registry, ERROR, Exception when trying to store the component
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:546)
         at java.util.ArrayList.get(ArrayList.java:321)
         at com.hyperion.hit.registry.JDBCRegistryUtils.storeComponent(JDBCRegistryUtils.java:612)
         at com.hyperion.hit.registry.JDBCRegistryUtils.saveComponent(JDBCRegistryUtils.java:166)
         at com.hyperion.hit.registry.Registry.storeComponent(Registry.java:2749)
         at com.hyperion.hit.registry.Registry.getInstance(Registry.java:353)
         at com.hyperion.config.wizard.impl.RegistryWizardRule.validate(RegistryWizardRule.java:66)
         at com.hyperion.cis.config.wizard.adapter.WizardFormAdapterPanel.queryEnter(WizardFormAdapterPanel.java:80)
         at com.installshield.wizard.awt.AWTWizardUI.currentBeanChanged(Unknown Source)
         at com.installshield.wizard.swing.SwingWizardUI.currentBeanChanged(SwingWizardUI.java:842)
         at com.installshield.wizard.StandardWizardListener.currentBeanChanged(Unknown Source)
         at com.installshield.wizard.Wizard$RunThread.run(Wizard.java:1822)
    (Jul 14, 2010, 02:11:08 PM), com.hyperion.cis.config.wizard.adapter.WizardFormAdapterPanel, ERROR, Shared Services database content not found in the specified database.
    (Jul 14, 2010, 02:11:58 PM), com.hyperion.cis.config.wizard.adapter.WizardFormAdapterPanel, ERROR, Shared Services database content not found in the specified database.
    I believe version 11 supports Windows 7, but correct me if I'm wrong. What's going on here? Any suggestions on what I should try ?

    Actually when I installed version 9, I never got around to configuring shared services and so never had a shared services database in SQL Server to begin with.
    One question about the registry entry you told me to delete: The (HKEY_LOCAL_MACHINE\SOFTWARE\Hyperion Solutions) which currently exists would be the entry for version 11 which I have installed right? It's the only entry for Hyperion Solutions in the registry.
    After uninstalling versino 9, C:/hyperion still existed on my machine (though it didnt have all the subfolders which it did prior to uninstalling), so I manually deleted it before installing verison 11.
    I wouldn't mind installing it on a compatible version of windows, but the thing is that at this point this is all that is available to me.
    and I don't have any other oracle products.
    thanks....

  • Shared Services database content not found in the specified database - EPM

    I installed three VM machines (Workstation) for the following on Windows 2003 OS:
    VM1 : Oragle DB 11g, Shared Services. Workspace
    VM2 : Financial Management, EPMA, Calc Manager
    VM3 : Microsoft Active Directory
    I have configured Database and Shared services successfully and all machines talk to one another.
    Also, I created the appropriate table spaces for the Hyperion products with the right access on the database. And, I am able to connect from the client (VM 2 to the Database VM 1)using SQLplus.
    When I tried to configure Financial Management, using the EPM System Configurator and put in the following values:
    Database Type: Oracle
    Server: VMDatabase (Name of VM1)
    Port: 1521
    SID ORCL
    Username: HFM
    password: *********
    It returned the error message: "*Shared Services database content not found in the specified database*"
    Can someone please help on what I need to check, Please!?
    Thanks for your time.
    K

    Hi,
    Information from Oracle Support:
    Shared Services database content not found in specified database
    Cause
    There is a flag in the shared services repository that indicates the shared services database is to be used as a registry. If that flag is not set, the configtool will not re-configure the database as a shared services repository.
    Solution
    Note: Make sure the Shared Services repository is backed up before doing any Shared Services Registry changes.
    The registry flag isRegistryDB must exist and be set to true on the Shared Services Database Connection.
    epmsys_registry.bat VIEW DATABASE_CONN
    Find the shared services database registry entry. The entry in bold will be missing. The italicized item is the 'unique_id' referenced later (different in each installation).
    COMPONENT - 3
    NAME - Database:ORCL:HSS
    ID - +11d1def534ea1be07ad8eb3012d2e3d310a7ff4+
    TYPE - DATABASE_CONN
    HOST - Database
    HYPERION HOME - /home/hypadmin/Oracle/Middleware/EPMSystem11R1
    PROPERTIES -
    isRegistryDB = true
    dbUserName = HSS
    dbJDBCDriverProperty = oracle.jdbc.OracleDriver
    dbJdbcUrl = jdbc:oracle:thin:@Database:1521:ORCL
    registryDatasource = EPMSystemRegistry
    registryDatasourceJNDI = jdbc/EPMSystemRegistry
    dbName = ORCL
    version = 9.5.0.0
    dbPort = 1521
    instance_home = /home/hypadmin/Oracle/Middleware/user_projects/epmsystem1
    dbPassword = GABaMyyplja+wLNCmLs8ag==
    Run the following update to populate the isRegistryDB flag with the unique_id being the ID field used in the DATABASE_CONN registry entry.
    epmsys_registry.bat addproperty #unique_id/@isRegistryDB true
    Repeat the epmsys_registry VIEW DATABASE_CONN to make sure the flag is now set.
    You will be able to reconfigure the shared services repository.
    You can mark it as Answer/Helpful if you feel so.
    Cheers!
    J

  • Error: the database could not be exclusively locked to perform the operation in sql server 2008 ?

    I am trying to rename the database but i am getting below exception while doing it-->
    Error: the database could not be exclusively locked to perform the operation.(Microsoft Sql Server,Error 5030)
    Thanks.

    as mentioned earlier by both these users just wait for all the connections to go and then try- it will succed
    or else if it is dev\Uat environment & you can kill the conenctions - make the changes (use this as last option)
    i was just wondering if you are connected to the same DB? If yes change your context to master(means connect to master DB ) and then issue this command.
    Sarabpreet Singh Anand
    Blog ,
    Personal website
    This posting is provided , "AS IS" with no warranties, and confers no rights.
    Please remember to click "Mark as Answer" and "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • Could not render the database. Not enough memory.

    This seems to be a big bug in Fireworks CS4. I am building a 10 page website. I only had the opportunity to insert about 10 high quality images into the project, and then tried saving the project as a Fireworks PNG. It appeared to Save successfully, however from that point on, any object I would click on, any layer I would select a message would appear.
    "Could not render the database. Not enough memory."
    Has anyone seen this before? How can I fix this?
    I tried doing a workaround. I tried opening the saved file from Fireworks CS3. Before opening, it displays a message about insufficient permission in the registry. I click OK, and it opens in CS3. I can finally edit the project and make changes, and save it without problems. However, even after saving in CS3, I cannot open it in CS4 without getting the error message. It is not only on my machine. I send my project to others to see if they can open it via CS4, and they can't either. They get the same message.
    I attached the PNG file, this is for a school project.
    Any help is most appreciated.

    I'm relieved to hear that. So I trust that your images are all nice and small, file-size-wise.
    Okay! I trust you have already defragged your hard drive and turned off all those nasty TSRs that eat up your RAM. Fileswapping is usually what slows my computer down.
    Check for scripts that might be running wild in the background. Can't think what they might be, but if something is looping and shouldn't be, you'll end up with less free RAM to move around in.
    I haven't noticed the problem with lots of layers, but I haven't been watching, either. Have you experimented with turning off the layers that you are not actually exporting? I understand the  convenience in keeping all those layers in there...it's a big timesaver in editing throughout a project. If all the layers are not needed in the image export, however, turn them off temporarily. That might save some elbow room.
    It sounds as if your system fits the basics, but you might check:
    Windows
    1GHz or faster processor
    Microsoft® Windows® XP with Service Pack 2 (Service Pack 3 recommended) or Windows Vista® Home Premium, Business, Ultimate, or Enterprise with Service Pack 1 (certified for 32-bit Windows XP and Windows Vista)
    512MB of RAM (1GB recommended)
    1GB of available hard-disk space for installation; additional free space required during installation (cannot install on flash-based storage devices)
    1,024x768 display (1,280x800 recommended) with 16-bit video card
    DVD-ROM drive
    Broadband Internet connection required for online services*
    Mac OS
    PowerPC® G5 or multicore Intel® processor
    Mac OS X v10.4.11–10.5.4
    512MB of RAM (1GB recommended)
    1GB of available hard-disk space for installation; additional free space required during installation (cannot install on a volume that uses a case-sensitive file system or on flash-based storage devices)
    1,024x768 display (1,280x800 recommended) with 16-bit video card
    DVD-ROM drive
    Broadband Internet connection required for online services*
    Rather than jumping to think it's a bug, try a test with 9 layers, or 8 layers. If only 10 layers and up provide problems, file a bug/feature report or contact someone in support.
    As this is a user forum, we (other users) neither speak for Adobe nor know everything about the applications from a support viewpoint, so while we're always willing to offer opinions and frequently solutions, real bugs are not in our bailiwick.
    Perhaps someone with a multi-layer difficulty can chime in here.
    Beth

  • I'm trying to Chang my security question. But when I hit the reset its not sending to my email

    I'm trying to Chang my security question. But when I hit the reset its not sending to my email

    If it hasn't arrived after a few hours and isn't in a spam filter, you need to contact Apple to get the questions reset. Click here, phone them, and ask for the Account Security team, or fill out and submit this form.
    (95537)

  • Hi i am putting photos in my project it will play the videos but not the photos never had a problem before

    hi i am putting photos in my project it will play the videos but not the photos i have not had a problem with this before

    If you haven't tried re syncing the apps using iTunes..
    Connect the iPad to your computer. Select it under Devices left side of the iTunes window. Select Apps from the menu, make sure the boxes next to those apps are selected then click the Sync button bottom right side of the iTunes window.

  • How an INDEX of a Table got selected when a SELECT query hits the Database

    Hi All,
    How an Index got selected when a SELECT query hits the Database Table.
    My SELECT query is as ahown below.
        SELECT ebeln ebelp matnr FROM ekpo
                       APPENDING TABLE i_ebeln
                       FOR ALL ENTRIES IN i_mara_01
                       WHERE werks = p_werks      AND
                             matnr = i_mara_01-matnr AND
                             bstyp EQ 'F'         AND
                             loekz IN (' ' , 'S') AND
                             elikz = ' '          AND
                             ebeln IN s_ebeln     AND
                             pstyp IN ('0' , '3') AND
                             knttp = ' '          AND
                             ko_prctr IN r_prctr  AND
                             retpo = ''.
    The fields in the INDEX of the Table EKPO should be in the same sequence as in the WHERE clasuse?
    Regards,
    Viji

    Hi,
    You minimize the size of the result set by using the WHERE and HAVING clauses. To increase the efficiency of these clauses, you should formulate them to fit with the database table indexes.
    Database Indexes
    Indexes speed up data selection from the database. They consist of selected fields of a table, of which a copy is then made in sorted order. If you specify the index fields correctly in a condition in the WHERE or HAVING clause, the system only searches part of the index (index range scan).
    The primary index is always created automatically in the R/3 System. It consists of the primary key fields of the database table. This means that for each combination of fields in the index, there is a maximum of one line in the table. This kind of index is also known as UNIQUE. If you cannot use the primary index to determine the result set because, for example, none of the primary index fields occur in the WHERE or HAVING clause, the system searches through the entire table (full table scan). For this case, you can create secondary indexes, which can restrict the number of table entries searched to form the result set.
    reference : help.sap.com
    thanx.

  • What are all scenarios we will open the database in open resetlog mode

    what are all scenarios we will open the database in open resetlog mode..please advise

    Another situation I could think of is that when the active/current online redo logs are lost.
    Regards,
    Jaffar

  • Ipad is connected to the computer however doesn't show up in the menu, I'm trying to restore it but am concerned that it will restore the iphone and not the ipad. any suggestions?

    ipad is connected to the computer however doesn't show up in the menu, I'm trying to restore it but am concerned that it will restore the iphone and not the ipad. any suggestions?

    Hi vanover7,
    It sounds as if when you connect your iPad to your computer it does not show up in iTunes, is that correct? 
    Please use the steps in this article to troubleshoot the issue -
    iPhone, iPad, or iPod touch not recognized in iTunes for Windows - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Tell me select Query that HITs the database Directly  ???

    Hi,
        I have a table, for this table in the Techinical Setttings I selected Buffering allowed, and buffering type is Full Bufferd.Now, I want a Select Query which hits the database directly, without fetching records from the BUFFER.
    Except using SELECT BYPASSING BUFFER query ????
        Regards,
    V.Raghavender.

    hi,
    ·        Any SELECT with a sub query or with joins
    ·        Any set function (COUNT, MIN, MAX, SUM, AVG)
    ·        GROUP BY
    ·        HAVING
    ·        SELECT DISTINCT
    ·        ORDER BY
    Examples:
    SELECT /*@ SAP BYPASSING BUFFER */ * FROM MYTAB
        WHERE KEY1 = ? AND KEY2 = ?
    SELECT * FROM MYTAB WHERE KEY1 = ?
    SELECT * FROM MYTAB
        WHERE KEY1 = ? AND KEY2 = ? OR KEY1 = ?
    SELECT MAX(DATA) FROM MYTAB WHERE KEY1 = ? KEY2 = ?
    SELECT * FROM MYTAB
        WHERE KEY1 = ? AND KEY2 = ? AND DATA =
       (SELECT DATA FROM MYTAB WHERE KEY1 = ? AND KEY2 = ?)
    if helpful pls award points.
    sri

  • Hi, I'm doing a poor man's morph project on my motion 4 . It works perfect while on motion , but when I try to import it to tcp it will transfer the photos but not the optical flow fx. what am I doing wrong?

    Hi I don't know if I was able to send this question before but here it goes again. I'am doing a poor man's morph project on my motion 4 program, and it works great while in Motion, but once I try to import it to fcp, it will import the photos but not the optical flow fx, what am I doing wrong? I appreciate you help

    Decided to use cmd A to select all the icons on the desktop and then looked for a right click option.   There it was - the option to move to a folder.   I now have them all in this folder which tells me it holds 157 items.   Now you know why I needed to know LOL
    Thought it might be of help to someone.
    Cheers Mally

  • A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (p

    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that
    the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)(Microsoft SQL Server, Error: 2)
    The system cannot find the file specified
    Cannot connect to COWBOYS.
    Here are the technical details===================================
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476
    Error Number: 2
    Severity: 20
    State: 0
    Program Location:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer
    timeout)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance,
    SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
    ===================================
    The system cannot find the file specified
    I have tried from so many forms. This is so frustrating. Thank for everyone/anyone who wants to help. So this is what happened: I had to uninstall my previous sqlserver 2012(which worked great) for some reason, and I uninstalled everything from that download.
    Then I installed the trial edition of sql server 2012 (64 Bit) and It wouldn't connect to the database. (Error mentioned above.) My local DB is COWBOYS. (COWBOYS is also my computer name.) After this, I have tried downloading sqlexpress and sqlserver 64bit
    many times and cannot connect to my local DB. 
    How do I connect to my Local DB? 
    Also, I think this might help: (When I run sqlserve.exe, which I was able to find in C:\Program Files\Microsoft SQL Server\110\LocalDB\Binn, I get an error: Your SQL server installation is either corrupt or has been tampered with(Error getting
    instance ID from name). Please uninstall then re-run setup to correct this problem.
    I would happily re install it, if it wasn't my 20th time.
    I don't have any remote connections, I don't use username/password, only window authentication. I work mostly on visual studio, but without able to store /retrieve data, I don't know how to survive.
    May be the solution is very simple, but I am too frustrated. 
    Some of the things I have tried:
    From a command prompt, enter one of the following commands:
    net start "SQL Server Agent (MSSQLSERVER)" OR 
    net start "SQL Server Agent(instancename)"(for instance)
    on my sql configuration, I cannot start anything because there is nothing there to start. I can post more details, if that would help. Also, some more details about the error:
    Details
    Product:
    SQL Server
    ID:
    2
    Source:
    MSSQLServer
    Version:
    10.0
    Component:
    SQLEngine
    Message:
    An error has occurred while establishing a connection to the server. When connecting to SQL Server, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error:
    40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    Explanation
    SQL Server did not respond to the client request because the server is probably not started.
    User Action
    Make sure that the server is started.
    Version:
    9.0
    Component:
    SQLEngine
    Message:
    An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error:
    40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    Explanation
    SQL Server did not respond to the client request because the server is probably not started.
    User Action
    Make sure that the server is started.
    Any one that can help me, I will be greatful. Thank you so much. p.s. please ask me anything if you have any questions.

    It sounds like there are a couple things going on here.  First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
    Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance.  Once you find this, make sure the service is started. 
    If not started, try to start it and see if it throws an error.  If you get an error, post the error message your hitting.  If the service starts, you can then launch SSMS and try to connect.  If you have a default instance, you can use the machine
    name in the connection dialog.  Ex:  "COWBOYS" where Cowboys is the machine name.  However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format.  Ex:  COWBOYS\Romo (where Romo
    is the instance name you set during install).
    You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install.  Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
    recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
    Thanks,
    Sam Lester (MSFT)
    http://blogs.msdn.com/b/samlester
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • Webi Refreshing Error :database name not found and no default driver specified

    Hi All,
    When I refreshing the webi report from Launchpad  getting bellow error
    "database name not found and no default driver specified"
    Bellow is the Screen shot
    It is refreshing in webi Rich client (server and client tools are in same system) but not from Launch pad
    1. Environment :BI 4.0 SP4 
    2.  Server and client tools are installed in same system
    3. Created a 32 bit odbc, universe connection is responding properly and report refreshing in rich client(I could not find 64 bit odbc) .
    Can Please suggest me where I am doing wrong
    Regards,
    Mahi

    Hi Mahi,
    Seems like your BO server is 64 bits and you have created a 64 bits DSN; whereas your database requires 32 bits DSN.
    Try below steps:
    1.  Navigate to the C:\Windows\SysWOW64 directory and open odbcad32.exe. This will open the ODBC Data Source Administrator for 32-bit drivers on the 64-bit server. NOTE: The ODBC Data Source Administrator that is located by clicking Start and Administrative Tools will only create 64-bit ODBC connections.
    2. Click on the System DSN tab
    3. Click on Add to create a new Data Source
    4. Provide the database details
    5. Your 32-bit ODBC data source is now ready for use.
    Hope it will help.
    Regards,
    Yuvraj

Maybe you are looking for

  • I keep getting a message saying, "Apple Mobile Device failed to start" Verify privileges".

    I couldn't open my itunes so after trying to do a fix that didn't work I uninstalled itunes then tried to install it again.  I get to the start service portion of the download and get the Device failed message.  I don't have a mobile device associate

  • Go to a position RELATIVE to the current

    Hallo, For the Homepage of my School I have to make a Page-Overview. I use many (this time 20) different, but same sized, images. These should stay 10 sec. and then should come the next one. If you click (on.Press) at the image, the page should be op

  • Spot colors not being saved.

    In CS6 I have been having random situations where the spot color channels are not saved when saving a .psd, regardless of the settings in the save dialog box. Any idea of why this might be happening? I've even had the program dump the spot colors fro

  • Nokia C-3 faulty camera + video issues

    i bought this phone 3 days back... the image quality is very bad ..too dark n grains (noise)..i suspect dat d camera is faulty.....also the phone hangs up on playin video's ...what should i do ?? is replacement possible ?? plz help ...

  • Sign pdf and submit without saving locally?

    We have a site license for Acrobat Pro 8. We've developed a dynamic online form with a submit button on it which posts back the server. The form is opened in Acrobat 8, not the web browser (by configuration, since we have to save the entire pdf and n