Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Learning Map
The
Future
of
Enterprise
Compu'ng
Founda'ons
of
Database
Storage
Techniques
No caches needed No redundant data/ objects No maintenance of indexes or aggregates Data movements are minimized
Prebuilt aggregates
Raw data
111
112
113
114
BKPF
BSEG
secondary indices
MHNK
MHND
change documents
BSAD
BSAK
BSAS
BSID
BSIK
BSIS
GLT0
CDHDR
CDPOS
LFC1
KNC1
115
BKPF
BSEG
116
117
Reduction by a Factor 10
DBMS
BKPF
BSEG
8.7 GB
255 GB
263.7 GB
Secondary Indices
Sum Tables
Complete
118
IMDB
1.5 GB
50 GB
51.5 GB
-
-
51.5 GB
255 GB
0.55 GB
519.25 GB
Dunning Run
Dunning
run
determines
all
open
and
due
invoices
Customer
dened
queries
on
250M
records
Current
system:
20
min
New
logic:
1.5
sec
119
Why?
Being able to perform the dunning run in such a short &me lowers TCO Add more func&onality! Run other jobs in the mean&me! - in a mul&-tenancy cloud setup hardware must be used wisely
120
Select open account items from BSID, for each: Calculate due date Select dunning procedure, level and area Create MHNK entries
121
Select open account items from BSID, for each: Calculate due date Select dunning procedure, level and area Create MHNK entries
122
1 SELECT One
single
Select
open
account
items
from
BSID,
for
each:
stored
procedure
10,000 SELECTs
Calculate
due
date
Select
dunning
procedure,
level
and
area
Create
MHNK
entries
123
1 SELECT One
single
Select
open
account
items
from
BSID,
for
each:
stored
procedure
10,000 SELECTs
Calculate
due
date
Select
dunning
procedure,
level
and
area
Create
MHNK
entries
10,000 SELECTs
124
Calculated on-the-y
31,000 Entries
Results
Original
Version
needed
about
20
minutes
Factor
800x
accelera&on
achieved
#
Opera'on
1
2
3
4
5
6
Select
Open
Items
Due
date,
dunning
level
Filter
1
(Verify
Dunning
levels)
Filter
2
(Check
Last
Dunning)
Generate
MHNK
(Aggregate)
Generate
MHND
(Execute
Filters)
Total
HANA2
Version
0.63s
27s
19s
15s
done
in
#1
done
in
#1
1
Minute
Variant
2
Variant
3
0.5s
0.5s
0.4s
done
in
#1
done
in
#1
(#3,
#4
exec.
in
parallel)
3.0s
1.5s
125
Dunning Application
126
Dunning Application
127
Available-to-Promise Check
Can
I
get
enough
quan&&es
of
a
requested
product
on
a
desired
delivery
date?
Goal:
Analyze
and
validate
the
poten&al
of
in-memory
and
highly
parallel
data
processing
for
Available-to-Promise
(ATP)
Challenges
Dynamic aggrega&on Instant rescheduling in minutes vs. nightly batch runs Real-&me and historical analy&cs Real-&me ATP checks without materialized views Ad-hoc rescheduling No materialized aggregates
Outcome
128
In-Memory Available-to-Promise
129
Demand Planning
Flexible analysis of demand planning data Zooming to choose granularity Filter by certain products or customers Browse through &me spans Combina&on of loca&on-based geo data with planning data in an in-memory database External factors such as the temperature, or the level of cloudiness can be overlaid to incorporate them in planning decisions
130
GORFID
HANA
for
Streaming
Data
Processing
Use
Case:
In-Memory
RFID
Data
Management
Evalua&on
of
SAP
OER
Prototypical
implementa&on
of:
RFID Read Event Repository on HANA Discovery Service on HANA (10 billion data records with ca. 3 seconds response &me) Frontends for iPhone, iPad2
Key
Findings:
HANA is suited for streaming data (using bulk inserts) Analy&cs on streaming data is now possible
131
132
Learning Map
The
Future
of
Enterprise
Compu'ng
Founda'ons
of
Database
Storage
Techniques
Verication Verication Verication Services Services Services upto to2.000 2,000 up up to 2.000 requests requests requests per second per second per second
P P A
A A
Views
Dynamic Views
Presentation Layer
Excel SAP Business Objects Explorer Any Software View View View
View
View
...
View
View
Other DB
Node Tables
Node Tables
Node Tables
Node Tables
Store
DB Persistence
Restart
135
Logical Log
Learning Map
The
Future
of
Enterprise
Compu'ng
Founda'ons
of
Database
Storage
Techniques
Bypass Solution
Millions of old un-op&mized lines of code at the customers site Transi&on required Row-store replacement Part-for-part replacement with bypass Transform row-store to column-store on the y Change of applica&on code
140
Todays System
ERP
Traditional BI
SAP
ETL
OLAP Engine
BIA
Business Objects
...
Traditional DB
w/ Cubes
Excel
Traditional DB
141
Traditional BI
SAP
ETL
OLAP Engine
BIA
Business Objects
...
Traditional DB
w/ Cubes
Excel
Traditional DB
IMDB
SSD
Traditional BI
SAP
ETL
OLAP Engine
BIA
Business Objects
...
Traditional DB
w/ Cubes
Excel
Traditional DB
IMDB
SSD
New Applications
EL
OLAP Engine
BIA
Business Objects
...
w/o cubes
IMDB
Excel
Traditional DB
IMDB
SSD
New Applications
EL
OLAP Engine
BIA
Business Objects
...
w/o Cubes
IMDB
Excel
Traditional DB
IMDB
OLAP
Engine
BI 2.0
SAP Business Objects
SSD
New Applications
Excel
...
Traditional DB
IMDB
OLAP
Engine
BI 2.0
SAP Business Objects
SSD
New Applications
Excel
...
IMDB
OLAP
Engine
SSD
New Applications
Excel
...