Tagged articles

PostgreSQL

571 articles · Page 4 of 6
ITPUB
ITPUB
Apr 24, 2023 · Databases

Master PostgreSQL Performance: From Hardware to Query Tuning

Effective PostgreSQL performance tuning requires a holistic approach, covering hardware sizing, OS sysctl tweaks, filesystem choices, query and schema design, key PostgreSQL parameters, concurrency settings, cache management, and careful scheduling of automated maintenance tasks to avoid resource conflicts.

OS ConfigurationPostgreSQLSQL
0 likes · 10 min read
Master PostgreSQL Performance: From Hardware to Query Tuning
ITPUB
ITPUB
Apr 22, 2023 · Databases

Why PostgreSQL Vacuums Can’t Reclaim Space After Deletes and Updates

The article examines why PostgreSQL tables often retain large disk footprints after massive inserts, updates, and deletions, showing experiments on PG 13/PG 14, analyzing factors such as long‑running transactions, replication slots, uncommitted transactions, fillfactor settings, and the old_snapshot_threshold bug, and offering practical diagnostics and mitigation steps.

PostgreSQLVacuumfillfactor
0 likes · 8 min read
Why PostgreSQL Vacuums Can’t Reclaim Space After Deletes and Updates
MaGe Linux Operations
MaGe Linux Operations
Apr 10, 2023 · Databases

Master DBeaver: Install, Connect, and Generate ER Diagrams Quickly

This guide introduces DBeaver, a free Java‑based database management tool, covering its cross‑platform installation, how to create connections for databases like PostgreSQL via JDBC, and how to generate ER diagrams from existing schemas, all illustrated with step‑by‑step screenshots.

DBeaverDatabase ManagementER diagram
0 likes · 7 min read
Master DBeaver: Install, Connect, and Generate ER Diagrams Quickly
ITPUB
ITPUB
Mar 8, 2023 · Databases

Why Cloud Migration Won’t Make DBAs Obsolete – New Roles and Challenges

Moving databases to the cloud changes DBA tasks but does not eliminate the role; it introduces new responsibilities such as migration planning, cross‑cloud compatibility, performance tuning, and acting as a bridge between cloud providers and enterprises.

Cloud databasesDBADatabase Administration
0 likes · 10 min read
Why Cloud Migration Won’t Make DBAs Obsolete – New Roles and Challenges
Ops Development Stories
Ops Development Stories
Mar 6, 2023 · Databases

How to Deploy and Use Bytebase for Database CI/CD on Kubernetes

This guide explains why traditional DBA tasks are tedious, introduces Bytebase as a reliable database CI/CD platform, and provides step‑by‑step instructions for deploying Bytebase and PostgreSQL on Kubernetes, configuring GitLab integration, managing users, instances, projects, environments, and performing schema changes and data operations.

BytebaseDatabase CI/CDDevOps
0 likes · 11 min read
How to Deploy and Use Bytebase for Database CI/CD on Kubernetes
ITPUB
ITPUB
Feb 27, 2023 · Databases

Mastering SQL Joins: Boost Performance When Migrating from Oracle to Open‑Source Databases

This article explains why SQL join execution plans often cause severe performance drops after moving from Oracle to domestic or open‑source databases, demonstrates each join type with PostgreSQL examples, shows how plan choices like HASH JOIN versus NESTED LOOP affect speed, and offers rewrite techniques such as NOT EXISTS or UNION to restore efficiency.

Database MigrationJOINOptimization
0 likes · 8 min read
Mastering SQL Joins: Boost Performance When Migrating from Oracle to Open‑Source Databases
21CTO
21CTO
Feb 18, 2023 · Databases

MySQL vs PostgreSQL 2023: Which Database Should You Choose?

This 2023 comparison examines MySQL and PostgreSQL across history, features, performance, scalability, cost, and migration trends, helping developers decide which relational database best fits their specific application requirements.

2023Database ComparisonMySQL
0 likes · 13 min read
MySQL vs PostgreSQL 2023: Which Database Should You Choose?
dbaplus Community
dbaplus Community
Feb 14, 2023 · Databases

10 Common PostgreSQL Mistakes and How to Avoid Them

This article outlines the ten most frequent PostgreSQL pitfalls—from default configurations and poor schema design to inadequate backups and mismanaged extensions—providing concrete SQL queries, tuning tools, and best‑practice recommendations to help DBAs detect, diagnose, and prevent each issue before it harms production workloads.

BackupConnection PoolingDatabase Administration
0 likes · 16 min read
10 Common PostgreSQL Mistakes and How to Avoid Them
ITPUB
ITPUB
Feb 6, 2023 · Artificial Intelligence

