Development and Design of Query
Development and Design of Query
3.Use filter whenever is possible to reduce the dataset into query. (Add input-parameters in
HANA views)
In filter use Not in i.e., Exclude some data point from a data set instead of IN. It improves
performance.
4. Minimum use of Free Characteristics: It reduces the memory load and improve the
performance.
use structures selections inside that and enable the setting “Selection of Structure Elements”
the performance improves Significantly.
Use higher precisions while creating info object using in Info Object maintenance
transaction (RSD1) for key figure, and in the query monitor for all key figures of a
query.
By default, “short decfloat” with Dec floating point with 16 places selected.
Use “Long decfloat” with floating number with 32 places. This will reduce memory load.
Tuning and changing the setting and properties:
3. Deactivate the parallel processing for an individual query which do not have sub query
or formula variable with replacement path which execute another subquery. We will
gate fast response time.
a. Composite Provider is fully processed in SAP HANA
b. Different Cache Modes: Local and Database • Cache Mode I: Cache is inactive
New data is read during every single navigation step • Cache Mode 0: Local
cache The database cache is deactivated. In this case, the system works
exclusively with the local cache. • Cache Mode D: Cache in database The cache
data is persistent in database tables. In this mode, no data is displaced, and the
memory size is unlimited. The database instance for the table carries the load.
More space is required, but this method also saves time. • Cache Mode P: Every
provider as set in the InfoProvider definition This mode is only available for
queries on MultiProviders and CompositeProviders. It makes it possible to cache
the data from the contained InfoProviders in accordance with the cache made
set in the definition of each individual InfoProvider. 27 Cache Usage Mode • The
cache usage mode is an expert extension to the cache mode. It defines in which
situation cache entries can be used for answering a query, and in which cases
data needs to be read anew. • “S” Always display data from query start (Stable
Data) • “C” Always display Current Data • “” Data from query start if possible,
otherwise current data (default behavior)
c.
d. By using the data integrity profile, the system automatically uses correct settings
for other individual technical query settings. This prevents contradictory settings
of the expert settings, which might not produce the required query behavior