Ask a Question related to Ruby, Design and Development.

  1. #1

    Default MySql vs PostgreSQL

    sorry, forgot the subject!

    Jesper Olsen said:
    > I am currently using ruby's mysql extention.
    > Recently PostgreSql has become available to me also.
    >
    > PostgreSql is not part of the ruby distribution, but I notice that
    > there is an extention available for it:
    >
    > [url]http://www.postgresql.jp/interfaces/ruby/reference.html[/url]
    >
    > I think the Ruby API's are more or less the same?
    >
    > Maybe this not strictly a ruby question, but can anyone here comment on
    > how MySQL and PostgreSQL compare?
    > Is PostgreSQL in any way better than MySql - ie. faster or more stable.
    >
    > Cheers
    > Jesper
    >
    >
    > --
    > [url]http://JesperOlsen.Net[/url]
    >
    >

    --
    [url]http://JesperOlsen.Net[/url]


    Jesper Olsen Guest

  2. Similar Questions and Discussions

    1. MySQL v. postgreSQL
      Anyone have any definitive differences betweeen these two databases in terms of performance, scalability, ease of use, utilities, etc? I'm looking...
    2. binary data types used in both PostgreSQL and MySQL along with JDBC
      OK, the main program is written in Java, as part of a number of servlets, and making use of JDBC. I am using a function from the Java security API...
    3. conflict types mysql and PostgreSQL
      Hello, I started work on "light" version dblink for mysql. I have problems: I can't use header files mysql and postgresql together. ...
    4. mysql postgresql future
      why mysql is more diffused than postgresql? Postgresql licence is really free more than mysql, but why postgresql is not much diffusing? the...
    5. PostgreSQL/mySQL: connecting, login code problem.
      Hey, Hours ... I am searching I have these code and we found it's postgreSQL. Now we have mysql, isn't it possible to change the connect code and...
  3. #2

    Default Re: MySql vs PostgreSQL

    il Thu, 20 Nov 2003 21:05:25 +0900, "Jesper Olsen"
    <Jesper@JesperOlsen.Net> ha scritto::

    I think the point is that Pg is a bigger scale server.
    MySQL lacks many SQL features, sometimes by choice, and should be
    faster.
    Pg is a full featured ordbms. Look at both and decide which one may
    fit your need.

    gabriele renzi Guest

  4. #3

    Default Re: MySql vs PostgreSQL

    On Thu, 2003-11-20 at 07:05, Jesper Olsen wrote:
    > > Maybe this not strictly a ruby question, but can anyone here comment on
    > > how MySQL and PostgreSQL compare?
    > > Is PostgreSQL in any way better than MySql - ie. faster or more stable.
    FWIW, RubyForge runs on PostgreSQL, and I've been quite pleased with its
    performance so far...

    Yours,

    Tom



    Tom Copeland Guest

  5. #4

    Default Re: MySql vs PostgreSQL

    Both MySQL and PostgreSQL are very fast, in general. In my experience,
    however, PostgreSQL performs better on more complex queries and under
    heavy load. PostgreSQL is also extremely robust and secure, but
    recently MySQL has been catching up a lot.

    The main reason why I use PostgreSQL, however, is not the performance
    (it's more like a bonus to me) but the SQL implementation. For example,
    PostgreSQL has views, sequences, schemas, mvcc (a.k.a.
    "better-than-row-level locking") and a sophisticated rule system, which
    all are very useful features. Also, you can use Ruby as a procedural
    language inside the DB if you install PL/Ruby - very cool :)

    Which database engine that is best for you really depends on your
    needs. If you only use your DB for trivial tasks, MySQL could very well
    be the best choice for you. However, if you want a more powerful DB, I
    can really recommend PostgreSQL. I'm still kind of amazed that you can
    get such a powerful tool for free :)

    cheers
    //samuel

    2003-11-20 kl. 13.05 skrev Jesper Olsen:
    > sorry, forgot the subject!
    >
    > Jesper Olsen said:
    >> I am currently using ruby's mysql extention.
    >> Recently PostgreSql has become available to me also.
    >>
    >> PostgreSql is not part of the ruby distribution, but I notice that
    >> there is an extention available for it:
    >>
    >> [url]http://www.postgresql.jp/interfaces/ruby/reference.html[/url]
    >>
    >> I think the Ruby API's are more or less the same?
    >>
    >> Maybe this not strictly a ruby question, but can anyone here comment
    >> on
    >> how MySQL and PostgreSQL compare?
    >> Is PostgreSQL in any way better than MySql - ie. faster or more
    >> stable.
    >>
    >> Cheers
    >> Jesper
    >>
    >>
    >> --
    >> [url]http://JesperOlsen.Net[/url]
    >>
    >>
    >
    >
    > --
    > [url]http://JesperOlsen.Net[/url]
    >

    Samuel Kvarnbrink Guest

  6. #5

    Default Re: MySql vs PostgreSQL

    Thanks to all who replied to this thread.

    Ruby DBI looks sweet, but the version number (0.0.21) has scared me off so
    far :-)

    I think I will try it now though - then it should be easy to compare
    things in practice...

    Cheers
    Jesper


    Samuel Kvarnbrink said:
    > Both MySQL and PostgreSQL are very fast, in general. In my experience,
    > however, PostgreSQL performs better on more complex queries and under
    > heavy load. PostgreSQL is also extremely robust and secure, but
    > recently MySQL has been catching up a lot.
    >
    > The main reason why I use PostgreSQL, however, is not the performance
    > (it's more like a bonus to me) but the SQL implementation. For example,
    > PostgreSQL has views, sequences, schemas, mvcc (a.k.a.
    > "better-than-row-level locking") and a sophisticated rule system, which
    > all are very useful features. Also, you can use Ruby as a procedural
    > language inside the DB if you install PL/Ruby - very cool :)
    >
    > Which database engine that is best for you really depends on your
    > needs. If you only use your DB for trivial tasks, MySQL could very well
    > be the best choice for you. However, if you want a more powerful DB, I
    > can really recommend PostgreSQL. I'm still kind of amazed that you can
    > get such a powerful tool for free :)
    >
    > cheers
    > //samuel
    >
    > 2003-11-20 kl. 13.05 skrev Jesper Olsen:
    >
    >> sorry, forgot the subject!
    >>
    >> Jesper Olsen said:
    >>> I am currently using ruby's mysql extention.
    >>> Recently PostgreSql has become available to me also.
    >>>
    >>> PostgreSql is not part of the ruby distribution, but I notice that
    >>> there is an extention available for it:
    >>>
    >>> [url]http://www.postgresql.jp/interfaces/ruby/reference.html[/url]
    >>>
    >>> I think the Ruby API's are more or less the same?
    >>>
    >>> Maybe this not strictly a ruby question, but can anyone here comment
    >>> on
    >>> how MySQL and PostgreSQL compare?
    >>> Is PostgreSQL in any way better than MySql - ie. faster or more
    >>> stable.
    >>>
    >>> Cheers
    >>> Jesper
    >>>
    >>>


    --
    [url]http://JesperOlsen.Net[/url]

    Jesper Olsen Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139