Can't execute Statement because of to many operations [message #488086] |
Fri, 25 September 2009 10:20  |
Eclipse User |
|
|
|
Hi,
I'm creating a BIRT report on an datasource that's linked to an mysql Cluster.
The Query of the DataSet is quite complicated and uses some joins and other stuff.
Everything works fine until i have a quite large dataset (sorry i have no concrete figures at the time.)
But the real problem seems to be that mysql cluster is not very good at large transactions. Because if the statement produces a large dataset the report gives an exception saying "Cannot execute the statement".
Looking at the XML Source of the report i can find an Error Marker saying that the query didn't return a ResultSet. The Concrete mysql-connector exception, which is the root-cause, says:
SQL error #1: Got temporary error 233 'Out of operation records in transaction coordinator (increase MaxNoOfConcurrentOperations)' from NDBCLUSTER
The Problem seems to be that query executed by BIRT runs in only one transaction and locks to many rows, which mysql-cluster can't handle.
See: http:// dev.mysql.com/doc/refman/5.0/en/mysql-cluster-limitations-tr ansactions.html
My question is now: Is there any way to activate autocommit or to run an query chunk by chunk?
thanks in advance,
Michael
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03474 seconds