Comments (2)
Actually, yes, it was expected. gin_hstore_hash_ops uses partial match for keys (iterates all key-value pairs for each key) while default opclass do plain entry scan in this case. gin_hstore_hash_ops could extract keys as separate entries, but I choose partial match for them in order to have smaller index which is faster for update. Also, note that you could use ?| operator in your query.
from hstore_ops.
Okay so not a bug. I'll give ?| a try. Another question I had not quite related to this one -- but I put a note on Oleg's blog about it though I think my note may have been flagged as spam.
I thought the hstore gin would get some query speed benefit in 9.4 with changes to gin, but didn't see any there in my quick tests when comparing with my 9.3 install. Though the test I had done still had my postgis geometries as part of the table. Haven't looked at size of index though. Is it certain operators and maybe I wasn't testing the right ones. Was just testing @> and ?
from hstore_ops.
Related Issues (1)
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 hstore_ops.