Can ChatGPT Replace a DBA? Real‑World Tests Reveal Its Strengths and Flaws

The article recounts a hands‑on exploration of ChatGPT’s abilities for database administration, highlighting impressive language understanding, notable mistakes such as confusing pg_resetwal with pg_resetxlog, and the broader implications of large language models for AI‑driven search and workflow automation.

AIAutomationChatGPT
0 likes · 8 min read
Can ChatGPT Replace a DBA? Real‑World Tests Reveal Its Strengths and Flaws
ITPUB
ITPUB
Jan 31, 2023 · Databases

How Pigsty Turns PostgreSQL into a Cost‑Effective Open‑Source RDS Alternative

Pigsty is an open‑source platform that upgrades PostgreSQL across six dimensions—observability, reliability, availability, maintainability, extensibility, and interoperability—delivering enterprise‑grade features, built‑in monitoring, automatic failover, backup, and performance tuning while cutting cloud database costs dramatically.

High AvailabilityOpen SourcePostgreSQL
0 likes · 22 min read
How Pigsty Turns PostgreSQL into a Cost‑Effective Open‑Source RDS Alternative
ITPUB
ITPUB
Dec 23, 2022 · Databases

Understanding Database Transaction Isolation: From ACID Basics to TDSQL Implementation

This article explains the ACID properties of database transactions, clarifies the often‑confused concepts of consistency and isolation, details the four SQL standard isolation levels, compares lock‑based and MVCC concurrency controls, and examines concrete implementations in MySQL, PostgreSQL, and the distributed TDSQL system.

ACIDDatabasesMVCC
0 likes · 28 min read
Understanding Database Transaction Isolation: From ACID Basics to TDSQL Implementation
21CTO
21CTO
Dec 20, 2022 · Databases

Explore PostgreSQL 15: New Features, Performance Boosts, and Upgrade Guide

PostgreSQL 15 introduces a safer permission model, up to four‑fold sorting speed improvements, a MERGE command, enhanced logical replication with two‑phase commit, parallel query execution, JSON logging, Zstandard/ZL4 compression, new regex functions, and shared‑memory server statistics, making it a compelling upgrade for developers and DBAs.

DatabaseNew FeaturesPostgreSQL
0 likes · 6 min read
Explore PostgreSQL 15: New Features, Performance Boosts, and Upgrade Guide
Java Architecture Diary
Java Architecture Diary
Dec 19, 2022 · Backend Development

How to Add a Custom PostgreSQL Plugin to Nacos 2.2+ via SPI

Starting with Nacos 2.2.0, you can inject multiple data source plugins via the SPI mechanism; this guide walks through adding a PostgreSQL plugin, importing the required Maven dependencies, loading the database script, configuring connection details, and setting the datasource platform in application.properties.

DataSourceNacosPostgreSQL
0 likes · 3 min read
How to Add a Custom PostgreSQL Plugin to Nacos 2.2+ via SPI
ITPUB
ITPUB
Dec 7, 2022 · Databases

Can Modern OSes Replace Database Kernels? Insights on OS‑Database Synergy

The article examines whether today’s powerful operating systems can assume tasks traditionally handled by database kernels, tracing the evolution from early OS‑dependent databases to modern systems that leverage OS file cache, VMM, and storage optimizations, while also discussing scenarios where direct DB control remains necessary.

DatabasesLinuxPostgreSQL
0 likes · 8 min read
Can Modern OSes Replace Database Kernels? Insights on OS‑Database Synergy
Top Architect
Top Architect
Nov 3, 2022 · Backend Development

Improving Million-Row Insert Performance with Spring Boot ThreadPoolTaskExecutor

This article demonstrates how to boost the efficiency of inserting millions of records by configuring a ThreadPoolTaskExecutor in Spring Boot 2.1.1, using MyBatis‑Plus and PostgreSQL, providing code examples, performance test results, and best‑practice recommendations for multithreaded batch insertion.

BatchInsertMybatisPlusPostgreSQL
0 likes · 7 min read
Improving Million-Row Insert Performance with Spring Boot ThreadPoolTaskExecutor
dbaplus Community
dbaplus Community
Oct 15, 2022 · Databases

What’s New in PostgreSQL 15? Performance Boosts, New SQL Features, and Enhanced Replication

PostgreSQL 15, released on October 13 2022, brings major performance gains such as faster sorting and WAL compression, adds the SQL MERGE command, expands regex and multirange support, improves security with security_invoker, and enhances logical replication, logging, and configuration flexibility for modern data workloads.

PostgreSQLSQL featureslogging
0 likes · 6 min read
What’s New in PostgreSQL 15? Performance Boosts, New SQL Features, and Enhanced Replication
Hacker Afternoon Tea
Hacker Afternoon Tea
Oct 4, 2022 · Databases

Benchmarking Citus and PostgreSQL with HammerDB: Achieving 2 Million NOPM

This article explains how to automate and run HammerDB benchmarks for OLTP, OLAP, and HTAP workloads on Azure-hosted Citus‑extended PostgreSQL, discusses workload characteristics, benchmark specifications, challenges of HTAP testing, and shows how a 2 million new‑orders‑per‑minute result was achieved using open‑source tooling and configuration tips.

AzureBenchmarkingCitus
0 likes · 19 min read
Benchmarking Citus and PostgreSQL with HammerDB: Achieving 2 Million NOPM
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 2, 2022 · Databases

SQLE 1.2208.0 Release Notes – New Features, MySQL Audit Rules, OceanBase Support, and Reporting Dashboard

The SQLE 1.2208.0 release introduces intelligent scanning for Alibaba Cloud RDS MySQL slow logs, adds numerous MySQL audit rules, opens enterprise‑level rules to the community, provides new OceanBase for MySQL audit rules, a reporting statistics page, PostgreSQL analysis support, and several scenario‑based audit enhancements along with many optimizations and bug fixes.

Database AuditingMySQLOceanBase
0 likes · 9 min read
SQLE 1.2208.0 Release Notes – New Features, MySQL Audit Rules, OceanBase Support, and Reporting Dashboard
Programmer DD
Programmer DD
Aug 27, 2022 · Databases

Top 10 PostgreSQL Bulk Import Optimizations for Faster Data Loading

When loading massive amounts of data into PostgreSQL, disabling autocommit, postponing index and foreign‑key creation, adjusting memory settings, using COPY or pg_bulkload, and fine‑tuning WAL and trigger settings can dramatically improve import speed and overall performance.

Bulk ImportPostgreSQLSQL
0 likes · 7 min read
Top 10 PostgreSQL Bulk Import Optimizations for Faster Data Loading
Laravel Tech Community
Laravel Tech Community
Aug 16, 2022 · Databases

PostgreSQL Global Development Team Releases Updates for Supported Versions, Announces PostgreSQL 10 End‑of‑Life, Details CVE‑2022‑2625, and Introduces PostgreSQL 15 Beta 3

The PostgreSQL global development team announced updates for versions 14.5, 13.8, 12.12, 11.17, 10.22 and the third beta of PostgreSQL 15, highlighted the upcoming end‑of‑life for PostgreSQL 10, disclosed a security vulnerability (CVE‑2022‑2625) affecting versions 10‑14, and listed over 40 bug fixes and improvements.

Bug FixesCVE-2022-2625Database Updates
0 likes · 6 min read
PostgreSQL Global Development Team Releases Updates for Supported Versions, Announces PostgreSQL 10 End‑of‑Life, Details CVE‑2022‑2625, and Introduces PostgreSQL 15 Beta 3
21CTO
21CTO
Aug 6, 2022 · Databases

August 2023 DB-Engines Ranking: Oracle Drops, MySQL & MongoDB Surge

The August 2023 DB‑Engines ranking shows Oracle’s steep 19.5‑point drop, while MySQL and MongoDB surge, PostgreSQL continues rising, and the top‑10 list highlights shifts across relational, key‑value, and document databases, with methodology based on search, job, and community metrics.

DB-EnginesDatabasesMySQL
0 likes · 4 min read
August 2023 DB-Engines Ranking: Oracle Drops, MySQL & MongoDB Surge
Selected Java Interview Questions
Selected Java Interview Questions
Jul 10, 2022 · Databases

Comparison of PostgreSQL and MySQL

This article provides a detailed technical comparison between PostgreSQL and MySQL, covering architecture, stored procedures, transactions, performance, high availability, replication, permission control, SQL support, data types, fault tolerance, table organization, development interfaces, and community maintenance.

Database ComparisonPostgreSQLSQL
0 likes · 12 min read
Comparison of PostgreSQL and MySQL
Hacker Afternoon Tea
Hacker Afternoon Tea
Jun 20, 2022 · Databases

Citus 11 for PostgreSQL: Fully Open‑Source and Queryable from Any Node

Citus 11.0 makes the entire extension open source, adds a non‑blocking shard rebalancer, enables automatic schema and metadata synchronization so distributed queries can run on any cluster node, and introduces trigger support on distributed tables, with clear upgrade steps and deprecation notes.

CitusMetadata SyncOpen Source
0 likes · 15 min read
Citus 11 for PostgreSQL: Fully Open‑Source and Queryable from Any Node
Hacker Afternoon Tea
Hacker Afternoon Tea
May 27, 2022 · Databases

