{"id":5025,"date":"2024-05-27T11:38:54","date_gmt":"2024-05-27T02:38:54","guid":{"rendered":"https:\/\/blog.since2020.jp\/?p=5025"},"modified":"2024-05-27T11:41:01","modified_gmt":"2024-05-27T02:41:01","slug":"gcp-db_service-first","status":"publish","type":"post","link":"https:\/\/since2020.jp\/media\/gcp-db_service-first\/","title":{"rendered":"\u3010GCP\u3011Google Cloud Platform\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d3\u30b9\u306e\u9055\u3044(\u524d\u7de8)"},"content":{"rendered":"\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001GCP\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d3\u30b9\u306e\u3046\u3061Cloud Bigtable\u3001Cloud Firestore\u3001Cloud SQL\u3001Cloud Spanner\u306e4\u3064\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d3\u30b9\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3001\u305d\u308c\u305e\u308c\u306e\u7279\u5fb4\u3001\u5229\u70b9\u3001\u9069\u7528\u4f8b\u306b\u3064\u3044\u3066\u6bd4\u8f03\u3057\u307e\u3059\u3002<\/p>\n\n\n<h2>Google Cloud Platform\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d3\u30b9\u306e\u9055\u3044\u306b\u3064\u3044\u3066<\/h2>\n<p>Google Cloud Platform (GCP) \u306f\u591a\u7a2e\u591a\u69d8\u306a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d3\u30b9\u3092\u63d0\u4f9b\u3057\u3066\u304a\u308a\u3001\u305d\u308c\u305e\u308c\u304c\u7570\u306a\u308b\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\u306b\u6700\u9069\u5316\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u7279\u306b\u6ce8\u76ee\u3059\u3079\u304dCloud Bigtable\u3001Cloud Firestore\u3001Cloud SQL\u3001Cloud Spanner\u306e4\u3064\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d3\u30b9\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3001\u305d\u308c\u305e\u308c\u306e\u7279\u5fb4\u3001\u5229\u70b9\u3001\u9069\u7528\u4f8b\u306b\u3064\u3044\u3066\u6bd4\u8f03\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<!-- notionvc: 7ccc267b-332b-4844-9e33-74a032e66106 --><\/p>\n\n<h2>Cloud Bigtable<\/h2>\n<b>\u6982\u8981<\/b>\r\n<p>Cloud Bigtable\u306f\u3001Google\u304c\u63d0\u4f9b\u3059\u308b\u5927\u898f\u6a21\u30c7\u30fc\u30bf\u51e6\u7406\u3068\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u5206\u6790\u306b\u7279\u5316\u3057\u305f<strong>NoSQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9<\/strong>\u3067\u3059\u3002\u5206\u6563\u578b\u306e\u30ad\u30fc\u30fb\u30d0\u30ea\u30e5\u30fc\u578b\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u3068\u3057\u3066\u8a2d\u8a08\u3055\u308c\u3066\u304a\u308a\u3001\u6570\u30da\u30bf\u30d0\u30a4\u30c8\u306b\u53ca\u3076\u30c7\u30fc\u30bf\u306e\u4fdd\u5b58\u3068\u30a2\u30af\u30bb\u30b9\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002<\/p>\r\n<b>\u7279\u5fb4<\/b>\r\n<p><strong>\u30fb\u30b9\u30b1\u30fc\u30e9\u30d3\u30ea\u30c6\u30a3<\/strong> <br \/>\r\n\u6570\u30da\u30bf\u30d0\u30a4\u30c8\u306b\u53ca\u3076\u30c7\u30fc\u30bf\u3092\u30b9\u30e0\u30fc\u30ba\u306b\u51e6\u7406\u3055\u308c\u308b\u3002 Bigtable \u306f\u30c7\u30fc\u30bf\u304c\u30b9\u30d1\u30fc\u30b9\uff08\u4f4e\u5bc6\u5ea6\uff09\u306b\u683c\u7d0d\u3055\u308c\u308b\u30c6\u30fc\u30d6\u30eb\u306a\u306e\u3067\u3001\u6570\u5341\u5104\u884c\u3001\u6570\u5343\u5217\u306e\u898f\u6a21\u306b\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u53ef\u80fd\u3067\u3042\u308b\u3002<\/p>\r\n<p><strong>\u30fb\u4f4e\u30ec\u30a4\u30c6\u30f3\u30b7<\/strong> <br \/>\r\n\u30c7\u30fc\u30bf\u306e\u8aad\u307f\u66f8\u304d\u64cd\u4f5c\u304c\u975e\u5e38\u306b\u77ed\u3044\u6642\u9593\u3067\u884c\u308f\u308c\u308b\u306e\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066\u7d20\u65e9\u304f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u3001\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3057\u3066\u30df\u30ea\u79d2\u5358\u4f4d\u306e\u5fdc\u7b54\u901f\u5ea6\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\r\n<p><strong>\u30fb\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u5206\u6790<\/strong> <br \/>\r\nCloud Bigtable\u306f\u3001\u975e\u5e38\u306b\u9ad8\u3044\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\uff081\u79d2\u3042\u305f\u308a\u306e\u30c7\u30fc\u30bf\u51e6\u7406\u91cf\uff09\u3092\u6301\u3061\u3001\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u77ed\u6642\u9593\u3067\u51e6\u7406\u3059\u308b\u80fd\u529b\u304c\u3042\u308a\u3001\u30c7\u30fc\u30bf\u306e\u8aad\u307f\u66f8\u304d\u64cd\u4f5c\u304c\u975e\u5e38\u306b\u77ed\u3044\u6642\u9593\u3067\u884c\u308f\u308c\u308b\u305f\u3081\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u306e\u30af\u30a8\u30ea\u3084\u5206\u6790\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n<b>\u30c7\u30fc\u30bf\u306e\u683c\u7d0d\u30a4\u30e1\u30fc\u30b8<\/b>\r\n<p>\u4f8b\uff1a\u975e\u5e38\u306b\u5927\u304d\u306a\u56f3\u66f8\u9928\u306e\u66f8\u7c4d\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0<\/p>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-27-10.33.50.png\" alt=\"\" width=\"637\" height=\"335\" class=\"alignnone size-full wp-image-5026\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-27-10.33.50.png 637w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2024\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-05-27-10.33.50-300x158.png 300w\" sizes=\"(max-width: 637px) 100vw, 637px\" \/><\/p>\n\n<h2>Cloud Firestore<\/h2>\n<b>\u6982\u8981<\/b>\r\n<p>Cloud Firestore\u306f\u3001\u30e2\u30d0\u30a4\u30eb\u304a\u3088\u3073\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5411\u3051\u306b\u8a2d\u8a08\u3055\u308c\u305f\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u306a<strong>NoSQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9<\/strong>\u3067\u3059\u3002\u30c7\u30fc\u30bf\u3092JSON\u5f62\u5f0f\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3068\u8907\u6570\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u30b0\u30eb\u30fc\u30d7\u5316\u3057\u305f\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u5f62\u5f0f\u3067\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\r\n<p>Firestore\u306f\u3001Firebase\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3068\u7d71\u5408\u3055\u308c\u3066\u304a\u308a\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306e\u30c7\u30fc\u30bf\u540c\u671f\u3068\u30aa\u30d5\u30e9\u30a4\u30f3\u5bfe\u5fdc\u304c\u7279\u5fb4\u3067\u3059\u3002<\/p>\r\n<b>\u7279\u5fb4<\/b>\r\n<p><strong>\u30fb\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u540c\u671f<\/strong> <br \/>\r\n\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30ea\u30b9\u30ca\u30fc\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u30c7\u30fc\u30bf\u304c\u5909\u66f4\u3055\u308c\u308b\u3068\u305d\u306e\u5909\u66f4\u304c\u5373\u5ea7\u306b\u4ed6\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u3082\u53cd\u6620\u3055\u308c\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u30d7\u30c3\u30b7\u30e5\u914d\u4fe1\u3055\u308c\u307e\u3059\u3002<\/p>\r\n<p><strong>\u30fb\u30aa\u30d5\u30e9\u30a4\u30f3\u5bfe\u5fdc<\/strong> <br \/>\r\n\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u63a5\u7d9a\u3055\u308c\u3066\u3044\u306a\u3044\u72b6\u614b\u3067\u3082\u30c7\u30fc\u30bf\u306e\u8aad\u307f\u66f8\u304d\u304c\u53ef\u80fd\u3067\u3059\u3002\u63a5\u7d9a\u304c\u5fa9\u5e30\u3059\u308b\u3068\u3001\u81ea\u52d5\u7684\u306b\u30c7\u30fc\u30bf\u304c\u540c\u671f\u3055\u308c\u307e\u3059\u3002<\/p>\r\n<p><strong>\u30fb\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3<\/strong> <br \/>\r\nFirestore\u306f\u3001\u8a73\u7d30\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30eb\u30fc\u30eb\u3092\u8a2d\u5b9a\u3067\u304d\u308b\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30e6\u30fc\u30b6\u30fc\u3054\u3068\u306b\u7570\u306a\u308b\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u30c7\u30fc\u30bf\u306f\u8ee2\u9001\u4e2d\u304a\u3088\u3073\u4fdd\u5b58\u4e2d\u306b\u81ea\u52d5\u7684\u306b\u6697\u53f7\u5316\u3055\u308c\u307e\u3059\u3002<\/p>\r\n<b>\u30c7\u30fc\u30bf\u306e\u683c\u7d0d\u30a4\u30e1\u30fc\u30b8<\/b>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9 (Firestore)\r\n\u2502\r\n\u2514\u2500\u2500 \u30b3\u30ec\u30af\u30b7\u30e7\u30f3: users\r\n\u2502\r\n\u2514\u2500\u2500 \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8: user1\r\n\u251c\u2500\u2500 \u30d5\u30a3\u30fc\u30eb\u30c9: name: \"Alice\"\r\n\u251c\u2500\u2500 \u30d5\u30a3\u30fc\u30eb\u30c9: age: 30\r\n\u2514\u2500\u2500 \u30d5\u30a3\u30fc\u30eb\u30c9: email: \"alice@example.com\"<\/code><\/pre>\r\n<\/div>\r\n<p><!-- notionvc: 7feb0ed8-1924-465a-ae69-d7e0490281be --><\/p>\n\n<h2>CloudSQL\u3068Cloud Spanner<\/h2>\n<p><a href=\"https:\/\/blog.since2020.jp\/glossary\/gcp-db_service-second\/\"><span class=\"link-annotation-unknown-block-id--918882895\" style=\"color: #0000ff\">\u3053\u3061\u3089\u306e\u5f8c\u7de8<\/span><\/a>\u3067\u8a73\u3057\u304f\u307f\u3066\u3044\u304d\u307e\u3059\u3002<!-- notionvc: db60ef95-00aa-4fc6-8812-646389304074 --><\/p>","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001GCP\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d3\u30b9\u306e\u3046\u3061Cloud Bigtable\u3001Cloud Firestore\u3001Cloud SQL\u3001Cloud Spanner\u306e4\u3064\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d3\u30b9\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3001\u305d\u308c\u305e\u308c\u306e\u7279\u5fb4 [&hellip;]<\/p>\n","protected":false},"author":62,"featured_media":4239,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","swell_btn_cv_data":"","footnotes":"","_wp_rev_ctl_limit":""},"categories":[1249],"tags":[623,624,625,626,528,143],"class_list":["post-5025","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge","tag-cloud-bigtable","tag-cloud-firestore","tag-cloud-spanner","tag-cloud-sql","tag-db","tag-gcp"],"_links":{"self":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/5025","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/users\/62"}],"replies":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/comments?post=5025"}],"version-history":[{"count":1,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/5025\/revisions"}],"predecessor-version":[{"id":5031,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/5025\/revisions\/5031"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media\/4239"}],"wp:attachment":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media?parent=5025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/categories?post=5025"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/tags?post=5025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}