{"id":2587,"date":"2011-12-15T13:40:01","date_gmt":"2011-12-14T19:40:01","guid":{"rendered":"http:\/\/www.moonmile.net\/blog\/archives\/2587"},"modified":"2011-12-15T13:43:24","modified_gmt":"2011-12-15T04:43:24","slug":"azure-%e3%81%ae-strage-emulator-%e3%81%8c%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8b%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e6%a7%8b%e9%80%a0","status":"publish","type":"post","link":"http:\/\/www.moonmile.net\/blog\/archives\/2587","title":{"rendered":"Azure \u306e Strage Emulator \u304c\u4f5c\u6210\u3059\u308b\u30c6\u30fc\u30d6\u30eb\u69cb\u9020"},"content":{"rendered":"<p>\nAzure \u3092\u30ed\u30fc\u30ab\u30eb\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u3067\u52d5\u304b\u3059\u3068\u3001\u30ed\u30fc\u30ab\u30eb\u306b\u30b9\u30c8\u30ec\u30fc\u30b8\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<br \/>\n\u3053\u308c\u306f\u3001.\\SQLEXPRESS \u3068\u3044\u3046\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u3001\u300cDevelopmentStrageDb<\u4f5c\u6210\u65e5\u4ed8?>\u300d\u306a\u98a8\u306a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u3066\u3001\n<\/p>\n<p><a href='http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2011\/12\/wpid-dworkblogimage20111215_02org.jpg'><img border='0' src='http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2011\/12\/wpid-dworkblogimage20111215_02thum.jpg'\/><\/a><\/p>\n<p>\n\u30c6\u30fc\u30d6\u30eb\u69cb\u9020\u306f\u3053\u3093\u306a\u611f\u3058\u3002\n<\/p>\n<p><a href='http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2011\/12\/wpid-dworkblogimage20111215_01org.jpg'><img border='0' src='http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2011\/12\/wpid-dworkblogimage20111215_01thum.jpg'\/><\/a><\/p>\n<p>\n\u30ad\u30fc\u60c5\u5831\u3068\u3057\u3066\u306f\u3001\n<\/p>\n<ul>\n<li>AccountName \u30a2\u30ab\u30a6\u30f3\u30c8\u540d<\/li>\n<li>ContainerName \u30b3\u30f3\u30c6\u30ca\u540d<\/li>\n<li>BlobName \u30d6\u30ed\u30d6\u540d<\/li>\n<li>VersionTimestamp \u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7<\/li>\n<li>TableName \u30c6\u30fc\u30d6\u30eb\u540d<\/li>\n<li>PartitionKey \u30c6\u30fc\u30d6\u30eb\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u30ad\u30fc<\/li>\n<li>RowKey \u5217\u540d<\/li>\n<\/ul>\n<p>\n\u306a\u7c21\u5358\u306a\u69cb\u9020\u3092\u3057\u3066\u3044\u307e\u3059\u3002\n<\/p>\n<p>\n# \u5b9f\u969b\u306f Blob \u306e Block \u69cb\u9020\u306e\u305f\u3081\u306b\u3001Blob \u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u307b\u3046\u306f\u3084\u3084\u3053\u3057\u3044\u307f\u305f\u3044\u3067\u3059\u304c\u3002\n<\/p>\n<p>\nDDL \u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\n<\/p>\n<pre class=\"brush: sql; title: ; notranslate\" title=\"\">\r\nCREATE TABLE &#x5B;dbo].&#x5B;Blob](\r\n\t&#x5B;AccountName] &#x5B;varchar](24) NOT NULL,\r\n\t&#x5B;ContainerName] &#x5B;varchar](63) NOT NULL,\r\n\t&#x5B;BlobName] &#x5B;nvarchar](256) NOT NULL,\r\n\t&#x5B;VersionTimestamp] &#x5B;datetime] NOT NULL,\r\n\t&#x5B;BlobType] &#x5B;int] NULL,\r\n\t&#x5B;CreationTime] &#x5B;datetime] NOT NULL,\r\n\t&#x5B;LastModificationTime] &#x5B;datetime] NULL,\r\n\t&#x5B;ContentLength] &#x5B;bigint] NOT NULL,\r\n\t&#x5B;ContentType] &#x5B;varchar](128) NULL,\r\n\t&#x5B;ContentMD5] &#x5B;binary](16) NULL,\r\n\t&#x5B;ServiceMetadata] &#x5B;varbinary](max) NULL,\r\n\t&#x5B;Metadata] &#x5B;varbinary](max) NULL,\r\n\t&#x5B;LeaseId] &#x5B;uniqueidentifier] NULL,\r\n\t&#x5B;LeaseTypeInt] &#x5B;int] NULL,\r\n\t&#x5B;LeaseDuration] &#x5B;bigint] NULL,\r\n\t&#x5B;LeaseEndTime] &#x5B;datetime] NULL,\r\n\t&#x5B;SequenceNumber] &#x5B;bigint] NULL,\r\n\t&#x5B;IsCommitted] &#x5B;bit] NULL,\r\n\t&#x5B;HasBlock] &#x5B;bit] NULL,\r\n\t&#x5B;UncommittedBlockIdLength] &#x5B;int] NULL,\r\n\t&#x5B;MaxSize] &#x5B;bigint] NULL,\r\n\t&#x5B;FileName] &#x5B;nvarchar](260) NULL,\r\n CONSTRAINT &#x5B;PK_dbo.Blob] PRIMARY KEY CLUSTERED \r\n(\r\n\t&#x5B;AccountName] ASC,\r\n\t&#x5B;ContainerName] ASC,\r\n\t&#x5B;BlobName] ASC,\r\n\t&#x5B;VersionTimestamp] ASC\r\n)\r\n<\/pre>\n<pre class=\"brush: sql; title: ; notranslate\" title=\"\">\r\nCREATE TABLE &#x5B;dbo].&#x5B;TableRow](\r\n\t&#x5B;AccountName] &#x5B;varchar](24) NOT NULL,\r\n\t&#x5B;TableName] &#x5B;varchar](63) NOT NULL,\r\n\t&#x5B;PartitionKey] &#x5B;nvarchar](256) NOT NULL,\r\n\t&#x5B;RowKey] &#x5B;nvarchar](256) NOT NULL,\r\n\t&#x5B;Timestamp] &#x5B;datetime] NOT NULL,\r\n\t&#x5B;Data] &#x5B;xml] NULL,\r\n CONSTRAINT &#x5B;PK_dbo.TableRow] PRIMARY KEY CLUSTERED \r\n(\r\n\t&#x5B;AccountName] ASC,\r\n\t&#x5B;TableName] ASC,\r\n\t&#x5B;PartitionKey] ASC,\r\n\t&#x5B;RowKey] ASC\r\n)\r\n<\/pre>\n<ul>\n<li>AccountName: 24 \u6587\u5b57\u4ee5\u5185<\/li>\n<li>ContainerName: 63 \u6587\u5b57\u4ee5\u5185<\/li>\n<li>BlobName: 256 \u6587\u5b57\u4ee5\u5185<\/li>\n<li>TableName: 63 \u6587\u5b57\u4ee5\u5185<\/li>\n<\/ul>\n<p>\n\u3068\u60f3\u50cf\u304c\u3064\u304f\u308f\u3051\u3067\u3059\u304c\u3001\u679c\u305f\u3057\u3066\u3001\u5b9f\u969b\u306e Azure \u30b7\u30b9\u30c6\u30e0\u3067\u306f\u5982\u4f55\u306b\uff1f\n<\/p>\n<p>\nWindows Azure\u30b9\u30c8\u30ec\u30fc\u30b8\u30fb\u30b5\u30fc\u30d3\u30b9\u306e\u547d\u540d\u898f\u5247\u3092\u8abf\u3079\u3066\u307f\u305f &#8211; wa\u308a\u3068na\u306f\u3066\u306a\u65e5\u8a18<br \/>\n<a href=\"http:\/\/d.hatena.ne.jp\/waritohutsu\/20100404\/1270414253\">http:\/\/d.hatena.ne.jp\/waritohutsu\/20100404\/1270414253<\/a>\n<\/p>\n<p>\n\u3061\u306a\u307f\u306b\u3001SQL Server \u306e\u5834\u5408\u3001\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\uff09\u6bd4\u8f03\u6642\u306b\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u3092\u5224\u5225\u3057\u306a\u3044\u306e\u3067\u3001\u30a2\u30ab\u30a6\u30f3\u30c8\u540d\u3084\u30b3\u30f3\u30c6\u30ca\u540d\u306a\u3069\u306b\u306f\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u3067\u533a\u5225\u3055\u305b\u308b\u306e\u306f\u53b3\u7981\u3002\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u74b0\u5883\u3067\u52d5\u304b\u306a\u304f\u306a\u308b\u3068\u3044\u3046\u7f60\u304c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Azure \u3092\u30ed\u30fc\u30ab\u30eb\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u3067\u52d5\u304b\u3059\u3068\u3001\u30ed\u30fc\u30ab\u30eb\u306b\u30b9\u30c8\u30ec\u30fc\u30b8\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002 \u3053\u308c\u306f\u3001.\\SQLEXPRESS \u3068\u3044\u3046\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u3001\u300cDevelopmentStrageDb\u300d\u306a\u98a8\u306a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u4f5c\u6210\u3055\u308c &hellip; <a href=\"http:\/\/www.moonmile.net\/blog\/archives\/2587\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":2754,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3,31],"tags":[],"class_list":["post-2587","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dev","category-azure"],"jetpack_featured_media_url":"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2012\/01\/hitome-azure-title.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/2587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/comments?post=2587"}],"version-history":[{"count":1,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/2587\/revisions"}],"predecessor-version":[{"id":2588,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/2587\/revisions\/2588"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media\/2754"}],"wp:attachment":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=2587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=2587"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=2587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}