I think that most people use MySql because is just the most famous. MySql is quicker when using myisam but the performance goes down when using referential integrity. Postgres is MIT, the license of MySql is not and you have to pay if you want to distribuite it with your software.<br>
<br>From the PHP London user group I heard that bad things happens when using stored procedures and trigger on a MySql cluster, someone get data corruption and the trigger (cluster wide) were not working.<br><br>I think that MySql as 'persistent layer' is ok, but if you want to use it in an advanced way (trigger stored procedures, cluster), probably Postgres is a better choice. Plus, <b>PL/pgSQL </b>it seems to me much more advanced. I did not know about tsearch2, is very intresting, Oracle has a full text search too.<br>
<br>Tom: I do not like the word 'Windows' in option 3 :-). I would avoid to put much logic into the database, it is coming back to the database-centric design which is in contrast with DDD. I prefer to see the constraints all in my model.<br>
<br><div class="gmail_quote">On Mon, Nov 16, 2009 at 6:04 PM, Jocke Selin <span dir="ltr"><<a href="mailto:jocke@selincite.com">jocke@selincite.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
On 16 Nov 2009, at 17:58, Tom Morris wrote:<br>
<br>
> On Mon, Nov 16, 2009 at 16:52, Sam Stokes <<a href="mailto:webstuff-lrug@samstokes.co.uk">webstuff-lrug@samstokes.co.uk</a>> wrote:<br>
>> Now that you've brought it up :)  Would you be able to list a few things<br>
>> that you like about Postgres, or even reasons to use Postgres over MySQL?<br>
>><br>
>> I'm not looking for a flamewar (and certainly not intending to defend<br>
>> MySQL!) - I'm genuinely curious about Postgres.  It's something I've never<br>
>> got around to looking into - MySQL has always been "good enough", since I'm<br>
>> already familiar with it - but I'd like to have a reason to try Postgres on<br>
>> a new project.<br>
>><br>
><br>
> I recently evaluated both Postgres and MySQL, and I found:<br>
<br>
</div>.....<br>
<div class="im"><br>
> 4. Postgres has a slight speed disadvantage over MySQL in terms of<br>
> read performance - I'm told, I haven't actually tested it - but the<br>
> app I'm using has a small number of users who write and edit a *lot*.<br>
<br>
</div>I seem to recall us doing quite a lot of research into speeding PostgreSQL up, and one of the things you can do is to put the PGSQL write-ahead onto a separate disk and a non-journalling FS... if memory serves. Obviously with optimised parameters for the hardware.<br>

<font color="#888888"><br>
/Jocke<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Riccardo Tacconi<br>VIRTUELOGIC LIMITED<br><br><a href="http://www.linkedin.com/in/riccardotacconi">http://www.linkedin.com/in/riccardotacconi</a><br><a href="http://riccardotacconi.blogspot.com/">http://riccardotacconi.blogspot.com/</a><br>
<a href="http://twitter.com/rtacconi">http://twitter.com/rtacconi</a><br>Linux user: #400461<br>