开发者

Import data .csv into couchdb [duplicate]

开发者 https://www.devze.com 2023-02-19 05:50 出处:网络
This question already has answers here: Closed 11 years ago. 开发者_JS百科 Possible Duplicate: How to import CSV/TSV data to Couch DB?
This question already has answers here: Closed 11 years ago. 开发者_JS百科

Possible Duplicate:

How to import CSV/TSV data to Couch DB?

I have a question about how can I put into couchdb database a .csv data file. Because I'm trying test the tpch test on nosql database.

My target is to try to execute the tpc-h test (if it possibile and in the limit of possibility) because I should compare the sql like schema versus Nosql; I understand that the comparison is not exact but I would know and demostrate(in my thesis) when is better nosql schema and why there are an interests from this type of database.

For create this comparison I need to find a way, after create a couchdb document, for load a big data files saved into csv data file. Someone can help me?

To be more precise (hopefully) I summarize the steps:

  • create a couchddb database as like a document
  • import .csv data file into a document (cosi da popolare il database) is possible? How?
  • try model and to execute the tpc-h queries


CouchDB only stores JSON documents. So you need to convert CSV to individual JSON documents and then POST then post normaly.

I find something can be usefull : import data to couchdb

0

精彩评论

暂无评论...
验证码 换一张
取 消