Learning Map
The
Future
of
Enterprise
Compu'ng
In-Memory
Database
Operators
Advanced
Database
Storage
Tech-
niques
Founda'ons
of
Database
Storage
Techniques
Founda'ons
for
a
New
Enterprise
Applica'on
Development
Era
Implications on Application
Development
Simplified Application
Development
Tradi&onal
Applica&on
cache
Column-oriented
No caches needed
No
redundant
data/
objects
No
maintenance
of
indexes
or
aggregates
Database
cache
Prebuilt
aggregates
Raw data
111
Aggregate on-the-y
112
Current Financials
Solutions
113
The Target
Financials Solution
Only
base
tables,
algorithms,
and
some
indexes
114
In-Memory Financials on
SAP ERP
accounting documents
BKPF
BSEG
secondary indices
BSAD
BSAK
BSAS
BSID
BSIK
BSIS
115
dunning data
sum tables
MHNK
MHND
GLT0
change documents
CDHDR
CDPOS
LFC1
KNC1
In-Memory Financials on
SAP ERP (prototype)
accounting documents
BKPF
BSEG
116
Feasibility of Financials on
In-Memory Technology
Financials:
(including inverted indices for join a_ributes and insert only extension)
117
Reduction by a Factor 10
DBMS
IMDB
BKPF
8.7 GB
1.5 GB
BSEG
255 GB
50 GB
263.7 GB
51.5 GB
Secondary Indices
255 GB
Sum Tables
0.55 GB
Complete
519.25 GB
51.5 GB
118
Dunning Run
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
121
1 SELECT
10,000 SELECTs
10,000 SELECTs
31,000 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
10,000 SELECTs
31,000 Entries
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
31,000 Entries
Calculated on-the-y
124
Results
Original
Version
needed
about
20
minutes
Factor
800x
accelera&on
achieved
#
Opera'on
1
0.63s
Variant
2
Variant
3
1.01s
0.6s
(incl.
T047
&
KNB5
Join)
(incl.
T047
&
KNB5
Join)
27s
deferred
to
aggrega&on
0.5s
19s
1.1s
0.5s
15s
0.8s
0.4s
done
in
#1
1.2s
done
in
#1
done
in
#1
140ms
done
in
#1
1
Minute
3.0s
Total
125
HANA2
Version
1.5s
Dunning Application
126
Dunning Application
127
Available-to-Promise
Check
Dynamic
aggrega&on
Instant
rescheduling
in
minutes
vs.
nightly
batch
runs
Real-&me
and
historical
analy&cs
Outcome
128
In-Memory Available-to-Promise
129
Demand Planning
130
GORFID
Key Findings:
131
Near Real-Time as a
Concept
ReadEvent
Event
Read
Read
Event
Repositories
Repositories
Repositories
Verification
Verification
Verification
Services
Services
Services
8,000read
read
upupto
toto8.000
8.000
up
read
eventnotifications
notifications
event
eventper
notifications
second
per second
second
per
upto
to2.000
2,000
up
up
to 2.000
requests
requests
requests
per
second
per
second
per
second
DiscoveryService
Service
Discovery
Discovery
Service
SAP HANA
HANA
SAP
SAP HANA
PPA
A
A
132
Learning Map
The
Future
of
Enterprise
Compu'ng
In-Memory
Database
Operators
Advanced
Database
Storage
Tech-
niques
Founda'ons
of
Database
Storage
Techniques
Founda'ons
for
a
New
Enterprise
Applica'on
Development
Era
Views
Dynamic Views
Presentation Layer
Excel
Business
Objects
Explorer
SAP
View
View Layer
(Calculations, Filter, ...)
View
View
View
...
View
View
Node Tables
Persistency Layer
Any Software
View
Other DB
Node Tables
Node Tables
Node Tables
Store
(Main Memory)
DB
Persistence
Restart
Object Hierarchy
Write Complete
Objects
Recovery
135
Logical
Log
Learning Map
The
Future
of
Enterprise
Compu'ng
Founda'ons
of
Database
Storage
Techniques
In-Memory
Database
Operators
Founda'ons
for
a
New
Enterprise
Applica'on
Development
Era
Advanced
Database
Storage
Tech-
niques
Bypass Solution
140
Todays System
Traditional BI
SAP
ERP
ETL
OLAP
Engine
BIA
Business
Objects
...
Traditional DB
w/ Cubes
Traditional DB
141
Excel
Traditional BI
SAP
ERP
ETL
OLAP
Engine
BIA
Business
Objects
...
Traditional DB
Excel
w/ Cubes
Traditional DB
IMDB
SSD
Traditional BI
SAP
ERP
ETL
OLAP
Engine
BIA
Business
Objects
...
Traditional DB
w/ Cubes
Traditional DB
IMDB
SSD
New
Applications
Excel
ERP
EL
OLAP
Engine
BIA
Business
Objects
...
IMDB
Excel
w/o cubes
Traditional DB
IMDB
SSD
New
Applications
ERP
EL
OLAP
Engine
BIA
Business
Objects
...
IMDB
w/o Cubes
Traditional DB
IMDB
OLAP
Engine
SAP
New
Applications
Business
Objects
...
SSD
Excel
BI 2.0
Excel
Traditional DB
BI 2.0
IMDB
OLAP
Engine
Business
Objects
New
Applications
...
SSD
SAP
Excel
IMDB
OLAP
Engine
New
Applications
Business
Objects
...
SSD
SAP
Excel