Remove Service from Tenant Database in SAP HANA

SAP Developer
Updated on 13-Mar-2020 08:07:43

2K+ Views

Yes, it is possible to remove a server component, which are no longer required. This can be performed using ALTER DATABASE SQL command.Following perquisites should be met to perform this task −You are logged on to the system database.You have the system privilege DATABASE ADMIN.To remove a service, you need to open SQL console of the SAP HANA studio and run “ALTER DATABASE” statement.ALTER DATABASE DB1 REMOVE '' AT LOCATION 'HOST_A:30XXX'

Diagnosis File of Unavailable Tenant in SAP HANA Database

SAP Developer
Updated on 13-Mar-2020 08:06:40

387 Views

When a tenant database is unavailable due to some performance problems, the tenant database administrator can't access diagnosis files. In this case, a system administrator can access the diagnosis files of the tenant database from the system database using the SAP HANA studio.In the SAP HANA studio, open the Administration editor and choose Diagnosis Files and diagnosis files of the system database are displayed.Using the Database filter, select the tenant database → whose diagnosis files you want to see and diagnosis files of the selected tenant database will be displayed.

Copying or Moving a Tenant Database in SAP HANA

SAP Developer
Updated on 13-Mar-2020 08:06:04

993 Views

When you move or copy a tenant database, data is replicated from the original tenant database to the new tenant database in the target system. Following tables shows type of data replication for different type of data −Data and logs of the tenant databaseYesTrace and log files   NoData backups    NoConfiguration (*.ini) files with tenant-database-specific values                 NoCertificates and certificate collections stored in the tenant database    Yes                 

Lock Down of SAP HANA System

SAP Developer
Updated on 13-Mar-2020 08:04:19

474 Views

A SAP HANA system lockdown in the following scenarios −The temporary license key has expired.When a temporary license key is in use and the hardware key has changed.When permanent license key has expired and it is not renewed within 28 days.When installed license key is an enforced license key and the current memory consumption exceeds the licensed amount plus the tolerance.When all license keys installed in your database are deleted.You can’t run a query in lockdown mode and only a License Administrator can connect to database.

Uninstall License Key in SAP HANA Using Studio

SAP Developer
Updated on 13-Mar-2020 08:03:33

1K+ Views

You can uninstall the license key (LICENSE ADMIN) using one of the following options −In SAP HANA Studio →In the Systems view, right-click the system and choose Properties → Licenses tab On the System License page choose Delete License Key.SQL console −You can also run the SQL command UNSET SYSTEM LICENSE ALL to remove all licenses.

Load and Unload a Table in SAP HANA Using SQL Query

SAP Developer
Updated on 13-Mar-2020 08:00:05

2K+ Views

In SAP HANA, it is possible to manually load and unload individual tables and table columns.You can perform loading of table to precisely measure the total or “worst case” amount of memory used by a particular table.A table is unload from database to actively free up memory.You can use following SQL queries to perform load/unload of table −LOAD UNLOAD

Load Individual Column in SAP HANA Using SQL

SAP Developer
Updated on 13-Mar-2020 07:59:07

450 Views

Yes, you can open SQL console and execute the statement −LOAD (, ...);This SQL query will load or unload entire column into or from main memory. Its load status is TRUE or FALSE. The table's load status is PARTIALLY.

Changing Ownership of Schema in SAP HANA Database

SAP ABAP Expert
Updated on 13-Mar-2020 07:56:00

2K+ Views

I don’t think you can change ownership of schema in database. Easiest way to change ownership of schema is by exporting a schema, drop it from the database and then recreate the schema owned by the target user and import the objects back into the database.In recent version, you can create schema and set other users as an owner of the schema however you can’t change it later −Create SCHEMA TEST123 owned by Demo;In same way, you can collect the script for "Create procedure" from database and drop the procedures in the earlier user schema and then these can be ... Read More

Check SAP HANA Schema Owner Name

SAP ABAP Expert
Updated on 13-Mar-2020 07:55:07

3K+ Views

To check schema owner, you need access on “SYS” schema. Open SAP HANA SQL console and run the following SQL query −SELECT * FROM "SYS"."SCHEMAS";

Checking Schema Creation in SAP HANA Database

SAP ABAP Expert
Updated on 13-Mar-2020 07:54:21

2K+ Views

To check this detail, you should have access on “SYS” schema. Run the following SQL query and it will fetch the following columns −SELECT * FROM "SYS"."SCHEMAS";Schema_NameSchema_OwnerHAS_PRIVILEGESCreate_Time

Advertisements