Guidelines and Limitations
This topic describes guidelines and limitations in this release of Microsoft® SQL Data Services (SDS).
-
Container id is case sensitive. If container id uses any reserved characters (for example ';', '/' '@' and so on), see REST URI Considerations below for related guidelines.
-
A container is limited to 2GB of aggregate non-blob entity data.
-
There is no limit on the aggregate size of blob data, though each individual blob is limited as described below.
-
There is no limit on the number of entities (blob or non-blob) within a container.
-
Entity id is case sensitive. If entity id uses any reserved characters (for example ';', '/' '@' and so on), see REST URI Considerations below for related guidelines.
-
An entity is limited to 2MB.
-
There is no limit on the number of flexible properties within an entity as long as the aggregate size of all flexible properties does not exceed the entity size limit.
-
Only simple scalar types are supported on properties. Nested types and collections are not supported.
-
Only the REST interface over blobs is supported.
-
Each blob is limited to 100MB.
-
User-defined properties are not supported on blob entities.
-
When you create a blob entity in a container, the container stores only blob metadata. The blob content itself is spread in chunks across machines cluster in the service. Spreading blob content in chunk across the cluster helps distribute load and total storage costs evenly across the cluster. It also allows for multi-threaded partial GETs which is not supported in this release.
There are limitations in this release on using metadata and flexible properties. The following table lists the properties and guidelines on using them with authority, container, entity and blob types.
|
|
Authority |
Container |
Entity |
Blob |
|
Id |
Required |
Required |
Required |
Required |
|
Kind |
Not allowed |
Not allowed |
Optional |
Not allowed |
|
Version |
Read only |
Read only |
Read only |
Read only |
|
Content |
Not allowed |
Not allowed |
Not Allowed |
Required |
|
Flexible properties |
Not allowed |
Not allowed |
Optional |
Not allowed |
|
Metrics properties |
Read only |
Read only |
Not Allowed |
Not Allowed |
Note:
-
Id is limited to 64 characters.
-
Flexible properties can only be simple types and are limited to string, binary, boolean, decimal, and datetime. Neither nested types nor collections are supported.
-
Only the first 256 bytes of flexible properties are indexed.
-
For more information on metrics properties, see Understanding Metrics Metadata on Authorities and Containers.
-
Join Queries are supported.
-
TOP/Take and Skip operators are not supported.
-
Cross container queries are not supported.
-
Only predicates of the form
<property> <op> <constant>are supported, although multiple predicates can be combined with AND and OR.
-
Only a finite set of comparison and logical operators are supported. For details, see Querying SQL Data Services.
-
You can use the >, <, <=, >= operators to compare Id metadata. The comparisons performed on the Id property, unlike other properties, are case sensitive and use Unicode ordinal comparison rules (binary collation).
-
Query results are sorted by entity
Id.Order byis not supported in this implementation.
SDS supports new content type, application/x-ssds+xml, for storing non-blob entities. For entities with blob content appropriate MIME type that best reflects the blob data should be used.
To make the browser aware of the new content type, add registry entry as follows:
Important: |
|---|
This section contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, see article at http://support.microsoft.com/kb/322756/
|
-
In Registry go to
"HKEY_CLASSES_ROOT\MIME\Database\Content Type"
-
Add new key "
application/x-ssds+xml".
-
Add following value to the registry key.
Name Type Value Extension
String
.xml
Note: |
|---|
The existing application/xml content type is being phased out.
|
-
The maximum size of a request/response message to the server is 2MB. The default SOAP proxy generated by Add Service Reference enforces smaller limits. To change the proxy limit for your application, update the app.config file, which is generated by Add Service Reference, and set these values.
maxBufferSize="2097152" maxBufferPoolSize="0" maxReceivedMessageSize="2097152" maxArrayLength="2097152"
-
Because the interface is limited to incoming and outgoing requests whose maximum payload is 2MB, non-blob entities cannot exceed 2MB.
Important: