我有一个带有2个顶点的Orientdb数据库
拥有100万条记录的Pesquisador
Publicacao也有100万条记录
和Edge COLABORA_COM与6,239,382
我需要选择数千名出版物数量最多的研究人员。
我执行命令
SELECT psq1.psq_nome AS nomePesquisador, COUNT(pub1) AS qtdPub
FROM (
MATCH
{class:Pesquisador, as:psq1}.outE("PUBLICOU").inV(){as:pub1}
RETURN psq1, pub1
)
GROUP BY psq1
ORDER BY qtdPub DESC, nomePesquisador
LIMIT 1000;
然后出现错误“命令尚未执行”
但是如果执行查询
SELECT ordem, out.psq_nome, out.psq_data_nascimento
FROM PUBLICOU
WHERE in.pub_id = 5022
ORDER BY ordem;
查询执行ok
MATCH有记忆错误吗?
我应该更改内存设置吗?