Skip to content

Optimization: wikidata page rank query #746

Description

@adsharma

Description

./lbug -r wikidata.lbdb
Opening the database at path: wikidata.lbdb in read-only mode.
Enter ":help" for usage hints.
lbug> attach 'page_rank.lbdb' as pr (dbtype lbug); match (p:pr.page_rank), (n:wikidata_node) where p.node_id = n.qid return p.rank, n.qid, n.name order by p.rank limit 20;
┌─────────────────────────────────┐
│ result                          │
│ STRING                          │
├─────────────────────────────────┤
│ Attached database successfully. │
└─────────────────────────────────┘
(1 tuple)
(1 column)
Time: 8.65ms (compiling), 10.96ms (executing)
Error: Buffer manager exception: Unable to allocate memory! The buffer pool is full and no memory could be freed!

Even with analyze, the join order optimziation doesn't kick in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions