[Info-Ingres] E_QE0546 in STAR Query -
06-03-2011
, 06:09 AM
Hi All,
I have a distributed database in which we have two tables registered, one of these tables is large, it has 311million rows. The other is only 2millionrows. Both are tables with page_size=32k. They are identical in structure, column names, column nulls, column defaults.
Within the ddb we then create view myview as select * from table1 union allselect * from table2
If I now do 'select count(*) from myview', the query will take about 13minutes and then generate an error:
E_QE0546 RQF detected a timeout condition.
I have sysmod-ed and optimized the source databases, and run optimizedb over the ddb.
I have ensured the correct page cache (32k) is enabled on the installation holding the ddb.
All installations are Ingres10.0.0.
Note that:
1. The optimze of the star database generated numerous messages like:
W_OP0961 Truncation occurred when assigning a character string to host language variable.
2. I have another pair of tables (also 32k page) which are much smaller, these also have a view defined on them as per above. The select works perfectly well.
Any Ideas?
Martin Bowes |