Memory Management of SAP HANA

Hi All,
I went through one of the documentation in SAP HANA Memory management .
http://www.saphana.com/servlet/JiveServlet/download/2299-2-12806/HANA_Memory_Usage_v2.pdf
This gave me a really good understanding about the Memory management of HANA . Queries for Used and Resident memory and comparison with Overview tab numbers
I had few questions , Which was almost answered in other discussed in one :
But i still have few questions about  Resident and  used memory
Used Memory : Code + Tables + DB Managment
Resident :  what is the formula or content ?
What does this picture refers to ?
Infact the below statements are bit confusing
When memory is required for table growth or for temporary computations, the SAP HANA code obtains it from the existing memory pool. When the pool cannot satisfy the request, the HANA memory manager will request and reserve more memory from the operating system. At this point, the virtual memory size of the HANA processes grows.
Once a temporary computation completes or a table is dropped, the freed memory is returned to the memory manager, who recycles it to its pool, usually without informing Linux6. Thus, from SAP HANA’s perspective, the amount of Used Memory shrinks, but the process’ virtual and resident sizes are not affected. This creates a situation where the Used Memory may even shrink to below the size of SAP HANA’s resident memory, which is perfectly normal.
My doubt here is how  in any given point of time used memory can go below the used memory , because resident memory is always loaded with what is there in used memory , When used memory itslef is less , what does resident contains extra .
Also how to make a relation with HANA used memory , Database Resident memory , Virtual memory .
In case of  a memory issue , what should we check , Used memory of HANA   OR resident memory of HANA  ?
Thanks,
Razal

Hi  all,
I am trying understand memory part bit in details ,  as i am building a complete monitoring infrastructure for HANA , and memory is core of HANA  all part of HANA
Can you also help me to understand how to make some difference  for used memory in HANA and Resident memory
When we say that the Resident memory is something from OS point of view  , this is the memory of the OS which is really being used .
So if the  used memory from HANA Perspective is full , OS still have some free memory  which can be used , How that part is managed .
When i say we are out of memory ,  Both used memory from HANA
Resident memory from OS is full ?
OR does the used memory is simply a calculation of Code + table + etc from HANA point of view .
When execute query :
SELECT SERVICE_NAME,ROUND(SUM(TOTAL_MEMORY_USED_SIZE/1024/1024/1024), 2) AS
"Used Memory GB", ROUND(SUM(PHYSICAL_MEMORY_SIZE/1024/1024/1024), 2) AS
"DB RESIDENT Memory GB" FROM SYS.M_SERVICE_MEMORY GROUP BY SERVICE_NAME
  SERVICE_NAME     Used Memory GB DB RESIDENT Memory GB
1 nameserver         6.73           1.7                 
2 preprocessor       5.38           0.24                
3 indexserver        9.19           4.35                
4 scriptserver       7.52           1.83                
5 statisticsserver  8.52           3.87                
6 xsengine          7.92           1.82                
7 compileserver    5.31           0.23                
On top of all this , In admin view  i get used memory as 17.87 as used memory and 18.89 as peak  .
How this used memory is summed up in admin view .
I am using version 70 .
Thanks,
Razal

