blob: 01bb3842e2f7f48185d0f3e3ca08db658772cb74 [file] [log] [blame]
import{_ as n,r as s,o as r,c as d,b as t,d as e,a,w as i}from"./app-Bx8hKGcu.js";const l={},c=t("h1",{id:"batch-data-load",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#batch-data-load"},[t("span",null,"Batch Data Load")])],-1),h=t("p",null,"In different scenarios, the IoTDB provides a variety of methods for importing data in batches. This section describes the two most common methods for importing data in CSV format and TsFile format.",-1),m=t("h2",{id:"tsfile-batch-load",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#tsfile-batch-load"},[t("span",null,"TsFile Batch Load")])],-1),p=t("h2",{id:"csv-batch-load",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#csv-batch-load"},[t("span",null,"CSV Batch Load")])],-1);function f(u,T){const o=s("RouteLink");return r(),d("div",null,[c,h,m,t("p",null,[e("TsFile is the file format of time series used in IoTDB. You can directly import one or more TsFile files with time series into another running IoTDB instance through tools such as CLI. For details, see "),a(o,{to:"/UserGuide/V1.1.x/Maintenance-Tools/Load-Tsfile.html"},{default:i(()=>[e("TsFile Load Tool")]),_:1}),e(),a(o,{to:"/UserGuide/V1.1.x/Maintenance-Tools/TsFile-Load-Export-Tool.html"},{default:i(()=>[e("TsFile Export Tools")]),_:1}),e(".")]),p,t("p",null,[e("CSV stores table data in plain text. You can write multiple formatted data into a CSV file and import the data into the IoTDB in batches. Before importing data, you are advised to create the corresponding metadata in the IoTDB. Don't worry if you forget to create one, the IoTDB can automatically infer the data in the CSV to its corresponding data type, as long as you have a unique data type for each column. In addition to a single file, the tool supports importing multiple CSV files as folders and setting optimization parameters such as time precision. For details, see "),a(o,{to:"/UserGuide/V1.1.x/Maintenance-Tools/CSV-Tool.html"},{default:i(()=>[e("CSV Load Export Tools")]),_:1}),e(".")])])}const B=n(l,[["render",f],["__file","Batch-Load-Tool.html.vue"]]),_=JSON.parse('{"path":"/UserGuide/V1.1.x/Write-Data/Batch-Load-Tool.html","title":"Batch Data Load","lang":"en-US","frontmatter":{"description":"Batch Data Load In different scenarios, the IoTDB provides a variety of methods for importing data in batches. This section describes the two most common methods for importing d...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://iotdb.apache.org/zh/UserGuide/V1.1.x/Write-Data/Batch-Load-Tool.html"}],["meta",{"property":"og:url","content":"https://iotdb.apache.org/UserGuide/V1.1.x/Write-Data/Batch-Load-Tool.html"}],["meta",{"property":"og:site_name","content":"IoTDB Website"}],["meta",{"property":"og:title","content":"Batch Data Load"}],["meta",{"property":"og:description","content":"Batch Data Load In different scenarios, the IoTDB provides a variety of methods for importing data in batches. This section describes the two most common methods for importing d..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-07-10T03:11:17.000Z"}],["meta",{"property":"article:modified_time","content":"2023-07-10T03:11:17.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Batch Data Load\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-07-10T03:11:17.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":2,"title":"TsFile Batch Load","slug":"tsfile-batch-load","link":"#tsfile-batch-load","children":[]},{"level":2,"title":"CSV Batch Load","slug":"csv-batch-load","link":"#csv-batch-load","children":[]}],"git":{"createdTime":1688958677000,"updatedTime":1688958677000,"contributors":[{"name":"CritasWang","email":"critas@outlook.com","commits":1}]},"readingTime":{"minutes":1.05,"words":316},"filePathRelative":"UserGuide/V1.1.x/Write-Data/Batch-Load-Tool.md","localizedDate":"July 10, 2023","autoDesc":true}');export{B as comp,_ as data};