After loooong pause, adding next (well, second) post to the “series“. This time, I'd like to describe how logging works. And I don't mean binary logging (WAL), but the log for us, humans, to read. Before I will go to the postgresql.conf options, let…
While there are some docs on it, I decided to write about it, in perhaps more accessible language – not as a developer, but as PostgreSQL user. Some parts (quite large parts) were described in one of my earlier posts, but I'll try to concentrate on W…
1 Set max_connections to three times the number of processor cores on the server. Include virtual (hyperthreading) cores. Set shared_buffers to 4GB for servers with up to 64 GB of RAM. Use 8GB for systems with more than 64 GB of RA…
原文:https://tableplus.io/blog/2018/10/how-to-show-queries-log-in-postgresql.html -------------------------------------------------- In this post, we are going to discuss how to log all executed queries for inspection later in PostgreSQL. 1. First, you…