Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

I'm not a DBA but I am a fan of PostgreSQL. What I do hear on the PostgreSQL lists is that several of the features that MySQL gained for version 4.0 have been standard for quite awhile now. I know my own development has expanded to use much of PostgreSQL's features including triggers, rules, functions, referential integrity and views. I really appreciate PostgreSQL handling all the details of what happens when I delete a record from a table. The normal referential integrity checks then go through the other tables that reference that table and ensure that the related information is suitably cleaned up. I could do all that work in MySQL but then that just means I have to write additional perl code to implement it myself when (in my opinion) the database should be able to handle that on it's own. Others can speak to the widely known scalability issues - multiple simultaneous clients bringing MySQL to a stand-still. In general, from my non-DBA perspective PostgreSQL beats MySQL on features and scalability.

Others can speak to the variations between each on select/update/insert speed. I could (and initially did) go on about how PostgreSQL is supposed to be faster for things that aren't simple SELECT operations but... well... I was getting farther afield from my experience than I should. My perspective is that PostgreSQL is a database I can grow into - there is additional capacity for getting further into it should I need to. MySQL - well from what I hear I'd already be pushing it and frankly, I don't want to do that for data I'm responsible for. I would characterize it as a question on when you want to upgrade - do you want to upgrade to PostgreSQL now or upgrade later? I'm just doing that from the get-go.

Oh yes, I should also mention that I never considered non-free databases since my perl/RDBMS work is all for non-profits which couldn't spend money. I have no opinion on 99% of the other databases except for Lotus Domino (which rawks) which I develop for and use on a daily basis.

So... if MySQL has somehow implemented all the features I'm using in PostgreSQL then that'd be nice to hear as well. I won't switch but I'll at least learn the sucker. ;-)

Update addition: I really like Ovid's characterization of the question over at 203521. I think my response is just a specific instance of the more general question. In my case PostgreSQL has features I need so... I use it. No rocket science there.

__SIG__ printf "You are here %08x\n", unpack "L!", unpack "P4", pack "L!", B::svref_2object(sub{})->OUTSIDE </code>

In reply to Re: Comparison, questions for Postgres, MySQL by diotalevi
in thread Comparison, questions for Postgres, MySQL by talexb

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others rifling through the Monastery: (3)
    As of 2014-09-21 09:49 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      How do you remember the number of days in each month?











      Results (168 votes), past polls