{"id":14594,"date":"2023-07-26T12:16:39","date_gmt":"2023-07-26T19:16:39","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=14594"},"modified":"2024-02-07T11:56:01","modified_gmt":"2024-02-07T19:56:01","slug":"introducing-couchbase-time-series","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/ko\/introducing-couchbase-time-series\/","title":{"rendered":"\uce74\uc6b0\uce58\ubca0\uc774\uc2a4 \uc2dc\uacc4\uc5f4 \uc18c\uac1c"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Couchbase 7.2\uc758 \uc77c\ubd80\ub85c \uc0c8\ub85c\uc6b4 \uc2dc\uacc4\uc5f4 \uae30\ub2a5\uc744 \ucd9c\uc2dc\ud558\uac8c \ub418\uc5b4 \uae30\uc058\uac8c \ubc1c\ud45c\ud569\ub2c8\ub2e4. \uc774 \uae30\ub2a5\uc740 \ub370\uc774\ud130 \uc99d\uac00\uc5d0 \ub530\ub77c \uc218\ud3c9\uc801\uc73c\ub85c \ud655\uc7a5\ud558\ub3c4\ub85d \uc124\uacc4\ub41c \uac15\ub825\ud55c Couchbase \ubd84\uc0b0 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc544\ud0a4\ud14d\ucc98\ub97c \uae30\ubc18\uc73c\ub85c \uad6c\ucd95\ub418\uc5c8\uc73c\uba70, \uae30\ubcf8 \uc81c\uacf5\ub418\ub294 \uc774\uc911\ud654 \ubc0f \uace0\uac00\uc6a9\uc131\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc989, \ube44\uc988\ub2c8\uc2a4\uac00 \uc131\uc7a5\ud558\uace0 \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130 \uc694\uad6c\uac00 \uc99d\uac00\ud568\uc5d0 \ub530\ub77c Couchbase\ub294 \uc774\ub7ec\ud55c \uc694\uad6c\ub97c \ucda9\uc871\ud558\uae30 \uc704\ud574 \uc190\uc27d\uac8c \ud655\uc7a5\ud560 \uc218 \uc788\uc73c\ubbc0\ub85c \ubaa8\ub4e0 \uaddc\ubaa8\uc758 \ube44\uc988\ub2c8\uc2a4\uc5d0 \uc774\uc0c1\uc801\uc778 \uc194\ub8e8\uc158\uc774 \ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400\">\uc2dc\uacc4\uc5f4 \ub370\uc774\ud130\ub97c \uad00\ub9ac\ud558\ub294 \uc774 \ud601\uc2e0\uc801\uc778 \uc0c8 \uae30\uc220\uc740 Couchbase \uc0ac\uc6a9\uc790\uc5d0\uac8c \uc644\uc804\ud788 \uc0c8\ub85c\uc6b4 \uac00\ub2a5\uc131\uc758 \uc138\uacc4\ub97c \uc5f4\uc5b4\uc90d\ub2c8\ub2e4. Couchbase SQL++\uc640 SDK\ub97c \uc0ac\uc6a9\ud574 \ubc29\ub300\ud55c \uc591\uc758 \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130\ub97c \uc800\uc7a5\ud558\uace0 \ubd84\uc11d\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc0ac\uc6a9\uc790\ub294 \uae30\uc874\uc758 \uc9c0\uc2dd\uacfc \uc778\ud504\ub77c\ub97c \ud65c\uc6a9\ud560 \uc218 \uc788\uc73c\ubbc0\ub85c \ub370\uc774\ud130 \ucd94\uc138\ub97c \uc27d\uac8c \ud0d0\uc0c9\ud560 \uc218 \uc788\ub294 \uac15\ub825\ud55c \uc778\uc0ac\uc774\ud2b8\ub97c \uc27d\uac8c \uc124\uc815\ud558\uace0 \ud65c\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\u00a0<\/span><\/p>\n<h2><span style=\"font-weight: 400\">\uc2dc\uacc4\uc5f4\uc758 \uc8fc\uc694 \uc774\uc810\u00a0<\/span><\/h2>\n<p><span style=\"font-weight: 400\">\uc2dc\uacc4\uc5f4 \ub370\uc774\ud130\ub294 Couchbase \uba40\ud2f0 \ubaa8\ub378 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc758 JSON \ubb38\uc11c\uc5d0 \uc800\uc7a5\ub429\ub2c8\ub2e4. \ube60\ub978 \ub370\uc774\ud130 \uac80\uc0c9\uacfc \uc9e7\uc740 \uc9c0\uc5f0 \uc2dc\uac04\uc744 \uc704\ud574 \ub3d9\uc77c\ud55c \uace0\uc131\ub2a5\uc758 \uace0\uae09 \uce90\uc2f1\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. Couchbase \ucffc\ub9ac SQL++ \ubc0f \uc778\ub371\uc2a4 \uc11c\ube44\uc2a4\ub294 \ub370\uc774\ud130 \uac80\uc0c9 \uae30\ub2a5\uc744 \ud5a5\uc0c1\uc2dc\ucf1c \ubcf5\uc7a1\ud55c \ubd84\uc11d \ucffc\ub9ac \uc0ac\uc6a9 \uc0ac\ub840\ub97c \uac00\ub2a5\ud558\uac8c \ud569\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Couchbase\uc758 \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130 \uc9c0\uc6d0\uc740 \uc774\ub7ec\ud55c \ucd94\uac00\uc801\uc778 \uc774\uc810\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4:<\/span><\/p>\n<ol>\n<li style=\"list-style-type: none\">\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\ub300\ub7c9\uc758 \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8\ub97c \uc704\ud55c \ud6a8\uc728\uc801\uc778 \uc800\uc7a5 \uacf5\uac04<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\ud0c0\uc784\uc2a4\ud0ec\ud504 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8\uc5d0 \ucd5c\uc801\ud654\ub41c \ub370\uc774\ud130 \uad6c\uc870 \uc800\uc7a5\uc18c<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\uc0c8\ub85c\uc6b4 \uace0\uae09 \uc2dc\uacc4\uc5f4 \ucffc\ub9ac \uae30\ub2a5<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\ub0ae\uc740 \uc778\ub371\uc2a4 \uc2a4\ud1a0\ub9ac\uc9c0 \uc694\uad6c \uc0ac\ud56d<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h2><span style=\"font-weight: 400\">\uc2dc\uacc4\uc5f4 \uc0ac\uc6a9 \uc0ac\ub840\uc758 \uc608<\/span><\/h2>\n<p><span style=\"font-weight: 400\"><strong>\uae08\uc735 \ud2b8\ub808\uc774\ub529 - <\/strong>\uae08\uc735 \ud2b8\ub808\uc774\ub529\uc740 \uc8fc\uac00, \ud658\uc728, \uc6d0\uc790\uc7ac \uac00\uaca9 \ub4f1 \ub300\ub7c9\uc758 \uc2e4\uc2dc\uac04 \ub370\uc774\ud130\ub97c \ubd84\uc11d\ud558\ub294 \ub370 \uc758\uc874\ud569\ub2c8\ub2e4. \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130 \ubd84\uc11d\uc740 \ud2b8\ub808\uc774\ub354\uac00 \ucd94\uc138\ub97c \ud30c\uc545\ud558\uace0 \ub9e4\ub9e4\uc5d0 \ub300\ud55c \uc815\ubcf4\uc5d0 \uc785\uac01\ud55c \uacb0\uc815\uc744 \ub0b4\ub9ac\ub294 \ub370 \ub3c4\uc6c0\uc774 \ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400\"><strong>\uc0ac\ubb3c \uc778\ud130\ub137(IoT) \ubaa8\ub2c8\ud130\ub9c1 - <\/strong>IoT \ub514\ubc14\uc774\uc2a4\ub294 \uc628\ub3c4 \ud310\ub3c5\uac12, \uc5d0\ub108\uc9c0 \uc18c\ube44\ub7c9, \uc13c\uc11c \ub370\uc774\ud130 \ub4f1 \ub300\ub7c9\uc758 \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4. \uc774 \ub370\uc774\ud130\ub97c \uc2e4\uc2dc\uac04\uc73c\ub85c \ubd84\uc11d\ud558\uc5ec \uc774\uc0c1 \uc9d5\ud6c4\ub97c \uac10\uc9c0\ud558\uace0 \uc7a5\ube44 \uace0\uc7a5\uc774 \ubc1c\uc0dd\ud558\uae30 \uc804\uc5d0 \uc608\uce21\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400\"><strong>\uc608\uce21\uc801 \uc720\uc9c0 \uad00\ub9ac - <\/strong>\ub9ce\uc740 \uc0b0\uc5c5\uc5d0\uc11c \uace0\uac00\uc758 \uc7a5\ube44\uc640 \uae30\uacc4\uc5d0 \uc758\uc874\ud558\uace0 \uc788\uc73c\uba70, \ub2e4\uc6b4\ud0c0\uc784\uc740 \ub9ce\uc740 \ube44\uc6a9\uc744 \ucd08\ub798\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc870\uc9c1\uc740 \uc13c\uc11c \ubc0f \uae30\ud0c0 \uc18c\uc2a4\uc758 \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130\ub97c \ubd84\uc11d\ud558\uc5ec \uc7a5\ube44\uac00 \uace0\uc7a5\ub0a0 \uac00\ub2a5\uc131\uc774 \uc788\ub294 \uc2dc\uae30\ub97c \uc608\uce21\ud558\uace0 \uc720\uc9c0\ubcf4\uc218 \uc77c\uc815\uc744 \uc0ac\uc804\uc5d0 \uc608\uc57d\ud558\uc5ec \ub2e4\uc6b4\ud0c0\uc784\uc744 \ucd5c\uc18c\ud654\ud558\uace0 \ud6a8\uc728\uc131\uc744 \uadf9\ub300\ud654\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<h2><span style=\"font-weight: 400\">\uce74\uc6b0\uce58\ubca0\uc774\uc2a4 \uc2dc\uacc4\uc5f4\uc758 \uc8fc\uc694 \uae30\ub2a5<\/span><\/h2>\n<p><span style=\"font-weight: 400\">\uce74\uc6b0\uce58\ubca0\uc774\uc2a4\uc5d0 \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130\ub97c \uc800\uc7a5\ud558\uace0, SDK\/SQL++\ub97c \uc0ac\uc6a9\ud574 \ub85c\ub4dc\ud558\uace0, \uae00\ub85c\ubc8c \ubcf4\uc870 \uc778\ub371\uc2a4\uc758 \uace0\uae09 \ubd84\uc11d \ucffc\ub9ac \uae30\ub2a5\uc744 \ud1b5\ud574 \uc77c\ubc18 JSON \ubb38\uc11c\uc640 \ub3d9\uc77c\ud55c \ubc29\uc2dd\uc73c\ub85c \ub370\uc774\ud130\ub97c \ucffc\ub9ac\/\ubd84\uc11d\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<h3><span style=\"font-weight: 400\">\uc2a4\ud1a0\ub9ac\uc9c0 \ud6a8\uc728\uc131<\/span><\/h3>\n<p><span style=\"font-weight: 400\">\uc2dc\uacc4\uc5f4 \ub370\uc774\ud130 \uc138\ud2b8\ub294 \uc77c\ubc18\uc801\uc73c\ub85c \ub9e4\uc6b0 \ud06c\uba70, \uac01 \ub370\uc774\ud130 \uc694\uc18c\ub294 \ud0c0\uc784\uc2a4\ud0ec\ud504, \uac12, \uc138\ubd84\uc131 \ubc0f \uae30\ud0c0 \uad00\ub828 \uc815\ubcf4\uc640 \uac19\uc740 \uc18d\uc131\uc73c\ub85c \uad6c\uc131\ub429\ub2c8\ub2e4. \ud6a8\uc728\uc801\uc778 \uc2a4\ud1a0\ub9ac\uc9c0\ub294 \ubd84\uc11d\uc744 \uc704\ud574 \ub370\uc774\ud130\ub97c \uc5bc\ub9c8\ub098 \ube68\ub9ac \ucffc\ub9ac\ud560 \uc218 \uc788\ub294\uc9c0\ub97c \uacb0\uc815\ud560 \uc218 \uc788\uae30 \ub54c\ubb38\uc5d0 \ub9e4\uc6b0 \uc911\uc694\ud569\ub2c8\ub2e4.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">\uce74\uc6b0\uce58\ubca0\uc774\uc2a4 \uc2dc\uacc4\uc5f4\uc740 \uc2a4\ud1a0\ub9ac\uc9c0 \ud6a8\uc728\uc131\uc744 \uac1c\uc120\ud558\uae30 \uc704\ud574 \ub450 \uac00\uc9c0 \uc0ac\uc591\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4.<\/span><\/p>\n<p><b>\ub370\uc774\ud130 \uc694\uc18c\uc5d0 \ubc30\uc5f4 \uc0ac\uc6a9<\/b><span style=\"font-weight: 400\"> - \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130\ub294 \ubcf8\uc9c8\uc801\uc73c\ub85c \uc77c\ub828\uc758 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8\uc785\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ub370\uc774\ud130 \uc694\uc18c\ub294 \uc2dc\uac04 \ubc0f \uac12 \ub610\ub294 \ub370\uc774\ud130 \uc694\uc18c\uac00 \uc218\uc9d1\ub41c \uc2dc\uac04\uacfc \uad00\ub828\ub41c \uae30\ud0c0 \uc18d\uc131\uacfc \uac19\uc740 \uacf5\ud1b5 \uad6c\uc870\ub97c \uacf5\uc720\ud569\ub2c8\ub2e4.\u00a0\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">\ubc30\uc5f4\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc8fc\uc5b4\uc9c4 \ubc94\uc704\uc5d0 \ub300\ud55c \ub370\uc774\ud130 \ud3ec\uc778\ud2b8 \uc9d1\ud569\uc744 \uc800\uc7a5\ud558\uba74 \uac01 \uac1c\ubcc4 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8\ub97c \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0 \ubcc4\ub3c4\uc758 \ubb38\uc11c\ub85c \uc800\uc7a5\ud558\ub294 \uac83\ubcf4\ub2e4 \uc800\uc7a5 \ube44\uc6a9\uc744 \ud06c\uac8c \uc808\uac10\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\u00a0<\/span><\/p>\n<p><b>\ubc30\uc5f4 \uc704\uce58 \uc0ac\uc6a9<\/b><span style=\"font-weight: 400\"> - \ub610\ud55c \ub370\uc774\ud130 \ud3ec\uc778\ud2b8 \ubc30\uc5f4 \uc694\uc18c\uc5d0\ub294 \uc5f0\uacb0\ub41c \ud544\ub4dc \uc774\ub984\uc774 \uc5c6\uc73c\uba70 \ub300\uc2e0 \ubc30\uc5f4\uc5d0\uc11c \uc694\uc18c\uc758 \uc704\uce58\uc5d0 \ub530\ub77c \ub2ec\ub77c\uc9d1\ub2c8\ub2e4. \uc774 \uc608\uc5d0\uc11c \ubc30\uc5f4\uc758 \uc138 \uc694\uc18c\ub294 \uad00\ucc30 \ub0a0\uc9dc, \uc2dc\ucd08\uac00, \uc885\uac00\uc785\ub2c8\ub2e4.<\/span><\/p>\n<pre class=\"lang:js decode:true\">docid:  \"stock:XYZ:d1\"\r\n{\r\n  \"ts_data\": [ [1672531200000, 92.08, 95.62],[1672531201000, 95.62, 99.25],..]\r\n}<\/pre>\n<p><b>EPOCH \uc2dc\uac04 \uc0ac\uc6a9 -\u00a0<\/b><span style=\"font-weight: 400\"><a href=\"https:\/\/en.wikipedia.org\/wiki\/Epoch_(computing)\">\uc5d0\ud3ec\ud06c \uc2dc\uac04<\/a> \ub97c ISO \ub0a0\uc9dc \ubb38\uc790\uc5f4 \ub300\uc2e0 \uc0ac\uc6a9\ud558\uc5ec \uac01 \ub370\uc774\ud130 \uc694\uc18c\uc758 \ud06c\uae30\ub97c \uc904\uc774\uace0 \ucc98\ub9ac \uc2dc\uac04\uc744 \uac1c\uc120\ud569\ub2c8\ub2e4.\u00a0<\/span><\/p>\n<pre class=\"lang:js decode:true\">docid:  \"stock:XYZ:d1\"\r\n{\r\n  \"ts_data\": [ [1672531200000, 92.08, 95.62],[1672531201000, 95.62, 99.25],..]\r\n  \"ts_start\": 1672531200000 \/* dstart\uc640 dend\ub294 *\/\ub97c \ub098\ud0c0\ub0c5\ub2c8\ub2e4.\r\n  \"ts_end\":   1672617599999,\/* ts_data\uc758 \ubaa8\ub4e0 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8\uc758 \uc2dc\uac04 \ubc94\uc704 *\/\r\n  \"ticker\":   \"XYZ\"\r\n}<\/pre>\n<h3><span style=\"font-weight: 400\">\uc0c8\ub85c\uc6b4 _timeseries \ud568\uc218\ub85c \ucffc\ub9ac \ucd5c\uc801\ud654<\/span><\/h3>\n<p><span style=\"font-weight: 400\">\uce74\uc6b0\uce58\ubca0\uc774\uc2a4 \uc2dc\uacc4\uc5f4 \uae30\ub2a5\uc5d0\ub294 \uc0c8\ub85c\uc6b4<\/span> <b>_timeseries<\/b> <span style=\"font-weight: 400\">\ud568\uc218\uc785\ub2c8\ub2e4. \uc774 \uae30\ub2a5\uc740 \uc5ec\ub7ec \uac00\uc9c0 \uc6a9\ub3c4\ub85c \uc0ac\uc6a9\ub429\ub2c8\ub2e4:<\/span><\/p>\n<ol>\n<li style=\"list-style-type: none\">\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\uc5d0\uc11c \uc2dc\uacc4\uc5f4 \uac1c\uccb4\ub97c \ub3d9\uc801\uc73c\ub85c \uc0dd\uc131\ud569\ub2c8\ub2e4. <\/span><span style=\"font-weight: 400\">ts_data <\/span><span style=\"font-weight: 400\">\ubc30\uc5f4 \ubc30\uc5f4<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">UNNEST\uc640 \ud568\uaed8 \uc0ac\uc6a9\ud560 \ub54c \uacb0\uacfc\ub97c \ud6a8\uc728\uc801\uc73c\ub85c \uc2a4\ud2b8\ub9ac\ubc0d\ud558\uace0 \uc751\ub2f5 \uc2dc\uac04\uacfc \uba54\ubaa8\ub9ac \uc0ac\uc6a9\ub7c9\uc744 \ucd5c\uc801\ud654\ud569\ub2c8\ub2e4.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">ts_interval \ub9e4\uac1c\ubcc0\uc218\ub97c \uc0ac\uc6a9\ud558\uba74 \uac01 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8\uc5d0 \ub300\ud55c \ud0c0\uc784\uc2a4\ud0ec\ud504\ub97c \uc790\ub3d9\uc73c\ub85c \uc0dd\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\ud0c0\uc784\uc2a4\ud0ec\ud504\ub2f9 \uc5ec\ub7ec \ub370\uc774\ud130 \ud3ec\uc778\ud2b8 \uc138\ud2b8 \ub300\uc2e0 \ubd88\uaddc\uce59\ud55c \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8 \uac04\uaca9\uc5d0 \ub300\ud55c \uace0\uae09 \uc2dc\uacc4\uc5f4 \uc0ac\uc6a9 \uc0ac\ub840\ub97c \uc9c0\uc6d0\ud569\ub2c8\ub2e4.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400\">\ucc38\uace0\ud558\uc138\uc694. <\/span><a href=\"https:\/\/docs.couchbase.com\/server\/current\/n1ql\/n1ql-language-reference\/time-series.html\"><span style=\"font-weight: 400\">\uce74\uc6b0\uce58\ubca0\uc774\uc2a4 \uc2dc\uacc4\uc5f4 \ubb38\uc11c<\/span><\/a><span style=\"font-weight: 400\"> \uc5d0\uc11c \uc790\uc138\ud55c \ub0b4\uc6a9\uc744 \ud655\uc778\ud558\uc138\uc694.<\/span><\/p>\n<h3><span style=\"font-weight: 400\">\ucd5c\uc801\ud654\ub41c \uc778\ub371\uc2a4 \uc2a4\ud1a0\ub9ac\uc9c0<\/span><\/h3>\n<p><span style=\"font-weight: 400\">\uac01 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8\uac00 JSON \ubb38\uc11c \ub0b4\uc758 \ubc30\uc5f4\uc5d0 \uc694\uc18c\ub85c \uc800\uc7a5\ub418\ub294 Couchbase\uc758 \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130 \uc800\uc7a5 \ubc29\uc2dd \ub355\ubd84\uc5d0 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc778\ub371\uc2f1 \uc804\ub7b5\uc744 \ucd5c\uc801\ud654\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud2b9\ud788, \uac01 \ubb38\uc11c\uc5d0\ub294 \ubc30\uc5f4\uc5d0 \uc788\ub294 \ubaa8\ub4e0 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8\uc758 \uc2dc\uc791 \uc2dc\uac04\uacfc \uc885\ub8cc \uc2dc\uac04\uc774 \ubaa8\ub450 \ud3ec\ud568\ub418\uc5b4 \uc788\uc73c\ubbc0\ub85c \uac01 \ubb38\uc11c\uc5d0 \ub300\ud574 \ub2e8\uc77c \uc778\ub371\uc2a4 \uc815\uc758\ub97c \ub9cc\ub4e4 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc989, \uc218\ubc31\ub9cc \uac1c\uc758 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8\uac00 \ud3ec\ud568\ub41c \ub300\uaddc\ubaa8 \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130 \uc138\ud2b8\uc758 \uacbd\uc6b0\uc5d0\ub3c4 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8\ub2f9 \ud558\ub098\uc758 \ubb38\uc11c\uac00 \uc544\ub2cc \uba87 \uac1c\uc758 \ubb38\uc11c\uc5d0 \ub370\uc774\ud130\ub97c \uc800\uc7a5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400\">\uc608\ub97c \ub4e4\uc5b4, 100\ub9cc \uac1c\uc758 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8\uac00 \uc788\ub294 \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130 \uc9d1\ud569\uc740 \uac01\uac01 1,000\uac1c\uc758 \ubb38\uc11c\uc5d0 \uc800\uc7a5\ud560 \uc218 \uc788\ub2e4\uace0 \uac00\uc815\ud569\ub2c8\ub2e4. <em>ts_data<\/em> \ubc30\uc5f4\uc740 \ucd5c\ub300 1,000\uac1c\uc758 \ub370\uc774\ud130 \uc694\uc18c\ub97c \uc800\uc7a5\ud560 \uc218 \uc788\uc73c\uba70, \ubb38\uc11c \ud06c\uae30\ub294 20MB Couchbase JSON \ubb38\uc11c \uc81c\ud55c \uc774\ud558\ub85c \uc720\uc9c0\ub429\ub2c8\ub2e4. \uc774\ub807\uac8c \ud558\uba74 \ub370\uc774\ud130\ub97c \uc800\uc7a5\ud558\ub294 \ub370 \ud544\uc694\ud55c \ubb38\uc11c \uc218\uac00 \uc904\uc5b4\ub4e4 \ubfd0\ub9cc \uc544\ub2c8\ub77c \uc778\ub371\uc2a4 \ud06c\uae30\ub3c4 \uc791\uc544\uc838 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc131\ub2a5\uc774 \ud5a5\uc0c1\ub418\uace0 \ub514\uc2a4\ud06c \uacf5\uac04 \uc694\uad6c \uc0ac\ud56d\ub3c4 \uc904\uc5b4\ub4ed\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400\">\uc989, \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130\ub97c JSON \ubb38\uc11c \ub0b4\uc5d0 \ubc30\uc5f4\ub85c \uc800\uc7a5\ud558\ub294 Couchbase\uc758 \uae30\ub2a5\uc744 \ud65c\uc6a9\ud558\uba74 \uc778\ub371\uc2f1 \uc804\ub7b5\uc744 \ucd5c\uc801\ud654\ud558\uc5ec \ud544\uc694\ud55c \ubb38\uc11c \uc218\ub97c \ud06c\uac8c \uc904\uc774\uace0 \uc778\ub371\uc2a4 \ud06c\uae30\ub97c \uc904\uc5ec \ucffc\ub9ac \uc131\ub2a5\uc744 \ub192\uc774\uace0 \uc2a4\ud1a0\ub9ac\uc9c0 \ub9ac\uc18c\uc2a4\ub97c \ubcf4\ub2e4 \ud6a8\uc728\uc801\uc73c\ub85c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<pre class=\"lang:js decode:true\">\ubb38\uc11c(ticker, ts_end, ts_start)\uc5d0 \uc778\ub371\uc2a4 ix1\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4;<\/pre>\n<h3><span style=\"font-weight: 400\">\ub370\uc774\ud130 \ubcf4\uc874\u00a0<\/span><\/h3>\n<p><span style=\"font-weight: 400\">\uc2dc\uacc4\uc5f4 \ubb38\uc11c\ub294 Couchbase\uc5d0\uc11c \ud45c\uc900 JSON \ubb38\uc11c\ub85c \uc800\uc7a5\ub429\ub2c8\ub2e4. \ub530\ub77c\uc11c \ub370\uc774\ud130 \ub85c\ub4dc \ud504\ub85c\uc138\uc2a4 \uc911\uc5d0 \ub3d9\uc77c\ud55c TTL(Time-To-Live)\uc744 \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<pre class=\"lang:js decode:true\">\/* \ubb38\uc11c\uac00 30\uc77c \ud6c4\uc5d0 \uc790\ub3d9\uc73c\ub85c \uc0ad\uc81c\ub429\ub2c8\ub2e4 *\/.\r\n\r\nINSERT INTO coll1 (KEY, VALUE)\r\n\r\n   VALUES (\"stock:XYZ:d1\", {\"ticker\":\"XYZ\",..}, {\"expiration\":60*60*24*30});<\/pre>\n<h2><span style=\"font-weight: 400\">\uc5f0\uc2b5 \uc608\uc2dc<\/span><\/h2>\n<p><span style=\"font-weight: 400\">\uc774\uc81c \uae30\ub2a5\uc5d0\uc11c \uc815\uc758\ud55c \ub300\ub85c \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130 \ubaa8\ub378\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc2e4\uc81c \uc8fc\uac00 \ub370\uc774\ud130 \uc9d1\ud569\uc744 Couchbase\uc5d0 \ub85c\ub4dc\ud558\ub294 \uacfc\uc815\uc744 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400\">\uc704\uc5d0\uc11c \uc124\uba85\ud55c \uac83\ucc98\ub7fc Couchbase \uc2dc\uacc4\uc5f4 \uae30\ub2a5\uc744 \uc0ac\uc6a9\ud558\ub824\uba74 \uc774 \ud2b9\uc815 \ud615\uc2dd\uc758 JSON \ubb38\uc11c\uac00 \ud544\uc694\ud569\ub2c8\ub2e4:<\/span><\/p>\n<pre class=\"lang:js decode:true\">docid:  \"stock:XYZ:d1\"\r\n{\r\n  \"ts_data\": [ [1672531200000, 92.08, 95.62],[1672531201000, 95.62, 99.25],..]\r\n  \"ts_start\": 1672531200000 \/* dstart\uc640 dend\ub294 *\/\ub97c \ub098\ud0c0\ub0c5\ub2c8\ub2e4.\r\n  \"ts_end\":   1672617599999,\/* ts_data\uc758 \ubaa8\ub4e0 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8\uc758 \uc2dc\uac04 \ubc94\uc704 *\/\r\n  \"ticker\":   \"XYZ\"\r\n}<\/pre>\n<p><span style=\"font-weight: 400\">\uc790\uccb4 \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130\ub97c \uc704 \ud615\uc2dd\uc73c\ub85c \ubcc0\ud658\ud574\uc57c \ud558\ub294 \uacbd\uc6b0 \uc544\ub798 \ub2e8\uacc4\ub97c \ub530\ub974\uc138\uc694.<\/span><\/p>\n<p><span style=\"font-weight: 400\">\uc5ec\uae30\uc5d0 \uc0ac\uc6a9\ub41c \ub370\uc774\ud130 \uc138\ud2b8\ub294 2013~2015\ub144 XYZ Inc \uc8fc\uac00\uc5d0 \ub300\ud55c \uac83\uc785\ub2c8\ub2e4.\u00a0<\/span><\/p>\n<p><b>XYZ_data.csv<\/b><\/p>\n<pre class=\"lang:default decode:true\">\ub0a0\uc9dc,\uc2dc\uac00,\uace0\uac00,\uc800\uac00,\uc885\uac00,\uac70\ub798\ub7c9,\uc774\ub984\r\n2013-02-08,27.285,27.595,27.24,27.295,5100734,XYZ\r\n2013-02-11,27.64,27.95,27.365,27.61,8916290,XYZ\r\n2013-02-12,27.45,27.605,27.395,27.545,3866508,XYZ<\/pre>\n<h3><span style=\"font-weight: 400\">Couchbase \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130 \uad6c\uc870\ub85c \ub370\uc774\ud130 \ub9c8\uc774\uadf8\ub808\uc774\uc158<\/span><\/h3>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">CSV \ud30c\uc77c\uc744 Couchbase \uceec\ub809\uc158\uc5d0 \ub85c\ub4dc\ud569\ub2c8\ub2e4:<\/span><\/li>\n<\/ol>\n<pre class=\"lang:default decode:true\">cbimport csv --infer-types -c https:\/\/:8091 -u  -p  -d 'file:\/\/XYZ_data.csv' -b 'ts' --scope-collection-exp \"s1.c1\" -g \"#UUID#\"<\/pre>\n<p><span style=\"font-weight: 400\">\uac00\uc838\uc624\uae30\ub294 \uceec\ub809\uc158\uc5d0 JSON \ubb38\uc11c\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4. <em>c1<\/em> \ub97c \uc785\ub825\ud569\ub2c8\ub2e4.<\/span><\/p>\n<pre class=\"lang:js decode:true\">{\r\n    \"c1\": {\r\n      \"Name\": \"XYZ\",\r\n      \"close\": 55.99,\r\n      \"date\": \"2016-05-25T00:00:00.000Z\",\r\n      \"high\": 56.69,\r\n      \"low\": 55.7699,\r\n      \"open\": 56.47,\r\n      \"volume\": 9921707\r\n    }\r\n  },\r\n  {\r\n    \"c1\": {\r\n      \"Name\": \"XYZ\",\r\n      \"close\": 31.075,\r\n      \"date\": \"2013-06-11T00:00:00.000Z\",\r\n      \"high\": 31.47,\r\n      \"low\": 30.985,\r\n      \"open\": 31.15,\r\n      \"volume\": 5540312\r\n    }\r\n  }, ...<\/pre>\n<p><span style=\"font-weight: 400\">2. SQL++\ub97c \uc0ac\uc6a9\ud558\uc5ec \uceec\ub809\uc158 \ubcc0\ud658 <em>c1<\/em> \ub97c \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130 \uad6c\uc870\uc5d0 \uc0bd\uc785\ud55c \ub2e4\uc74c \uceec\ub809\uc158\uc5d0 \uc0bd\uc785\ud569\ub2c8\ub2e4. <em>c3:<\/em><\/span><\/p>\n<pre class=\"lang:js decode:true\">ts.s1.c3\uc5d0 \uc0bd\uc785 (KEY _k, VALUE _v)\r\nSELECT \"stock:XYZ:2013\" _k,\r\n{\"ticker\": a.Name ,\r\n  \"ts_start\" : MIN(STR_TO_MILLIS(a.date)),\r\n  \"ts_end\" : MAX(STR_TO_MILLIS(a.date)),\r\n  \"ts_data\" : ARRAY_AGG([STR_TO_MILLIS(a.date), a.close]) } _v\r\nFROM ts.s1.c1 a\r\nWHERE a.date \"2013-01-01\" \ubc0f \"2013-12-31\"\r\nGROUP BY a.Name;<\/pre>\n<p><span style=\"font-weight: 400\">SQL++\ub294 <em>\uc120\ud0dd \ud56d\ubaa9 \uc0bd\uc785<\/em> \ub97c \ud638\ucd9c\ud558\uc5ec Couchbase \uc2dc\uacc4\uc5f4 \ucc98\ub9ac\uc5d0 \ud544\uc694\ud55c \uad6c\uc870\ub97c \uac00\uc9c4 \ub2e8\uc77c \ubb38\uc11c\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4. \ucc38\uace0\ub85c <em>ts_data<\/em> \ubc30\uc5f4\uc5d0\ub294 2013\ub144 \uc77c\uc77c \uc885\uac00 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8 \uc804\uccb4\uac00 \ud3ec\ud568\ub429\ub2c8\ub2e4.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">3. 2014\ub144\uacfc 2015\ub144\uc5d0 \ub300\ud574 \uc0bd\uc785\/\uc120\ud0dd\uc744 \ubc18\ubcf5\ud569\ub2c8\ub2e4.<\/span><\/p>\n<pre class=\"lang:js decode:true\">[\r\n  {\r\n    \"id\": \"stock:XYZ:2013\",\r\n    \"ticker\": \"XYZ\",\r\n    \"ts_start\": 1387497600000,\r\n    \"ts_end\": 1365465600000,\r\n    \"ts_data\": [\r\n      [ 1387497600000, 38.67 ],\r\n      [ 1380585600000, 36.21 ],\r\n      ...]\r\n\r\n  },\r\n  {\r\n    \"id\": \"stock:XYZ:2014\",\r\n    \"ticker\": \"XYZ\",\r\n    \"ts_start\": 1413331200000,\r\n    \"ts_end\": 1402444800000,\r\n    \"ts_data\": [\r\n      [ 1413331200000, 42.59 ],\r\n      [ 1399507200000, 36.525],\r\n      ...]\r\n  },\r\n  {\r\n    \"id\": \"stock:XYZ:2015\",\r\n    \"ticker\": \"XYZ\",\r\n    \"ts_start\": 1444780800000,\r\n    \"ts_end\": 1436313600000,\r\n    \"ts_data\": [\r\n      [ 1444780800000, 62.92 ],\r\n      [ 1421280000000, 46.405],\r\n      ...]\r\n\r\n  }\r\n]<\/pre>\n<h3><span style=\"font-weight: 400\">\ub370\uc774\ud130 \uc218\uc9d1 \uc804\ub7b5<\/span><\/h3>\n<p><span style=\"font-weight: 400\">\uc2dc\uacc4\uc5f4 JSON \ubb38\uc11c\uc758 \uc99d\ubd84 \ub85c\ub529\uc5d0\ub294 \uba87 \uac00\uc9c0 \uc2dc\ub098\ub9ac\uc624\uac00 \uc788\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<ol>\n<li style=\"list-style-type: none\">\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\ub370\uc774\ud130 \ud3ec\uc778\ud2b8 \ubc94\uc704\ub97c \uc0c8 JSON \ubb38\uc11c\ub85c \ucd94\uac00\ud558\uae30 - \uc774 \uc2dc\ub098\ub9ac\uc624\uc5d0\uc11c\ub294 \uc704\uc758 SQL++ INSERT\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub370\uc774\ud130 \ud3ec\uc778\ud2b8 \ubc94\uc704\uac00 \uae30\uc874 \ubb38\uc11c\uc640 \uacb9\uce58\uc9c0 \uc54a\ub294\uc9c0 \ud655\uc778\ud558\uae30\ub9cc \ud558\uba74 \ub429\ub2c8\ub2e4.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\ub2e4\uc74c\uc5d0 \ub2e4\uc591\ud55c \ub370\uc774\ud130 \ud3ec\uc778\ud2b8 \ucd94\uac00 <\/span><b>\uae30\uc874 JSON \ubb38\uc11c<\/b><span style=\"font-weight: 400\"> - \uc5ec\uae30\uc5d0\ub294 \ub450 \uac00\uc9c0 \uc635\uc158\uc774 \uc788\uc2b5\ub2c8\ub2e4:<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\uc0bd\uc785\/\uc120\ud0dd\uc5d0\uc11c\uc640 \uac19\uc774 UPSERT\/SELECT\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc804\uccb4 \ubb38\uc11c\ub97c \uad50\uccb4\ud569\ub2c8\ub2e4.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\uc0c8 \ud56d\ubaa9 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8\ub9cc \ucd94\uac00\ud558\ub824\uba74 Couchbase SDK\ub97c \uc0ac\uc6a9\ud558\uc138\uc694.\u00a0<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<pre class=\"lang:js decode:true\">\/\/ \uce74\uc6b0\uce58\ubca0\uc774\uc2a4 \ud074\ub7ec\uc2a4\ud130\uc640 \ubc84\ud0b7 \uac1d\uccb4\ub97c \ucd08\uae30\ud654\ud569\ub2c8\ub2e4.\r\n\ud074\ub7ec\uc2a4\ud130 cluster = CouchbaseCluster.create(\"\");\r\n\ubc84\ud0b7 bucket = cluster.openBucket(\"\");\r\n\r\n\/\/ \uc5c5\ub370\uc774\ud2b8\ud560 \ubb38\uc11c ID\uc640 \ud558\uc704 \ubb38\uc11c \uacbd\ub85c\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4.\r\nString docId = \"\"; \/\/ \uc608: \"stock:XYZ:2015\"\r\nString path = \"a.ts_data[-1]\"; \/\/ -1\uc740 \ubc30\uc5f4\uc758 \ub9c8\uc9c0\ub9c9 \uc694\uc18c\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4.\r\n\r\n\/\/ \ucd94\uac00\ud560 \uc0c8 \ubc30\uc5f4 \uc694\uc18c\ub97c \ub098\ud0c0\ub0b4\ub294 JSON \uac1d\uccb4\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.\r\nJsonObject newElement = JsonObject.create()\r\n    .put(\"0\", \"2015-12-31\")\r\n    .put(\"1\", 300);\r\n\r\n\/\/ \ud558\uc704 \ubb38\uc11c API\ub97c \uc0ac\uc6a9\ud558\uc5ec \ubc30\uc5f4\uc744 \uc5c5\ub370\uc774\ud2b8\ud569\ub2c8\ub2e4.\r\nJsonDocument doc = bucket.get(docId);\r\nif (doc != null) {.\r\n    bucket.mutateIn(docId)\r\n        .arrayAppend(path, newElement)\r\n        .execute();\r\n}<\/pre>\n<h3><span style=\"font-weight: 400\">\uc2dc\uacc4\uc5f4 \ub370\uc774\ud130 \ucffc\ub9ac<\/span><\/h3>\n<p><span style=\"font-weight: 400\">\ub370\uc774\ud130\ub97c \ucffc\ub9ac\ud558\uae30 \uc804\uc5d0 \uc778\ub371\uc2a4\ub97c \ub9cc\ub4e4\uc5b4\uc57c \ud569\ub2c8\ub2e4. \ubb38\uc11c\uac00 \uba87 \uac1c \ubc16\uc5d0 \uc5c6\uc73c\ubbc0\ub85c \ubc18\ub4dc\uc2dc \ud544\uc694\ud55c \uac83\uc740 \uc544\ub2c8\uc9c0\ub9cc, \uac01 \ubb38\uc11c\uac00 \uc77c\uc77c \uc8fc\uac00\uc758 \uc804\uccb4 \uc5f0\ub3c4\ub85c \uad6c\uc131\ub418\uc5b4 \uc788\ub354\ub77c\ub3c4 \uc778\ub371\uc2a4\ub97c \ub9cc\ub4e4\uc5b4\uc57c \ud569\ub2c8\ub2e4.\u00a0<\/span><\/p>\n<pre class=\"lang:default decode:true\">CREATE INDEX ix1 ON c3(ticker, ts_end, ts_start);<\/pre>\n<p><span style=\"font-weight: 400\">\ub2e4\uc74c\uc73c\ub85c \ucffc\ub9ac\ub97c \uc2e4\ud589\ud560 \ub370\uc774\ud130 \ubc94\uc704\ub97c \uc815\uc758\ud569\ub2c8\ub2e4. \uc5ec\uae30\uc5d0\uc11c\ub294 2013-01-01\uacfc 2015-12-31\uc758 \uc2dc\uc791 \ubc0f \uc885\ub8cc \uc5d0\ud3ec\ud06c \uc2dc\uac04, \ub450 \uac1c\uc758 \uc694\uc18c\ub85c \uad6c\uc131\ub41c \ubc30\uc5f4\uc744 \uc815\uc758\ud569\ub2c8\ub2e4.<\/span><\/p>\n<pre class=\"lang:default decode:true\">\\\uc124\uc815 -$ts_\ubc94\uc704 [1682947800000,1685563200000];<\/pre>\n<h3><span style=\"font-weight: 400\">\uc2dc\uacc4\uc5f4 \ub370\uc774\ud130 \uc694\uc18c \ubcf4\uae30<\/span><\/h3>\n<p><span style=\"font-weight: 400\">\uc0ac\uc6a9 <em>_timeseries<\/em> \ud568\uc218\ub294 \uc704\uc5d0\uc11c \uc124\uba85\ud55c \ub300\ub85c \uc791\ub3d9\ud569\ub2c8\ub2e4:<\/span><\/p>\n<pre class=\"lang:default decode:true\">SELECT t.* FROM c3 AS d\r\n  UNNEST _timeseries(d, {\"ts_ranges\":$ts_ranges}) AS t\r\nWHERE d.ticker = 'XYZ' AND (d.ts_start = $ts_ranges[0]);<\/pre>\n<p><b>\uacb0\uacfc:<\/b><\/p>\n<pre class=\"lang:js decode:true\">[\r\n  { \"_t\": 1413331200000, \"_v0\": 42.59 },\r\n  { \"_t\": 1399507200000, \"_v0\": 36.525},\r\n  { \"_t\": 1392854400000, \"_v0\": 37.79 },\r\n  { \"_t\": 1395100800000, \"_v0\": 39.82 },\r\n  { \"_t\": 1410307200000, \"_v0\": 41.235}, ... ]<\/pre>\n<h3><span style=\"font-weight: 400\">SQL++ \ucc3d \ud568\uc218\ub85c \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130 \ubcf4\uae30<\/span><\/h3>\n<p><span style=\"font-weight: 400\">\uc774\uc81c \uc804\uccb4 \ub370\uc774\ud130 \uc9d1\ud569\uc5d0 \uc561\uc138\uc2a4\ud560 \uc218 \uc788\uac8c \ub418\uc5c8\uc73c\ubbc0\ub85c Couchbase SQL++ \uc708\ub3c4\uc6b0 \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec \uba87 \uac00\uc9c0 \uace0\uae09 \uc9d1\uacc4 \ud568\uc218\ub97c \uc2e4\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ucffc\ub9ac\ub294 \uc8fc\uc2dd\uc758 \uc77c\ud3c9\uade0\uacfc 7\uc77c \uc774\ub3d9 \ud3c9\uade0\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4.<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<pre class=\"lang:default decode:true\">SELECT MILLIS_TO_TZ(day*86400000,\"UTC\") AS day, dayavg , AVG(dayavg) OVER (ORDER BY day ROWS 7 PRECEDING) AS sevendaymovavg\r\nFROM ts.s1.c3 AS d\r\nUNNEST _timeseries(d, {\"ts_ranges\":$ts_ranges}) AS t\r\nWHERE d.ticker = 'XYZ'\r\n\u00a0\u00a0\u00a0\u00a0  <span style=\"font-weight: 400\">\u00a0\u00a0AND (d.ts_start &lt;= $ts_ranges[<\/span><span style=\"font-weight: 400\">1<\/span><span style=\"font-weight: 400\">] AND d.ts_end &gt;= $ts_ranges[<\/span><span style=\"font-weight: 400\">0<\/span><span style=\"font-weight: 400\">])<\/span>\r\nGROUP BY IDIV(t._t,86400000) AS day\r\nLETTING dayavg = AVG(t._v0);<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\uacb0\uacfc:<\/strong><\/p>\n<pre class=\"lang:js decode:true\">[\r\n  {\r\n    \"day\": \"2014-01-02T00:00:00Z\",\r\n    \"dayavg\": 39.12,\r\n    \"sevendaymovavg\": 39.12\r\n  },\r\n  {\r\n    \"day\": \"2014-01-03T00:00:00Z\",\r\n    \"dayavg\": 39.015,\r\n    \"sevendaymovavg\": 39.067499999999995\r\n  },\r\n  {\r\n    \"day\": \"2014-01-06T00:00:00Z\",\r\n    \"dayavg\": 38.715,\r\n    \"sevendaymovavg\": 38.949999999999996\r\n  },\r\n  {\r\n    \"day\": \"2014-01-07T00:00:00Z\",\r\n    \"dayavg\": 38.745,\r\n    \"sevendaymovavg\": 38.89875\r\n  },\r\n  {\r\n    \"day\": \"2014-01-08T00:00:00Z\",\r\n    \"dayavg\": 38.545,\r\n    \"sevendaymovavg\": 38.827999999999996\r\n  },\r\n  ..\r\n]<\/pre>\n<h3><span style=\"font-weight: 400\">\uc2dc\uacc4\uc5f4 \ub370\uc774\ud130\uc5d0 SQL++ \ucc28\ud2b8 \uc0ac\uc6a9<\/span><\/h3>\n<p><span style=\"font-weight: 400\">\uc774 \uc608\uc5d0\uc11c\ub294 \uce74\uc6b0\uce58\ubca0\uc774\uc2a4 \uc2dc\uacc4\uc5f4 \uae30\ub2a5\uacfc \ucc28\ud2b8 \uae30\ub2a5\uc744 \uc0ac\uc6a9\ud558\uc5ec \ube60\ub978(5\uc77c) \uc774\ub3d9 \ud3c9\uade0\uacfc \ub290\ub9b0(30\uc77c) \uc774\ub3d9 \ud3c9\uade0\uc744 \ucd94\uc801\ud558\uc5ec \uc778\uae30 \uc788\ub294 \ud2b8\ub808\uc774\ub529 \uc804\ub7b5\uc744 \ucd94\uc801\ud569\ub2c8\ub2e4.<\/span><\/p>\n<pre class=\"lang:default decode:true\">SELECT MILLIS_TO_TZ(day*86400000,\"UTC\") AS day, dayavg ,\r\nAVG(dayavg) OVER (ORDER BY day ROWS 5 PRECEDING) AS fma,\r\nAVG(dayavg) OVER (ORDER BY \uc77c ROWS 30 PRECEDING) AS sma\r\nFROM ts.s1.c3 AS d\r\nUNNEST _timeseries(d, {\"ts_ranges\":$ts_ranges}) AS t\r\nWHERE d.ticker = 'XYZ'\r\n<span style=\"font-weight: 400\">  AND (d.ts_start &lt;= $ts_ranges[<\/span><span style=\"font-weight: 400\">1<\/span><span style=\"font-weight: 400\">] AND d.ts_end &gt;= $ts_ranges[<\/span><span style=\"font-weight: 400\">0<\/span><span style=\"font-weight: 400\">])<\/span>\r\nGROUP BY IDIV(t._t,86400000) AS day\r\nLETTING dayavg = AVG(t._v0);<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-14655\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/06\/image2-2-1024x904.png\" alt=\"\" width=\"900\" height=\"795\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/06\/image2-2-1024x904.png 1024w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/06\/image2-2-300x265.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/06\/image2-2-768x678.png 768w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/06\/image2-2-1536x1355.png 1536w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/06\/image2-2-1320x1165.png 1320w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/06\/image2-2.png 1854w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p><span style=\"font-weight: 400\">\uc774 \uc804\ub7b5\uc758 \uae30\ubcf8 \uac1c\ub150\uc740 \ub2e8\uae30 \ucd94\uc138(FMA)\uac00 \uc7a5\uae30 \ucd94\uc138(SMA)\uc758 \uc704 \ub610\ub294 \uc544\ub798\ub97c \uad50\ucc28\ud558\ub294 \uc2dc\uc810\uc744 \ud30c\uc545\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. FMA\uac00 SMA\ub97c \ub118\uc73c\uba74 \ub9e4\uc218 \uc2e0\ud638\ub85c \uac04\uc8fc\ud558\uace0, \ubc18\ub300\ub85c FMA\uac00 SMA\ub97c \ubc11\ub3cc\uba74 \ub9e4\ub3c4 \uc2e0\ud638\ub85c \uac04\uc8fc\ud569\ub2c8\ub2e4.<\/span><\/p>\n<h3><span style=\"font-weight: 400\">\uc2dc\uacc4\uc5f4 \ub370\uc774\ud130\uc5d0 SQL++ \uc77c\ubc18 \ud14c\uc774\ube14 \ud45c\ud604\uc2dd \uc0ac\uc6a9<\/span><\/h3>\n<p><span style=\"font-weight: 400\">\uc774 \ubd84\uc11d\uc740 \uc0c1\ub300 \uac15\ub3c4 \uc9c0\uc218, \uc989 \uc8fc\uac00 \uc6c0\uc9c1\uc784\uc758 \uc18d\ub3c4\uc640 \ubcc0\ud654\ub97c \uacc4\uc0b0\ud558\uc5ec \uc8fc\uc2dd\uc774 \uacfc\ub9e4\uc218 \ub610\ub294 \ub9e4\ub3c4\ub41c \uc2dc\uc810\uc744 \uc2dd\ubcc4\ud569\ub2c8\ub2e4. RSI \uac12\uc774 70\uc744 \ucd08\uacfc\ud558\uba74 \uc8fc\uc2dd\uc774 \uacfc\ub9e4\uc218\ub418\uc5b4 \uc870\uc815\uc774 \ud544\uc694\ud558\ub2e4\ub294 \uc758\ubbf8\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ubc18\ub300\ub85c RSI\uac00 30 \ubbf8\ub9cc\uc774\uba74 \uc8fc\uc2dd\uc774 \uacfc\ub9e4\ub3c4 \uc0c1\ud0dc\uc774\uba70 \ubc18\ub4f1\ud560 \ub54c\uc784\uc744 \ub098\ud0c0\ub0bc \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<pre class=\"lang:default decode:true\">WITH price_change AS (\r\nSELECT t._t AS date,\r\n        t._v0 AS price,\r\n        LAG(t._v0, 1) OVER (ORDER BY t._t) AS prev_price,\r\n        ROW_NUMBER() OVER (ORDER BY t._t) AS rn\r\nFROM ts.s1.c3 AS d\r\nUNNEST _timeseries(d, {\"ts_ranges\":$ts_ranges}) AS t\r\nWHERE d.ticker = 'XYZ'\r\n  AND ( $ts_ranges[0] BETWEEN d.ts_start AND d.ts_end\r\n      OR ($ts_ranges[0] AND $ts_ranges[1] AND $ts_ranges[0] AND $ts_ranges[1] AND d.ts_end BETWEEN d.ts_start BETWEEN d.ts_end )\r\n      OR $ts_ranges[1] BETWEEN d.ts_start AND d.ts_end\r\n      )\r\n),\r\ngain_loss AS (\r\n  SELECT pc.date, pc.price, pc.prev_price,\r\n        CASE WHEN pc.price &gt; pc.prev_price THEN pc.price - pc.prev_price ELSE 0 END AS gain,\r\n        CASE WHEN pc.price = 14\r\n),\r\nbuy_sell_signals AS (\r\n  SELECT rsi.date, rsi.rsi_val,\r\n        CASE WHEN rsi.rsi_val  70 THEN 'sell'\r\n        END AS \uc2e0\ud638\r\n  FROM rsi\r\n)\r\nSELECT * FROM buy_sell_signals bss WHERE bss.signal IS NOT NULL;<\/pre>\n<p><span style=\"font-weight: 400\"><strong>\uacb0\uacfc:<\/strong><\/span><\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<pre class=\"lang:default decode:true\">\uc77c\uc2dc_val \uc2e0\ud638\r\n\"2014-01-22T00:00:00Z\" 11.147540983606476 \"buy\"\r\n\"2014-01-23T00:00:00Z\" 9.898107714701524 \"buy\"\r\n\"2014-01-24T00:00:00Z\" 8.785529715762195 \"buy\"\r\n\"2014-01-27T00:00:00Z\" 12.584573748308443 \"buy\"\r\n\"2014-01-28T00:00:00Z\" 20.638820638820576 \"buy\"\r\n\"2014-01-29T00:00:00Z\" 19.354838709677352 \"buy\"\r\n\"2014-02-24T00:00:00Z\" 90.84507042253534 \"sell\"\r\n\"2014-02-25T00:00:00Z\" 95.1306413301663 \"sell\"\r\n\"2014-02-26T00:00:00Z\" 95.25462962962968 \"sell\"\r\n\"2014-02-27T00:00:00Z\" 90.03690036900366 \"sell\"\r\n\"2014-02-28T00:00:00Z\" 88.79668049792528 \"sell\"\r\n\"2014-03-03T00:00:00Z\" 79.06403940886698 \"sell\"\r\n\"2014-03-04T00:00:00Z\" 78.8557213930348 \"sell\"\r\n\"2014-03-07T00:00:00Z\" 71.54072620215895 \"sell\"\r\n\"2014-03-26T00:00:00Z\" 26.635514018691566 \"buy\"\r\n\"2014-03-27T00:00:00Z\" 17.887029288702877 \"buy\"\r\n\"2014-03-28T00:00:00Z\" 20.75268817204305 \"buy\"\r\n\"2014-03-31T00:00:00Z\" 23.83474576271186 \"buy\"\r\n\"2014-04-01T00:00:00Z\" 26.632653061224502 \"buy\"\r\n\"2014-04-02T00:00:00Z\" 29.02208201892749 \"buy\"\r\n\"2014-04-03T00:00:00Z\" 28.020304568527948 \"buy\"\r\n\"2014-04-04T00:00:00Z\" 20.309477756286242 \"buy\"\r\n\"2014-04-07T00:00:00Z\" 12.318220701454209 \"buy\"\r\n\"2014-04-08T00:00:00Z\" 26.561324303987945 \"buy\"\r\n\"2014-04-09T00:00:00Z\" 29.326574945691576 \"buy\"<\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><span style=\"font-weight: 400\">\uc8fc\uc694 \ub0b4\uc6a9<\/span><\/h2>\n<p><b>\ub370\uc774\ud130 \uc2a4\ud1a0\ub9ac\uc9c0 <\/b><span style=\"font-weight: 400\">- \uce74\uc6b0\uce58\ubca0\uc774\uc2a4 \uc2dc\uacc4\uc5f4\uc758 \uc804\uccb4 \ub370\uc774\ud130 \uc800\uc7a5\ub7c9\uc740 \ubc30\uc5f4\uc5d0 \ud328\ud0b9\ud560 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8\uc758 \uc218\uc5d0 \ub530\ub77c \ub2ec\ub77c\uc9d1\ub2c8\ub2e4. \uc2dc\uac04, \uc77c, \uc6d4 \ub2e8\uc704\ub85c \ubd84\uc11d\ud558\ub294 \uacbd\uc6b0 \uae30\uac04\uc5d0 \ub530\ub77c \ub370\uc774\ud130 \uc694\uc18c\ub97c \ud328\ud0b9\ud569\ub2c8\ub2e4. \uc2dc\uacc4\uc5f4\uc758 \uc2dc\uac04 \uc694\uc18c\ub97c \ub3c4\ucd9c\ud560 \uc218 \uc788\ub294 \uc77c\ubc18 \uc2dc\uacc4\uc5f4\uc744 \uc0ac\uc6a9\ud558\ub294 \uacbd\uc6b0, \ub530\ub77c\uc11c \uc5d0\ud3ec\ud06c \uc2dc\uac04 \uc694\uc18c\ub97c \uc800\uc7a5\ud560 \ud544\uc694\uac00 \uc5c6\ub294 \uacbd\uc6b0\uc5d0\ub3c4 \uc800\uc7a5 \uacf5\uac04\uc744 \ub354 \uc904\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p><b>TTL\uc744 \uc0ac\uc6a9\ud55c \ub370\uc774\ud130 \uc694\uc18c \ubc0f \ub370\uc774\ud130 \ubcf4\uc874<\/b><span style=\"font-weight: 400\"> - Couchbase\uc5d0\uc11c JSON \ubb38\uc11c\uc758 \ucd5c\ub300 \ud06c\uae30\ub294 20MB\uc785\ub2c8\ub2e4. \uc774\ub294 \ub9ce\uc740 \uc218\uc758 \ub370\uc774\ud130 \uc694\uc18c\ub97c \uc2dc\uacc4\uc5f4 \ubc30\uc5f4\uc5d0 \ub2f4\uc744 \uc218 \uc788\uc74c\uc744 \uc758\ubbf8\ud560 \uc218 \uc788\uc9c0\ub9cc, Time To Live \uc124\uc815\uc740 \ubc30\uc5f4 \uc694\uc18c \uc218\uc900\uc774 \uc544\ub2c8\ub77c \ubb38\uc11c \uc218\uc900\uc774\ub77c\ub294 \uc810\uc5d0 \uc720\uc758\ud574\uc57c \ud569\ub2c8\ub2e4.\u00a0<\/span><\/p>\n<p><b>\ub370\uc774\ud130 \uc218\uc9d1 <\/b><span style=\"font-weight: 400\">- \ub370\uc774\ud130 \uc218\uc9d1 \uc804\ub7b5\uc740 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc774 \ub2f4\ub2f9\ud569\ub2c8\ub2e4.  \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130 \uc694\uc18c\ub97c \ubc30\uc5f4\uc5d0 \ud328\ud0b9\ud558\ub294 \ubc29\ubc95\uacfc \ubc30\uc5f4 \ud06c\uae30\uc785\ub2c8\ub2e4. \uc989, \uae30\uc874 \ubb38\uc11c\uc5d0 \ucd94\uac00\ud560\uc9c0 \uc544\ub2c8\uba74 \uc0c8 \ubb38\uc11c\ub97c \uc2dc\uc791\ud560\uc9c0 \uacb0\uc815\ud574\uc57c \ud569\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400\">\uc790\uc138\ud55c \ub0b4\uc6a9\uc740 <\/span><a href=\"https:\/\/docs.couchbase.com\/server\/current\/n1ql\/n1ql-language-reference\/time-series.html\"><span style=\"font-weight: 400\">\uce74\uc6b0\uce58\ubca0\uc774\uc2a4 \uc2dc\uacc4\uc5f4 \ubb38\uc11c<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/p>","protected":false},"excerpt":{"rendered":"<p>Couchbase is excited to announce the release of a new time-series feature as part of Couchbase 7.2. This feature is built on top of the robust Couchbase distributed database architecture, which is designed to scale horizontally as your data grows, [&hellip;]<\/p>","protected":false},"author":26326,"featured_media":14656,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1816,1819],"tags":[1834,9602,9827],"ppma_author":[8919],"class_list":["post-14594","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-couchbase-server","category-data-modeling","tag-charts","tag-storage","tag-time-series"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.7.1 (Yoast SEO v25.7) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Couchbase Time Series: Key Benefits + Use Case Examples<\/title>\n<meta name=\"description\" content=\"As your business grows and your time series data needs increase, Couchbase can effortlessly expand to meet those needs, making it an ideal solution.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/blog\/ko\/introducing-couchbase-time-series\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Introducing Couchbase Time Series\" \/>\n<meta property=\"og:description\" content=\"As your business grows and your time series data needs increase, Couchbase can effortlessly expand to meet those needs, making it an ideal solution.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/ko\/introducing-couchbase-time-series\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-26T19:16:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-07T19:56:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/06\/image1-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"907\" \/>\n\t<meta property=\"og:image:height\" content=\"428\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Binh Le\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Binh Le\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/\"},\"author\":{\"name\":\"Binh Le\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/f89064928e262c71eb43bee996c48c63\"},\"headline\":\"Introducing Couchbase Time Series\",\"datePublished\":\"2023-07-26T19:16:39+00:00\",\"dateModified\":\"2024-02-07T19:56:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/\"},\"wordCount\":1735,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/06\/image1-2.png\",\"keywords\":[\"charts\",\"storage\",\"time series\"],\"articleSection\":[\"Couchbase Server\",\"Data Modeling\"],\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/\",\"name\":\"Couchbase Time Series: Key Benefits + Use Case Examples\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/06\/image1-2.png\",\"datePublished\":\"2023-07-26T19:16:39+00:00\",\"dateModified\":\"2024-02-07T19:56:01+00:00\",\"description\":\"As your business grows and your time series data needs increase, Couchbase can effortlessly expand to meet those needs, making it an ideal solution.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/06\/image1-2.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/06\/image1-2.png\",\"width\":907,\"height\":428,\"caption\":\"Couchbase time series chart\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Introducing Couchbase Time Series\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/f89064928e262c71eb43bee996c48c63\",\"name\":\"Binh Le\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/5b68c37e30928a9d7b2c8470b1a303b7\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a939f48df6447844a8780bec264bb3be21d589336f3915fabc557075a68fa374?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a939f48df6447844a8780bec264bb3be21d589336f3915fabc557075a68fa374?s=96&d=mm&r=g\",\"caption\":\"Binh Le\"},\"description\":\"Binh Le is a Principal Product Manager for Couchbase Query service. Prior to Couchbase, he worked at Oracle and led the product management team for Sales Cloud Analytics and CRM OnDemand. Binh holds a Bachelor's Degree in Computer Science from the University of Brighton, UK.\",\"url\":\"https:\/\/www.couchbase.com\/blog\/ko\/author\/binh-le-2\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Couchbase Time Series: Key Benefits + Use Case Examples","description":"As your business grows and your time series data needs increase, Couchbase can effortlessly expand to meet those needs, making it an ideal solution.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/blog\/ko\/introducing-couchbase-time-series\/","og_locale":"ko_KR","og_type":"article","og_title":"Introducing Couchbase Time Series","og_description":"As your business grows and your time series data needs increase, Couchbase can effortlessly expand to meet those needs, making it an ideal solution.","og_url":"https:\/\/www.couchbase.com\/blog\/ko\/introducing-couchbase-time-series\/","og_site_name":"The Couchbase Blog","article_published_time":"2023-07-26T19:16:39+00:00","article_modified_time":"2024-02-07T19:56:01+00:00","og_image":[{"width":907,"height":428,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/06\/image1-2.png","type":"image\/png"}],"author":"Binh Le","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Binh Le","Est. reading time":"8\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/"},"author":{"name":"Binh Le","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/f89064928e262c71eb43bee996c48c63"},"headline":"Introducing Couchbase Time Series","datePublished":"2023-07-26T19:16:39+00:00","dateModified":"2024-02-07T19:56:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/"},"wordCount":1735,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/06\/image1-2.png","keywords":["charts","storage","time series"],"articleSection":["Couchbase Server","Data Modeling"],"inLanguage":"ko-KR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/","url":"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/","name":"Couchbase Time Series: Key Benefits + Use Case Examples","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/06\/image1-2.png","datePublished":"2023-07-26T19:16:39+00:00","dateModified":"2024-02-07T19:56:01+00:00","description":"As your business grows and your time series data needs increase, Couchbase can effortlessly expand to meet those needs, making it an ideal solution.","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/"]}]},{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/06\/image1-2.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2023\/06\/image1-2.png","width":907,"height":428,"caption":"Couchbase time series chart"},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/introducing-couchbase-time-series\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Introducing Couchbase Time Series"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"\uce74\uc6b0\uce58\ubca0\uc774\uc2a4 \ube14\ub85c\uadf8","description":"NoSQL \ub370\uc774\ud130\ubca0\uc774\uc2a4, Couchbase","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"\uce74\uc6b0\uce58\ubca0\uc774\uc2a4 \ube14\ub85c\uadf8","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/f89064928e262c71eb43bee996c48c63","name":"Binh Le","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/5b68c37e30928a9d7b2c8470b1a303b7","url":"https:\/\/secure.gravatar.com\/avatar\/a939f48df6447844a8780bec264bb3be21d589336f3915fabc557075a68fa374?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a939f48df6447844a8780bec264bb3be21d589336f3915fabc557075a68fa374?s=96&d=mm&r=g","caption":"Binh Le"},"description":"Binh Le is a Principal Product Manager for Couchbase Query service. Prior to Couchbase, he worked at Oracle and led the product management team for Sales Cloud Analytics and CRM OnDemand. Binh holds a Bachelor's Degree in Computer Science from the University of Brighton, UK.","url":"https:\/\/www.couchbase.com\/blog\/ko\/author\/binh-le-2\/"}]}},"authors":[{"term_id":8919,"user_id":26326,"is_guest":0,"slug":"binh-le-2","display_name":"Binh Le","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/a939f48df6447844a8780bec264bb3be21d589336f3915fabc557075a68fa374?s=96&d=mm&r=g","first_name":"Binh","last_name":"Le","user_url":"","author_category":"","description":"Binh Le\ub294 Couchbase \ucffc\ub9ac \uc11c\ube44\uc2a4\uc758 \uc218\uc11d \uc81c\ud488 \uad00\ub9ac\uc790\uc785\ub2c8\ub2e4. Couchbase\uc5d0 \uc785\uc0ac\ud558\uae30 \uc804\uc5d0\ub294 Oracle\uc5d0\uc11c \uadfc\ubb34\ud558\uba70 Sales Cloud Analytics \ubc0f CRM OnDemand\uc758 \uc81c\ud488 \uad00\ub9ac \ud300\uc744 \uc774\ub04c\uc5c8\uc2b5\ub2c8\ub2e4. \uc601\uad6d \ube0c\ub77c\uc774\ud2bc \ub300\ud559\uad50\uc5d0\uc11c \ucef4\ud4e8\ud130 \uacf5\ud559 \ud559\uc0ac \ud559\uc704\ub97c \ubc1b\uc558\uc2b5\ub2c8\ub2e4."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/posts\/14594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/users\/26326"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/comments?post=14594"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/posts\/14594\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/media\/14656"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/media?parent=14594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/categories?post=14594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/tags?post=14594"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/ppma_author?post=14594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}