Similar Messages

  • Fraud Management on SAP HANA

    hi
    i wanted to know if you are using SAP HANA for fraud management do you have to created the fraud management uses in the Hana db as well as i am not being able to get to see the calibration . I am on the latest hana rev 74. Fraud management 1.1 on netweaver 7.4

    Hi Vincent,
    This is not Fraud spesific error I think, all information and data are kept in tables in HANA, and they are organized under views in order to retriew them. While you are retrieving data with any method or tool you need specific priviliges such as:
    Insufficient privilege: Not authorized: (DATA PREVIEW)
    Sol: Grant the package privilege to the user
    Insufficient privilege to create view DDL statement while activating a attribute view
    Sol: Grant select on schema <SCHEMA> to _SYS_REPO with grant option
    Insufficient privilege data preview of attribute view
    Sol: Grant execute option for SQL privileges for that schema
    Please show my reply to your HANA admin, he will understand and grant you required privileges.
    Cheers,
    Sarhan.

  • SAP Memory Management

    Hi All,
    Iam just starting Performance area in SAP, i would like to have knowledge on memory management. So could anyone help me the starting in this area.
    Cheers
    DV

    Hi ,
    [Link|Re: FAQ: Memory Management in SAP for Windows;Re: FAQ: Memory Management in SAP for Windows
    Thanks,
    Ramakrishna.

  • Install of SAP HANA Studio Dev Ed v1.00.80 fails with "Could not create the Java Virtual Machine"

    Hello,
    Scope: JVM error during initial install of SAP HANA Studio Developer Edition v1.00.80, Win86/32bit
    Source: installation files pulled from HANA Studio tab at https://hanadeveditionsapicl.hana.ondemand.com/hanadevedition/, which is a link from the main HANA site of http://scn.sap.com/community/developer-center/hana.  zip folder: "sap_hana_win32_studio_rev80"
    Targeted O/S: Windows 7, 32-bit, local Java is SE 7, update 67.   Java environment has been confirmed via checks provided at http://www.java.com/en/download/manual.jsp
    Actions taken:
    Attempted to update the installation's eclipse.ini file by reducing the -Xmx value; see details below.
    Read thru postings such as http://scn.sap.com/thread/3390626 and the threads it recommended.
    Checked OSS (ie Note 1859686 - HANA Studio does not start)
    Description of installation error:
    Shortly after executing "hdbinst", it fails with the error "Could not create the Java Virtual Machine".  I've verified that there is nearly 3G of memory free.  What I did notice, as shown in the attached files, is that Eclipse is part of this installation and it's pre-loaded with the "eclipse.ini".  I firmly believe the solution could be to reduce parameter "-Xmx1024m" to "-Xmx512m" but it's a catch-22 because even after updating eclipse.ini (in installation folder C:\Program Files\SAP\hdbstudio\tmp_p2director2014.08.13_13.36.44\director), the install program requires that the "hdbstudio" folder to be empty upon restarting it.
    Since the installation is basically a package with a lot of .jar files, there is no eclipse.ini file available in the source install folder; otherwise, updating it there would be the easiest solution if that option were available. The file is only available in the targeted deployment folder above.
    If you have encountered this same error and were able to resolve it, I would be grateful to know of your solution.  Thanks very much.
    FYI: the HANA Client installed with no issues.
    Jim Cleek
    FYI: the images below reflect the sequence of images produced during the installation.
    after clicking OK above, the screen below gets updated (see the "is not empty" msg).
    Below is the eclipse.ini file located in the deployed/target folder:
    Message was edited by: Jim Cleek
    FYI: Using information from the SAP HANA Database - Studio Installation and Update Guide, I tried to override the installation's use of its eclipse.ini file by passing my own modified version (with "-Xmx512m") of that file that was placed in a separate folder.  The cmd used via DOS window was "hdbsetup.exe -a studio --configfile=C:\Users\Admin\Downloads\eclipse.ini" and even though it successfully launched the SAP HANA Lifecycle Management gui, it failed on the first step with the same JVM create error as above because it appears to have used its own eclipse.ini file, which has "-Xmx1024m".

    Update: a message was opened with SAP but unfortunately they could not provide a resolution for this particular scenario.  They admitted that the eclipse.ini file cannot be updated since it is bundled as part of the installation package.  One point to make that I did not make before was that this was being attempted on an Oracle VirtualBox (4.3.10); the SAP HANA contact said he assumed that SAP has not tested this particular scenario, thus it could not be supported.
    Resolution: the end result was to abort trying to install SAP HANA Client and Studio on the Oracle VirtualBox but to install it locally on my own desktop, which runs on Windows 7 Enterprise 64-bit with 8G of memory.  The SAP HANA files below were downloaded, extracted and installed successfully in the order shown.
    FYI: the Studio installation detected that a 64-bit version of Java was not installed so I installed that and then adjusted the User environmental variable JAVA_HOME to point to that new path, leaving the System variable still pointing to the pre-existing 32-bit Java path.
    SAPCAR 7.20 -> Windows on x64 64bit:  SAPCAR_315-20010453.EXE
    IMDB_CLIENT100_80_0-10009664.SAR   Revision 80 for SAP HANA CLIENT 1.00
    Support Package SAP HANA CLIENT 1.00 Windows on x64 64bit
    IMC_STUDIO100_80_0-20007647.SAR   Revision 80 for SAP HANA STUDIO 1.00
    Support Package SAP HANA STUDIO 1.00 Windows on x64 64bit
    jre-7u67-windows-x64.exe - http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html
    Jim Cleek
    HP Enterprise Services

  • Parameter configuration of memory management

    Hi all,
    I receive from SAP  a Analysis Check that suggest me to modify some value parameter of Memory management.
    SAP suggest me:
    ztta/roll_area:  3000329(current value)  ->    6500000(Recommended value)
    rdisp/PG_SHM: 8192(current value)  ->    16384(Recommended value)
    ztta/short_area:  3200000(current value) ->   4000000(Recommended value)
    My request is:  Can I modify these parameters with value suggest by SAP in my environment?
    Is there any documentation which explain some info?
    This is the information of the productive system:
    machinfo
    CPU info:
    12 Intel(R) Itanium 2 9000 series processors (1.6 GHz, 24 MB)
              533 MT/s bus, CPU version C2
              18 logical processors
    Memory: 65339 MB (63.81 GB)
    Firmware info:
       Firmware revision:  7.44
       FP SWA driver revision: 1.18
       IPMI is supported on this system.
       Invalid combination of manageability firmware has been installed on this system.
       Unable to provide accurate version information about manageability firmware
    Platform info:
       Model:                  "ia64 hp superdome server SD64B"
       Machine ID number:      xxxxxx
       Machine serial number:  xxxxxx
    OS info:
       Nodename:  hostaddress
       Release:   HP-UX B.11.31
       Version:   U (unlimited-user license)
       Machine:   ia64
       ID Number: xxxx
       vmunix releaseversion:
    @(#) $Revision: vmunix:    B.11.31_LR FLAVOR=perf

    Hi,
    I am sure that SAP must have recommanded these values after analysing your system. So you can anytime go for these values and what is good is....if you face any problem in future with these sets of values suggested by SAP, you can anytime escalaye back to SAP.
    Please do not forget to take the backup of your Instance profile before making any change. Always adjust the values for pool 10 and pool 40 othwerwise your instance may not come up.
    For more details about these parameters, please refer to below link.
    http://help.sap.com/saphelp_nw04/helpdata/en/02/962acd538111d1891b0000e8322f96/frameset.htm
    With Regards,
    Saurabh

  • CPU Work load optimization in SAP HANA

    Hi All,
    In virtual SAP HANA , there is an option to assign/optimize the vCPU to corresponds to Physical CPU as mentioned in the document below,
    .http://www.vmware.com/files/pdf/SAP_HANA_on_vmware_vSphere_best_practices_guide.pdf
    But,in Physical SAP HANA Systems, are the below mentioned features available,
    Can we assign dedicated CPU cores manually to a particular user/users ?
    Or, Is there a way to reserve  certain CPU cores for particular Application/Schema Threads/Sessions?
    Thanks for your help!!
    -Gayathri
    Message was edited by: Julie Blaufuss

    Nope, there is no such cpu-core based allocation option available.
    You can limit how many worker threads will be created, in case you need to balance the CPU usage on in a multi instance setup.
    However, you don't have any control on the actual amount of CPU resource that any SAP HANA instance, let alone DB user or query has.
    Comparing this with what you can do in vSphere is not suitable, as we are looking at a different level of abstraction here.
    To SAP HANA the machine that vSphere emulates will have x cores and SAP HANA will use these x cores - all of them.
    It's important not to forget that you have an additional layer of indirection here and things like CPU core binding can easily have negative side effects.
    For the SAP HANA users it would be more interesting to have a workload management within SAP HANA that would allow to manage different requirements on responsiveness and resource usage (it's not just CPU...). And that is what the SAP HANA development is working on.
    Maybe we're lucky and see some features in this direction later this year.

  • Error when  Hana cube are imported in SAP Hana models management

    Hello
    I trying to import 2 or more cubes in the module SAP Hana models management and i cannot do it, the message error says that a model exists with the same name but the name of my  model is different.  I checked my Info.xml and the tag of name  is different. How can i import more than one model in this module?
    Thank you.

    Hi San Xu,
    I am working with SAP 9.0 PL:10 hot fix1 and i can´t see which is the IA tag or you refered   B1AVersions tag,   this is the code for my info.xml 
    <?xml version="1.0" encoding="utf-8" ?>
    - <HANAModelPackageForB1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" defaultLanguage="English"> 
    <Name>Cubo circulo bizarro</Name>  
    <Author>Agasys S.A. de C.V.</Author>  
    <ModelVersion>1.1</ModelVersion>  
    - <HANAVersions> 
    <Version />  
    </HANAVersions>
    - <B1Versions> 
    <Version />  
    </B1Versions>
    - <B1AVersions> 
    <Version />  
    </B1AVersions>
    <Description />  
    - <Metadata> 
    <CreatedAt>03/06/2014 01:47:11 p.m.</CreatedAt>  
    <ChangedAt>03/06/2014 01:47:11 p.m.</ChangedAt>  
    <ChangedBy />  
    </Metadata>
    - <ModelList> 
    <Model name="SYS_AT_PCLIENTES" type="AttributeView" />  
    <Model name="SYS_AT_PDEVOLUCIONES" type="AttributeView" />  
    <Model name="SYS_AT_PSUCURSALES" type="AttributeView" />  
    <Model name="SYS_AT_PTRANSACCIONES" type="AttributeView" />  
    <Model name="SYS_CA_PCIRCULOBIZARRO" type="CalculationView" menu="SYS_CA_PCIRCULOBIZARRO" />  
    </ModelList>
    </HANAModelPackageForB1>
      Thanks

  • SAP Memory Management as of kernel 7.4

    Hi everybody,
    I was trying to look for all documents needed for the new Memeory Management of Kernel 7.4+
    From SAP Note 2085980 I was redirected to SAP Note 1998242 but this one is currently not released.
    Does any one of you have a copy of the Note 1998242 so I can continue with my first overview research?
    Regards,
    Niklas

    Hi Niklas
    You can use this note for mamagement memory from 7.40
    88416 - Zero administration memory management for the ABAP server
    I hope that this help you.
    Josué Acuña

  • SAP Solution Manager for SAP Business Suite On HANA

    Dear Experts,
    I have a small question regarding the available installation options for SAP Solution Manager for SOH.
    Is there other available database platforms for the installation of SAP Solution Manager than the SAP HANA Database ?
    Meaning that if we have a customer who has the license for SAP HANA Database, does he have other database options for installing the Solution Manager that are covered by the HANA license ?
    Kind Regards,
    Mohamed Awny

    Well if you can find the solution manager software for a DB other than HANA in service market then you can install.
    You can check this by checking the service market SAP Technology Components" ==> SAP SOLUTION MANAGER" ==> SAP SOLUTION MANAGER 7.1
    HANA is so fast why choose another DB?

  • Query about ABAP future in SAP HANA

    Hello Experts,
    I have read many articles and SDN post about SAP HANA but does not get clear answer.
    I am having 7 years of experience of SAP ABAP and wanted to learn ABAP in SAP HANA.
    I learn that SAP HANA is having its own language also as SQL script in earlier release but would this be using also in current and future.
    So would learning of SQL script give more advantage and how can i get started learning ABAP in SAP HANA.
    Thanks
    SHiv

    Dear Shivshanker,
    for ABAP for SAP HANA see http://scn.sap.com/docs/DOC-29357.
    In addition there are some nice blogs by Thomas Jung. You can use, for example,http://scn.sap.com/community/in-memory-business-data-management/blog/2012/04/11/test as entry.
    ABAP and SAP HANA | SAP HANA
    and also  Rapid Deployment of SAP Solutions in open.sap.com
    Best of luck...
    Regards,
    Abbas.

  • SAP HANA Limitations

    Dear All,
    Please let us know the maximum HANA DB Size and the recent Scale-out / Scalability recommendation from SAP .
    Also please let us know the supportive document or SNOTE for the same.
    Thanks
    Arun R

    Hi Arun,
    To know how much memory has been used by different objects in HANA database, then the easier way is to use the TOTAL_SIZE_IN_MEMORY (along with main, Delta etc) from M_CS_TABLES. This would give you idea of how much memory has been used by objects which are partially or fully loaded to memory. Please note that it give 0 value for the objects which are available in the systm, but not yet loaded to the memory.
    Please see this ote:
    SAP HANA Database Size - In-Memory Business Data Management - SCN Wiki
    Please see this forum:Where can I see the HANA database size? | SCN
    For scalabilty:
    Scalability - SAP HANA | SAP HANA

  • SAP HANA Applications

    Hello!
    I have got a question about the SAP HANA Applications.
    First I give you a list about the Apps:
    a)     CO-PA Accelerator
    b)     Smart Meter Analytics
    c)     Strategic Workforce Planning
    d)     Cash and liquidity management
    e)     Sales and operations planning
    f)     Trade promo management
    g)     Profitability engine
    h)     Customer revenue performance management
    i)     Merchandising and assortment management
    j)     Energy management for utility customers
    k)     Customer-specific pricing
    l)     Intelligent Payment Broker
    And now my questions:
    1. Which of these Apps are available now ?
    2. I found some information yout the apps (a - e)
    3. But I can't find any information about the apps (f -l) .... can you give me some links, where I can read about these apps?
    I thank you for any information about HANA.

    Hello,
    This is very good question - each SAP page is listing different applications and information is quite fragmented.
    Looking at help.sap.com seems to suggest that only "SAP Strategic Workforce Planning 1.0" is out.
    http://help.sap.com/hpa
    Then looking at two pages below is seems that "SAP CO-PA Accelerator" and "SAP Smart Meter Analytics" is also available.
    Real-time Applications / Industries: http://www.sap.com/hana/apps-by-industry/index.epx
    Real-time Applications / Lines of Business: http://www.sap.com/hana/apps-by-business/index.epx
    But more apps should be out by now - at least looking at original plans:
    http://www.enterpriseirregulars.com/32993/sap%E2%80%99s-in-memory-hana-database-appliance-gets-apped/
    (But I guess that SAP disclaimer is effective here and plans might have changed.)
    Not sure if I helped.
    I would suggest to open SAP message asking for clarification.
    (Or maybe one of SAP Mentors might have some contact inside SAP that could clarify this.)
    Tomas

  • COUNT DISTINCT in SAP Hana

    I am not getting the results that what i am looking for when i try to use COUNT DISTINCT function. I did able to write the Calc View using the COUNT (DISTINCT <column_name1> || <column_name2>) but when i tried to look at the explorer it doesn't give me the right results. On the other side, the same system i have in MSAS 2000 and MSAS 2008, they are giving the right results while porting the same query in CalcView for SAP Hana, the results doesn't tally. Any suggestions or experience to share. Look at the side below;
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/401eb46e-d407-2f10-c999-e467d93eae50?QuickLink=index&overridelayout=true&53244709744350
    Other Examples
    u2013 Exception Aggregation (e.g. Distinct Count only available as BWA Calculation Engine feature)
    http://www.saptechno.com/sap-notes.html?view=sapnote&id=1631919

    I believe you are more likely to get a response in the [In-Memory Business Data Management|SAP HANA and In-Memory Computing; forum.
    I'd move your post there, but I don't have the rights for this.
    Please remeber to close this thread.
    Thank you for your understanding,
    - Ludek

  • How do I get access to Mobile documents admin console login with SAP HANA Cloud cockpit?

    Hi All,
    I am trying to launch SAP Mobile Documents from my trail version of SAP HANA Cloud.
    The Help link which I had followed  via link:
    https://help.hana.ondemand.com/help/frameset.htm?dc618538d97610148155d97dcd123c24.html#concept_0B49F10346C94249845EC16364FFF66D_76
    In SAP Cloud HANA Cockpit Using the link available in Authorization>Authorization Management
    I had created an user assigned to a Group, and Group has been assigned to a  Role ODP-OPERATOR,
    Next step, when I am trying to assign a token, I could not able find a token. How to get a token from here?
    My intention of creating user, group, role and token is for getting access to Mobile documents admin console.
    However I have also tried to access the mobile documents admin console via link
    https://smd-p1886950994trial.hana.ondemand.com/mcm/admin
    When I browse the above link, It shows HTTP 503 the requested service is not currently available.
    I am not sure, How to get access Mobile documents Admin page from here
    Could someone clarify on this please?
    Regards,
    Saravanan.R

    Hi,
    I have managed find an answer from this link SAP Mobile Documents on SAP HANA Cloud saying, SAP Mobile documents trial is not available in SAP HANA Cloud cockpit.
    Regards,
    Saravanan.R

  • Which programming is used in SAP HANA? confused b/w ABAp or java?

    Can anyone just tell me As a programmer in which language i have to work on SAp HANA

    Hi Jagaa,
    that really depends on what you'd like to do. But a brief answer:
    a) If you develop ABAP applications - use ABAP (as for other databases) and Open SQL / CDS, and if additional HANA functionality is needed maybe a bit of native SQL (ADBC or ABAP Managed DB Procedures).
    b) If you develop natively on the database please contact the experts on SAP HANA Developer Center.
    Cheers,
    Jasmin

Maybe you are looking for

  • How to remove business area from the Hyperion report

    Hi All, Kindly tell me the steps required to remove the business area from the Hyperion report. Regards, Ajay

  • Tax code in T.code F-02 is optional

    Hi, I want to make tax code as optional in T.code F-02. In FS00 i have clicked posting with tax code is allowed. I checked the Field Status Group. Still i am not able to make tax code as optional. Is there any where thro SD Module where i can control

  • [SOLVED] KICKER Help with a panel please

    After using awesome to get some productive work done, I need a DE thats easy to use (for my dad who didn't know how to close a window in windows) But i will also use it as well, i wanted to use the kde 3.5.10 panel in openbox, or xfce or something, b

  • No Audio Pref in /Library/Preferences/Audio

    Hello I have no sound in iChat and can not change the settings in Sound Pref Pane. I read the tips about deleting the files in /Library/Preferences/Audio My problem is, they don't get built anew. Any idea?

  • Unable to sort the strings

    Hi , I have a table which stores some strings like : Create Table Sample2 (C1 Varchar2(20)); Insert Into Sample2 Values('^!12'); Insert Into Sample2 Values('9.2345353'); Insert Into Sample2 Values('%!5'); I am trying to do a ascending sort on the c1