Exploring Citus 11.x Utility Functions for Distributed PostgreSQL

This article provides a comprehensive reference of Citus‑provided user‑defined functions—including table DDL, metadata management, cluster maintenance, and shard rebalancing utilities—detailing their purpose, required permissions, parameters, and behavior within a distributed PostgreSQL environment.

CitusCluster ManagementDistributed Tables
0 likes · 19 min read
Exploring Citus 11.x Utility Functions for Distributed PostgreSQL
Hacker Afternoon Tea
Hacker Afternoon Tea
May 23, 2022 · Databases

Citus 11.x Distributed PostgreSQL: Complete SQL Reference Guide

This reference outlines Citus 11.x distributed PostgreSQL SQL features, covering DDL operations, DML commands, rollup cache aggregation, distributed table queries, query processing, manual query propagation, and supported SQL workarounds, with links to detailed documentation.

CitusDDLDML
0 likes · 4 min read
Citus 11.x Distributed PostgreSQL: Complete SQL Reference Guide
Hacker Afternoon Tea
Hacker Afternoon Tea
May 12, 2022 · Backend Development

How to Enable Distributed Multi‑Tenant PostgreSQL (Citus) in a Python/Django App

This guide walks through migrating a single‑node Django multi‑tenant application to a distributed PostgreSQL backend using Citus, covering schema changes, primary‑key and unique‑constraint adjustments, integration of the django‑multitenant library, data distribution, range‑query updates, and middleware automation.

CitusDatabase MigrationDjango
0 likes · 14 min read
How to Enable Distributed Multi‑Tenant PostgreSQL (Citus) in a Python/Django App
Hacker Afternoon Tea
Hacker Afternoon Tea
May 7, 2022 · Databases

Notion’s PostgreSQL Sharding: Key Decisions, Migration Process, and Hard Lessons

In early 2021 Notion transformed its monolithic PostgreSQL into a horizontally partitioned fleet by sharding the block table and related data, using workspace IDs as the partition key, migrating through double‑write, backfill, and verification steps, and learning hard lessons about timing, zero‑downtime, and schema design.

AWSDatabase ScalingMigration
0 likes · 18 min read
Notion’s PostgreSQL Sharding: Key Decisions, Migration Process, and Hard Lessons
Hacker Afternoon Tea
Hacker Afternoon Tea
May 2, 2022 · Databases

Running and Contributing to Citus 11 Documentation Locally

This guide explains how Citus shards data across machines to horizontally scale SQL queries for workloads over 100 GB, then walks through cloning the Citus 11 docs repository, setting up a pyenv‑based Python environment, installing Sphinx requirements, and launching the documentation in watch mode for local browsing.

CitusDocumentationPostgreSQL
0 likes · 3 min read
Running and Contributing to Citus 11 Documentation Locally
IT Services Circle
IT Services Circle
Apr 21, 2022 · Operations

How to Install and Deploy Wiki.js Using Docker Compose

This article introduces the open‑source Wiki.js platform, explains its features, and provides a step‑by‑step guide to install it on Linux using Docker Compose, including Docker‑compose installation, configuration files, container management, and optional HTTPS setup with Caddy.

CaddyDockerDocker Compose
0 likes · 7 min read
How to Install and Deploy Wiki.js Using Docker Compose
The Dominant Programmer
The Dominant Programmer
Apr 18, 2022 · Databases

How to Install PostgreSQL 14 on CentOS Using a Script

This guide walks through installing PostgreSQL 14 on a CentOS server via a shell script, covering repository setup, package installation, initialization, user and database creation, remote‑connection configuration, firewall adjustments, service verification, and connecting with Navicat.

CentOSDatabaseInstallation
0 likes · 4 min read
How to Install PostgreSQL 14 on CentOS Using a Script
Hacker Afternoon Tea
Hacker Afternoon Tea
Apr 17, 2022 · Databases

Introducing Stolon: Cloud‑Native High‑Availability for PostgreSQL

Stolon is an open‑source, cloud‑native manager that provides high‑availability for PostgreSQL by leveraging streaming replication, supporting any topology, integrating with Kubernetes, and using etcd, Consul, or the Kubernetes API for leader election and cluster storage.

Cloud NativeConsulHigh Availability
0 likes · 3 min read
Introducing Stolon: Cloud‑Native High‑Availability for PostgreSQL
Hacker Afternoon Tea
Hacker Afternoon Tea
Mar 31, 2022 · Databases

Manual Query Propagation in Citus Distributed PostgreSQL Clusters

The article explains how Citus lets you manually propagate SQL statements to workers, shards, or placements using functions like run_command_on_workers, run_command_on_shards, and run_command_on_placements, provides concrete examples, and outlines important limitations and safety considerations.

