Earlier quoted context omitted.
>>In InnoDB all the data is stored in the PK while in PG it is just a pointer. This is just a consequence of the PK being a clustered index in InnoDB which has both pros and cons. One of the big cons is that all of the columns of the PK are implicitly added to every secondary index as the row identifier. That isn't a big problem if your PK is a single column int, but if it's multiple columns, that often results in un…
If you don't want a clustered index in InnoDB you can define the primary key as an auto incrementing uint.
PostgreSQL 9.6 Released
41–50 of 136 posts
Re: PostgreSQL 9.6 Released
#42Re: PostgreSQL 9.6 Released
#43Congratulations to the PostgreSQL Global Development Group on a much-anticipated release. Curious about this: > parallelism can speed up big data queries by as much as 32 times faster Why would it be only 32 times faster? The sky's the limit if there aren't major bottlenecks on the way.
Re: PostgreSQL 9.6 Released
#44A tangential question: Everyone speaks about InnoDB and how performant and reliable it is... and multiple firms even use it as a KV-store (Uber/Pinterest/AWS) bypassing MySQL entirely. I have never heard much about storage engines in Postgres, why could this be so? Wikipedia has a (stub) article on InnoDB, but nothing on Postgres' storage engines... just wondering why that is.
Because PG isn't designed around pluggable storage engines, so its not really as practical to take a storage engine out and use it separately, and doesn't make much sense to talk about the storage engine separately from the whole system.
Re: PostgreSQL 9.6 Released
#45Sounds good!
Re: PostgreSQL 9.6 Released
#46Does anyone know when this will be available on AWS RDS?
Re: PostgreSQL 9.6 Released
#47Is it just selection bias from posted links on HN, or has the PostgreSQL team been doing many (feature) releases lately? Sounds good!
I think more like the former -- as I recall, the recent articles have mostly been about specific work going on for the 9.6 release, prereleases of 9.6, and now the actual release of 9.6.
Re: PostgreSQL 9.6 Released
#48Just from reading the documentation, the full text search features on Postgres already look pretty powerful. And it is encouraging that they are actively being worked on. I'm wondering how this compares to a dedicated search engine like Solr or Elasticsearch. Are there huge differences in performance, features or search quality? At which scale does using Postgres for full text search still make sense?
Re: PostgreSQL 9.6 Released
#49Earlier quoted context omitted.
Did you store the plain text of each PDF in PostgreSQL or just the ts_vector resulting from the plain text?
IIRC, I stored the plain text too because the engine can return contextually marked up plaintext after finding it in the ts_vector.
Re: PostgreSQL 9.6 Released
#50Just from reading the documentation, the full text search features on Postgres already look pretty powerful. And it is encouraging that they are actively being worked on. I'm wondering how this compares to a dedicated search engine like Solr or Elasticsearch. Are there huge differences in performance, features or search quality? At which scale does using Postgres for full text search still make sense?
While it's ok for our purposes, I would wish for a bit better customisability of the text parser and it definitely needs better support for compound words to be perfect. The first issue is with relation to https://www.postgresql.org/docs/9.6/static/textsearch-parser... : The documentation says > At present PostgreSQL provides just one built-in parser, which has been found to be useful for a wide range of applications…