Code Monkey home page Code Monkey logo

Comments (2)

akorotkov avatar akorotkov commented on May 29, 2024

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.

robe2 avatar robe2 commented on May 29, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.