CitusManual Query PropagationPostgreSQL
0 likes · 7 min read
Manual Query Propagation in Citus Distributed PostgreSQL Clusters
Hacker Afternoon Tea
Hacker Afternoon Tea
Mar 29, 2022 · Databases

Using Citus for Distributed PostgreSQL: SQL Reference for Querying Distributed Tables

This article explains how Citus extends PostgreSQL for distributed execution, detailing supported aggregation functions, count‑distinct handling, HyperLogLog columns, Top‑N estimation, percentile sketches with t‑digest, limit push‑down, view support, and various join strategies, while providing concrete SQL examples and configuration tips.

AggregationCitusDistributed SQL
0 likes · 16 min read
Using Citus for Distributed PostgreSQL: SQL Reference for Querying Distributed Tables
ITPUB
ITPUB
Mar 24, 2022 · Databases

How to Prevent PostgreSQL XID Wraparound and Fix Freeze Errors

This article explains the cause of PostgreSQL "database is not accepting commands to avoid wraparound data loss" errors, details the XID allocation and wraparound mechanisms, and provides manual and automated vacuum‑freeze solutions with concrete SQL commands and scripts.

Database MaintenanceFreezePostgreSQL
0 likes · 14 min read
How to Prevent PostgreSQL XID Wraparound and Fix Freeze Errors
Hacker Afternoon Tea
Hacker Afternoon Tea
Mar 24, 2022 · Databases

Quick Guide: Testing Citus Distributed PostgreSQL on Kubernetes with Distributed, Co‑located, Reference, and Columnar Tables

This tutorial walks through setting up a Citus‑enabled PostgreSQL cluster on Kubernetes, creating distributed tables, using co‑location and reference tables for high‑performance joins, and comparing row‑based versus columnar storage with concrete SQL commands and performance metrics.

CitusCo-locationDistributed Tables
0 likes · 11 min read
Quick Guide: Testing Citus Distributed PostgreSQL on Kubernetes with Distributed, Co‑located, Reference, and Columnar Tables
Hacker Afternoon Tea
Hacker Afternoon Tea
Mar 22, 2022 · Databases

Quick Start Guide: Building a Multi‑Tenant Ad Analytics Database with Distributed PostgreSQL (Citus)

This tutorial walks through setting up Citus, creating and distributing PostgreSQL tables for a multi‑tenant ad‑analytics application, loading sample data, executing CRUD and analytical queries, and extending the approach to real‑time GitHub event analysis, demonstrating end‑to‑end database operations in a distributed environment.

CitusPostgreSQLReal-Time Analytics
0 likes · 14 min read
Quick Start Guide: Building a Multi‑Tenant Ad Analytics Database with Distributed PostgreSQL (Citus)
Hacker Afternoon Tea
Hacker Afternoon Tea
Mar 21, 2022 · Databases

Choosing the Right Distribution Column in Citus: Best Practices for Efficient Queries

This article explains how to select an optimal distribution column for Citus tables by first identifying whether your workload is multitenant SaaS or real‑time analytics, then applying concrete guidelines such as using high‑cardinality tenant or entity IDs, avoiding timestamps, ensuring uniform distribution, and leveraging co‑location for better query performance.

CitusPostgreSQLReal-Time Analytics
0 likes · 17 min read
Choosing the Right Distribution Column in Citus: Best Practices for Efficient Queries
Hacker Afternoon Tea
Hacker Afternoon Tea
Mar 20, 2022 · Databases

Official Guide to Installing a Distributed PostgreSQL (Citus) Cluster

This step‑by‑step guide shows how to set up both single‑node and multi‑node Citus clusters on Docker, Ubuntu/Debian, and Fedora/CentOS/Red Hat, covering repository addition, package installation, configuration of shared_preload_libraries, database initialization, worker node registration, and verification commands.

CentOSCitusDocker
0 likes · 14 min read
Official Guide to Installing a Distributed PostgreSQL (Citus) Cluster
ITPUB
ITPUB
Mar 18, 2022 · Databases

PostgreSQL vs MongoDB: How to Choose the Right Database for Your Project

The article reviews the 50‑year evolution of databases, explains why modern enterprises need multiple database types, compares PostgreSQL and MongoDB for a typical market‑place application, and highlights how team expertise and architectural constraints should drive the final selection.

Enterprise ArchitectureMongoDBMulti-Model Databases
0 likes · 9 min read
PostgreSQL vs MongoDB: How to Choose the Right Database for Your Project
Hacker Afternoon Tea
Hacker Afternoon Tea
Mar 18, 2022 · Backend Development

Building a Distributed Multi‑Tenant Database with Django, Postgres, and Citus

