Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

comment on

( [id://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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (8)
As of 2024-04-23 08:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found