So you have decided to migrate your AnyDB based Business Suite to SAP HANA!
Not an easy choice to make by any means. This is after all a complex heterogeneous database migration.
It will require a full regression test of all of your functionality.
You will be moving to new hosts, with new host names, new IP addresses, maybe even taking the opportunity
to sort out your SID naming conventions which over the years havee “Evolved” into a bit of a mess.
So this will not just be a functional regression test as you would perform after transporting a major piece of new
functionality or maybe an SP upgrade, but a full integration test, testing all interfaces, firewalls, Non-SAP applications, etc, etc.
As to the reasons why you are moving to HANA I will not go into that now; There are plenty of other blogs out there addressing
this subject matter, but if it is purely for performance reasons and you want a magic bullet, then the reason you have a performance
problem in the first place may well make your HANA implementation far more costly than you would have thought.
There are many reasons why you system may be performing badly, but they essentially boil down to.
- Database performance
- Application server performance
- Network latency issues
- Front end performance
These are often the symptoms of either
- Application design
- Customization choices
- Crap code
- Some sort of infrastructure issue/design/scale
For the purpose of this Blog I’m only going to talk about size
AnyDB: Size doesn’t matter! (well yes it does)
How often have you heard the phrase, Disk is cheap ? I wish I had a dollar for every time I’ve heard it, I wouldn’t be here
writing a blog.
Getting a PO signed for another bunch of disks is fairly easy, solving the issue as to why your DB is growing so rapidly is not!
Often it’s not even a technical issue, most of the time it is political/lack of understanding by the business.
But why doesn’t size matter?
As I’ve already said, it’s easy to add another bunch of disks and if you do it right the available IOPS so up as well.
But often there is very little impact on the rest of the infrastructure. For your production environment you may have to increase
the memory/CPU footprint a little but often not an order of magnitude bigger.
Now if you need to copy your large Database (DR/training/QA) you will not need a significant amount of compute to go with it.
A 20 user training environment will not need a database server with the same amount of memory/CPU as the production server.
Yes, things like backup/restore/recovery/system copy time are an issue with bigger databases but they are solvable with some
hardware investment and most importantly with little or no impact of the user community.
HANA: Size really does matter! (alot)
Now lets consider your HANA database. It is an in-Memory database. The bigger your data base the bigger your Memory and disk foot print.
One thing memory is not is,Cheap!
So consider the scenario above where you have DR/QA/Training environments all of which are a copy of production.
This means each of these environments has to be the same size as production, not just from a storage point of view but from a CPU/Memory footprint
point of view
Now what if you leave your DB growth unchecked on HANA? You can’t just go and add some more cheap disk, you have to add a whole new
server (TDI model) or Appliance. Not just one, but one for DR one for QA and one for Training.
These things are not cheap.The jump from a 2 Socket 1.5TB server to a 4 Socket 3TB maybe manageable, but from 4 Socket to 8 Socket 6TB
it gets very very pricey. Beyond 8 Sockets and 6TB! I’ll let you look at the price lists.
Now lets look at your NFRs. How quickly do you want your database to come online after a failure?
Lets compare a traditional Database with HANA.
If I shutdown a traditional database and restart, it is pretty much available for use in a matter of a few minutes. Yes it will be a little slow
as the initial read of any records has to be performed from disk and loaded into memory, but my database is available.
If I shutdown HANA and restart, it has to copy the contents of the persistence layer into memory. I have seen figures of 15mins
per TB maybe even longer. So 45 mins for a 3TB database. Yes the column store load is a “Lazy Load”, i.e. it reads only columns that are actually used, but your users have been used to 1-2ms DB read times with HANA, if it suddenly takes 300+ ms to load you may get complaints. Although you can force tables to load in their entirety on start.
On a traditional DB where 300ms is the norm then a longer load time at start will not be as noticeable.
So now you probably want to start investing in a hot-standby system or super high performance flash disk.
“Scale-out” I hear you cry.
I’m talking about Suite on HANA here.
Your options for scale out are really limited. It is controlled availability only and that is not likely to change in the near future.
There are very very few people around who know how to scale-out SoH properly. It’s a complex task, that takes months to perform/test.
It requires detailed knowledge of the SAP functionality you are using and table relationships within the functionality and has to be done manually. It is not a matter of just bolting on a few more servers.
Again I’m talking about migrating your existing Suite to HANA, not S/4 HANA functionality, or SAP BW.
You have very very few options on data tiering if any, without some considerable application rework.
The chances of SAP back porting any of the data temperature functionality they are developing to SoH
is slim (reserved for S/4 BW only).
Note there are objects where the concept of data aging has been addressed, namely
- Application Log (SPS08)
- IDOCS (SPS08)
- Change Docs (SPS12)
- FI Documents in sFIN 1.0 <– Note this is for simple finance not suite on HANA
So above are just some of the reasons why you want to keep you database size down and in check.
In-Memory databases require considerably more compute/memory resources compared to traditional DBs
You can’t just throw more disk at the problem. And if you stick with your classic Landscape approach, going
to SAP HANA maybe cost prohibitive.
Next up: What does not belong in your SoH database, regardless of HANA or AnyDB and time to tell the business
they can’t have it their way anymore when it comes to data retention.
Part II can be found here Why Size Matters and why it really Matters for HANA (Part II)