Taking ABAP to HANA Flashcards

1
Q

A HANA database can be connected as a secondary database as a business accelerator using what t-code

A

DBACOCKPIT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How is a secondary Database accessed using Open SQL?

A

With the keyword CONNECTION. The table/view being referenced must exist in the ABAP dictionary of the main DB.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What should be done with existing native SQL statements? (EXEC SQL)

A

See if the can be replaced with open sql. If not, they will need to be replaced with sap hana native sql

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What should be done with database hints when upgrading to HANA

A

Remove them. They will be ignored anyway

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What should be done with pooled and cluster tables when upgrading to HANA

A

Adapt the code and convert the pooled or cluster tables to transparent tables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In select statements in HANA the data will always be returned in the primary key order?

A

No no no! The order will be entirely random unless you specify an order by in the select clause or select the results into a sorted internal table. or a table with a sorted secondary key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What tool can be used to check for potential issues before upgrading to HANA

A

SCI (code inspector) can be used to identify these things

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What global variant for SCI is provided by sap for HANA checks?

A

FUNCTIONAL_DB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What tool can be used to continually use code inspector

A

ATC (ABAP test cockpit) can be used to schedule SCI runs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What process can be run in the current production system to log a limited range of potential issues as they happen

A

Run time check monitor tcode (SRTCM)
Only checks for “For all entries” without an empty table check
and Select into statements without an order by

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Post upgrade if performance issues are noted what should be done before making code changes?

A

A performance analysis using SAT (replaces SE30)

And an SQL trace (ST05)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Is there a tool in Eclipse to assist with performance analysis?

A

Yes, open perspective “ABAP Profiling” It provides;
An overview of percentage spent in ABAP and DB
A hit list of the most time consuming methods or functions
Database accesses
ABAP Trace call
A call time line view

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the Performance Tuning Worklist and the SQL

A

SQL Performance Worklist (SWLT) and (SQLT) can run on a Production system to give information (as a worklist). It combines the static checks of ATC with the real time checks of the SQL Monitor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Where does the new SQL monitor store its results?

A

The data is moved by a batch job into SQLM tables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the five golden performance rules of SAP development?

A

1) Keep the result sets small
2) Minimize the amount of data transferred (more important in HANA)
3) Minimize the number of database accesses (More important in HANA)
4) Minimize search overhead (Less important in HANA)
5) Keep unnecessary load away from the database (Less important in HANA)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What additional performance rules should be considered in a HANA environment

A

Do not select rows which will be discarded by the code

Do not select columns that will not be needed as unpacking the data is expensive