Question to load the entire database into memory.

I am planing to load the whole database into memory. Suppose mydb is 10G. Then I plan Max Memory for 10G. Then I can create a named cache with 10G and bind the mydb to this cache. Is this the best way to load entire db into memory?
If the whole db can be loaded into memory, if procedure cache, cache for tempdb and all other params are not important any more? Or still need to follow common practice to configure memory params?

Hi Kent,
12-15GB sounds reasonable.
I recommend always including your version with your initial posting (unless the version simply doesn't apply to the question).  Particularly when running an unusual version, and 12.5.x has been end-of-lifed long enough to be unusual now.  Are you running SAP Applications on this system?  If not, please questions post to the SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications space instead, it is the space for general-purpose ASE questions.
Cheers,
-bret

Similar Messages

  • How to load a BDB file into memory?

    The entire BDB database needs to reside in memory for performance reasons, it needs to be in memory all the time, not paged in on demand. The physical memory and virtual process address space are large enough to hold this file. How can I load it into memory just before accessing the first entry? I've read the C++ API reference, and it seems that I can do the following:
    1, Create a DB environment;
    2, Call DB_ENV->set_cachesize() to set a memory pool large enough to hold the BDB file;
    3, Call DB_MPOOLFILE->open() to open the BDB file in memory pool of that DB environment;
    4, Create a DB handle in that DB environment and open the BDB file (again) via this DB handle.
    My questions are:
    1, Is there a more elegant way instead of using that DB environment? If the DB environment is a must, then:
    2, Does step 3 above load the BDB file into memory pool or just reserve enough space for that file?
    Thanks in advance,
    Feng

    Hello,
    Does the documentation on "Memory-only or Flash configurations" at:
    http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/program_ram.html
    answer the question?
    From there we have:
    By default, databases are periodically flushed from the Berkeley DB memory cache to backing physical files in the filesystem. To keep databases from being written to backing physical files, pass the DB_MPOOL_NOFILE flag to the DB_MPOOLFILE->set_flags() method. This flag implies the application's databases must fit entirely in the Berkeley DB cache, of course. To avoid a database file growing to consume the entire cache, applications can limit the size of individual databases in the cache by calling the DB_MPOOLFILE->set_maxsize() method.
    Thanks,
    Sandra

  • There is not enough free memory to load the entire file

    I saw an older reference to this error in a previous post which apparently got resolved, but didn't explain precisely how it got resolved:
    Michael Kitzmiller, "There is not enough free memory to load the entire file" #, 27 Jul 2007 5:23 am
    I presume that one answer is to rebuild the document from scratch, changing imported images to referenced images. But I want to recover the file as I put hours of work into it and expected that anything I can save that I also should be able to read back in. I will certainly change to referenced images, but I have to be able to open it first.
    thank you

    Web...
    Here is a smattering of ideas.
    Do you have ample unused HDD space? If not, defrag it, although in myu experience, this hardly makes a difference. Check your TEMP/TMP folders and clean them out. Consider downloading cCleaner and running it. Do everything you can to make ample room on your HDD and in places like your TEMP folders. If your HDD is congested, temporarily remove big but relatively unimportant applications and move data elsewhere for a while.
    Even with 4GB of RAM, Frame can only use somewhere between 2.7 - 3.2 GB of it under the very best of conditions, and that includes the application as well as the files. Unpacking image files can consume considerably more space than it takes to store them. For example, a 1024 x 768 color image requires more than 3.1MB to describe it as a 32-bit color image, yet when stored in JPEG format, it can be as small as 50kB, a compression of 65:1. Of course, it's not reasonable to assume that your document is comprised entirely of such highly-compressed images, but in the unachievable extreme, it would take 980MB to simultaneously open 15MB worth of those kind of files. The point here is to not fall into the trap of thinking a 15MB file comprising a lot of images needs little more than 15MB of RAM.
    Make sure ALL other applications are closed when trying to open your file...Outlook, IE or FireFox, Anti-Virus and Spyware apps, Word, etc.
    Consider sending a copy of the file to someone else to see if they can open it for you and delete some of the images before resaving it. If you have a backup copy, rename your current file and restore the backup. Maybe your working copy is corrupt. Who knows? Anything is probably worth trying as long as you have a save copy stored somewhere.
    Dennis...

  • Re-load the metadata back into HFM

    Hi
    I extracted the data out of HFM Client, however I am unable to re-load the metadata back into HFM Client.
    Thanks in advance.

    Why are you unable to reload the metadata?
    What are the exact steps you are following?
    Answering these questions will help you get helped...

  • Error while loading the master data into hierarchy

    Hi,
    When i am trying to load the master data into a hierarchy, it is showing me the following error.
    "Invalid Entry, hierarchy xxxxxx does not exist".
    Can you please tell me what might be the possible cause for this error.
    Thanks,
    Prateek

    Hello
    Have you created a hierarchy, I mean go to Transfer structure->Hierarchy structure 
    ->create hierarchy, put a check of whether it is sorted or time dependent etc. after that while loading data through infopackage just check that you have selected an appropriate hierarchy name in hierarchy selection tab.
    Hope it will help!!
    Regards,
    Sandeep

  • My iTunes keeps crashing.  I have uninstalled and reinstalled, including recreating the entire database, and it is still doing it.  I recently upgraded to 10.5.  Any ideas?

    My iTunes keeps crashing.  I have uninstalled and reinstalled, including recreating the entire database, and it is still doing it.  I recently upgraded to 10.5.  Any ideas?  I am running Windows 7 on a new, decent, laptop.  The music is on the laptop's hard drive.  There is plenty of hard drive space left.
    iTunes starts fine, and I can do stuff, then within a minute or two or three it gives me an error message pop-up. 

    The error message says:
    iTunes has stopped working.
    Windows can check nline for a solution to the problem.
    -> Check online for a solution and close the program
    -> Close the program
    Problem Event Name:          APPCRASH
      Application Name:          iTunes.exe
      Application Version:          10.5.0.142
      Application Timestamp:          4e9243f2
      Fault Module Name:          MSVCR80.dll
      Fault Module Version:          8.0.50727.6195
      Fault Module Timestamp:          4dcddbf3
      Exception Code:          c0000005
      Exception Offset:          0001500a
      OS Version:          6.1.7601.2.1.0.768.3
      Locale ID:          1033
      Additional Information 1:          0a9e
      Additional Information 2:          0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:          0a9e
      Additional Information 4:          0a9e372d3b4ad19135b953a78882e789
    I've chosen both items, neither does anything but close the program.  This problem is new with iTunes 10.5; I did not have it before. 

  • In elements 12, when I click a photo in Window Explorer, it will load the elements 12 editor, but it doesn't load the pic ( *.jpg ) into the editor? It always did in earlier versations?

    in elements 12, when I click a photo in Window Explorer, it will load the elements 12 editor, but it doesn't load the pic ( *.jpg ) into the editor? It always did in earlier versations?

    green
    When you click on the Playclaw's Encoder tab, what do you see in the next dialog for Video Compression when the Container field in that dialog is set to .avi?
    Since you are seeing some video at all in Premiere Elements (glitchy as it is), I am assuming the video compression is not AVCHD. If that were the case, I would expect you not to be able to import the file at all. By any chance is the video compression Xvid or DivX?
    It appears that Video compression could also be "H.264 Intel QuickSync" with a mkv file extension. That seems ruled out since you say your file extension is .avi and not mkv.
    So, with the .avi file extension
    what is listed as Video Compression and what have you done, if anything, under the Encoder Setup button?
    Do you have the same issues with and without the antivirus and firewall(s) disabled?
    Also, if you took footage that worked before in Premiere Elements back into today's Premiere Elements, problems or no problems?
    At this time, can you import a bunch of jpg photos into a project and work without this type of issue?
    Thanks.
    ATR

  • In  Zoom Burst Effect Guided Edit, when i use the  Add Focus Area button instead of focusing on what i choose it bring the entire photo into focus.

    In Zoom Burst Effect in Guided Edit, when I use the Add Focus Area button instead of focusing on what I chose it brings the entire photo into focus.

    I'd try resetting the pse 12 preferences by going to Adobe Photoshop Elements Editor (Edit)>Preferences>General
    and click on Reset Preferences on next launch, then restart pse 12.

  • How to load the google map into an empty movieclip

    how to load the google map into an empty movieclip ?  Thank you

    if you're using as3, check the google maps api for flash.  if you're using as2, check the google maps api for javascript and use the externalinterface class in flash.

  • Convert the oracle10g database into standby ( read only mode)

    One month ago, converted the oracle 10g standby database into read and write mode( database is open). I would like to convert the oracle10g database into standby
    Please provide me the steps or document
    Thanks in advance

    user8680248 wrote:
    two months ago we have convert the standyby database into standard database ( read, write)
    NoW I am plannning to convert this database into standby database
    any link or steps pleaseDid you meant you would creating(or you have) another standby database and make that standby database as primary and this as standby
    If this is not what you meant then there is no way you can make this as sandby database.
    Regards
    Anurag

  • Have a PowerBook G4. I mistakenly hit a key (don't know what) that changed the entire keyboard into either typing numbers only or nothing at all. Please HELP...

    I have a PowerBook G4, 10.4.11. I mistakenly hit a key (don't know what) that changed the entire keyboard into either numbers only when typing or nothing at all with half the keyboard. Please HELP...

    Thank you TONS a brody.  Really appreciate it. 

  • How to load the certificate authority into the keystore for the weblogic8.1

    how to load the certificate authority into the keystore for the weblogic8.1
    ==================================================
    Getting the message below when trying to improt the certificate to the weblogic 8.1 web server. Received this certificate from our internal IT certificate authority. Trying to import the certificate to our test sytem.
    ===================================================
    keytool error: java.lang.Exception: Failed to establish chain from reply
    Import failed. Verify that the Certificate Authority that signed 'certi.pem'
    has been loaded into your keystore 'keystore\pskey'
    To view keystore contents issue 'PSkeymanager -list -keystore keystore\pskey [-v
    To preview a certificate file issue 'PSkeymanager -previewfilecert -file certi.pem'

    You need to populate that field using cmod code. Find out from which table that field is and go to transaction cmod then enter project name and select component radio button then display.
    Now select the FM EXIT_SAPLRSAP_001  if your datasource is transactional dataource
    EXIT_SAPLRSAP_002 for master data attibute
    EXIT_SAPLRSAP_003 for Hierarchies
    EXIT_SAPLRSAP_004 for text
    then populate code .
    After your code then delete data from ods then reinit to populate the enhanced field.
    Hope it helps..

  • HT201260 My IPad2 just got fixed at the Apple Store, but it looks like they loaded up the latest OS. When i got it home and mated it to ITunes, I was prompted to load the latest OS into my main computer which now runs on OS X version 10.5.8...how to get t

    My IPad2 just got fixed at the Apple Store, but it looks like they loaded up the latest iOS. When i got it home and mated it to ITunes(MacBook Pro), I was prompted to load the latest OS into my main computer which now runs on OS X version 10.5.8...how do i get the latest OS so i can get the latest iTunes and am i looking at problems with the MacBook buy leap frogging so many OS's?

    Buy Snow Leopard here: http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    Install it, update to OS X 10.6.8 using Software Update, and then you'll be all set with iOS 7.

  • Are there any calls to get the entire database schema ?

    I'm using JDBD Thin, are there any calls to get the entire database schema or do I need to use the thick libray ?
    Thanks.

    This could be done using the Azure Management Libraries for Azure Websites https://www.nuget.org/packages/Microsoft.WindowsAzure.Management.WebSites
    There you can find an API to enumerate your website's running instances.
    var client = new WebSiteManagementClient(new CertificateCloudCredentials("subscriptionid", cert));
    foreach (var webSiteInstanceId in client.WebSites.GetInstanceIds("webspacename", "sitename"))
    Console.WriteLine(webSiteInstanceId);
    You can also see this information using the Azure command line tools (both PowerShell and xplat).
    Note that scaling up doesn't guarantee you'll have more instances (unless you have Always On configured) to get those instances running you'll need traffic to your website.
    Thanks,
    Amit

  • How to load values from database into the f:selectItems value attribute

    Hi,
    I am trying to load the drop down menu value i.e f:selectItems from the database with a list of values from a column in the databse table. how can i do this? Should i use binding? or is there any other way.
    Note:i am able to load values into f:selectItems from the faces-config.xml file but they are static values. i want the values from the database
    Please reply with sample codes of faces jsp, bean file and config.xml file

    But this is working for me,
    JSF
         <h:selectOneMenu value="#{loadbean.grade}" >
              <f:selectItems value="#{loadbean.gradelist}" />
         </h:selectOneMenu>
    bean
    private String grade;
    private List<SelectItem> gradelist;
    public String getGrade() {
              return grade;
         public void setGrade(String grade) {
              this.grade = grade;
         public List<SelectItem> getGradelist() {
              return gradelist;
         public void setGradelist(List<String> items) {
              gradelist=new ArrayList<SelectItem>();
              gradelist.add(new SelectItem("daniel"));//this value can be from data base
              gradelist.add(new SelectItem("pspindia"));
              gradelist.add(new SelectItem("prelude sys"));
    faces-config.xml
    <managed-property>
              <property-name>gradelist</property-name>
              <null-value/>
    </managed-property>
    this working fine for me. So setter method also works to load value for the h:selectItems
    Thanks a lot.

Maybe you are looking for

  • Issues fixed in FM 7.1 release

    Adobe FrameMaker 7.1 for English, French and German was released on January 10, 2004. The following is a list of issues fixed in this release. 250374 FDK: FA_Note_PreSetAttrValue notification not sent for new elements. If a client subscribes to FA_No

  • HT204088 why am i being charged $11.00 every day on my credit card.  For what?

    I am noticing a charge of $11.69 charged to my credit card two days in a row.  What is this for?  No one is charging anything,  How do I cancel this account?

  • Error in Java script "undefined is not an object"

    Dear All, Im using InDesign CS4. Im trying to remove the anchor frames containing some text. but i got the error msg "undefined is not an object". Here is my part code. app.findGrepPreferences.findWhat = "AQ\\d+"; myFoundItems=app.findGrep(); var myL

  • Where to place Reporting Services in clustered environment?

    I am designing a SCOM 2012 R2 infrastructure for a client. My current setup is planned to be 2 SCOM Management Servers 1 SQL Cluster with one instance containing the Operations and Data Warehouse Databases It states that the reporting services is not

  • Input Level problem in GB with Fastrack Pro

    I have a wierd problem with Fastrack Pro. It's the same in GB and also Logic Express. I'm trying to record acoustic piano with a pair of condensor mic's on a MacBook Pro. I do get a weak signal in both programs if I set the gain knobs on Fastrack abo