This guide demonstrates how to build a distributed multi‑tenant database using Django with Postgres and Citus, covering installation, supported Django versions, model modifications via mixins or inheritance, middleware for tenant context, automatic composite foreign keys, and the library’s API with concrete code examples.

CitusDjangoPostgreSQL
0 likes · 8 min read
Building a Distributed Multi‑Tenant Database with Django, Postgres, and Citus
Hacker Afternoon Tea
Hacker Afternoon Tea
Mar 17, 2022 · Databases

Building Scalable Time‑Series with Distributed PostgreSQL (Citus) – Official Example

This guide shows how to combine PostgreSQL declarative time‑range partitioning with Citus distributed sharding to create a scalable time‑series database, covering table creation, distribution, automatic monthly partition generation, columnar archiving, maintenance with pg_cron, and performance benefits such as faster inserts, queries, and data expiration.

CitusPartitioningPostgreSQL
0 likes · 11 min read
Building Scalable Time‑Series with Distributed PostgreSQL (Citus) – Official Example
Hacker Afternoon Tea
Hacker Afternoon Tea
Mar 16, 2022 · Databases

Building a Real-Time Dashboard with Distributed PostgreSQL (Citus) – Official Example

This tutorial shows how to use Citus, a distributed PostgreSQL extension, to ingest immutable HTTP event logs, shard them by site_id, create real‑time and pre‑aggregated tables, schedule roll‑up jobs, handle data expiration, estimate distinct counts with HyperLogLog, and store unstructured JSONB counters for a low‑latency analytics dashboard.

CitusHyperLogLogJSONB
0 likes · 16 min read
Building a Real-Time Dashboard with Distributed PostgreSQL (Citus) – Official Example
Hacker Afternoon Tea
Hacker Afternoon Tea
Mar 14, 2022 · Databases

Building a Multi‑Tenant SaaS with Citus: An Official Distributed PostgreSQL Example

This guide walks through creating a multi‑tenant ad‑analytics SaaS using Citus, covering schema design, sharding by company_id, data ingestion, reference tables, online schema changes, tenant‑specific JSONB fields, hardware scaling, large‑tenant isolation, and migration steps with concrete SQL examples and commands.

CitusDistributed SQLJSONB
0 likes · 27 min read
Building a Multi‑Tenant SaaS with Citus: An Official Distributed PostgreSQL Example
macrozheng
macrozheng
Mar 12, 2022 · Databases

March 2024 DB‑Engines Ranking: Who’s Rising and Who’s Falling?

The March 2024 DB‑Engines ranking reveals Oracle, MySQL and SQL Server losing ground while PostgreSQL surges, Snowflake climbs, and detailed top‑10 lists across relational, key‑value, document, time‑series, and graph databases illustrate shifting popularity trends based on five industry metrics.

DB-EnginesDatabase trendsPostgreSQL
0 likes · 4 min read
March 2024 DB‑Engines Ranking: Who’s Rising and Who’s Falling?
ITPUB
ITPUB
Mar 10, 2022 · Databases

How to Speed Up Latest‑Record Queries in Large PostgreSQL Time‑Series Tables

This article explains why querying the most recent record for a specific device in massive time‑series tables can be painfully slow in PostgreSQL, demonstrates the impact of using only a timestamp index, and presents several indexing and query‑design strategies—including composite indexes, lateral joins, SkipScan, recursive CTEs, and logging tables with triggers—to dramatically improve performance.

PostgreSQLSQLTime-Series
0 likes · 22 min read
How to Speed Up Latest‑Record Queries in Large PostgreSQL Time‑Series Tables
ITPUB
ITPUB
Mar 8, 2022 · Databases

Mastering PostgreSQL Execution Plans: From Basics to Advanced Optimization

This article explains how PostgreSQL generates execution plans, details the plan tree structure, cost parameters, scan and join methods, and provides practical tips for using EXPLAIN, tuning planner settings, and applying hints to optimize SQL performance.

Join TypesPostgreSQLcost estimation
0 likes · 17 min read
Mastering PostgreSQL Execution Plans: From Basics to Advanced Optimization
Hacker Afternoon Tea
Hacker Afternoon Tea
Mar 6, 2022 · Databases

Understanding Citus: Distributed PostgreSQL Architecture and Core Concepts

Citus extends PostgreSQL into a shared‑nothing distributed system where a coordinator node routes queries to worker nodes, supporting distributed, reference, and local tables, shard placement, replication modes, co‑location, parallel execution, and configurable connection‑pool settings to scale storage and CPU across a cluster.

CitusPostgreSQLQuery Execution
0 likes · 12 min read
Understanding Citus: Distributed PostgreSQL Architecture and Core Concepts
Hacker Afternoon Tea
Hacker Afternoon Tea
Feb 28, 2022 · Cloud Native

