Direct model need more memory than other local communication protocols?

Hi, for Timesten databases on the same server and applications we use direct model for performance bese.
But I want to know what size of JVM segment are set for my java application when you activate the direct model?
My application must head more memory when direct model than any other communication local protocols, such as the CPI or Unix domain socket?
Assuming that my Timesten database takes 12 GB memory in OS, this means that I have to specify the same size for JVM heap(-Xmx12G)?
I hope that there are documents or links to this topic.


Thanks and greetings

SuoNayi

The TimesTen database is always in a separate shared memory segment, regardless of how connect you. In client/server mode, there is a separate server process that accesses the shared memory on behalf of the application in direct mode, the shared memory segment is mapped into the process's address space. The total amount of memory used is the same in both cases (actually a little less in the case of direct mode as you do nto need the process of weaning). Since the if allocated memory as a shared memory segment and not by the heap of Java you don't need to increase the size of the Java heap to use direct mode.

Chris

Tags: Database

Similar Questions

  • DB face memory pressure and need more memory?


    Hi all

    DB: 10g and 11g

    Need your advice.

    We provide the server db use memory and cpu management report on monthly basis.

    Average usage of memory the server is more or less the same each month that memory allocated to oracle is capped (for example, memory_target).

    Therefore, we will not be able to tell if the memory allocated to the sufficient DB and when does more memory?

    We are required to provide a usage report to show that the memory allocated to the database itself is enough on monthly basis and does not need to bulk up.

    Is there a good way to provde this?

    Our DBs are all OLTP and rarely do full scan.

    First thought to provide the trend of BHCR (above 90%, this means memory is sufficient). Read a large number of documents that BHCR is no longer useful.

    A better way to do it? Kindly share your experiences.

    Thank you

    You can keep in mind what the different parts of the memory.  The SGA is a shared resource, which includes the areas of code and data, and even those who can interleave in pressure of circumstances.  The PGA is determined by the use of the users.  The trend of the latest versions of Oracle is spending more major requests for data at the PGA, but which cannot affect you much if you're like really OLTP, as you describe (which one silent report or batch could blow).  So really, after getting the right CMS, the PGA is more likely to be affected by the increase in the number of users.  Mechanisms of the target to be fairly stable systems (as well as assignments of similar resources carried out by reasonable operating systems) translated well enough glancing SGA and PGA advice and after it.

    Using the resources on a system close to their means of amount maximum, there are times when performance will go downhill fast, simply because of a resource to bite.  (For a good time in mathematics, see the white paper to think clearly on Cary Millsap's performance.)  These types of problems can come from many sources, if a regime change, hardware malfunction or a simple increase in its attendance.  Those who dance near the line will inevitably have to step on it, or some such maxim comes from jurisprudence.

    So the desire of the management of the Non-becassine-hunt is to anticipate and avoid such problems without too much purchase hardware or compulsive, disorder of tuning.  The idea is to make an analysis of trends which allows to predict that an increase in its attendance will make things down a steeply, to do what is necessary to avoid it (or at least expects).

    Oracle has a report to do this?  Not really.  There are too many variables and too many ways to use and abuse a system.  Most performance problems are SQL issues.

    What you can do is to simulate accurately the workload on a test system, increasing its failure.  This as an exercise in iterative parameterization can give a good idea of what settings are required in order to maximize what you can use and an idea what kind of use will start demanding more material.  For a well designed system, it can be as simple as looking at the number of users and uses of the pga.

  • HP Pavilion Slimline (HP s5000: I need more memory on my s5000 HP (HP s5710f))

    I have had this machine for about 4 years and am currently running out of memory when in common applications such as Facebook.  The machine has 3 GB of memory on the motherboard that contains only 3 memory locations.  The maximum memory seems to be only 4 GB.

    I need advice on what I should do next?  Analysis the new tablets in Office Depot I learned that most of them have about 12 GB of memory.  I suppost I shouldn't really that much but I would like to have at least 8 to 10 GB of main memory.  I can't do it on my current motherboard.  Is it better to just get a new machine or if I could install another motherboard that would be both mount my current box but also have enough connectors memory to support a higher total memory.

    Thanks in advance for your help on this problem.

    Hello

    If it's your PC S5710f, then there are only two available memory locations.  If you look at the specs of your PC, you will see that you can install two 4 GB DIMMS to bring the total memory up to 8 GB which works very well with the 64 bit OS in your PC.

    If you want to increase the memory of your PC then buy two DIMMS to 4 GB corresponding to one of the following manufacturers.

    The best way to avoid problems is to contact one of the major manufacturers of memory such as Kingston, Corsair and Crucial and use their tools of memory, then followed by a call to technical support to ensure that you have selected the DIMM that is appropriate for your PC. When you buy directly from the manufacturer, then they will remain behind the product to ensure compatibility.

  • Oracle allows more memory than sga + pga

    Hi Experts,

    If I put 1 GB and 2 GB SGA pga then oracle could use more than 3 GB of RAM from the operating system.

    Thank you
    Please ignore if seems to be a very basic question...

    Yes.

    The PGA_AGGREGATE_TARGET is only a target. On a busy system, a system with often changing patterns of SQL, Oracle may try to assign a higher value.

    I assume you're on 32-bit Windows. You will hit ORA-4030 errors from time to time because Oracle under Windows is a single process (multi-threaded) and Windows limits the memory, the process can answer.
    I suggest you reduce your P_A_T.

    Hemant K Collette

  • I need more memory!

    Hello...

    I desperately need help!

    I have a HP Pavilion a120.uk desktop PC I bought in 2003. The problem I have is that it runs very slow and my brother in law suggested buy more RAm for it. Now the question I have is how can I know what I have to buy IE DDR or DR Ram? In this case, I go into the Panel... System and general it tells me the following

    HP Pavilion Intel (r) Pentium (R)

    2.66 GHZ 2.67 GHz 4CPU

    256 MB of RAM

    I also have a serial number which is CZB31703VX

    and a number of system which is DF132A

    I come from the right place to get help?

    (Posted this twice because I think that I did wrong the first time)!

    Your card motherboard show up to PC2700 but your computer has a 400 MHz FSB so the PC3200 should work very well at his "speed of 400 MHz.

  • install more memory on xp

    do I have to remove my other two bars? the new module is 512 MB I can leave one of my sticks of memory and have more memory than the thanks of 512 MB

    do I have to remove my other two bars? the new module is 512 MB I can leave one of my sticks of memory and have more memory than the thanks of 512 MB

    This has nothing to do with Windows.  It depends on your hardware.

    What is the brand and model of your computer?

    Not all the RAM (bright) is the same.  How do decide you what type of memory is compatible with your computer?

  • Can I install more memory on end of 2015 iMac?

    Can I put my 8 GB memory at least 16 GB on my iMac end of 2015? I'll even take to the Apple store and ask them to do so is possible. I sort of remember, however, that memory upgrades are impossible to do on the end of 2015 iMacs.  I'm playing the game Blizzard on my Intel Core i5 Overwatch to 3.1 GHz with 8 GB of memory. Parallels (virtualisation company says that I need more memory in this game of Blizzard. I am disappointed that I bought this game, Parallels desktop 12 and 10 Windows and can not play. Leah

    As a side note: why Apple does not have a computer game descent?

    Thanks for the help,

    Lou

    Only if you have the 27-inch model. The 21-inch models cannot be upgraded. However, you can view at OWC to see if they upgrade kit for DIY with a video tutorial. I don't know if they do it, but you can check with them.

  • My XP guest uses a lot more memory on the new laptop

    I just got a Dell Studio 15 and moved my Windows XP VM to it, and it uses a lot more memory than on my old system.  I don't know how VMWare allocates memory, but on my old system, I saw almost no additional memory used when you start this virtual machine (with the exception of the cache memory), but on the new, it uses almost as much memory that I have assigned to the virtual machine (1024 MB).  It is also worth noting that I use VMWare 7 on a new and 6.5 on the old host.

    Anything I can do to get great efficiency that I was getting on my old system?

    really not use 2 virtual processors on a host that has 2 CPUs.

    What is an Ubuntu 9.10 system?

    Other than adding

    mainmem.backing = 'name '.

    for the vmx file.

    This will slow down the virtual machine, but you wanted to do that ;-)

    ___________________________________

    VMX-settings- VMware-liveCD - VM-infirmary

  • I have about 25 mail in my email application, but he needs more than 2 GB of memory

    I have about 25 mail in my email application, but he needs more than 2 GB of memory. What could be the reason. Thanks in advance

    You have email stored in the junk e-mail folders?

    If you do this may be the question that is being established.

    Max

  • How to create a window with its own window border other than the local system window border?

    How to create a window with its own window border other than the local system window border?

    For example, a border: a black line with a width of 1, then a transparent line with a width of 5. Inside, it's the content pane.

    In JavaSE, there seems to be for the JFrame paintComponent() method to realize the effect.

    I can't see what you're trying to do now: it's a little trickier. You need stage.initStyle (StageStyle.TRANSPARENT), and I think you have to imitate the transparent part of the border by the presence of a second vessel inside the root container, properly positioned.

    Something like:

    
    import javafx.application.Application;
    import javafx.application.Platform;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.layout.AnchorPane;
    import javafx.scene.layout.StackPane;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    import javafx.stage.StageStyle;
    
    public class CustomBorderExample extends Application {
    
      @Override
      public void start(Stage primaryStage) {
      AnchorPane root = new AnchorPane();
      root.setStyle("-fx-border-color: black; -fx-border-width: 1px; ");
    
      StackPane mainContainer = new StackPane();
        AnchorPane.setTopAnchor(mainContainer, 5.0);
        AnchorPane.setLeftAnchor(mainContainer, 5.0);
        AnchorPane.setRightAnchor(mainContainer, 5.0);
        AnchorPane.setBottomAnchor(mainContainer, 5.0);
      mainContainer.setStyle("-fx-background-color: aliceblue;");
      root.getChildren().add(mainContainer);
    
      primaryStage.initStyle(StageStyle.TRANSPARENT);
      final Button closeButton = new Button("Close");
        mainContainer.getChildren().add(closeButton);
        closeButton.setOnAction(new EventHandler() {
          @Override
          public void handle(ActionEvent event) {
            Platform.exit();
          }
        });
      primaryStage.setScene(new Scene(root,  300, 200, Color.TRANSPARENT));
      primaryStage.show();
      }
    
      public static void main(String[] args) {
      launch(args);
      }
    }
    
  • You can save a. CPTX (project) as one. CPTL (model) and convert later than for one. File CPTX? I just need a little clarification on this operation in Adobe Captivate 8.

    You can save a. CPTX (project) as one. CPTL (model) and convert later than for one. File CPTX? I just need a little clarification on this operation in Adobe Captivate 8. Thanks in advance!

    Sorry, but I neglected to include a bit small (but essential) information on this thing cptl.

    A file cptl is a model of Captivate. When you create one and create a new project based on a template, you point to the .cptl file. And at this time, no matter what the .cptl file has inside of it at this time is copied to a new project file. From there, you simply save the project and .cptx is assumed. The CPTL will already have the draft resolution together and many other things. The beauty is that once it is all set up correctly, it allows you to create faster training because you don't have to stop and consider things like the resolution of project, which should show the first slide, which should show the last slide, but also a host of other possibilities.

    The reactive substance, you need to ask one of the new kids on the block who is struck with it. I'm old school and have yet to fully embrace it. It's new and full of contradictions. And I really struggled with how many people ask to see training which normally runs on a large monitor displayed on their tiny phone screens where text messages are often barely legible.

    See you soon... Rick

  • Does not start, need more and more memory, then crashes. It is SOLVED by deleting DB, panacea.dat, foldertree.json CAUSE global messages: uknown

    As a user of Thunderbird long term (currently version 38.2.0 on Win7 x 86 US) today, I caught myself (negatively) by the following problem: at the launch at the start of Thunderbird, the window will appear last closed (and for a short while, I see my files, etc., as left behind, during the last closure of Thunderbird), but then it turns into State "Not responding" (nothing works). When we look in the Task Manager, I see that Thunderbird seizes more and more memory, before this date - after a few seconds - crashing. I really hope that for some help fast, if possible (I desperately need a solution for e-mail job well - ideally the one I had, i.e. Thunderbird with my settings).

    What I tried:
    -Uninstall Thunderbird and install it again (did not help)
    -Uninstall Thunderbird and install an older version (I tried 38.1.0, 38.0.2, and 31.8.0 - nothing has worked)
    -from Thunderbird in SafeMode (same problem)
    -from Thunderbird in safe mode of Windows (same problem)
    -from Thunderbird in offline mode (did not help)

    My main question to know how to solve this problem, includes questions such as
    ? Should I try to delete some files of Thunderbird and try again (which ones?)?
    ? Can I use a command line "tricks" to get Thunderbird started?
    Etc.

    Thanks for your help!

    I think I solved my problem: delete messages from global reach DB and panacea.dat foldertree.json helped - once Thunderbird started again interactively and now I can restore my data files/messages.

  • IPhone 6 needs more than 2 hours to fully charge. Is this normal?

    I was wondering if it is normal that my iPhone 6 (not plus version) need more than a little more than 2 hours to charge completely of 0%?

    Thank you

    Yes, it seems normal.

    Note: don't deplete the battery at low levels, as this could cause permanent damage.

  • My current osx is the version 10.5.8.  I read the posts on this site advises users to buy 10.6 and then upgrade more far away. Since I was only 1 GB of memory, do I need additional memory installed first? Is this possible? Thanks for any help!

    I explore what I need to do to upgrade my imac. My current OS is x version 10.5.8.  I read the posts on this site advises users to buy 10.6 (Snow leopard) and then upgrade more far away. Since I was only 1 GB of memory, do I need additional memory installed first? Is this possible?  I have an Intel Core 2 Duo 2 GHz processor and 1 GB of memory. My Info says memory I have 1 Bank empty. Thanks for any help!

    You need to install more RAM before moving to Snow Leopard and need to do before moving to Lion or newer. Buy it from a source OWC or Crucial.

    (138456)

  • I need more than just a user Admin profile/account - Vista

    Do I need more than just a user profile/account Admin?  I VistaHomePremium (32 bit) w / ServPk 2 - I need more than an account Admin user?  Have had the PC for 6 years with just 1 user (me as an administrator).  Have read that it would be safer to create another user (for the daily activity of PC).  Is it really necess.ary?  In ADDITION, have all my favorites, etc. already in place.  I have to redo all?  Would appreciate any advice/words of wisdom?

    Multiple Threads merged on the same subject.

    Deleted duplicates.

    It's especially recommendation for an earlier version of Windows (e.g. Windows XP), this time because he was not User Account Control and when you log in as an administrator you have full administrator right. In Windows Vista and later Windows, User Account Control (UAC) was introduced and when you sign in as an administrator, your applications run with privilege less than the default Administrator and when your applications need administrator permissions, you will see a message and you could great permission and when you want to run the application as an administrator, you can right click and run as administrator.

    With this improvement you could log on as an administrator, but your general tasks are performed with privilege less than the default administrator.

    Therefore, you will not need additional account for this purpose and you just have to make sure that your UAC is on and you can check this by consulting the Windows Security Center.

Maybe you are looking for