About Azure Table Secondary Index

你说的曾经没有我的故事 提交于 2019-12-13 00:04:19

问题


I know the Secondary Index(s) is not here yet: It's in wish list and "planed"

I like to get some ideas (or information from the reliable source) about the incoming secondary index(s)

1st question: I noticed MS planed "secondary indexes": is that mean we can create as many indexes as we want on one table

2nd question: Current index is "PartitionKey+RowKey", if above question is not true, will the secondary index be "RowKey+PartitionKey" or we have a good chance that we can customize it?

I like to gain some ideas because I am currently design a table, since the data won't much from beginning, so I think I can wait for the secondary index feature without create multiple tables at this moment.

Please share you ideas or any source you have, thanks.


回答1:


As a Windows Azure MVP I don't have any information about the secondary indexes in table service. If we do need more indexes in table service, but don't want use SQL Azure, (Not just because of the pricing...) then I would like to de-normalization my data, which split the same data into more than one table, with different row key as the indexes.




回答2:


There's currently no information on secondary indexes, other than what's written at the site you referenced. So, there's no way to answer either of your two questions.

Several customers I work with, that use Table Storage, have taken the multiple-table approach to provide additional indexing. For those requiring extensive index coverage, that data typically has found its way into SQL Azure (or a combination of SQL Azure + Table Storage).




回答3:


This question is now two years old. And still no sign of secondary indexes in Azure Table Storage. My guess is that it is now very unlikely to ever eventuate.



来源:https://stackoverflow.com/questions/8857153/about-azure-table-secondary-index

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!