Re: Switching legacy tables from 4.0 to 4.1 -AND- from default to UTF-8 .... ADVICE ANYONE?

2005-07-15 Thread Miles Keaton
On 7/15/05, Bruce Dembecki [EMAIL PROTECTED] wrote:
 This process has worked for us taking our latin1 4.0 databases and
 turning them into utf8 4.1 databases. UTF8 data we had already put in
 our 4.0 database despite it's latin1 encoding was correctly exported
 out of 4.0 and correctly converted on it's way in to 4.1


Wow!  Really?  This part amazes me.

So the MySQL importing process seems to do the converting of the
special characters into the newly-defined encoding format?  (from
latin1 to utf-8 in my case)

See - we do webhosting for clients around the world, and right now our
default-encoded MySQL 4.0 databases have Swedish and Hebrew characters
in them.

I'm concerned that if I dumped them as latin1/default in 4.0, but then
imported as utf-8 in 4.1 that the non-ASCII characters would get
imported as the wrong encoding.

(Assuming, yes, that I would set our new 4.1 databases to do ALL utf-8
in the /etc/my.cnf and gladly take the small performance/size hit.)

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Switching legacy tables from 4.0 to 4.1 -AND- from default to UTF-8 .... ADVICE ANYONE?

2005-07-14 Thread Miles Keaton
I've got some years-old MySQL databases mostly in 4.0, but one server
running 3.23 that are all using the default encoding.

I want to update all their data to 4.1 with UTF-8 encoding.

Anyone done this kind of dump-and-update?Any advice to share or
good URLs you've seen with others' advice about this?

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: What's Faster? MySQL Queries or PHP Loops?

2004-09-08 Thread Miles Keaton
You're talking about a difference of milliseconds, tops.

Use whatever solution gives you the cleaner, easiest-to-maintain code.

Don't worry about a couple milliseconds.

http://c2.com/cgi/wiki?PrematureOptimization

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



best-performing CPU + platform for MySQL now? Opteron? OpenBSD? SuSE?

2004-09-06 Thread Miles Keaton
If my company wants to get the best-performing fastest platform for a
MySQL server, what would it be these days?  Opteron?  Dual?  Quad?

And on a related note...

If a 64-bit CPU, then I'm assuming it would need an operating system
designed for that 64-bit CPU, to get best performance, right?

I know that OpenBSD has an amd64 version and that the OpenBSD
developers seem to say that Opteron is their favorite (and
most-currently-developed) CPU.   I've used OpenBSD in the past and
like it a lot.

Is anyone here using MySQL on OpenBSD+Opteron in a high-load situation?

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: OT Gmail

2004-08-29 Thread Miles Keaton
I have 7 invitations to give away.  Feel free to ask, but include a
sentence about why you want it.

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



anyone heard an ETA for MySQL 4.1? is it steady?

2004-08-19 Thread Miles Keaton
Programming a new site that will be launched in a month.

We'd like to use MySQL 4.1 but aren't sure how production-ready it is.

Anyone heard how the development is coming along, or when it will be
officially released?

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: FreeBSD and MySQL - mysqld eats CPU alive

2004-08-01 Thread Miles Keaton
 I have several MySQL and FreeBSD installs across a few different sites, and
 I consistently have problems with mysqld. It will begin to eat up all of the
 CPU and eventually become unresponsive (or the machine will just burn). I
 can't seem to manually reproduce this, but given enough time a FreeBSD box
 with mysqld will go down.

For what it's worth, we had the exact OPPOSITE happen:

We were using OpenBSD for a long time, and when we switched to
FreeBSD, MySQL CPU usage dropped from like 75% to 5%.  It's been
running amazingly fast ever since, for a database-driven website that
gets 10,000 unique visitors a day.  (100,000 page views a day, all
MySQL-generated.)

Just using a stock install from FreeBSD ports -- although we did
choose the OPTIMIZED settings in ports install that it shows you when
you first go to install MySQL server.   Choose linux threads, too.

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



tests comparing AMD64 to Xeon MySQL performance?

2004-07-27 Thread Miles Keaton
We've got a really high-load MySQL server and are planning to get a new server.

Has anyone seen tests comparing performance of MySQL on AMD64 versus Xeon CPUs?

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]