zoukankan      html  css  js  c++  java
  • [SAP HANA]SAP HANA的系统限制

    M_SYSTEM_LIMITS system view (SELECT * FROM M_SYSTEM_LIMITS;)

    Limitation Area

    Limit

    M_SYSTEM_LIMITS view name for the limitation

    Database size limit

    Row Store: 1,945 GB

    Column Store: Dependent on size of physical memory

    MAXIMUM_SIZE_OF_ROW_STORE

    Number of locks

    Unlimited for record locks,

    16,383 for table locks

    MAXIMUM_NUMBER_OF_TABLE_LOCKS

    Number of sessions

    65,536

    MAXIMUM_NUMBER_OF_SESSIONS

         

    Schema Limitations

       

    Number of schemas per SAP HANA instance

    Maximum value of BIGINT data type

     

    Identifier length

    127 characters

    MAXIMUM_LENGTH_OF_IDENTIFIER

    Length of an alias name

    128 characters

    MAXIMUM_LENGTH_OF_ALIAS_NAME

    Table name length

    Same as Identifier length

    MAXIMUM_LENGTH_OF_IDENTIFIER

    Column name length

    Same as Identifier length

    MAXIMUM_LENGTH_OF_IDENTIFIER

    Length of a string literal

    8 MB

    MAXIMUM_LENGTH_OF_STRING_LITERAL

    Number of hex characters in a binary literal

    8,192 Bytes

    MAXIMUM_LENGTH_OF_BINARY_LITERAL

         

    Tables and View Limitations

       

    Number of columns in a table

    64,000

    This limit can vary based on context, for example, in the context of virtual tables, SAP HANA may be limited by the capabilities of the remote system and the limit of the other DBMS may apply instead. In cases such as this, the limit that is met first becomes the actual limit.

    MAXIMUM_NUMBER_OF_COLUMNS_IN_TABLE

    Number of columns in a row table

    1,000

    MAXIMUM_NUMBER_OF_COLUMNS_IN_ROW_TABLE

    Number of columns in a view

    64,000

    MAXIMUM_NUMBER_OF_COLUMNS_IN_VIEW

    Number of rows in each table

    Limited by storage size RS: 1,945 GB/sizeof(row),

    CS: 2^31 * number of partitions

     

    Length of a row

    Limited by RS storage size (1,945 GB per index server)

     

    Size of a non-partitioned table

    Limited by RS storage size (1,945 GB per index server)

     

    Number of partitions in a CS table

    16,000

    MAXIMUM_NUMBER_OF_PARTITIONS_IN_CSTABLE

    Number of triggers per table per DML statement

    1,024

    MAXIMUM_NUMBER_OF_TRIGGERS_PER_TABLE_PER_DML

    Number of records per (non-partitioned) table

    2^31 (i.e. 2,147,384,648, or ~2 billion)

     
         

    Indexes and Constraints

       

    Number of indexes for a table

    1,023

    MAXIMUM_NUMBER_OF_INDEXES_IN_TABLE

    Number of primary key columns in each table

    16

    MAXIMUM_NUMBER_OF_COLUMNS_IN_PRIMARY_KEY

    Number of primary key columns in each column store table

    1,000

    MAXIMUM_NUMBER_OF_COLUMNS_IN_PRIMARY_KEY_IN_COLUMN_TABLE

    Number of columns in an index

    16

    MAXIMUM_NUMBER_OF_COLUMNS_IN_INDEX

    Number of columns in a UNIQUE constraint

    16

    MAXIMUM_NUMBER_OF_COLUMNS_IN_UNIQUE_CONSTRAINT

    Size of sum of primary key, index, UNIQUE constraint

    16,384 Bytes

    MAXIMUM_SIZE_OF_KEY_IN_INDEX

    Number of indexes in row store

    256,000

     
         

    SQL

       

    Length of an SQL statement

    2,147,483,648 Bytes

    MAXIMUM_LENGTH_OF_SQL_STATEMENT

    Depth of SQL view nesting

    128

    MAXIMUM_DEPTH_OF_SQL_VIEW_NESTING

    Maximum depth of SQL parse tree

    This limitation does not show in M_SYSTEM_LIMITS unless a limit is configured to something other than 0 (no limit) using the max_parse_tree_depth parameter in indexerver.ini.

    0

    0 (unlimited)

    MAXIMUM_DEPTH_OF_SQL_PARSE_TREE

    Maximum depth of joins in a statement.

    This limitation does not show in M_SYSTEM_LIMITS unless a limit is configured to something other than 0 (no limit) using the max_join_depth parameter in indexerver.ini.

    0

    MAXIMUM_DEPTH_OF_JOINS

    Number of columns in an ORDER BY

    65,535

    MAXIMUM_NUMBER_OF_COLUMNS_IN_ORDER_BY

    Number of columns in a GROUP BY

    65,535

    MAXIMUM_NUMBER_OF_COLUMNS_IN_GROUP_BY

    Number of elements in IN predicates

    65,535

    MAXIMUM_NUMBER_OF_COLUMNS_IN_IN_PREDICATE

    Number of elements in SELECT clause

    65,535

    MAXIMUM_NUMBER_OF_OUTPUT_COLUMNS_IN_STATEMENT

    Number of tables in a statement.

    This limitation does not show in M_SYSTEM_LIMITS unless a limit is configured to something other than 0 (no limit) using the max_table_count_in_statement parameter in indexerver.ini.

    0

    MAXIMUM_NUMBER_OF_TABLES_IN_STATEMENT

         

    LOB Limitations

       

    Maximum size of an in-memory LOB for a column store table

    1,073,741,821 bytes

    MAXIMUM_SIZE_OF_MEMORY_LOB_IN_COLUMN_STORE

    Maximum size of an in-memory LOB for a row store table

    2,147,463,647 bytes

    MAXIMUM_SIZE_OF_MEMORY_LOB_IN_ROW_STORE

    Maximum size of a packed LOB

    1,013,760 bytes

    MAXIMUM_SIZE_OF_PACKED_LOB

    Maximum size of a LOB on disk

    4,294,967,295 bytes

    MAXIMUM_SIZE_OF_DISK_LOB

         

    Procedures

       

    Size of all stored procedures

    1,945 GB

    MAXIMUM_SIZE_OF_ALL_STORED_PROCEDURES

    Size of a procedure definition

    2 GB

    MAXIMUM_SIZE_OF_PROCEDURE_DEFINITION

    refer to :.https://help.sap.com/viewer/6b94445c94ae495c83a19646e7c3fd56/2.0.04/en-US/20a760537519101497e3cfe07b348f3c.html

    每天进步一点点,多思考,多总结 版权声明:本文为CNblog博主「zaituzhong」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
  • 相关阅读:
    OCM_第十四天课程:Section6 —》数据库性能调优_各类索引 /调优工具使用/SQL 优化建议
    OCM_第十三天课程:Section6 —》数据库性能调优 _结果缓存 /多列数据信息采集统计/采集数据信息保持游标有效
    OCM_第十二天课程:Section6 —》数据库性能调优_ 资源管理器/执行计划
    使用NuGet时的一个乌龙
    .net调用存储过程碰到的一个问题
    数据库的备份与还原
    创建link server链接服务器碰到的问题及解决办法
    如何管理好项目的DLL
    项目中Enum枚举的使用
    .NET开发知识体系
  • 原文地址:https://www.cnblogs.com/tingxin/p/12623572.html
Copyright © 2011-2022 走看看