For a better experience of results, switch to desktop mode on your mobile browser [may take a second or two to load the results]
In this survey, I just wanted to understand how people are using PostgreSQL and wanted to give the information to the community
What does the below code snippet really mean in PostgreSQL while installing software?
We will understand it in this post.
PostgreSQL is written in C, so installing PostgreSQL software is nothing but compiling and running all the C-Programs in your source code.
We will do that with an example.,How to compile and run a C program in Linux?
- Create a program called first.c
There is a file in pg_dynshmem sub-directory under PostgreSQL data directory.
- But what is that file?
The answer is here,
What happens when you execute a transaction in PostgreSQL?
The block will be fetched to shared buffers, executed there and upon commit, the dirty buffer will leave to disk again, but how does that happen?
The answer is here.
PostgreSQL is an ORDBMS software, Let’s ignore O for time being (we will have a separate post on O alone), as an RDBMS, PostgreSQL has to support ACID properties (we will have a seperate post to discuss ACID properties), but for now,
Warning: The information provided here is based on unsupported development version of PostgreSQL 13.
DROP DATABASE drops a database. It removes the catalog entries for the database and deletes the directory containing the data. It can only be executed by the database owner. It cannot be executed while you are connected to the target database.
Here, from PostgreSQL v13 on wards you have an option to drop database forcefully even if an external session is connected.
Media failure is one of the crucial things that the database administrator should be aware of. Media failure is nothing but a physical problem reading or writing to files on the storage medium.
A typical example of media failure is a disk head crash, which causes the loss of all files on a disk drive. All files associated with a database are vulnerable to a disk crash, including datafiles, wal files, and control files.
In this post we are going to understand PostgreSQL Page Layout in detail.
Bonus is coming up towards the end!!
Do I have ORACLE’s PCTFREE and PCTUSED kind of mechanism in PostgreSQL?PostgreSQL Page Layout
Each data file in PostgreSQL is divided into PostgreSQL disk blocks of 8 Kb each.The blocks are numbered sequentially, 0 to 0xFFFFFFFE. A PostgreSQL disk page is a memory version of a PostgreSQL disk block.
Below image depicts the page format used within PostgreSQL tables and indexes.
This post answers the following question with comprehensive details.
How much memory you need to give to your shared buffers in PostgreSQL and why?
Bonus!! Why my RDS postgreSQL shared buffers uses 25% of system RAM where as Aurora’s shared buffers is 75%?
The answer is here.Understanding OS Cache vs Shared Buffers in PostgreSQL
Before we begin, I have a question for you.
what is the role of BGWriter in PostgreSQL?
g as a PostgreSQL DBA, you want to remove all obsoleted rows of the “dept” table from disk to minimize the size of the data files for this table.which of the following statements can be us
The PostgreSQL certification questions mentioned below are just for understanding purpose and we do not guarantee that they appear in the exam. Please read the questions to understand the difficulty level of the certification exam.
I have been a part of quite a few WhatsApp and Social platforms like Facebook and Twitter and have seen people asking many doubts.
Keeping this in mind, I have created this forum and here is how you can make the most use of it.How to work with the forum page in postgreshelp
After choosing the forum from the menu bar, here are the tips that you need to follow.1.Navigation or Page Overview
2. How to Ask a question
It has been just two years since I know the word PostgreSQL.
During my journey into PostgreSQL, I came to know that there is a conference going to happen every year on PostgreSQL in India and we call it PGConf India.
Last year it happened between Feb 13 and Feb 15.
I attended the PgConfIndia conference for all three days and here are my observations and feedback on the conference.
I am working for a reputed organization and my client is the industry leader in its sector.
- I am learning a lot while working for my client,
- I have enrolled in 7 WhatsApp groups,
- 9 Facebook groups, to understand the things happening around the world on PostgreSQL database administration, yet
Here are my experiences by attending PgConf India 2019 and my top 3 reasons why you should attend the conference PgConfIndia-2020.