pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedElastic Search much faster at statistics?
2+ messages / 2 participants
[nested] [flat]
* Elastic Search much faster at statistics?
@ 2019-07-08 16:54 Guyren Howe <guyren@gmail.com>
2019-07-08 20:12 ` Re: Elastic Search much faster at statistics? Miles Elam <miles.elam@productops.com>
0 siblings, 1 reply; 2+ messages in thread
From: Guyren Howe @ 2019-07-08 16:54 UTC (permalink / raw)
To: pgsql-general
I find this… surprising. Caching?
http://blog.nrowegt.com/database-vs-elasticsearch-speed-column-statistics/
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Elastic Search much faster at statistics?
2019-07-08 16:54 Elastic Search much faster at statistics? Guyren Howe <guyren@gmail.com>
@ 2019-07-08 20:12 ` Miles Elam <miles.elam@productops.com>
0 siblings, 0 replies; 2+ messages in thread
From: Miles Elam @ 2019-07-08 20:12 UTC (permalink / raw)
To: pgsql-general
Not enough information. It looks far more like he's testing Ruby's support
for ElasticSearch vs ActiveRecord rather than ES vs PostgreSQL. Caching
could definitely hold a role but also choice of indexes. If ES is
calculating some aggregate info on the fly, the equivalent in PG would be a
stats table updated by trigger or as part of a regularly refreshed
materialized view. That said, if ES does some of that aggregation out of
the box, the convenience by default is compelling for some.
There are indeed cases where a caching engine will outperform a general
purpose data management engine. There are many cases where ACID
requirements preclude the use of a dedicated search engine. Use the right
tool for the job, and for a sufficiently large scale, use multiple tools.
On Mon, Jul 8, 2019 at 9:54 AM Guyren Howe <guyren@gmail.com> wrote:
> I find this… surprising. Caching?
>
> http://blog.nrowegt.com/database-vs-elasticsearch-speed-column-statistics/
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-07-08 20:12 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-07-08 16:54 Elastic Search much faster at statistics? Guyren Howe <guyren@gmail.com>
2019-07-08 20:12 ` Miles Elam <miles.elam@productops.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox