Bug #27958 | Cannot use Data Source Configuration Wizard on large databases | ||
---|---|---|---|
Submitted: | 19 Apr 2007 18:33 | Modified: | 13 Nov 2007 11:46 |
Reporter: | Don Lopez | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 5.1.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[19 Apr 2007 18:33]
Don Lopez
[2 May 2007 3:43]
Reggie Burnett
Moving this to the Connector/Net category since we are no longer going to accept bug reports into this category.
[2 May 2007 11:56]
Tonci Grgin
Hi Don and thanks for your report. Alas, you can not adjust Command timeout in wizard. You can only adjust Connection timeout. Now, how many tables is enough? I can't repeat with: C:\mysql507\bin>mysql -uroot information_schema Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.0.38-log Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> select count(*) from tables; +----------+ | count(*) | +----------+ | 1913 | +----------+ 1 row in set (1 min 38.72 sec) mysql> select count(*) from columns; +----------+ | count(*) | +----------+ | 18320 | +----------+ 1 row in set, 1 warning (56.81 sec)
[11 May 2007 14:52]
Don Lopez
That DB should have caused the timeout if the queries to information_schema where taking longer than 30 seconds. I was using VS 2005.
[14 May 2007 8:06]
Tonci Grgin
So what now Don? I guess I'll give it a one more try before closing as "Can't repeat" ... I to use VS2005 Pro but with SP1 installed.
[14 May 2007 9:18]
Tonci Grgin
I have finally been able to repeat this bug like described with test case attached. Thanks Don.
[14 May 2007 9:19]
Tonci Grgin
Test case to generate hugh number of tables
Attachment: Bug27958.vbs (application/octet-stream, text), 2.00 KiB.
[14 May 2007 9:20]
Tonci Grgin
... and the result:
Attachment: 27958.jpg (image/jpeg, text), 13.85 KiB.
[8 Nov 2007 17:04]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/37354
[8 Nov 2007 17:06]
Reggie Burnett
Fixed in 5.1.4. I added a connection string option named "default command timeout". You can set this value to a number of seconds you want the commands to use unless the physical command timeout property on the command object is set. If so, that takes over.
[13 Nov 2007 11:31]
MC Brown
A note has been added to the 5.1.4 changelog: When accessing certain statements, the command would timeout before the command completed. Because this cannot always be controlled through the individual command timeout options, a default command timeout has been added to the connection string options. Added the 'default command timeout' to list of supported connection string options.