This error you get when you create in one moment too many locks on tables in all transactions together. Situation when I encountered it was – many parallel queries from parent table with cca 100 child tables. Error looks like this: [txt] WARNING: out of...
Of course there is a table “pg_stat_all_tables” and column “n_live_tup” – but this number is only an estimation based on statistics. If you would like to know exactly and you want to see it in order and you do not mind to nearly kill your...
If you see in PostgreSQL log something like this: LOG: server process (PID xxxxx) was terminated by signal 9: Killed following by termination of other PostgeSQL processes and database going into recovery mode and you wonder what happend than most probable cause is...
You can use several ways to do it: in pgAdmin – right click on connection and choosing “Reload configuration” in psql / pgAdmin – using SQL: select pg_reload_conf(); from Linux – as postgres (if your PGDATA variable is set): pg_ctl reload...
This query shows you biggest database objects over all databases – size is taken from size of its data file therefore you see how big object on your disk really is: with dbs as (select datname as databasename, lnk.* from pg_database db join lateral (select *...
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.AcceptRejectRead More
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.