Running Pgpool-II on Kubernetes for PostgreSQL Query Load Balancing and Connection Pooling

This guide explains how to combine a PostgreSQL Operator with Pgpool-II on Kubernetes to create a PostgreSQL cluster that supports query read‑load balancing and connection pooling, covering prerequisites, deployment steps, environment‑variable and ConfigMap configuration, backend settings, failover handling, password registration, streaming replication checks, SSL setup, and Prometheus monitoring.

Cloud NativeKubernetesPostgreSQL
0 likes · 13 min read
Running Pgpool-II on Kubernetes for PostgreSQL Query Load Balancing and Connection Pooling
ITPUB
ITPUB
Feb 28, 2022 · Databases

Recovering a Corrupted PostgreSQL Database with pg_resetwal: A Step‑by‑Step Guide

This article explains how a deep understanding of database internals, illustrated by an Oracle recovery story, enables you to restore PostgreSQL instances when WAL files or pg_control are missing, providing detailed command parameters, preparation steps, and cautions for safe recovery.

Database RecoveryOraclePostgreSQL
0 likes · 10 min read
Recovering a Corrupted PostgreSQL Database with pg_resetwal: A Step‑by‑Step Guide
Hacker Afternoon Tea
Hacker Afternoon Tea
Feb 25, 2022 · Databases

How Citus Turns PostgreSQL into a Distributed Database

Citus is an open‑source PostgreSQL extension that adds sharding, distributed tables and parallel query execution, enabling horizontal and vertical scaling for multi‑tenant SaaS, real‑time analytics, and massive workloads, while outlining acquisition options, practical use cases, and scenarios where it is unsuitable.

AzureCitusPostgreSQL
0 likes · 7 min read
How Citus Turns PostgreSQL into a Distributed Database
Hacker Afternoon Tea
Hacker Afternoon Tea
Feb 24, 2022 · Cloud Native

How to Create, Connect, and Delete a PostgreSQL Cluster with CrunchyData PGO (Cloud‑Native)

This tutorial walks through installing the CrunchyData Postgres Operator, creating a PostgreSQL cluster named hippo with kustomize, inspecting its resources, configuring services, secrets, and TLS for secure connections, modifying service types, deploying a Keycloak application using the generated credentials, and finally deleting the cluster while handling PVC retention.

Cloud NativeCrunchyDataKeycloak
0 likes · 12 min read
How to Create, Connect, and Delete a PostgreSQL Cluster with CrunchyData PGO (Cloud‑Native)
Ops Development Stories
Ops Development Stories
Feb 17, 2022 · Cloud Native

How to Build a Minimal‑Cost HA Harbor Registry with PostgreSQL Replication on Alibaba Cloud

This guide details a low‑overhead, highly available Harbor deployment on Alibaba Cloud, covering preparation of SLB, ECS, NFS storage, installation of Docker‑Compose, configuration of image mirrors, installation of Harbor 2.3, setup of PostgreSQL 13 master‑slave replication, Redis integration, backup procedures, failover handling, and disaster‑recovery strategies.

Alibaba CloudDockerHarbor
0 likes · 20 min read
How to Build a Minimal‑Cost HA Harbor Registry with PostgreSQL Replication on Alibaba Cloud
Qingyun Technology Community
Qingyun Technology Community
Jan 24, 2022 · Databases

Recover Lost PostgreSQL Data: Tools, Techniques, and Best Practices

This article explains why PostgreSQL data loss occurs, compares DDL and DML causes, and reviews several recovery tools—including pg_resetwal, pg_dirtyread, pg_recovery, pg_filedump, WalMiner, and pageinspect—providing usage examples, summaries, and practical recommendations for effective data restoration.

Data RecoveryDatabase ToolsMVCC
0 likes · 14 min read
Recover Lost PostgreSQL Data: Tools, Techniques, and Best Practices
Hacker Afternoon Tea
Hacker Afternoon Tea
Jan 16, 2022 · Databases

Sentry Developer Contribution Guide – Database Migrations

This guide explains how Sentry uses Django migrations to manage database schema changes, covering commands for upgrading, targeting specific migrations, generating SQL, creating and merging migrations, and detailed best‑practice procedures for handling filters, indexes, column and table modifications, foreign keys, and renaming while avoiding downtime.

DjangoPostgreSQLSQL
0 likes · 16 min read
Sentry Developer Contribution Guide – Database Migrations
Architects Research Society
Architects Research Society
Jan 7, 2022 · Databases

High‑Availability Clustering Solutions for PostgreSQL

