Here's a good one: When doing an update on a table from the CLI, the query is done in under a second (0.01 of a second actually). When I do the _exact_ same query from PHP, the update takes up to 3 minutes. The table is large (>1GB, 400k rows) but simple (5 columns, one primary key which is always used - no table scans) Any ideas would be _much_ appreciated. Thanks folks, John. -- John Senior <[EMAIL PROTECTED]> --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php