X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 479669FA0FD for ; Thu, 14 Sep 2006 21:27:46 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 22126-08 for ; Thu, 14 Sep 2006 21:27:26 -0300 (ADT) X-Greylist: delayed 00:17:03.00574 by SQLgrey- Received: from p0f.net (p0f.net [193.77.154.190]) by postgresql.org (Postfix) with ESMTP id EDB7C9F9F77 for ; Thu, 14 Sep 2006 21:27:41 -0300 (ADT) Received: from BSN-77-115-146.dial-up.dsl.siol.net (BSN-77-115-146.dial-up.dsl.siol.net [193.77.115.146]) (authenticated bits=0) by p0f.net (8.13.3/8.13.3) with ESMTP id k8ENDYOf032640 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Fri, 15 Sep 2006 01:13:43 +0200 Subject: Re: sql-bench From: Grega Bremec To: pgsql-performance@postgresql.org 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> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-LzOIJtE5H603XP/EwWdh" Organization: P0F Date: Fri, 15 Sep 2006 02:11:23 +0200 Message-Id: <1158279083.6369.15.camel@aspirinix.p0f.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.944 tagged_above=0 required=5 tests=RCVD_IN_NJABL_DUL, SPF_HELO_PASS, SPF_PASS X-Spam-Level: * X-Archive-Number: 200609/188 X-Sequence-Number: 20874 --=-LzOIJtE5H603XP/EwWdh Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 =3D t= rue > >> ... 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=3D or TYPE=3D clause after each CREATE TABLE statement, which would look like CREATE TABLE foo ( ... ) ENGINE=3DInnoDB; 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, --=20 Grega Bremec gregab at p0f dot net --=-LzOIJtE5H603XP/EwWdh Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBFCe+rfu4IwuB3+XoRAo22AJ944oqTHZ15xkmnH1EubbkqIjNq2QCeORvG VBxq+0KstugjWfJDK+CdTZQ= =sgjz -----END PGP SIGNATURE----- --=-LzOIJtE5H603XP/EwWdh--