This article explains the concepts of high availability, continuous recovery, and standby databases, then reviews various PostgreSQL clustering options such as DRBD, ClusterControl, Rubyrep, Pgpool‑II, Bucardo, Postgres‑XC, Citus, and PostgresXL, highlighting their features, advantages, and drawbacks.

ClusterControlClusteringDRBD
0 likes · 16 min read
High‑Availability Clustering Solutions for PostgreSQL
JD Cloud Developers
JD Cloud Developers
Dec 24, 2021 · Databases

Boost Address Keyword Search with PostgreSQL: GIN, pg_trgm, and pg_bigm

This article explains how PostgreSQL's native full‑text search, GIN indexes, and extensions like pg_trgm, pg_bigm, and pg_jieba can dramatically improve the speed and accuracy of Chinese address keyword searches, offering a cost‑effective alternative to external search engines.

Full-text SearchGIN IndexPostgreSQL
0 likes · 6 min read
Boost Address Keyword Search with PostgreSQL: GIN, pg_trgm, and pg_bigm
Programmer DD
Programmer DD
Dec 16, 2021 · Databases

Why a Former MySQL Engineer Recommends PostgreSQL Over MySQL

A former Oracle MySQL lead engineer explains why, after five years of work, he finds PostgreSQL a superior open‑source RDBMS, criticizing MySQL’s design flaws, comparing MariaDB, and highlighting real‑world migration experiences and industry perspectives.

Database ComparisonDatabase MigrationMariaDB
0 likes · 9 min read
Why a Former MySQL Engineer Recommends PostgreSQL Over MySQL
21CTO
21CTO
Dec 14, 2021 · Databases

PostgreSQL vs MySQL: Which Database Wins in JSON, Indexing, and Concurrency?

This article examines workload analysis and query performance differences between PostgreSQL and MySQL, focusing on JSON handling, indexing strategies, concurrency control, benchmark results, and replication features, while offering configuration tips to improve each database’s speed and efficiency.

Database PerformanceIndexingMVCC
0 likes · 10 min read
PostgreSQL vs MySQL: Which Database Wins in JSON, Indexing, and Concurrency?
Qingyun Technology Community
Qingyun Technology Community
Dec 7, 2021 · Databases

Master PostgreSQL Replication with repmgr: A Complete Guide

This article introduces repmgr, an open‑source PostgreSQL replication manager, covering its architecture, election mechanism, core tools, metadata tables, installation steps, command syntax, configuration options, and common operations for building high‑availability database clusters.

High AvailabilityPostgreSQLdatabase clustering
0 likes · 8 min read
Master PostgreSQL Replication with repmgr: A Complete Guide
Programmer DD
Programmer DD
Nov 27, 2021 · Databases

Deploy MangoDB: An Open‑Source MongoDB Alternative with Docker

This guide introduces MangoDB, an open‑source MongoDB‑compatible database built on PostgreSQL, and walks you through a three‑step Docker‑Compose setup, service startup, and connection using mongosh, enabling developers to quickly try a true open‑source MongoDB replacement.

DatabaseDockerMangoDB
0 likes · 4 min read
Deploy MangoDB: An Open‑Source MongoDB Alternative with Docker
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 12, 2021 · Databases

Implementing High‑Availability PostgreSQL with Keepalived: Architecture, Setup, and Failover Procedures

This article explains how to use Keepalived together with PostgreSQL to build a two‑node high‑availability cluster, covering Keepalived's VRRP mechanism, host planning, installation steps, asynchronous master‑slave replication configuration, monitoring scripts, and detailed failover drills.

Database ReplicationFailoverHigh Availability
0 likes · 20 min read
Implementing High‑Availability PostgreSQL with Keepalived: Architecture, Setup, and Failover Procedures
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 5, 2021 · Databases

SQLE 1.2111.0-pre1 Release Notes

The SQLE 1.2111.0-pre1 preview release introduces plugin-based support for arbitrary databases, provides a PostgreSQL plugin example, includes API adjustments, fixes a rule‑passing bug, and offers links to the source repository, documentation, and release information for users and administrators.

DatabasesPostgreSQLSQL
0 likes · 3 min read
SQLE 1.2111.0-pre1 Release Notes
ITPUB
ITPUB
Nov 2, 2021 · Databases

Why Open-Source Databases Like PostgreSQL Boost Security for Hybrid Workforces

Since the pandemic forced remote work, organizations must protect growing data across hybrid teams, and the article argues that open-source databases such as PostgreSQL offer stronger, more adaptable security than legacy closed-source systems by enabling rapid patching, community scrutiny, and cost-effective protection.

Database SecurityOpen SourcePostgreSQL
0 likes · 5 min read
Why Open-Source Databases Like PostgreSQL Boost Security for Hybrid Workforces