简体   繁体   English

Azure Sql数据仓库表记录的最大列数和最大大小是多少?

[英]What is the maximum number of columns and size for Azure Sql Data warehouse table record?

I am looking to denormalize many tables into one table in Azure Sql Data warehouse which would require large number of fields (~1500 columns). 我希望将许多表非规范化为Azure Sql数据仓库中的一个表,这将需要大量字段(〜1500列)。 Does anyone know the limitation of the number of columns for a PDW table and the maximum row size? 有谁知道PDW表的列数限制和最大行大小?

Also what is this best practice in the sense of performance and maintainability? 从性能和可维护性的角度来看,这种最佳实践又是什么? To create one huge table or break it apart into multiple one to one relationship tables. 创建一个巨大的表或将其分解为多个一对一的关系表。

The number of columns in a regular Azure SQL Database table is restricted to 1024 (similar to the on-premises SQL Server). 常规Azure SQL数据库表中的列数限制为1024(类似于本地SQL Server)。 With sparse columns, a table can have up to 30,000 columns, of which up to 1023 can be non-sparse. 使用稀疏列,一个表最多可以包含30,000个列,其中非稀疏列最多可以包含1023个。 However, at least 28,976 have to be sparse columns. 但是,必须至少有28,976个稀疏列。 One non-sparse column is used for the column set that is mandatory if the total number of columns is greater than 1024. https://msdn.microsoft.com/en-us/library/azure/jj553018.aspx 如果列的总数大于1024,则必须使用一个非稀疏列作为列集。https: //msdn.microsoft.com/zh-cn/library/azure/jj553018.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM