Bug #5425 | Each time during executing JDBC's getConnection mysqld restarts | ||
---|---|---|---|
Submitted: | 5 Sep 2004 21:19 | Modified: | 4 Oct 2004 19:52 |
Reporter: | Vitaliy Yermolenko | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.0.20 | OS: | SunOS 5.9 |
Assigned to: | Matthew Lord | CPU Architecture: | Any |
[5 Sep 2004 21:19]
Vitaliy Yermolenko
[6 Sep 2004 22:56]
Sergei Golubchik
Are you building 64-bit binary ? Try to build w/o --enable-assembler, does it crash ? What if you use our binary ? Does it crash it you do 'SHOW VARIABLES' from the command line client ? (COnnector/J issues this comand automatically on connect)
[1 Oct 2004 12:19]
Vitaliy Yermolenko
It was tried MySQL 4.0.21 with next configuration line (there were deleted next options: --enable-assembler and --with-low-memory): --- BEGIN --- CC=gcc CFLAGS="-O3 -mcpu=v8 -Wa,-xarch=v8plusa" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti -mcpu=v8 -Wa,-xarch=v8plusa" /configure --prefix=/usr/local/mysql-4.0.21 --without-debug ---- END ---- Everything is fine (no crashes) now, except one issue: MySQL performance on SunOS 5.9 is awful. For the same SELECT SQL statement with the same instances of database the result is next (from MySQL console): -- 4 X UltraSPARC-II 400MHz, 64-bit Ultra-4, 2097152K RAM - 20.53 sec; -- 1 Intel Celeron CPU 1302.350 MHz, 511MB RAM - 2.98 sec. Binary MySQL distribution for SunOS provides approx. the same performance result. Thanks, Vitaliy Yermolenko <vyermolenko@ukr.net>
[4 Oct 2004 19:52]
Matthew Lord
Hi, This particular bug regarding the jdbc driver is fixed in 4.0.21 now correct? Would it be possible for you to open a new bug regarding your performance problems with 4.0.21 on sparc hardware? It would be helpful to know what the query is, the ddl for the tables involved, and any sample data if possible. A dump of the table would be ideal if it's not sensitive information. If you provide me with all the necessary information I can also open a new bug for the problem. Thanks for your bug reports!