| Bug #16869 | Cluster: MySQLD Deletes should be batched to default of MaxNoOfLocalOperations | ||
|---|---|---|---|
| Submitted: | 28 Jan 2006 16:33 | Modified: | 16 Mar 2006 10:36 |
| Reporter: | Jonathan Miller | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
| Version: | 5.1.6-alpha | OS: | Linux (Linux 32 Bit OS) |
| Assigned to: | Jon Stephens | CPU Architecture: | Any |
[28 Jan 2006 16:33]
Jonathan Miller
[28 Jan 2006 17:40]
Jonas Oreland
The problem is that "delete from" is transactional. You should use "truncate table" if you just want to delete all rows wo/ transactions. (Or it's probably faster to drop/recreate with that many rows)
[28 Jan 2006 17:59]
Jonathan Miller
I would perfer to allow management decide what will be and what won't be fixed. Thanks.
[30 Jan 2006 17:52]
Jonathan Miller
Jon, could you please review the documetation on this limitation and see if we can improve? Maybe give it a section to itself. Or added the limitation information with work arounds to the config section talking about this setting? PS: Will send you the Local version one too.
[18 Feb 2006 4:43]
Jonathan Miller
My thoughts where to move, or copy or have something simular to: (from Limitations) Note that bulk loading, TRUNCATE TABLE, and ALTER TABLE are handled as special cases by running multiple transactions, and so are not subject to this limitation. to http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-db-definition.html Under "Transaction Parameters" -> MaxNoOfLocalOperations
[28 Feb 2006 18:27]
Jon Stephens
As has been pointed out, this is already documented under Limitations.
[28 Feb 2006 18:35]
Jonathan Miller
Actually you are wrong on this one. The limitations states nothing about MaxNoOfLocalOperations
[28 Feb 2006 21:29]
Jon Stephens
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant product(s). Additional info: Updated 4.1/5.0/5.1 Cluster Limitations sections.
[2 Mar 2006 7:25]
Jonas Oreland
Hi, Jon -- quote The maximum number of transactions that can be performed is set using the configuration parameters MaxNoOfConcurrentOperations and MaxNoOfLocalOperations. Note that bulk loading, TRUNCATE TABLE, and ALTER TABLE are handled as special cases by running multiple transactions, and so are not subject to this limitation. -- quote This is 100% wrong. No of transactions is not in any way affected by MaxNoOfConcurrentOperations (or Local) Any transaction can not insert/update/delete more the MaxNoOfConcurrentOperations. Since this is somewhat complicated, i think you should keep it short and refer to documenation instead.
[16 Mar 2006 10:36]
Jon Stephens
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant product(s).
