5 messages in com.mysql.lists.communityRe: Sakila 0.5, Now With Data Goodness!
FromSent OnAttachments
Mike Hillyer14 Feb 2006 20:58 
Giuseppe Maxia15 Feb 2006 01:23 
Morgan Tocker15 Feb 2006 02:27 
Mike Hillyer15 Feb 2006 07:10 
Mike Hillyer27 Mar 2006 21:07 
Subject:Re: Sakila 0.5, Now With Data Goodness!
From:Morgan Tocker (toc@gmail.com)
Date:02/15/2006 02:27:38 AM
List:com.mysql.lists.community

Adding "set autocommit=0;" at the beginning and a "commit;" after every table dump will get the load time down to 15 seconds.

Changing the single inserts to multiple inserts will get the load time down to 8 seconds.

I liked the nice "clean" look of the sample database -- It removed as many beginner-obstacles as possible. However, both of these optimisations are in the certification study etc, and are encouraged. It could be argued that we should practice what we preach :-)

Just my two cents.

- Morgan

(usually mor@mysql.com)