Articles on Trending Technologies

Technical articles with clear explanations and examples

Index server in SAP HANA system

Anil SAP Gupta
Anil SAP Gupta
Updated on 18-Jun-2020 2K+ Views

Index server contains SQL/MDX processor to handle query statements for the database. When SQL or MDX is fired for SAP HANA system, an Index Server takes care of all these requests and processes them. All HANA processing takes place in Index Server.Index Server contains Data engines to handle all SQL/MDX statements that come to HANA database system. It also has Persistence Layer that is responsible for durability of HANA system and ensures HANA system is restored to most recent state when there is a restart of system failure.Index Server also has Session and Transaction Manager, which manage transactions and keep ...

Read More

Checking topology of SAP HANA

SAP ABAP Expert
SAP ABAP Expert
Updated on 18-Jun-2020 1K+ Views

The topology of SAP HANA system is maintained by Name Server. This is used to manage all the running components and data stored in each component.

Read More

Manual compression of a table in SAP HANA

John SAP
John SAP
Updated on 18-Jun-2020 1K+ Views

It is also possible to compress a table in SAP HANA system manually by executing the following SQL statement.UPDATE "table_name" WITH PARAMETERS ('OPTIMIZE_COMPRESSION' = 'YES')This results in deciding whether a compression is required or an existing compression can be optimized. In this scenario, HANA system uses most suitable compression algorithm.When you run the above SQL command, compression status remains the same. You can also force the database to reevaluate compression using the following SQL status UPDATE "AA_HANA11"."SHOP_FACTS" WITH PARAMETERS ('OPTIMIZE_COMPRESSION' = 'FORCE')

Read More

Java (JVM) Memory Types

Kumar Varma
Kumar Varma
Updated on 18-Jun-2020 4K+ Views

Java Virtual Machine is a program/software which takes Java bytecode (.class files)and converts the byte code (line by line) into machine understandable code.JVM contains a module known as a class loader. A class loader in JVM loads, links and, initializes a program. It−Loads the class into the memory. Verifies the byte code instructions.Allocates memory for the program.The memory in the JVM is divided into five different parts namely− Method area− The method area stores the class code − code of the variables and methods. Heap − The Java objects are created in this area. Java Stack− While running methods the results are stored in ...

Read More

How is the java memory pool divided?

Rama Giri
Rama Giri
Updated on 18-Jun-2020 491 Views

Java memory pool is divided into 5 parts namely −Method area − The method area stores the class code − code of the variables and methods.Heap−The Java objects are created in this area.Java Stack− While running methods the results are stored in the stack memory.PC registers− These contain the address of the instructions of the methods.Native method stacks− Similar to Java stack, native methods are executed on the Native method stacks.

Read More

How to Plot Complex Numbers in Python?

Abhinaya
Abhinaya
Updated on 18-Jun-2020 3K+ Views

You can plot complex numbers on a polar plot. If you have an array of complex numbers, you can plot it using:import matplotlib.pyplot as plt import numpy as np cnums = np.arange(5) + 1j * np.arange(6,11) X = [x.real for x in cnums] Y = [x.imag for x in cnums] plt.scatter(X,Y, color='red') plt.show()This will plot a graph of the numbers in a complex plane.

Read More

How can we generate Strong numbers in Python?

Sravani S
Sravani S
Updated on 17-Jun-2020 299 Views

To print Strong Numbers, let's first look at the definition of it. It is a number that is the sum of factorials of its own digits. For example, 145 is a Strong number. First, create a function to calculate factorial:def fact(num): def factorial(n): num = 1 while n >= 1: num = num * n n = n - 1 return numYou can print these numbers by running the following code:def factorial(n): num ...

Read More

Best practice for variable and method naming in Java

Moumita
Moumita
Updated on 17-Jun-2020 745 Views

All Java components require names. Names used for classes, variables and methods are called identifiers. In Java, there are several points to remember about identifiers. They are as follows -All identifiers should begin with a letter (A to Z or a to z), currency character ($) or an underscore (_). After the first character, identifiers can have any combination of characters.A keyword cannot be used as an identifier. Most importantly, identifiers are case sensitive. Examples of legal identifiers: age, $salary, _value, __1_value. Examples of illegal identifiers: 123abc, -salary.

Read More

Websites every Java developer should bookmark

Nitya Raut
Nitya Raut
Updated on 17-Jun-2020 198 Views

There are many sites which are a good resource to learn java. Following is the list of most popular websites.Tutorialspoint - www.tutorialspoint.comStackOverflow - www.stackoverflow.comDZone - www.dzone.comWikipedia - www.wikipedia.orgIBM Developer Works - www.ibm.com/developerworks/java/TechGig - www.techgig.comGitHub - www.github.comJava documentation - docs.oracle.com/javase/Coursera - www.coursera.org/JavaWorld - www.javaworld.com/

Read More

How to Calculate the Area of a Triangle using Python?

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 17-Jun-2020 1K+ Views

Calculating the area of a triangle is a formula that you can easily implement in python. If you have the base and height of the triangle, you can use the following code to get the area of the triangle,def get_area(base, height):    return 0.5 * base * height print(get_area(10, 15))This will give the output:75If you have the sides of the triangle, you can use herons formula to get the area. For example,def get_area(a, b, c):    s = (a+b+c)/2    return (s*(s-a)*(s-b)*(s-c)) ** 0.5 print(get_area(10, 15, 10))This will give the output:49.607837082461074

Read More
Showing 53821–53830 of 61,297 articles
Advertisements