SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Tools to Manage and Access the SAP HANA Cloud, SAP HANA Database

To get started with SAP HANA Cloud, SAP HANA database, you will need to use a few different tools. Learn here what you can use them for.

Overview

🎓 beginner 10 min. SAP HANA CloudBeginnerSAP HANA CloudSAP HANA DatabaseSAP Business Application Studio

You will learn

  • โœ”How to use SAP HANA Cloud Central
  • โœ”How to access SAP Business Application Studio

Prerequisites

Prerequisites

Steps

Intro

Alex Banner
Alex Banner

Reminder: This tutorial is part of a mission, in which you will help Alex, the CEO of Best Run Travel, to answer a concrete business question with SAP HANA Cloud, SAP HANA database.

Alex needs to know the top 5 partners of their agency and wants to find out the days with maximum booking of each partner.

In this tutorial, you will get to know the tools you need when interacting with your SAP HANA database in SAP HANA Cloud.


Step 1 Get to know SAP HANA Cloud Central
โ€”

SAP HANA Cloud Central is your main administration tool for all SAP HANA Cloud instances. Here you can provision, scale, perform migrations, deal with alerts and issues, and browse and query your instances.

How to open SAP HANA Cloud Central

  • In SAP BTP cockpit, open SAP HANA Cloud Central by clicking on the subscription to SAP HANA Cloud in the Subscriptions tab.

    BTP Manage SAP HANA Cloud
    BTP Manage SAP HANA Cloud

  • SAP HANA Cloud Central will open in a new tab, where you can manage this instance.

What you can do in SAP HANA Cloud Central

  • Find an instance using using various filters such as the name, instance ID, state, or type
  • Get an overview of all SAP HANA Cloud instances in a subaccount
  • Create SAP HANA Cloud instances
  • Check the status of an instance
  • Review notifications
  • Examine the memory, compute, and storage consumption
  • Start and stop instances
  • Manage and delete instances
  • Perform SAP HANA database migrations
  • View alerts in the Alerts app
  • Run queries in the SQL console tab
  • Explore the schema of the database using the database objects app

How to find your instances

  • In SAP HANA Cloud Central you can see all your instances. If you want to manage and maintain multiple instances, you can use the filters and search options on the top center area of the screen. Use Adapt Filters to modify the types of filters displayed.

    HCC filters
    HCC filters

Manage your instances

  • You can open many options by clicking on the three dots under the Actions column to each instance on the list. This includes options to manage configurations, start or stop the instance, or delete it.

  • One important option is to obtain the SQL Endpoint of your instance. To do so, click Copy SQL Endpoint. You will need this when you wish to connect to this instance from another application.

    HCC SQL Endpoint
    HCC SQL Endpoint

    To learn about more options to create and manage instances with SAP HANA Cloud Central, you can refer to the SAP HANA Cloud Administration with SAP HANA Cloud Central Guide.

View details of an instance

  • Click on an instance to see further details of an instance including:

    • Memory
    • Compute
    • Network
    • Storage
    • Consumption
    • User & Authorization Management
    • Workload Management
    • Data Replication
    • Auditing
    • Performance Details including expensive statements

    HCC Instance details
    HCC Instance details

    Based on this information, you can make important decisions on how to manage and optimize your instances.

Provide database authentication

  • Initially, you are signed in with the DBADMIN database user and the password specified during the instance provisioning wizard. Should you wish to change this, you can do so using the Choose Authentication menu item.

    Choose authentication
    Choose authentication

Browse the database objects

  • In the database objects app, you can:

    • Search for objects in the database
    • Browse the metadata for each object such as the number of rows in a table and the columns and column types
    • View the create statements for objects
    • Generate SQL select statements to view the data of tables or views
    • Generate SQL statements to call functions or procedures
    • Import and export data
    • Add, remove, or manage remote sources

    From the instances action menu, select Open Database Objects.

    open database objects
    open database objects

    Select Views, set the schema to be SYS, and search for M_.

    Find a view
    Find a view

    Above you can see the list of monitoring views in the SYS schema that contain M_ in their name.

    Open the monitoring view M_DATABASE and examine its metadata.

    view metadata
    view metadata

    Using the database objects app you can quickly locate and examine database objects.

Run queries in the SQL console

  • The SQL console app can be used to write and run SQL queries.

    From the instances page action menu or from the database objects app, select Open SQL Console.

    Open SQL Consonle
    Open SQL Consonle

    Once the SQL Console app opens, notice that details can be seen about the current schema, the connected instance, and that further details can be seen in the instance information dialog such as the user being used, and the instance’s SQL endpoint.

    SQL console tab
    SQL console tab

    Execute the below SQL query to see the database details.

    SQL
    SELECT * FROM SYS.M_DATABASE;

    SQL console query
    SQL console query

Step 2 Get to know SAP Business Application Studio
+
Step 3 Knowledge Check
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 3
1. Get to know SAP HANA Cloud Central 2. Get to know SAP Business Application Studio 3. Knowledge Check

Learn more →