SAP S/4 HANA: ALL ABOUT TABLES

S/4 HANA: ALL ABOUT TABLES

https://www.linkedin.com/pulse/s4-hana-all-tables-james-olcott-mba?trk=hp-feed-article-title-share

In my article “FIRST TWO THINGS I LEARNED ABOUT S/4
HANA
” published last month, I made two points about S/4
HANA, the latest upgrade of SAP’s venerable ERP (Enterprise
Resource Planning) software system run by a lion’s share of Fortune 1000 companies:

1) HANA today is much more than the powerful
in-memory appliance or hardware that SAP rolled out in 2013 and,

2) I tossed out a few details in an offhand manner
about improved tables structures. 

I am very fond of understatement.

The specific terms used in my article were “rationalized.”  And “eliminating redundant fields.”  As well as my personal favorite line, “using any attribute as an index within tables.”

So what the hell does that mean exactly?  In
sixth grade English.  (Please).

Today’s article will examine in some
greater detail what exactly these database table handling and structural
enhancements mean for the SAP user.  These are at the heart of the new S/4
HANA system.  And will give the reader some insight as to why this is big
news for anyone working in and around BIG DATA.

1. COLUMNAR DATABASE

The first point to explain is the inherent
advantage of the new columnar orientation of the HANA database over traditional
ones organized in the more familiar rows of records.

Consider, for example, the following database
table of employee records consisting of four records organized in rows:

Pretty simple, right?  Four records broken
down into three data fields each (not including the record number or ID). 

In a row oriented database, that data is stored
like this:

But in a column oriented database, the data is
stored as follows:

 

 

Same data, just stored differently.  As if it
was transposed in an MS Excel spreadsheet.  So what’s the big deal?

The columnar database offers a faster way to
aggregate – or add up values.  Suppose you want to run a
common database query to answer the question, “How much are we paying the employees?”

In a row based database, all four records must be
read to compute the sum as follows:

In a columnar database, only one read is
necessary!

 

In a database composed of four records, like in my
little example, the improved efficiency and performance of the faster aggregation
will not be noticeable.  But in a database with billions of records, you
get the idea.  The improved read will be blazingly fast!

So the output speed of the query will be greatly
enhanced.  But what about input?  In this case, it’s the row oriented database that will be faster
since the new record inserts as a new row in one fell swoop.  Consider the
following input example in the two systems, adding new employee Clint:

The columnar database will need to update four
separate rows which will take more time.  However data input or write
speed is not typically an issue in data management.  It’s the output, or the read speed, when running
queries that matters!  You have data for a reason, which is to pull from
it.  I am sure that most readers here will agree that a lot of time is
wasted watching spinners on screens while your custom query is ripping through
4,000,000 rows of data. 

I mean, it is possible to have a database that is
write sensitive.  Suppose you are keeping a table of egregious lies made
by US Republican Presidential Candidates.  It's probably best to keep that
one on a row basis to keep it from getting bogged down due to active inputs.

2. ALL ATTRIBUTES AS INDEXES

So what does it mean to “use any attribute as an index within tables?”  This is where it gets really interesting.  Suppose you have the
above table of employees except, instead of four records, you have
200,000.  Let’s add a new fourth field “gender,” where the possible values are “M,” “F,” and “O.”  It's 2016, after all, get
with the program!

In a row oriented database, the gender attribute “F,” for example, is stored
redundantly roughly 100,001 times.  That’s a lot of deadweight in terms of storage.   Running a query to
pull all records where gender is F means that 200,000 rows must interrogated
for value “F” in the gender field.  Oy
vey gevalt!  A lot of work for nothing!

In a columnar database, you can simply go to
column E and select for all records where the value is “F.”  As one of my English clients was fond of
saying (when he wasn’t yelling at his IT team), “It ought to be a dawdle.”  (That’s Englishspeak meaning it should be easy). 
And it is!

It’s as if the database – in columnar form – is pre-selected for the convenience of running queries!  By design,
it’s much more efficient for fetching data.  And
this is where most time is consumed around Big Data.  The time and
efficiency savings are very real.  My Dadwould have been proud!

On top of this, add some proprietary data
compression where table and data size is reduced by a factor of five. 
That’s some kinda diet, right?  This means that
data hosting costs can be reduced.  And because of the smaller size, the
whole thing can be kept in memory instead of disk storage.  Thus the
efficiencies and retrieval speed improvements compound.

SAP, in typical fashion, jargonizes this as “Going Digital,” or, even less helpfully, “Real-Time Enterprise.”  They can’t seem to let go of that particular term since the 1970s.  But the
point is clear – this kind of organization, processing, and
compression allows for running complex simulations on an immediate basis as opposed
to overnight.  Imagine cost allocation and payroll simulations, legendary
for reading massive amounts of records, flying along with nearly immediate
results instead of slogging through eyeball-deadening spinners for a Sponge
Bob-like eternity!

