Comments (3)
Added in 518a878
I wanted to look into local duplicate elimination because I had a case where adding DISTINCT would make an otherwise working query timeout. But actually I haven't been able to replicate this since then.
Question: Does DISTINCT impact performance when added to a query that wouldn't produce duplicates anyway? Or would it be a bad idea to just include DISTINCT by default for any other reasons?
from sqid.
Yes, DISTINCT has a big impact on performance even if there are no duplicates, since you don't know that there are no duplicates until you have done all the extra computation required for DISTINCT. In some cases, the query engine could be smart enough to see that there are no duplicates from the query, so as to drop the DISTINCT again, but it is always better if we omit it whenever possible.
from sqid.
from sqid.
Related Issues (20)
- Add ISO 8601 datetime format HOT 1
- Outside any named section - top area - empty "subclass of:" but Wikidata has a claim HOT 3
- Section "Identifiers": list those specified by ISO first
- Section "Classification" - merge related unnamed part of top area and sections "Classification", "Instances"
- Give usage stats for typical properties and sort them HOT 2
- support for lexicographical data
- Is it possible to connect SQID to your own SPARQL endpoint? HOT 4
- Support alternative claim providers (PrimarySources, Rules, β¦) in Entity View
- Import SchemaUsageAnalyzer from wdtk-toolkit
- Automate deployment
- Add βbrowseβ views for properties & classes
- Fix styling
- Add a (global?) gadget
- Add support for editing labels
- Add support for inference rules
- Add support for ShEx schemata
- Advanced Search interface
- Add an OpenSearch description HOT 2
- Add paging for subclass hierarchy retrieval in helper HOT 1
- SQID as API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqid.