How do SQL Azure and Azure Table Storage compare?

SQL Azure is a relational database, with all the things you'd expect from a relational database (multiple indexes, stored procedures, powerful queries, etc. ). Azure Table Storage is a non-relational, massively scalable (up to 100TB per account) storage facility, where entities are located by partition key (a colocation of entities) and row key.

SQL Azure is a relational database, with all the things you'd expect from a relational database (multiple indexes, stored procedures, powerful queries, etc. ). Azure Table Storage is a non-relational, massively scalable (up to 100TB per account) storage facility, where entities are located by partition key (a colocation of entities) and row key. If you want to have a very simple storage mechanism that doesn't require sophisticated relational operations, Azure Table Storage will work quite nicely.

There are cost differences too. SQL Azure runs $10 / GB but has no transactional costs. Azure Table Storage runs $0.15 / GB but has a $0.01 / 10,000 transaction cost (nominal for low volume systems, but could be significant with very high volume systems).

There's a fairly recent article in MSDN Magazine that goes into greater detail regarding use cases, differences, etc. If you're going for a straightforward migration of what you have in place today, SQL Azure will closely match what you have in SQL Server Express 2005. However, since it's only a prototype at this point, it's worth re-evaluating your needs.

1 One of the things to consider is how much you really need transactions across tables. ATS doesn't support cross table transactions. – knightpfhor May 23 at 21:42.

" Good question. You have to work out what you care about, and evaluate the options against each other. The key difference in my view is that SQL Azure is less scalable than table storage.

If you're expecting huge numbers of visitors, your database may not be able to keep up, and become the bottleneck that stops you from scaling any further - in the Cloud, you can keep adding front-end servers until your credit card bleeds, but once you've gone to a "big" database server, you have nowhere else to go. (Except that's not really true - you can also find a way of partitioning your application across multiple database servers). So, if you care about scalability, you may want to go to table storage - it doesn't have the same scalability limits as SQL Azure.

However, the cost of that scalability is stuff you might also care about - you basically have to architect your application from scratch to work with table storage, and you have to recreate a lot of stuff you get for free from a relational database. Transactions don't really work the way you might expect, for instance.So, if it's only a prototype, and you're not explicitly intending to become the next Facebook, I'd stay with SQL Azure until the scalability pain becomes real.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions