[Mondrian] SqlTupleReader.readTuples generates huge IN listcausing java.sql.SQLException

Peter Tran ptran at prospricing.com
Wed Jun 20 20:03:58 EDT 2007

Hi Julian,

Mondrian 2.2.2
Oracle EE

We didn't exactly crash Oracle.  :)  That's actually pretty difficult.
The driver gave up (cried Uncle!) and didn't even send the SQL to

We'll try the configuration you mentioned below and let you know.
Assuming the query behaves correctly, should it to your knowledge also
do the correct thing and return the right result?


-----Original Message-----
From: mondrian-bounces at pentaho.org [mailto:mondrian-bounces at pentaho.org]
On Behalf Of Julian Hyde
Sent: Wednesday, June 20, 2007 6:46 PM
To: 'Mondrian developer mailing list'
Subject: RE: [Mondrian] SqlTupleReader.readTuples generates huge IN
listcausing java.sql.SQLException

> Step 2 will fail, because it creates a SQL statement that is 8,377,847

> characters long!
> The JDBC driver fails with "java.sql.SQLException: No more
> data to read
> from socket"

Judging by that error message, the query crashed Oracle. Well done! :)

We have a property which is supposed to control this. Can you try
setting the property mondrian.rolap.maxConstraints=100 and see if the
query behaves differently?

What version of mondrian/oracle are you using?


Mondrian mailing list
Mondrian at pentaho.org http://lists.pentaho.org/mailman/listinfo/mondrian

The information contained in this email may be confidential and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please contact the sender by reply email and destroy all copies of the original message. Thank you

More information about the Mondrian mailing list