Re: Need Some Recent Information on the Differences between Postgres and MySql

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Dave Page <dpage(at)pgadmin(dot)org>, "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Need Some Recent Information on the Differences between Postgres and MySql
Date: 2010-06-29 00:45:55
Message-ID: 201006290045.o5T0juU19243@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
> Dave Page <dpage(at)pgadmin(dot)org> writes:
> > Hmm, I think I misread Thom's question. The smgr API used to be far
> > more rigidly designed as I understand it, to allow the possibility of
> > having different storage engines (for example, maybe one that used raw
> > devices). I don't know that any other storage engines were ever
> > actually written though.
>
> There actually were two smgr storage modules in the code we inherited
> from Berkeley, and I think there were probably more at one time. But
> the smgr interface is *way* lower level than mysql's storage engines;
> there is not that much that you can do to affect the behavior of the DB
> by replacing an smgr module. I believe what they had in mind originally
> was to be able to drive different physical storage devices, using raw
> access instead of going through the filesystem. That decision was taken
> before everything of interest got unified under the Unix filesystem API.
> These days, if you needed to do what they had in mind, you'd be writing
> a kernel device driver instead. So smgr is pretty vestigial, and we've
> largely broken its API abstraction anyway by doing filesystem access
> directly in so many other places.

Yes, the second storage manager we had was for WORM drives, or more
accurately, stubs were left in our code for WORM drives.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ None of us is going to be here forever. +

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-06-29 01:11:39 Re: Need Some Recent Information on the Differences between Postgres and MySql
Previous Message Vibhor Kumar 2010-06-29 00:40:28 Re: postgres user password: Log on failure