1

I am using SAP HANA db engine. There are some tables created with partitioning(range partitioning, hash partitioning, etc) in the database. I have a requirement wherein I need to get the information of the partition-indexes such as column partitioned, type of partition, intervals that are set for partitioning, etc given the table name by querying over a system-table or a stored-proc or otherwise. Any help in reaching this need is highly appreciated. Thanks.

4

1 回答 1

1

您可能需要检查系统表上的文档并查看

  • M_TABLES
  • M_CS_TABLES
  • 表格和
  • M_CS_PARTITIONS

eg here https://help.sap.com/saphelp_hanaplatform/helpdata/en/20/ad3d1075191014bce8aba8320b5b94/content.htm?frameset=/en/21/0197377519101481cfb213f0b84848/frameset.htm¤t_toc=/en/2e/1ef8b4f4554739959886e55d4c127b/plain.htm&node_id= 347

于 2014-10-28T21:57:08.747 回答