<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SimonOnSoftware &#187; database</title>
	<atom:link href="http://simononsoftware.com/tag/database/feed/" rel="self" type="application/rss+xml" />
	<link>http://simononsoftware.com</link>
	<description>programming, databases and other IT something</description>
	<lastBuildDate>Thu, 29 Jul 2010 18:48:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PostgreSQL Wishlist</title>
		<link>http://simononsoftware.com/postgresql-wishlist/</link>
		<comments>http://simononsoftware.com/postgresql-wishlist/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 19:07:05 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[database]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://simononsoftware.com/?p=913</guid>
		<description><![CDATA[
PostgreSQL is a great database, in my opinion much better than Oracle, or the so widely used MySQL. The version 9.0 is going to be out soon. There is the quite huge list of ideas for the future improvements (hopefully in the next 9.1 version).
Depesz wrote his own list of things that he wants to see [...]


<strong>Related posts:</strong><ol><li><a href='http://simononsoftware.com/why-use-orms/' rel='bookmark' title='Permanent Link: Why Use ORMs?'>Why Use ORMs?</a> <small>Why Use ORMs? ORM aka Object Relational Mapping is a...</small></li>
<li><a href='http://simononsoftware.com/postgresql-collation/' rel='bookmark' title='Permanent Link: PostgreSQL Collation &#8211; part 1'>PostgreSQL Collation &#8211; part 1</a> <small>PostgreSQL is (IMHO) much better than MySQL but unfortunately it ...</small></li>
<li><a href='http://simononsoftware.com/postgresql-collation-8-4/' rel='bookmark' title='Permanent Link: PostgreSQL Collation &#8211; 8.4'>PostgreSQL Collation &#8211; 8.4</a> <small>In the last PostgreSQL version (8.4) there is a small...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://simononsoftware.com/postgresql-wishlist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL SQL Mode Fun</title>
		<link>http://simononsoftware.com/mysql-sql-mode-fun/</link>
		<comments>http://simononsoftware.com/mysql-sql-mode-fun/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 19:56:08 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[database]]></category>
		<category><![CDATA[wtf]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://simononsoftware.com/?p=889</guid>
		<description><![CDATA[While looking for some information on the web, I found quite nice piece of SQL, something like:
SET sql_mode=&#8217;STRICT_ALL_TABLES&#8217;; &#8212; Session scope for the purpose of this article
This sql_mode looked quite interesting, I&#8217;ve checked that in the MySQL documentation and well&#8230; it is a little bit terrifying.

The GIGO
Unfortunately too less programmers think about data that is stored [...]


<strong>Related posts:</strong><ol><li><a href='http://simononsoftware.com/another-misleading-postgresql-vs-mysql-review/' rel='bookmark' title='Permanent Link: Another misleading &#8220;PostgreSQL vs MySQL review&#8221;!!!'>Another misleading &#8220;PostgreSQL vs MySQL review&#8221;!!!</a> <small>Yea&#8230; I wanted to write something as soon as I...</small></li>
<li><a href='http://simononsoftware.com/what-mysql-execution-plan-depends-on/' rel='bookmark' title='Permanent Link: What MySQL Execution Plan Depends On'>What MySQL Execution Plan Depends On</a> <small>Well, the execution plan is the way that a database...</small></li>
<li><a href='http://simononsoftware.com/mysql-execution-plan-depends-part-2/' rel='bookmark' title='Permanent Link: What MySQL Execution Plan Depends On &#8211; part 2'>What MySQL Execution Plan Depends On &#8211; part 2</a> <small>Another link about the way that MySQL prepares the execution...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://simononsoftware.com/mysql-sql-mode-fun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQLAlchemy Defines New SQL Standard</title>
		<link>http://simononsoftware.com/sqlalchemy-defines-new-sql-standard/</link>
		<comments>http://simononsoftware.com/sqlalchemy-defines-new-sql-standard/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 20:18:50 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[database]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[wtf]]></category>
		<category><![CDATA[crap]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[orm]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sqlalchemy]]></category>

		<guid isPermaLink="false">http://www.simononsoftware.com/?p=755</guid>
		<description><![CDATA[Dreaming About SQL
Well, I thought that I know the SQL standard a little bit. I also know that there is Limit/Offset Hell in the RDBMS world as each engine implements its own version of limiting records (yea, some brave programmers even implement their own version &#8211; getting all records from table and sort them in [...]


<strong>Related posts:</strong><ol><li><a href='http://simononsoftware.com/the-worst-database-design/' rel='bookmark' title='Permanent Link: The Worst Database Design'>The Worst Database Design</a> <small>Let&#8217;s create tables&#8230; like this: CREATE TABLE A ( ID...</small></li>
<li><a href='http://simononsoftware.com/mysql-sql-mode-fun/' rel='bookmark' title='Permanent Link: MySQL SQL Mode Fun'>MySQL SQL Mode Fun</a> <small>While looking for some information on the web, I found...</small></li>
<li><a href='http://simononsoftware.com/why-use-orms/' rel='bookmark' title='Permanent Link: Why Use ORMs?'>Why Use ORMs?</a> <small>Why Use ORMs? ORM aka Object Relational Mapping is a...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://simononsoftware.com/sqlalchemy-defines-new-sql-standard/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Testing Database &#8211; Small Reply</title>
		<link>http://simononsoftware.com/testing-database-small-reply/</link>
		<comments>http://simononsoftware.com/testing-database-small-reply/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 12:21:51 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[database]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[tdd]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[tests]]></category>

		<guid isPermaLink="false">http://www.simononsoftware.com/?p=722</guid>
		<description><![CDATA[On Ovid&#8217;s blog I found lately this entry.
First of all: this is a quite nice writing of something called &#8220;modern perl&#8221;. Everybody who shouts that perl is a piece of shit should read it. YES, you can write nice looking code in perl. Code that is maintainable and is easy to read. And is objective [...]


<strong>Related posts:</strong><ol><li><a href='http://simononsoftware.com/how-to-allow-for-max-4-rows-in-update-postgresql/' rel='bookmark' title='Permanent Link: How to Allow For Max 4 Rows in Update (PostgreSQL)'>How to Allow For Max 4 Rows in Update (PostgreSQL)</a> <small>The Problem Question found on the net: how to restrict...</small></li>
<li><a href='http://simononsoftware.com/trying-to-use-database-in-python/' rel='bookmark' title='Permanent Link: Trying to Use Database in Python'>Trying to Use Database in Python</a> <small>Why the f**** there is nothing like DBI in Python?...</small></li>
<li><a href='http://simononsoftware.com/why-use-orms/' rel='bookmark' title='Permanent Link: Why Use ORMs?'>Why Use ORMs?</a> <small>Why Use ORMs? ORM aka Object Relational Mapping is a...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://simononsoftware.com/testing-database-small-reply/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Allow For Max 4 Rows in Update (PostgreSQL)</title>
		<link>http://simononsoftware.com/how-to-allow-for-max-4-rows-in-update-postgresql/</link>
		<comments>http://simononsoftware.com/how-to-allow-for-max-4-rows-in-update-postgresql/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 21:52:44 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[database]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[pl/pgsql]]></category>
		<category><![CDATA[plsql]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[trigger]]></category>

		<guid isPermaLink="false">http://www.simononsoftware.com/?p=733</guid>
		<description><![CDATA[The Problem
Question found on the net: how to restrict users to update only max 4 rows of a table in a transaction.
This looks like a solution to some artificial problem that doesn&#8217;t exist, but nevermind, any task should be solved.
The Solution
Solution is simple, there is a trigger on the table. First the table:
create table test [...]


<strong>Related posts:</strong><ol><li><a href='http://simononsoftware.com/postgresql-found-problem/' rel='bookmark' title='Permanent Link: PostgreSQL FOUND Problem'>PostgreSQL FOUND Problem</a> <small>FOUND is a global variable that exists in the plpgsql...</small></li>
<li><a href='http://simononsoftware.com/postgresql-strange-timings/' rel='bookmark' title='Permanent Link: PostgreSQL Strange Timings'>PostgreSQL Strange Timings</a> <small>A very simple query. PostgreSQL 8.4. I have no idea...</small></li>
<li><a href='http://simononsoftware.com/testing-database-small-reply/' rel='bookmark' title='Permanent Link: Testing Database &#8211; Small Reply'>Testing Database &#8211; Small Reply</a> <small>On Ovid&#8217;s blog I found lately this entry. First of...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://simononsoftware.com/how-to-allow-for-max-4-rows-in-update-postgresql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PostgreSQL Strange Timings</title>
		<link>http://simononsoftware.com/postgresql-strange-timings/</link>
		<comments>http://simononsoftware.com/postgresql-strange-timings/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 22:46:47 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[database]]></category>
		<category><![CDATA[efficiency]]></category>
		<category><![CDATA[postgresql]]></category>

		<guid isPermaLink="false">http://www.simononsoftware.com/?p=715</guid>
		<description><![CDATA[A very simple query. PostgreSQL 8.4. I have no idea why the simple query is 7 times faster than the EXPLAIN ANALYZE version. Any ideas? Anyone?
test_counters=# SELECT COUNT(*), xtype FROM test GROUP BY xtype ORDER BY xtype;
  count  &#124; xtype
---------+-------
  669000 &#124; A
   84000 &#124; B
   63000 &#124; [...]


<strong>Related posts:</strong><ol><li><a href='http://simononsoftware.com/are-sql-database-joins-so-bad/' rel='bookmark' title='Permanent Link: Are SQL Database Joins So Bad?'>Are SQL Database Joins So Bad?</a> <small>Last time on many forums there were endless discussions about...</small></li>
<li><a href='http://simononsoftware.com/how-to-allow-for-max-4-rows-in-update-postgresql/' rel='bookmark' title='Permanent Link: How to Allow For Max 4 Rows in Update (PostgreSQL)'>How to Allow For Max 4 Rows in Update (PostgreSQL)</a> <small>The Problem Question found on the net: how to restrict...</small></li>
<li><a href='http://simononsoftware.com/postgresql-found-problem/' rel='bookmark' title='Permanent Link: PostgreSQL FOUND Problem'>PostgreSQL FOUND Problem</a> <small>FOUND is a global variable that exists in the plpgsql...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://simononsoftware.com/postgresql-strange-timings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Great PostgreSQL Tuning &#8211; by Josh Berkus</title>
		<link>http://simononsoftware.com/great-postgresql-tuning-by-josh-berkus/</link>
		<comments>http://simononsoftware.com/great-postgresql-tuning-by-josh-berkus/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 19:54:52 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[database]]></category>
		<category><![CDATA[postgresql]]></category>

		<guid isPermaLink="false">http://www.simononsoftware.com/?p=706</guid>
		<description><![CDATA[Thanx Josh



Bookmark It






















No related posts.


No related posts.]]></description>
		<wfw:commentRss>http://simononsoftware.com/great-postgresql-tuning-by-josh-berkus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Use ORMs?</title>
		<link>http://simononsoftware.com/why-use-orms/</link>
		<comments>http://simononsoftware.com/why-use-orms/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 20:10:53 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[database]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[active record]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[orm]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.simononsoftware.com/?p=674</guid>
		<description><![CDATA[Why Use ORMs?
ORM aka Object Relational Mapping is a quite crappy way of converting relational database model into some object model. Usually this simply means that there is created an object in the software for each table that exists in the database.
Usually many people says that ORMs are the best human idea since the sliced [...]


<strong>Related posts:</strong><ol><li><a href='http://simononsoftware.com/sqlalchemy-defines-new-sql-standard/' rel='bookmark' title='Permanent Link: SQLAlchemy Defines New SQL Standard'>SQLAlchemy Defines New SQL Standard</a> <small>Dreaming About SQL Well, I thought that I know the...</small></li>
<li><a href='http://simononsoftware.com/testing-database-small-reply/' rel='bookmark' title='Permanent Link: Testing Database &#8211; Small Reply'>Testing Database &#8211; Small Reply</a> <small>On Ovid&#8217;s blog I found lately this entry. First of...</small></li>
<li><a href='http://simononsoftware.com/why-ruby-on-rails-migrations-dont-work/' rel='bookmark' title='Permanent Link: Why Ruby on Rails Migrations Don&#8217;t Work'>Why Ruby on Rails Migrations Don&#8217;t Work</a> <small>Ruby on Rails Migrations Migrations in Ruby on Rails provide...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://simononsoftware.com/why-use-orms/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to Load SQL File to Database</title>
		<link>http://simononsoftware.com/how-to-load-sql-file-to-database/</link>
		<comments>http://simononsoftware.com/how-to-load-sql-file-to-database/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 12:56:53 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[database]]></category>

		<guid isPermaLink="false">http://www.simononsoftware.com/?p=665</guid>
		<description><![CDATA[It would be nice to have the possibility of loading an sql file to database using normal database api. OK, let&#8217;s define what the &#8216;normal api&#8217; is. This should be a full featured api for connecting to database and performing queries, with many drivers available. My favourite ones are: JDBC and DBI (yes, the one [...]


<strong>Related posts:</strong><ol><li><a href='http://simononsoftware.com/how-to-allow-for-max-4-rows-in-update-postgresql/' rel='bookmark' title='Permanent Link: How to Allow For Max 4 Rows in Update (PostgreSQL)'>How to Allow For Max 4 Rows in Update (PostgreSQL)</a> <small>The Problem Question found on the net: how to restrict...</small></li>
<li><a href='http://simononsoftware.com/trying-to-use-database-in-python/' rel='bookmark' title='Permanent Link: Trying to Use Database in Python'>Trying to Use Database in Python</a> <small>Why the f**** there is nothing like DBI in Python?...</small></li>
<li><a href='http://simononsoftware.com/testing-database-small-reply/' rel='bookmark' title='Permanent Link: Testing Database &#8211; Small Reply'>Testing Database &#8211; Small Reply</a> <small>On Ovid&#8217;s blog I found lately this entry. First of...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://simononsoftware.com/how-to-load-sql-file-to-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trying to Use Database in Python</title>
		<link>http://simononsoftware.com/trying-to-use-database-in-python/</link>
		<comments>http://simononsoftware.com/trying-to-use-database-in-python/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 22:25:57 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[database]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.simononsoftware.com/?p=639</guid>
		<description><![CDATA[Why the f**** there is nothing like DBI in Python? In Perl there is DBI, great library with many drivers to almost all database engines you can imagine (all can be found here: DBD). There are many drivers for normal databases such as PostgreSQL, Firebird&#8230; other databases like: Oracle, MSSQL, MySQL&#8230; and some like this: [...]


<strong>Related posts:</strong><ol><li><a href='http://simononsoftware.com/testing-database-small-reply/' rel='bookmark' title='Permanent Link: Testing Database &#8211; Small Reply'>Testing Database &#8211; Small Reply</a> <small>On Ovid&#8217;s blog I found lately this entry. First of...</small></li>
<li><a href='http://simononsoftware.com/postgresql-collation/' rel='bookmark' title='Permanent Link: PostgreSQL Collation &#8211; part 1'>PostgreSQL Collation &#8211; part 1</a> <small>PostgreSQL is (IMHO) much better than MySQL but unfortunately it ...</small></li>
<li><a href='http://simononsoftware.com/how-to-load-sql-file-to-database/' rel='bookmark' title='Permanent Link: How to Load SQL File to Database'>How to Load SQL File to Database</a> <small>It would be nice to have the possibility of loading...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://simononsoftware.com/trying-to-use-database-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
