Time Taken by Savepoint to Perform Backup in SAP HANA

SAP ABAP Expert
Updated on 17-Jun-2020 09:21:16

624 Views

M_SAVEPOINTS view stores Current and historical savepoint statistics. There is column DURATION which tells the total time taken by savepoint.You can extract the following information from the numbers in this view −CRITICAL_PHASE_DURATION shows the period of time during which the updaters were blocked in a savepoint. Normally, this should be in the milliseconds range, except for a global savepoint for data backup, which may take longer due to global synchronization across all nodes. If the critical phase duration is too long, there is probably some problem (e.g., I/O load is too high).DURATION shows the total time taken by a savepoint. ... Read More

Path for File-Based Data Backups in SAP HANA

SAP ABAP Expert
Updated on 17-Jun-2020 09:20:42

352 Views

All the information is available under global.ini file which stores global configuration properties for each service in the landscape.These are the global properties most frequently used for extended storage configuration −               Name                                                Section                                                  Value                  Defaultbasepath_databackup  persistence        File path($DIR_INSTANCE)/backup/data               

Babylonian Method to Find the Square Root

Chandu yadav
Updated on 17-Jun-2020 09:20:17

4K+ Views

The Babylonian method to find square root is based on one of the numerical method, which is based on the Newton- Raphson method for solving non-linear equations.The idea is simple, starting from an arbitrary value of x, and y as 1, we can simply get next approximation of root by finding the average of x and y. Then the y value will be updated with  number / x.Input and OutputInput: A number: 65 Output: The square root of 65 is: 8.06226AlgorithmsqRoot(number)Input: The number in real.Output: Square root of given number.Begin    x := number    y := 1    precision ... Read More

Factorial of a Large Number

Monica Mona
Updated on 17-Jun-2020 09:19:15

2K+ Views

In computers, variables are stored in memory locations. But the size of the memory location is fixed, so when we try to find the factorial of some greater value like 15! or 20! the factorial value exceeds the memory range and returns wrong results.For calculation of large numbers, we have to use an array to store results. In each element of the array, is storing different digits of the result. But here we cannot multiply some number with the array directly, we have to perform manual multiplication process for all digits of the result array.Input and OutputInput: A big number: ... Read More

Difference Between Enforced and Unenforced License in SAP HANA

SAP ABAP Expert
Updated on 17-Jun-2020 09:18:46

1K+ Views

In SAP HANA, following permanent license type is supported −Unenforced License: When you use an unenforced license key in SAP HANA and consumption of HANA system exceeds the license amount of memory, it doesn’t effect the operation of SAP HANA database.Enforced License: When an Enforced license key is installed and consumption of HANA system exceeds the license amount of memory, HANA system gets locked. If this situation occurs, HANA system has to be restarted or a new license key should be requested and installed.

Advantages of Using SAP S/4HANA Over SAP ERP

SAP ABAP Expert
Updated on 17-Jun-2020 09:18:15

1K+ Views

SAP S/4 HANA is based on installation options which are provided by HANA and it includes on premise deployment, cloud based deployment or Hybrid deployment model.Following are the advantages of using SAP S/4 HANA −Multi tenancySAP S/4 HANA takes advantages of HANA's multi tenancy feature, with this option we can run ECC and CRM or any other satellite system on one box. A typical ECC - CRM data transfer accounts for 60% of overall system load, with this multi tenancy option this data transfer load will go away.Simplified Data modelsSAP removed the redundant tables required for aggregates and indices. This ... Read More

Check if a Given Point Lies Inside a Polygon

Arjun Thakur
Updated on 17-Jun-2020 09:18:13

3K+ Views

In this problem, one polygon is given, and a point P is also given. We need to check whether the point is inside the polygon or outside the polygon.For solving it we will draw a straight line from the point P. It extends to the infinity. The line is horizontal, or it is parallel to the x-axis.From that line, we will count how many times the line intersects the sides of a polygon. When the point is inside the polygon, it will intersect the sides, an odd number of times, if P is placed on any side of the polygon, ... Read More

Check Perfect Square or Not

Ankith Reddy
Updated on 17-Jun-2020 09:17:02

3K+ Views

A number is said to be a perfect square number if the square root of that number is an integer. In other words, when a square root is a whole number, then the number is called a perfect square number.We can check perfect square by finding the square root of that number and match with i again and again to get exact square root. When the square root crosses the value, it is not a perfect square number.But here to reduce effort, we have not checked the square root again and again. As we know that the square root of ... Read More

Different Aggregation Functions in SAP HANA

SAP ABAP Expert
Updated on 17-Jun-2020 09:15:47

1K+ Views

In a general scenario, it is advisable to store the table as Column store when you have to run complex OLAP queries. OLAP queries include complex calculations and different SQL aggregation functions are used in the query.Select Sum(Sales) from table_name where Column1=’ABC’; Aggregate Functions include −Sum() - returns the sum of the numeric values in a given columnMax() - returns the maximum of the numeric values in a given columnMin() - returns the minimum of the numeric values in a given columnAverage() - returns the average of the numeric values in a given columnPercent() - returns the percentage of the numeric ... Read More

Check if Two Given Sets are Disjoint

George John
Updated on 17-Jun-2020 09:13:53

837 Views

Two sets are disjoint set when they have no common elements. In other words, if we get the intersection of two sets, then we will get null set.The method is simple, in this algorithm, two sets are given. We assume that both sets are already sorted, items are compared between two sets. when there is a match, then it is not a disjoint set, when no items are matched, they are disjoint sets.Input and OutputInput: Two sets: set1: {15, 12, 36, 21, 14} set2: {7, 89, 56, 32} Output: Both sets are disjointAlgorithmisDisjoint(set1, set2)Input: Two sets.Output: True when both sets ... Read More

Advertisements