SAP HANA Installation & Configuration

Section 1: SAP HANA Basics (1–15)
                                              


  1. What is SAP HANA?
    An in-memory, columnar database designed for real-time analytics and applications.
  2. What are the key features of SAP HANA?
    In-memory processing, columnar storage, real-time analytics, multi-model support, and integrated development.
  3. Which company developed SAP HANA?
    SAP SE.
  4. What type of database is SAP HANA?
    Relational, column-oriented, in-memory database.
  5. What is the difference between traditional databases and SAP HANA?
    Traditional DBs use disk-based storage; HANA uses in-memory for faster performance.
  6. What is the use of columnar storage in SAP HANA?
    Improves compression and speeds up aggregation operations.
  7. What is row storage used for in HANA?
    Ideal for transactional processing and frequent updates.
  8. Can SAP HANA support both OLTP and OLAP workloads?
    Yes, it supports hybrid transactional and analytical processing (HTAP).
  9. What programming languages are supported in SAP HANA?
    SQLScript, R, Python, JavaScript, and more via XS Engine.
  10. What are HANA views?
    Virtual data models created using attribute views, analytic views, and calculation views.
  11. What is the minimum RAM requirement for SAP HANA?
    Typically 64 GB or more based on use case.
  12. What OS does SAP HANA support?
    SUSE Linux Enterprise Server (SLES) and Red Hat Enterprise Linux (RHEL).
  13. What is an SID in SAP HANA?
    A unique 3-character identifier for the HANA system.
  14. What is an instance number in HANA?
    A 2-digit number identifying the instance, e.g., 00, 01.
  15. What are tenant databases in HANA?
    Independent databases within a multitenant container system (MDC).

 Section 2: Installation Tools & Components (16–30)

  1. What is HDBLCM?
    SAP HANA Lifecycle Manager used for installation, update, and configuration.
  2. What is hdblcmgui?
    The graphical interface version of HDBLCM.
  3. What is SAPCAR?
    SAP's tool to extract .SAR files (SAP archives).
  4. What is sapinst used for?
    Installation tool for SAP applications (not for HANA database).
  5. What is a .SAR file?
    SAP Archive file used for software delivery.
  6. What is the use of the global.ini file?
    Stores global configuration for the HANA system.
  7. Where is HANA data stored?
    In /hana/data/<SID> directory.
  8. Where is HANA log data stored?
    In /hana/log/<SID> directory.
  9. Which file system is recommended for HANA installation?
    XFS or EXT4.
  10. What is a multitenant database container (MDC)?
    Architecture that allows running multiple tenant databases in one system.
  11. What is XS Engine?
    Embedded application server used for lightweight applications and services.
  12. How do you start HANA database?
    Using HDB start command.
  13. How do you stop HANA database?
    Using HDB stop command.
  14. What is the default SYSTEM user?
    The superuser created during installation.
  15. What is the default SQL port in HANA?
    3<instance number>15, e.g., 30015.

 Section 3: Configuration and Security (31–50)

  1. How to change the SYSTEM user password?
    SQL: ALTER USER SYSTEM PASSWORD '<new_password>';
  2. What if SYSTEM user gets locked?
    Use another admin to execute: ALTER USER SYSTEM RESET CONNECT ATTEMPTS;
  3. How to create a new user in SAP HANA?
    CREATE USER username PASSWORD 'pass';
  4. How to grant privileges?
    GRANT SELECT ON schema.table TO username;
  5. What is a role in HANA?
    A container of privileges assigned to users.
  6. What is the difference between schema and catalog?
    A schema is a logical grouping; catalog is the full DB object collection.
  7. What is hdbuserstore?
    Secure store for credentials used by clients.
  8. What is the purpose of saphostagent?
    Agent to manage and monitor SAP instances at OS level.
  9. How do you check active services?
    Use HDB info or SAP HANA Studio.
  10. What is a savepoint?
    Mechanism to persist in-memory data to disk.
  11. What is delta merge in HANA?
    Merging of delta storage into main store to improve performance.
  12. How to enable auditing in SAP HANA?
    Use HANA Studio > Security > Auditing or SQL commands.
  13. What is index server?
    The core server component handling queries and transactions.
  14. What are thread states in HANA monitoring?
    Running, Runnable, Suspended, Waiting — for troubleshooting.
  15. What are performance KPIs in HANA?
    Memory usage, CPU, disk I/O, savepoint times, delta merges.
  16. How to configure memory limits?
    Edit global.ini > memorymanager > global_allocation_limit.
  17. How to backup a HANA database?
    Using Studio, Cockpit, or SQL: BACKUP DATA USING FILE ('backup_name');
  18. How to restore HANA from backup?
    Use recovery options in HANA Studio or Cockpit.
  19. What is a log backup?
    Incremental backup of transaction logs.
  20. Where to schedule backups in HANA?
    Use Cockpit or external tools like SAP HANA Studio.

