From: Grega Bremec <gregab@p0f.net>
To: pgsql-performance@postgresql.org
Subject: Re: sql-bench
Date: Fri, 15 Sep 2006 02:11:23 +0200
Message-ID: <1158279083.6369.15.camel@aspirinix.p0f.net> (raw)
In-Reply-To: <82C2E57E-666A-4021-A070-07901F72E5E3@fastcrypt.com>
References: <20060914065522.23041.qmail@web35806.mail.mud.yahoo.com>
<82C2E57E-666A-4021-A070-07901F72E5E3@fastcrypt.com>
Tom Lane wrote:
> >> It'd be interesting to see what mysql's performance looks like on this
> >> test using innodb tables, which should be compared against fsync = true
> >> ... but I don't know how to change it to get all the tables to be
> >> innodb.)
Just a point (I've taught some MySQL courses before, sorry 'bout that;
if you're not, I am, sort of :)) - the crash-proof version of
transactional tables in MySQL was supposed to be the Berkeley ones, but
(oh, the irony) they're still beta. InnoDB were just supposed to be
optimized to perform well with loads of data and a mediocre amount of
clients, and *finally* support referential integrity and the rest of the
lot.
Anyways... with Oracle buying off all that stuff, don't even know if it
still matters: the incantation is to either add the ENGINE= or TYPE=
clause after each CREATE TABLE statement, which would look like
CREATE TABLE foo (
...
) ENGINE=InnoDB;
or specify the --default-storage-engine or --default-table-type server
startup option (or, alternatively, set the default-storage-engine or
default-table-type option in my.cnf).
The trick being, mysqldump will be quite explicit in CREATE TABLE
statements, so a vi(1) and a regular expression will probably be needed.
Kind regards,
--
Grega Bremec
gregab at p0f dot net
Attachments:
signature.asc (application/pgp-signature, 188B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: gregab@p0f.net
Subject: Re: sql-bench
In-Reply-To: <1158279083.6369.15.camel@aspirinix.p0f.net>
References: <20060914065522.23041.qmail@web35806.mail.mud.yahoo.com> <82C2E57E-666A-4021-A070-07901F72E5E3@fastcrypt.com> <1158279083.6369.15.camel@aspirinix.p0f.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox