on 2016 Aug 24 8:00 AM
Hi Experts,
I just wonder if there is a limit for the number of lines in a single SAP HANA DB Table. It's clear that there is a technical limit regarding the memory/disc space. But is there also a technical limitation for the number of lines in a single table. I am asking because we have a business process where we need to store (theoretically) up to 100 billion records in a single table. Would it be necessary to use partitioning in such a case or would it be possible to store this in a single table (assuming we have enough memory/disc space)?
Regards
Tobias
This reference might be useful Restrictions for SQL Statements - SAP HANA SQL and System Views Reference - SAP Library
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
Thanks for your help. Nevertheless, I am little bit confused now. I found the following in the SAP HANA Reference in the "Table Partition" Section:
"Overcoming the size limitation of column-store tables
A non-partitioned table cannot store more than 2 billion rows. It is possible to overcome this limit by distributing the rows across several partitions. Each partition must not contain more than 2 billion rows."
In the link you sent I found the following:
What does this value of 2^31 * number of partions represent. 2^31 is much bigger than 2 billion records.
P.S.: In my use case I will clearly have a column-base storage.
Regards
Tobias
There is no realistic limit to the number of rows in a table, however there is a limit to the number of rows in a partition - 2 billion. By default a table with no explicit partitions defined is considered a single partition.
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
13 | |
11 | |
10 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.