The following issue has been SUBMITTED. ====================================================================== http://bugs.librdf.org/mantis/view.php?id=422 ====================================================================== Reported By: dbrnz Assigned To: ====================================================================== Project: Rasqal RDF Query Library Issue ID: 422 Category: query engine Reproducibility: always Severity: minor Priority: normal Status: new Query Language: ====================================================================== Date Submitted: 2011-02-04 20:52 Last Modified: 2011-02-04 20:52 ====================================================================== Summary: Performance hit with "SELECT DISTINCT" Description: The query "SELECT * WHERE { ?s ?p ?o } LIMIT 10" completes after getting the first 10 triples. In contrast, the query "SELECT DISTINCT * WHERE { ?s ?p ?o } LIMIT 10" is gets *all* triples from the store before returning the first 10 distinct ones. Could the code not check for distinctness when results are stored and then stop the query once LIMIT had been reached??
Thanks. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2011-02-04 20:52 dbrnz New Issue ====================================================================== _______________________________________________ redland-dev mailing list [email protected] http://lists.librdf.org/mailman/listinfo/redland-dev