🔴 Section 4: Advanced Topics (51–75)

  1. What is HANA System Replication?
    High availability setup between primary and secondary systems.
  2. How to check replication status?
    Use hdbnsutil -sr_state or Cockpit.
  3. What is hdbnsutil?
    Utility to manage name server and replication setup.
  4. How to perform rolling updates in HANA?
    Update nodes one by one to avoid downtime.
  5. What is HANA Cockpit?
    Web-based monitoring and administration tool.
  6. What is hdbsql?
    CLI tool to run SQL commands on HANA DB.
  7. What is dynamic tiering?
    Extension node to store warm data outside main memory.
  8. What is SDA in HANA?
    Smart Data Access – virtual connection to external DBs.
  9. What is SDI in HANA?
    Smart Data Integration – real-time ETL into HANA.
  10. How do you configure alerts in HANA?
    Use Cockpit or HANA Studio under Alert Configuration.
  11. What is a tenant DB restart command?
    ALTER SYSTEM RESTART DATABASE <DB_NAME>;
  12. What are volume sizes recommended for HANA?
    Depends on sizing, but logs = 50% of RAM, data = 4–6x RAM.
  13. What is ALTER SYSTEM RECLAIM LOG?
    Reclaims unused log space.
  14. What is a preload table?
    Table loaded into memory automatically at startup.
  15. How do you monitor delta merge time?
    Using M_DELTA_MERGE_STATISTICS view.
  16. How do you find expensive statements?
    Check M_EXPENSIVE_STATEMENTS or use Cockpit.
  17. What is LCAPA?
    Lean Columnstore Analyzer – for tuning data models.
  18. What is MDS?
    Mass Data Storage – used for optimized data partitioning.
  19. What is plan cache in HANA?
    Stores compiled query plans to improve execution speed.
  20. How do you clear plan cache?
    SQL: ALTER SYSTEM CLEAR PLAN CACHE;
  21. What is ST03N equivalent in HANA?
    Use SQL traces, SQL plan cache, and expensive statements analysis.
  22. What is lifecycle management in HANA?
    Managing install, upgrade, patching, configuration.
  23. What is HANA revision vs. SPS?
    SPS = Support Package Stack, Revision = Minor patch/fix level.
  24. What is a calculation view?
    A complex view used in modeling layer for real-time analysis.
  25. What is a union node in calc views?
    Combines results of multiple inputs (like SQL UNION ALL).

🟣 Section 5: Troubleshooting & Monitoring (76–100)

  1. How to identify memory leaks?
    Use memory statistics, trace files, and resident memory analysis.
  2. What is a core dump in HANA?
    File created when a process crashes; used for analysis.
  3. Where are trace files stored?
    /usr/sap/<SID>/HDB<inst>/trace/
  4. How to analyze trace files?
    Use SAP HANA Studio or manually inspect logs.
  5. What is table partitioning?
    Splits large tables to improve performance.
  6. What are the partition types?
    Range, Hash, Round-Robin.
  7. How to enable SQL trace?
    Use ALTER SYSTEM START SQL TRACE;
  8. What is r3trans used for?
    Not used in HANA DB – used in ABAP systems.
  9. What is a precheck tool in upgrade?
    Used to validate system readiness before upgrade.
  10. How to check disk usage?
    Linux: df -h; HANA: M_DISK_USAGE.
  11. How to monitor CPU usage in HANA?
    Use Cockpit or OS tools like top.
  12. How to monitor network bottlenecks?
    Use iftop, netstat, or SAP internal metrics.
  13. What is table persistence layer?
    Responsible for durability of data in HANA.
  14. What is redo log?
    Contains recent transactions not yet saved in data area.
  15. What is the log segment size?
    Default is 1 GB but configurable.
  16. How to check savepoint interval?
    global.ini under persistence.
  17. How to monitor HANA license usage?
    Use SQL: SELECT * FROM SYS.M_LICENSE;
  18. What is a memory pool?
    Preallocated memory for efficient usage.
  19. What is swap in HANA?
    Disk used when RAM is exhausted — should be avoided.
  20. How to kill a HANA session?
    ALTER SYSTEM DISCONNECT SESSION '<ID>';
  21. What are the different HANA services?
    IndexServer, NameServer, XS Engine, Preprocessor, etc.
  22. What is preload column store?
    Columns loaded into memory at start for fast access.
  23. What is data aging?
    Moves older data to cheaper storage tiers.
  24. What is workload class?
    Controls resource allocation to different queries.
  25. How to schedule housekeeping tasks?
    Use cron jobs or HANA tasks (e.g., compression, cleanup).

 

Best Suggestion :-

Step-by-Step Guide to SAP HANA Installation and Configuration (2025)

How to Install and Configure SAP HANA on Linux: Complete Tutorial

SAP HANA Installation & Configuration Made Easy for Beginners

SAP HANA Setup Guide: Installation, Configuration, and Best Practices

Install & Configure SAP HANA Like a Pro – Full Linux Guide

Share on Google Plus

About Pawar Live Study

Search Your Query in Search Box.

0 Comments:

Post a Comment

pawarsolution