<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Databases on iniy.org</title><link>https://iniy.org/categories/databases/</link><description>Recent content in Databases on iniy.org</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 12 Apr 2024 11:00:00 +0000</lastBuildDate><atom:link href="https://iniy.org/categories/databases/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><item><title>Oracle exp export with full tns-string</title><link>https://iniy.org/2012/05/oracle-exp-export-with-full-tns-string/</link><pubDate>Thu, 24 May 2012 08:55:07 +0000</pubDate><guid>https://iniy.org/2012/05/oracle-exp-export-with-full-tns-string/</guid><description>&lt;p&gt;Handling the oracle tns-names file can be a pain in the ass, especially if you don&amp;rsquo;t want to rely on it. For example you want a user to enter dynamically a connection with typical &amp;ldquo;host, port, sid, username, password&amp;rdquo; configuration. In oracle you can also use the full tns-string to connect to a database. I struggled some time finding the correct escape and quotation configuration, but finally this worked:&lt;/p&gt;</description></item><item><title>oracle day 2: datafile is missing</title><link>https://iniy.org/2010/06/oracle-day-2-datafile-is-missing/</link><pubDate>Tue, 22 Jun 2010 21:30:23 +0000</pubDate><guid>https://iniy.org/2010/06/oracle-day-2-datafile-is-missing/</guid><description>&lt;p&gt;playing around with oracle the other day I added a new tablespace and thought it would be smart to put the corresponding datafile on my tmp-directory. At first everything worked fine, now some days later I wanted to check out the java jdbc connector for oracle, but the database didn&amp;rsquo;t start up. So first lesson I learned, thats where oracle errorlog-files are located:&lt;/p&gt;</description></item><item><title>oracle day 1: first steps with oracle</title><link>https://iniy.org/2010/06/oracle-day-1-first-steps-with-oracle/</link><pubDate>Tue, 22 Jun 2010 21:27:48 +0000</pubDate><guid>https://iniy.org/2010/06/oracle-day-1-first-steps-with-oracle/</guid><description>&lt;p&gt;recently I am familiarizing myself with the Oracle Database and I want to share my first impressions with you.&lt;/p&gt;&#10;&lt;p&gt;A good start seemed to me the free oracle-xe version. I started the install with this tutorial and everything worked quite straight-forward.&lt;/p&gt;</description></item><item><title>Find slow-queries in MySQL</title><link>https://iniy.org/2009/10/find-slow-queries-in-mysql/</link><pubDate>Wed, 14 Oct 2009 21:26:31 +0000</pubDate><guid>https://iniy.org/2009/10/find-slow-queries-in-mysql/</guid><description>&lt;p&gt;Often when a web-application seems slow it&amp;rsquo;s not (or not only) the parse time, but also or mayorly database speed. Most scripting-languages don&amp;rsquo;t act &amp;ldquo;intelligent&amp;rdquo; in parsing as it would be best for user experience, but go through the code line by line (whom would expect it otherwise?). So if you have a website containing some slow MySQL-Queries it seems as if all the page just takes a eternity to load. One step would be to put all the page loading into some seperate code-piece and load it later with ajax-technology. This gives a great boost in user-experienced speed, because the most parts of the website load and are already usable before the database content pops in. But otherwise often not the database is the problem, but bad written querys. But how to find them? Luckily mysql already provides us with a feature called slow-query-log which can be activated easily through my.cnf. So just look for this:&lt;/p&gt;</description></item></channel></rss>