That in-memory appliance mentioned at the top of
this article, by the way, is still available to speed things up, from a
hardware point of view (with the S/4 HANA software pre-installed).  But
S/4 HANA is designed to run off databases on any certified hardware platforms
using Linux OS.  Or in the cloud.  You could even use the cloud as an
intermediary step in your implementation and then transfer everything back to
your local hardware later. 

So you have lots of good options.

S/4 HANA is very real.  In a variety of
ways.  As an SAP consultant, I look forward to playing my customer’s favorite tunes on the world’s favorite ERP platform.

My gratitude to Mssrs. Shyam Jajodia of LSI
Consulting and Shyam Reganti of 3Core Systems, Inc. for their generous time and
assistance to me in writing this article.

 

时间: 2024-11-09 03:01:38

SAP S/4 HANA: ALL ABOUT TABLES的相关文章

What does SAP SD look like in SAP S/4 HANA?

What does SAP SD look like in SAP S/4 HANA? – Changes and simplifications  https://eursap.eu/2017/03/08/sap-sd-in-saps4hana/  What does SAP SD look like in SAP S/4 HANA? In this blog, I shall begin exploring the SAP S/4HANA Line of Business (LoB) tha

From SAP ERP 6.0 to SAP S/4 HANA in Four Steps

From SAP ERP 6.0 to SAP S/4 HANA in Four Steps 转自: http://news.sap.com/from-sap-erp-6-0-to-sap-s4hana-in-four-steps/   You can migrate to SAP S/4HANA using the standard migration paths. For those already running SAP ERP 6.0, a system conversion is th

SAP S/4 HANA Logistics

SAP S/4 HANA Logistics   http://www.linkedin.com/pulse/sap-s4-hana-logistics-hanne-schultz-andersen?trkInfo=VSRPsearchId%3A4691742691473051625444%2CVSRPtargetId%3A6097391524092395520%2CVSRPcmpt%3Aprimary&trk=vsrp_influencer_content_res_name   The foc

SAP S/4 HANA新变化-SD销售与分销

SAP S/4 HANA新变化-SD销售与分销   http://mp.weixin.qq.com/s?__biz=MzAwMjgyMTA4MQ==&mid=2652153152&idx=1&sn=8a2f1e8310c83fa692696a80fab0c53e&chksm=81249bf6b65312e08e953903eb6eec726c01fd328583da1d48976510135a4a69ab2356480617&mpshare=1&scene=

SAP S/4 HANA新变化-CO技术变化

SAP S/4 HANA新变化-CO技术变化   http://mp.weixin.qq.com/s?__biz=MzAwMjgyMTA4MQ==&mid=2652153190&idx=1&sn=400cf240b04056b5c8c3a84f4cc3aaae&chksm=81249bd0b65312c64e680d8d523448665ee3883264ce9bc3f9d74eb39a98cd306faf3ed03c44&mpshare=1&scene=5

SAP S/4 HANA新变化-FI:固定资产

SAP S/4 HANA新变化-FI:固定资产   http://mp.weixin.qq.com/s?__biz=MzAwMjgyMTA4MQ==&mid=2652153189&idx=1&sn=d7d125872c0e69f28eb040f1296b851e&chksm=81249bd3b65312c5e4aed05e37f87b4b3a3903d51f230a0f6c1e26d8c5185cfea5a8afd7ed91&mpshare=1&scene=

SAP S/4 HANA新变化-FI数据模型

SAP S/4 HANA新变化-FI数据模型   http://mp.weixin.qq.com/s?__biz=MzAwMjgyMTA4MQ==&mid=2652153162&idx=1&sn=aee6fc43e0577479854e4842df919c90&chksm=81249bfcb65312ea90f6cc10be3036f32a0d4c7d60882ee39f9fc384b952dbae38edf6f034c6&mpshare=1&scene=5

SAP开发负责人:HANA担起大数据开发重任

文章讲的是SAP开发负责人:HANA担起大数据开发重任,在一年一度的开发者与技术大会上,SAP公司公布了其在SAP HANA数据平台编程领域所取得的切实进步以及深层细节.更具体地讲,开发者关系负责人Thomas Grassl宣布在最近于加利福尼亚州举办的Code Jam编程挑战赛上,已经有各种类型.各个级别的程序开发人员着手尝试基于SAP HANA的应用程序与代码流. Grassl指出,“SAP HANA为开发人员们提供全新机遇,由其带来的改变使我们能够实现大数据应用程序的设计.创建以及投付生产

SAP 推出唯HANA业务板数据仓库

SAP 推出 SAP BW/4HANA在即.SAP BW/4HANA是SAP旗下的业务数据仓库软件,只在SAP旗下的HANA 内存数据库里运行. 此举或许有些似曾相识的感觉,是的,SAP去年发布S/4HANA 电子商务套件的做法与其类似.这样做的目的是要将客户迁移到SAP旗下 HANA 平台上最新的电子商务套件里.选用SAP的客户因而就必须砍掉诸如甲骨文的其他数据库. SAP BW/4HANA旨在获取数据仓库更大的市场份额,软件可在亚马逊网络服务上以SAP 托管云服务的形式运行.SAP还计划在其