Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft Azure Storage Essentials

You're reading from   Microsoft Azure Storage Essentials Harness the power of Microsoft Azure services to build efficient cloud solutions

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher
ISBN-13 9781784396237
Length 126 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Chukri A Soueidi Chukri A Soueidi
Author Profile Icon Chukri A Soueidi
Chukri A Soueidi
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. An Introduction to Microsoft Azure Storage Services 2. Developing Against Storage FREE CHAPTER 3. Working with Blobs 4. Working with Tables 5. Designing Scalable and Performant Tables 6. Working with Queues 7. Working with the Azure File Service 8. Transient Fault Handling and Analytics Index

The table's primary key

The table's primary key consists of the PartitionKey and RowKey combined; it is the only index for the table and it allows for faster retrieval of data by holding low-level addresses to rows. The rows in a table will always be sorted by the PartitionKey, then the RowKey, and querying a table will also return results sorted by its primary key. Since keys are of string type, it is good to have fixed size keys to ensure good sorting results. For instance, in a query result, an entity with RowKey 123 will appear before an entity with RowKey 2; to fix this it is better to pad out your key to become 002.

Tip

The tables should be designed to be queried using these keys; depending on the size of the table, an ad hoc query could be slow if not using any of the keys. We will examine all types of queries later in this chapter.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image