813 karma · joined May 3, 2015
https://github.com/NikolayS/postgres_dba -- this toolset includes a version of report (see report a1) which analyses all tables in your database and shows opportunities to optimize.
PostgreSQL 9.3.20 on x86_64-unknown-linux-gnu, compiled by gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4, 64-bi
I wonder why so old version is being used. I will be not supported by the community pretty soon.
1) https://azure.microsoft.com/en-us/services/postgresql/
2) http://www.pgconf.asia/JP/wp-content/uploads/2016/12/Postgre...
username+anything@mydomain.com is also a useful feature (as well as u.s.er.nam.e@mydomain.com – dots are all ignored in GMail; some services don't allow "+" in email address field, so you can use finite number of variants with ".").
These little tricks make GMail convenient for geeks :)
Seems like 6.4 version already had it: https://www.postgresql.org/docs/6.4/static/sql-notify.html
6.4 was released in 1998...
https://github.com/postgres/postgres/blob/REL6_4/doc/src/sgm...
Also, this story a year ago story https://www.linkedin.com/pulse/mongodb-32-now-powered-postgr... was simply epic.
Truly fantastic video of freediving competition. It reminds me awesome NASA TV with their live streaming of spacewalks.
I've never seen so well-organized coverage of a freediving event: good video quality, deep camera going back and forth to 100+ meters, amazing live comments. Various styles, athletes' errors underwater and at the surface, and breathtaking mystery of free fall – the video carries all the details.
Good to see how the combination of modern technologies can be used to achieve such results with relatively low costs.
If you use FOSS, you must be open to communications with the Open Source community. There is a lot of ways to do it. If you're a giant, you can find resources to change the software and contribute with patches, but if you cannot do it, please at least speak openly (or at least privately to some core developers), explaining your needs and issues.
Using FOSS without that is the same as using pirate versions of Oracle or Microsoft products, without buying support subscription.
Even if I would use query caching, I cannot imagine how it would help me to deal with really long queries (say, lacking proper indexes). Caching doesn't help when your query runs for 30 seconds – nobody will wait (and produce cache for others) so long.
In Postgres, straightforward approach to query such data is based on JOINs and it's absolutely inefficient. This can be dramatically optimized with recursive CTEs, arrays and loose index scan approach, but GraphQL by default it will do straightforward JOINs, right?
I hope GraphQL has (or will have soon) ways to overwrite/redefine queries, but again, it leads us to the same problems "patch driven development" that everyone hated in ORMs during decades. That's why I'm saying that GraphQL is "a new ORM", but it's more dangerous due to it's openness and proximity to web users, that's why it can bring even more dev and devops pain to the world that ORMs did during decades.
The main riddle to me is: in case of RDBMS in backend, how can we guess in advance which indexes are needed and how can we forbid/limit all "heavy" queries?
And it's so similar to ORM's issues all the industry experienced past 20 years. But perhaps more dangerous due to the public nature of many APIs.