<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mongodb on iniy.org</title><link>https://iniy.org/tags/mongodb/</link><description>Recent content in Mongodb on iniy.org</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 12 Apr 2024 10:58:51 +0000</lastBuildDate><atom:link href="https://iniy.org/tags/mongodb/index.xml" rel="self" type="application/rss+xml"/><item><title>Importing tpc-h testdata into mongodb</title><link>https://iniy.org/2013/06/importing-tpc-h-testdata-into-mongodb/</link><pubDate>Fri, 28 Jun 2013 14:52:45 +0000</pubDate><guid>https://iniy.org/2013/06/importing-tpc-h-testdata-into-mongodb/</guid><description>&lt;p&gt;As written in a former post, tpc-h offers an easy possiblity to generate various amounts of testdata. Download dbgen from this website and compile it: &lt;a href="http://www.tpc.org/tpch/" rel="noopener"&gt;http://www.tpc.org/tpch/&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;now run&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;./dbgen -v -s 0.1&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;this should leave you with some *.tbl files (PIPE separated csvfiles). Now you can use my scripts to convert them into json an import them into mongodb.&lt;br&gt;&#10;i packed already some generated files into the archive and added the header, so you don&amp;rsquo;t have to generate the tbl-files by yourself. You only have to adjust the load_into_mongodb.sh script so it loads into the correct database (if test is not ok for you).&lt;/p&gt;</description></item><item><title>Importing large csv-files into mongodb</title><link>https://iniy.org/2013/06/importing-large-csv-files-into-mongodb/</link><pubDate>Fri, 21 Jun 2013 10:47:04 +0000</pubDate><guid>https://iniy.org/2013/06/importing-large-csv-files-into-mongodb/</guid><description>&lt;p&gt;I wanted to import some dummy data into Mongo-DB to test the aggregation functions. I thought a nice source would be the tpc-h testdata which can generate arbitrary volumes of data from 1 GB to 100 GB. You can download the data generation kit from the website : &lt;a href="http://www.tpc.org/tpch/" target="_blank"&gt;&lt;a href="http://www.tpc.org/tpch/" rel="noopener"&gt;http://www.tpc.org/tpch/&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>