简体   繁体   English

查询monetdb数据库时BATproject错误

[英]BATproject error when querying monetdb database

I'm running into issues when running the following query on a monetdb database: 在monetdb数据库上运行以下查询时,我遇到了问题:

SELECT
    tpuc.tbl1_col1,
    s.tbl2_col1,
    COUNT(s.tbl2_col2)
FROM
    tbl2 AS s INNER JOIN
    tbl AS tpuc ON (s.tbl2_col2=tpuc.tbl1_col2)
GROUP BY
    tpuc.tbl1_col1,
    s.tbl2_col1

Can not create object BATproject: does not match always 无法创建对象BATproject:始终不匹配

tbl2 has just a little over 35mil rows and tbl1 has around 300k rows. tbl2行略超过3500万行,tbl1行约30万行。 The query runs flawlessly on a database with an identical structure but considerably less data (about a tenth) so I assume this is related to the amount of data. 查询可以在具有相同结构但数据量少得多(约十分之一)的数据库上完美地运行,因此我认为这与数据量有关。 Does anyone have experience with this error? 有没有人遇到这个错误的经验?

I've ran queries on larger databases than this and monetdb seems to be designed to handle more data so I'm thinking that this is maybe some sort of error on my part / data corruption. 我已经在比这更大的数据库上运行了查询,并且monetdb似乎旨在处理更多数据,因此我认为这可能是我的部分错误/数据损坏。 However, the error doesn't seem to be documented anywhere so every little bit of insight is appreciated. 但是,该错误似乎在任何地方都没有得到记录,因此,您需要多加理解。

later edit: running into the same error when running simpler queries such as select group by 以后的编辑:运行简单的查询(例如选择分组依据)时遇到相同的错误

Thanks 谢谢

This should not happen, please report this as a bug at http://bugs.monetdb.org/ . 不应发生这种情况,请在http://bugs.monetdb.org/上将其报告为错误。 Please also include the schema (CREATE TABLE ...) and some example data. 还请包括模式(CREATE TABLE ...)和一些示例数据。 Also, you can try if the Jan2014-SP1 release candidate solves the issue. 另外,您可以尝试使用Jan2014-SP1版本候选版本解决问题。 Download the release candidate at http://dev.monetdb.org/downloads/testing/ http://dev.monetdb.org/downloads/testing/下载候选版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM