Bug #15039 | CONVERT_TZ inefficient for large result sets | ||
---|---|---|---|
Submitted: | 18 Nov 2005 0:55 | Modified: | 13 Dec 2005 17:39 |
Reporter: | Thomas Schwanhaeuser | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S5 (Performance) |
Version: | All (figures from 4.1.14) | OS: | Any (All) |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
[18 Nov 2005 0:55]
Thomas Schwanhaeuser
[13 Dec 2005 17:39]
MySQL Verification Team
I was unable to repeat this issue on latest 4.1. source: miguel@hegel:~/dbs/4.1> bin/mysql -uroot test Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 4.1.17-debug-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> SELECT BENCHMARK(10000000,CONVERT_TZ('2004-01-01 '> 12:00:00','UTC','CET')); +-------------------------------------------------------------------+ | BENCHMARK(10000000,CONVERT_TZ('2004-01-01 12:00:00','UTC','CET')) | +-------------------------------------------------------------------+ | 0 | +-------------------------------------------------------------------+ 1 row in set (0.54 sec)
[25 Apr 2015 14:28]
Devon Humes
This is still an issue in MySQL 5. The benchmark is only really fast if the mysql time zone tables are not populated.