Arindam Ghoshdbaguides.com·Jan 5, 2025How to Minimize Downtime Caused by Table Locks During PostgreSQL Schema Changes?🚨 Ever faced an unexpected downtime from a seemingly harmless database deployment?Imagine you're adding a new column to an existing table (e.g., users) in PostgreSQL. You decided to skip specifying a default value, thinking it would be a metadata-on...48 readsPostgreSQL
Vedant Sagolaledbforpuredevelopers.hashnode.dev·Dec 12, 2024Database Joints Unveiled: From Basics to Advanced TechniquesSetting Up Our Example Database Let's create a practical scenario to illustrate database joints. We'll design a small business database with multiple interconnected tables. -- Create Departments Table CREATE TABLE Departments ( dept_id INT PRIMAR...Databases
Nikhil Soman Sahunikhilsomansahu.hashnode.dev·May 12, 202425 common questions that might be asked in a database administrator (DBA) interviewSure, here are 25 common questions that might be asked in a database administrator (DBA) interview: What is normalization and why is it important in database design? Explain the differences between a clustered and a non-clustered index. What is a ...SQL
Arindam Ghoshdbaguides.com·Apr 30, 2023Setup Database CI/CD for PostgreSQL using Flyway and GitHub ActionsContinuous Integration/Continuous Deployment (CI/CD) ♾️ is a widely adopted practice in software development that helps ensure reliable and efficient delivery of applications. When it comes to databases, managing changes to a database can be complex ...2.8K readsCI/CD
Alex Skripovskripov.hashnode.dev·Mar 23, 2023MySQL documentationA few days ago I had a situation when I had to run some query on my MySQL server without access to the internet. And what I discovered. The default server build is compiled with MySQL docs on board :) Just in case, I needed JSON_SCHEMA_VALIDATION_REP...29 readsMySQL
Arindam Ghoshdbaguides.com·Jan 23, 2021Installing pgbadger on Linux for PostgreSQL log analysisAs a DBA, we often encounter scenarios when we need to track PostgreSQL database performance by analyzing workloads and identifying bottlenecks if any. There comes pgbadger – an open-source log analyzer for PostgreSQL. It parses the PostgreSQL log fi...6.8K readsPostgreSQL
Arindam Ghoshdbaguides.com·Sep 14, 2020How to Recover a Database from Suspect or Recovery Pending State in SQL Server?So one or more of your databases went into RECOVERY PENDING state or in SUSPECT mode and you are confused about what to do now to fix the issue immediately. Do not panic 😨 Almost every DBA has encountered this scenario quite a few times in their pro...332 readsSQL Server
Arindam Ghoshdbaguides.com·Aug 9, 2020How to Create an Amazon RDS Aurora PostgreSQL Database Cluster?To keep up with the ever-changing and evolving tech industry, we want our databases to be easily scalable, replicable, fault-tolerant, and most importantly without having any administrative hassle. One of the best options to achieve this is to opt fo...132 readsPostgreSQL
Arindam Ghoshdbaguides.com·Aug 2, 2020Restoring a Sample Database into PostgreSQLIn the process of learning a new database technology, testing out various features and following a tutorial, what you require is a sample database. Like other DBMS, there are several sample databases available for PostgreSQL as well. PostgreSQL has s...282 readsPostgreSQL
Arindam Ghoshdbaguides.com·Jul 18, 2020Configuring PostgreSQL for the First TimeWe have discussed the PostgreSQL installation steps here. Next comes the initial configuration part. We will separate the initial configuration into two steps: Enable Remote Connections Set Server-Level Options Before we proceed further, let’s br...356 readsconfiguration