pg-query-stream runs VERY slow
See original GitHub issueHi,
I have noticed that pg-query-stream
runs very slow compared to pg
, about 10x slower …Tested on
pg 7.17.0
pg-query-stream 2.1.2
node 12.14.0
postgresql 10
The old versions of pg
and pg-query-stream
works fine , pg 6.1.2
and pg-query-stream 1.0.0
Any idea?
Thanks! Gabriel
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
node.js - nodejs + postgresql way too slow - Stack Overflow
When I run apache bench on it, it get only about four requests per second. If I run the same query in php/apache...
Read more >Dealing With Slow Queries With PostgreSQL - pgDash
In every deployment, there are always a few queries that run too slow. Read on to see how to discover queries that take...
Read more >Find the slow running queries in postgresql - YouTube
( 24*7) on Call Support for PostgreSQL /Open Source databases. ... PostgreSQL : Find the slow running queries in postgresql.
Read more >Slow query on primary server runs fast on hot standby
I've run ANALYZE on my table and have reindexed the index idx_own_spas on my primary server, but it hasn't helped. Here is the...
Read more >PostgreSQL Running Slow? Tips & Tricks to Get to the Source
Get as much information as possible from whoever says the database seems slow; specific queries, applications connected, timeframes of the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m going to release a new major version of pg-query-stream in about 1 hour. The internals are substantially re-written. Interested in if you see more performance improvements! Also, I plan on working hard and long on performance for pg@9.0. This module has collected some cruft and kept old, strange API design decisions around for a long time in the name of backwards compatibility or me not having enough time to get to things. That’s changing for 2020. I had plans to already start on a bunch of this work, but cut the end of my finger off on NYE…now that I can (mostly) type okay again the work has resumed! Stay tuned…just writing changelog entry for pg-query-stream@3.x and will push it.
my work day got a little out of control & I didn’t get a chance to release - wanted to wait for a review on it & now its a bit late…would rather release in the AM when I get up so I’ll do this w/ my morning coffee tomorrow. Sorry for the delay!