Tagged articles
494 articles
Page 5 of 5
Tencent Cloud Developer
Tencent Cloud Developer
Apr 4, 2019 · Cloud Native

Design and Optimization of CynosDB for PostgreSQL: One‑Primary Multi‑Read Architecture

The article details CynosDB’s cloud‑native PostgreSQL design—using compute‑storage separation, log sinking with asynchronous replay, and multi‑version reads—to enable a one‑primary multi‑read architecture that delivers elastic scaling, reduced I/O, stateless instances, and rapid failover and efficient resource utilization through parallel log‑based recovery.

Cloud NativeCynosDBDatabase Architecture
0 likes · 15 min read
Design and Optimization of CynosDB for PostgreSQL: One‑Primary Multi‑Read Architecture
21CTO
21CTO
Mar 22, 2019 · Databases

Choosing the Right Open‑Source Database: PostgreSQL, MariaDB, and Percona Compared

This article examines why modern businesses rely on databases, explains the concept and advantages of open‑source software, and provides a detailed comparison of three popular open‑source databases—PostgreSQL, MariaDB, and Percona—highlighting their strengths, weaknesses, and ideal use cases.

MariaDBPerconadatabases
0 likes · 8 min read
Choosing the Right Open‑Source Database: PostgreSQL, MariaDB, and Percona Compared
21CTO
21CTO
Mar 9, 2019 · Databases

Which Databases Dominated March 2019 Rankings? MySQL and Oracle Surge

The March 2019 database popularity ranking shows Oracle, MySQL, and SQL Server all gaining points, with MySQL leading the surge, Oracle’s rise linked to its new 19c release, and PostgreSQL experiencing its first decline in six months.

Oracledatabasesmysql
0 likes · 2 min read
Which Databases Dominated March 2019 Rankings? MySQL and Oracle Surge
Tencent Cloud Developer
Tencent Cloud Developer
Mar 5, 2019 · Databases

Technical Sharing on Tencent Cloud's CynosDB: Architecture, High Availability, and Distributed Storage

Tencent Cloud’s CynosDB, a cloud‑native MySQL and PostgreSQL compatible database, uses a compute‑storage separation architecture with computable intelligent storage, primary‑multiple‑read design, and distributed CynosStore to deliver high availability, fast recovery, elastic scaling, and pay‑as‑you‑go pricing for developers.

CynosDBhigh availabilitymysql
0 likes · 4 min read
Technical Sharing on Tencent Cloud's CynosDB: Architecture, High Availability, and Distributed Storage
ITPUB
ITPUB
Jan 5, 2019 · Databases

Why PostgreSQL Captured the 2018 DB-Engines DBMS of the Year Award

The 2018 DB-Engines ranking crowned PostgreSQL as the top DBMS, highlighting its 30‑year evolution, strong community, and expanding features, while MongoDB and Redis secured the runner‑up and third places respectively, and the January 2019 popularity scores showed continued shifts among major database systems.

DB-EnginesDatabase RankingsMongoDB
0 likes · 5 min read
Why PostgreSQL Captured the 2018 DB-Engines DBMS of the Year Award
21CTO
21CTO
Dec 27, 2018 · Databases

SQLite vs MySQL vs PostgreSQL: Which Database Fits Your Needs?

This article compares SQLite, MySQL, and PostgreSQL across architecture, features, scalability, use cases, and limitations, helping developers choose the most suitable relational database for their specific application requirements.

RDBMSSQLitedatabase comparison
0 likes · 11 min read
SQLite vs MySQL vs PostgreSQL: Which Database Fits Your Needs?
Tencent Cloud Developer
Tencent Cloud Developer
Dec 20, 2018 · Databases

CynosDB Architecture and Optimization: A PostgreSQL-Compatible NewSQL Database

CynosDB, Tencent’s PostgreSQL‑compatible NewSQL service, separates compute and storage, uses a log‑based distributed CynosStore with idempotent logs, offloads CRC checks, and implements async table extension, eliminating full‑page writes and dirty‑page flushing to deliver scalable, cost‑effective performance while preserving PostgreSQL features.

CynosDBDatabase ArchitectureLog System Optimization
0 likes · 12 min read
CynosDB Architecture and Optimization: A PostgreSQL-Compatible NewSQL Database
Java High-Performance Architecture
Java High-Performance Architecture
Sep 29, 2018 · Databases

Master Hierarchical Queries with CTEs: Recursive Techniques for Category Trees

This article explains how Common Table Expressions (CTEs) simplify hierarchical queries in SQL, covering both non‑recursive and recursive forms, providing step‑by‑step examples for retrieving child, parent, and root categories using MySQL 8 and PostgreSQL 10, along with test data and execution results.

CTERecursive Querieshierarchical data
0 likes · 8 min read
Master Hierarchical Queries with CTEs: Recursive Techniques for Category Trees
Xianyu Technology
Xianyu Technology
Sep 14, 2018 · Databases

Real-time Search Ranking Intervention Using Alibaba Cloud HybridDB for PostgreSQL

Xianyu achieves second‑level real‑time search ranking adjustments by using Alibaba Cloud HybridDB for PostgreSQL to normalize heterogeneous data into JSONB, merge attributes with timestamp‑based logic, and trigger PostgreSQL NOTIFY events that instantly recalculate scores, boosting transaction volume by ~30% and feedback by ~28%.

HybridDBdata-mergepostgresql
0 likes · 9 min read
Real-time Search Ranking Intervention Using Alibaba Cloud HybridDB for PostgreSQL
ITPUB
ITPUB
Sep 12, 2018 · Databases

MySQL vs PostgreSQL: In‑Depth Feature Comparison and Choosing the Right Database

This article compares MySQL and PostgreSQL across open‑source licensing, ACID compliance, SQL standard support, replication modes, concurrency control, performance characteristics, high‑availability solutions, external data source integration, and storage models, helping readers decide which database best fits their workloads.

Replicationdatabase comparisonmysql
0 likes · 12 min read
MySQL vs PostgreSQL: In‑Depth Feature Comparison and Choosing the Right Database
Tencent Cloud Developer
Tencent Cloud Developer
Sep 11, 2018 · Databases

CynosDB Architecture and Core Mechanisms: A Comprehensive Technical Overview

CynosDB is Tencent Cloud’s high‑performance, highly‑available NewSQL distributed database that uses a shared‑storage architecture with primary and replica instances, log‑structured storage, RDMA/SPDK transmission, Raft consensus, SSI MVCC, two‑phase locking, and state‑machine replication to provide elastic scaling, fast recovery, and cost‑effective enterprise data management.

CynosDBMVCCNewSQL
0 likes · 17 min read
CynosDB Architecture and Core Mechanisms: A Comprehensive Technical Overview
ITPUB
ITPUB
Sep 8, 2018 · Databases

Why Uber Switched from Postgres to MySQL: Scaling Lessons from a Real‑World Migration

Uber’s engineering team explains how Postgres’s immutable rows, write‑ahead logging, and replication design caused write amplification, upgrade pain, and data‑corruption risks, leading them to adopt a MySQL‑based Schemaless sharding layer that offers better buffering, connection handling, and replication semantics for massive scale.

ReplicationUberWrite Amplification
0 likes · 23 min read
Why Uber Switched from Postgres to MySQL: Scaling Lessons from a Real‑World Migration
dbaplus Community
dbaplus Community
Aug 20, 2018 · Databases

Unlock PostgreSQL’s Powerful SQL Features: CTEs, UPSERT, Sampling, and More

This article explores PostgreSQL’s advanced SQL capabilities—including Common Table Expressions (WITH), batch inserts, the RETURNING clause, UPSERT with ON CONFLICT, TABLESAMPLE methods, aggregation functions like string_agg and array_agg, and a range of window functions—providing practical examples, performance insights, and guidance for real‑world use.

CTETable SamplingUpsert
0 likes · 17 min read
Unlock PostgreSQL’s Powerful SQL Features: CTEs, UPSERT, Sampling, and More
ITPUB
ITPUB
Jun 21, 2018 · Databases

Why PostgreSQL Is the Ultimate Full‑Stack Database for Modern Apps

The article explains how PostgreSQL can serve as a single, full‑stack database covering OLTP, OLAP, streaming, time‑series, spatial, search, NoSQL, data‑warehouse, graph, and caching workloads, while offering strong operational features, a vibrant ecosystem, and only a few manageable drawbacks.

Database ExtensionsEcosystemFull-Stack Database
0 likes · 9 min read
Why PostgreSQL Is the Ultimate Full‑Stack Database for Modern Apps
ITPUB
ITPUB
Jun 19, 2018 · Big Data

Is Hadoop Still Relevant? Comparing Hadoop, PostgreSQL, and Storm

The article examines Hadoop's relevance by contrasting it with PostgreSQL and Storm, discussing when each technology fits big‑data challenges such as volume, velocity, and variety, and highlighting cost, complexity, and use‑case considerations for enterprises.

Batch ProcessingHadoopStorm
0 likes · 8 min read
Is Hadoop Still Relevant? Comparing Hadoop, PostgreSQL, and Storm
ITPUB
ITPUB
Jun 17, 2018 · Databases

MySQL 8 vs PostgreSQL 10: Which Database Wins the Showdown?

An in‑depth comparison of MySQL 8 and PostgreSQL 10 examines feature parity, storage architecture, indexing, memory usage, replication, update overhead, and garbage collection, highlighting how recent improvements narrow the gap and offering guidance on choosing the right database for specific workloads.

ReplicationStorage Enginedatabase comparison
0 likes · 12 min read
MySQL 8 vs PostgreSQL 10: Which Database Wins the Showdown?
dbaplus Community
dbaplus Community
Jun 13, 2018 · Databases

How to Build a PostgreSQL FDW with Go: From Theory to Practice

This article explains the history and architecture of PostgreSQL's Foreign Data Wrapper (FDW), details the required database objects and callback functions, and provides a step‑by‑step guide for implementing an FDW in Go using cgo, including code examples, build instructions, and performance considerations.

Database ExtensionFDWGo
0 likes · 26 min read
How to Build a PostgreSQL FDW with Go: From Theory to Practice
dbaplus Community
dbaplus Community
May 22, 2018 · Databases

Understanding PostgreSQL Query Optimizer: Rules, Subqueries, and Cost Models

This article explains PostgreSQL's query optimizer from logical and physical perspectives, covering rule‑based and cost‑based optimization, syntax tree generation, subquery/subjoin lifting, selection push‑down, equivalence‑class reasoning, strictness of expressions, and practical SQL examples.

Query Optimizerlogical optimizationphysical optimization
0 likes · 30 min read
Understanding PostgreSQL Query Optimizer: Rules, Subqueries, and Cost Models
dbaplus Community
dbaplus Community
May 22, 2018 · Databases

Understanding PostgreSQL Cost Estimation: Statistics, Physical Paths, and Optimization Techniques

This article uses a dialogue‑driven story to explain how PostgreSQL gathers statistics, computes selection rates, evaluates various physical scan and join paths, and combines CPU, I/O, and communication costs—including startup versus total cost—to choose the most efficient execution plan.

Physical Pathscost estimationdynamic programming
0 likes · 25 min read
Understanding PostgreSQL Cost Estimation: Statistics, Physical Paths, and Optimization Techniques
ITPUB
ITPUB
May 8, 2018 · Databases

How Tianxi Tech Is Building a Controllable Open‑Source Database on PostgreSQL

In an interview with Tianxi Technology’s database director, the article explores the company’s strategy of creating a domestically controlled, PostgreSQL‑based database that offers Oracle compatibility, discusses the technical implementation, and outlines the broader challenges facing Chinese database vendors.

Chinese DatabaseOracle compatibilityTianxi Technology
0 likes · 11 min read
How Tianxi Tech Is Building a Controllable Open‑Source Database on PostgreSQL
ITPUB
ITPUB
Jan 5, 2018 · Databases

Why PostgreSQL Stands Out: Essential Features and Extensions Explained

This article outlines the most compelling reasons to choose PostgreSQL, covering its advanced data types like JSONB and Range, powerful extensions such as Citus, HyperLogLog and PostGIS, logical replication, rich indexing options, upsert support, foreign data wrappers, and a host of legacy capabilities.

ExtensionsJSONBLogical Replication
0 likes · 10 min read
Why PostgreSQL Stands Out: Essential Features and Extensions Explained
ITPUB
ITPUB
Dec 16, 2017 · Databases

Why PostgreSQL Is Climbing the DB‑Engines Rankings in 2017

The December 2017 DB‑Engines ranking shows Oracle still on top, while PostgreSQL maintains steady growth, gaining momentum with JSON support and the Citus extension, as developers turn to it over NoSQL alternatives, signaling a potential shift in the database landscape.

CitusDB-EnginesDatabase Rankings
0 likes · 5 min read
Why PostgreSQL Is Climbing the DB‑Engines Rankings in 2017
ITPUB
ITPUB
Dec 12, 2017 · Databases

Understanding PostgreSQL’s Subquery Planner: How Query Optimization Works

This article explains how PostgreSQL transforms and rewrites query trees, why a completed transform‑rewrite tree may not be optimal, and details the subquery_planner’s role, tuple_fraction handling, and the step‑by‑step logical optimization process used to generate efficient execution plans.

Planner HookSubquery Plannerdatabase
0 likes · 7 min read
Understanding PostgreSQL’s Subquery Planner: How Query Optimization Works
Qunar Tech Salon
Qunar Tech Salon
Nov 16, 2017 · Databases

Why Upgrade PostgreSQL and How to Perform a Major Version Upgrade Using PGQ

This article explains the importance of upgrading PostgreSQL to benefit from new features and security fixes, compares traditional upgrade methods, introduces the PGQ replication system, and provides a detailed step‑by‑step guide for performing a major version upgrade with minimal downtime.

ConfigurationDatabase UpgradePGQ
0 likes · 11 min read
Why Upgrade PostgreSQL and How to Perform a Major Version Upgrade Using PGQ
21CTO
21CTO
Nov 10, 2017 · Databases

What Do the Latest DB-Engines Rankings Reveal About Database Trends?

The November 2017 DB‑Engines ranking shows Oracle, MySQL and Microsoft SQL Server still dominate the top three, while Splunk and HBase swap places, PostgreSQL climbs to fourth with a 54.1% year‑over‑year gain, and the list is based on five popularity factors such as search engine queries, job postings, and Stack Overflow activity.

Oracledatabasespostgresql
0 likes · 3 min read
What Do the Latest DB-Engines Rankings Reveal About Database Trends?
ITPUB
ITPUB
Nov 8, 2017 · Databases

Achieving Zero Data Loss and High Availability in Finance with PostgreSQL Replication

This article explains how PostgreSQL's streaming replication can provide zero data loss, high availability, and disaster‑recovery for financial institutions, detailing feedback and consistency metrics, architecture simplifications, configuration examples, performance impact, failover rules, flexibility, and cost considerations.

Financial ServicesReplicationZero Data Loss
0 likes · 10 min read
Achieving Zero Data Loss and High Availability in Finance with PostgreSQL Replication
dbaplus Community
dbaplus Community
Oct 19, 2017 · Databases

Can Distributed Logging Revamp Single-Node Database Performance?

This article examines the evolution of write-ahead logging in relational databases, compares MySQL and PostgreSQL implementations, highlights the scalability limits of centralized WAL designs, and explores how distributed logging with global timestamps, dependency tracking, and hole‑avoidance techniques could dramatically improve single‑node database throughput.

WALdatabase systemsdistributed logging
0 likes · 16 min read
Can Distributed Logging Revamp Single-Node Database Performance?
ITPUB
ITPUB
Oct 9, 2017 · Databases

What’s New in PostgreSQL 10? Key Features and Improvements Explained

PostgreSQL 10, released after months of beta testing, brings logical replication, declarative table partitioning, higher query concurrency, notable performance gains, stronger SCRAM‑SHA‑256 authentication, and enhanced monitoring and control capabilities, marking a significant evolution for the open‑source database.

Logical ReplicationTable Partitioningdatabase
0 likes · 3 min read
What’s New in PostgreSQL 10? Key Features and Improvements Explained
ITPUB
ITPUB
Sep 21, 2017 · Databases

MySQL vs PostgreSQL: 20 Key Differences Every Developer Should Know

This article provides a detailed, side‑by‑side comparison of MySQL and PostgreSQL, covering their histories, licensing, feature sets, performance characteristics, extensions like PostGIS, indexing, clustering, transaction handling, and practical guidance on choosing the right database for specific workloads.

database comparisonmysqlopen-source
0 likes · 18 min read
MySQL vs PostgreSQL: 20 Key Differences Every Developer Should Know
dbaplus Community
dbaplus Community
Sep 19, 2017 · Databases

Why PostgreSQL Misestimates Rows When Types Are Cast – and How to Fix It

A recent production issue showed that PostgreSQL dramatically over‑estimated row counts because filter predicates performed implicit type casts, leading to sequential scans and 18‑second queries, but correcting column types or rewriting the predicates restored accurate estimates and reduced execution time to under a second.

Index ScanQuery Planningpostgresql
0 likes · 8 min read
Why PostgreSQL Misestimates Rows When Types Are Cast – and How to Fix It
ITPUB
ITPUB
Aug 22, 2017 · Databases

Automating PostgreSQL Installation & Configuration with Chef Cookbook

This guide explains how to use the Chef PostgreSQL cookbook to install and configure PostgreSQL as a client or server across multiple Linux platforms, detailing attribute-driven generation of postgresql.conf and pg_hba.conf, performance tuning options, contrib module installation, and repository setup for apt and yum.

ChefCookbookDatabase Configuration
0 likes · 11 min read
Automating PostgreSQL Installation & Configuration with Chef Cookbook
Qunar Tech Salon
Qunar Tech Salon
Jul 11, 2017 · Databases

Applying PostgreSQL GIN Index for Real‑Time Deduplication, Precise Advertising, and TOB Profiling at Alibaba

The article presents several large‑scale Alibaba use cases—real‑time deduplication of shopping‑guide articles, precision ad targeting, TOB real‑time profiling, arbitrary field combination queries, and fuzzy matching—demonstrating how PostgreSQL’s array types, GIN indexes and pg_trgm extensions enable millisecond‑level responses on billions of records.

Database OptimizationGIN Indexpostgresql
0 likes · 20 min read
Applying PostgreSQL GIN Index for Real‑Time Deduplication, Precise Advertising, and TOB Profiling at Alibaba
Efficient Ops
Efficient Ops
Jul 9, 2017 · Databases

How Alibaba Scales Real‑Time Deduplication and Targeted Ads with PostgreSQL

This article explains how Alibaba Cloud leverages PostgreSQL’s GIN indexes, array types, and pg_trgm extension to achieve real‑time deduplication of massive guide articles, precise ad targeting, TOB profiling, arbitrary field combination, and fuzzy matching, delivering millisecond‑level latency while drastically reducing hardware requirements.

Ad TargetingGIN IndexTOB profiling
0 likes · 18 min read
How Alibaba Scales Real‑Time Deduplication and Targeted Ads with PostgreSQL
Qunar Tech Salon
Qunar Tech Salon
Jun 11, 2017 · Databases

Techniques for Removing Duplicate Rows and Adding Unique Constraints in PostgreSQL

This article examines common scenarios where duplicate rows prevent creating unique constraints, presents eight SQL‑based methods—including array functions, window functions, NOT IN/EXISTS, combined IN/NOT IN, EXISTS/NOT EXISTS, single‑statement deletes, and table‑copy approaches—provides test data, performance comparisons, and practical guidance for DBA operations.

Database AdministrationSQL Optimizationduplicate rows
0 likes · 10 min read
Techniques for Removing Duplicate Rows and Adding Unique Constraints in PostgreSQL
Qunar Tech Salon
Qunar Tech Salon
May 25, 2017 · Databases

PostgreSQL Best Practices Guide: Naming, Column, Constraints, Index, NULL Handling, Development and Management Recommendations

This guide provides comprehensive PostgreSQL best‑practice recommendations covering naming conventions, column design, constraints, index strategies, NULL handling, development standards, and administration tips to help users quickly adopt consistent and efficient database practices.

Database designbest practicesperformance
0 likes · 13 min read
PostgreSQL Best Practices Guide: Naming, Column, Constraints, Index, NULL Handling, Development and Management Recommendations
dbaplus Community
dbaplus Community
May 21, 2017 · Databases

Unlocking PostgreSQL: From BRIN Indexes to Real Sharding and Machine Learning

The article summarizes Digoal's 2017 Gdevops talk, detailing PostgreSQL's advanced features such as block-level BRIN indexes, high‑efficiency range queries, asynchronous messaging, data pumps, real sharding, MADlib machine‑learning integration, FDW data federation, and large‑scale use cases in IoT, finance, and geospatial analytics.

BRINData PumpFDW
0 likes · 19 min read
Unlocking PostgreSQL: From BRIN Indexes to Real Sharding and Machine Learning
MaGe Linux Operations
MaGe Linux Operations
May 8, 2017 · Databases

How Swat.io Migrated from MySQL to PostgreSQL in Two Years

This case study details Swat.io's two‑year journey from MySQL to PostgreSQL, covering the motivations, technical challenges, incremental experiments, migration strategy, performance tuning, and the lessons learned that helped the team successfully complete the transition.

database migrationmysqlperformance optimization
0 likes · 18 min read
How Swat.io Migrated from MySQL to PostgreSQL in Two Years
ITPUB
ITPUB
Feb 23, 2017 · Databases

Mastering SQL Joins: From CROSS to LATERAL and Beyond

This comprehensive guide explains every major SQL join type—including CROSS, INNER, OUTER, FULL, SEMI, ANTI, LATERAL, and MULTISET—detailing their logical behavior, practical use‑cases, alternative syntaxes, performance implications, and visual examples across PostgreSQL, Oracle, and SQL Server.

JOINOracledatabase
0 likes · 22 min read
Mastering SQL Joins: From CROSS to LATERAL and Beyond
dbaplus Community
dbaplus Community
Feb 12, 2017 · Databases

Can Open‑Source Databases Handle Millions of Queries per Second? PostgreSQL vs MySQL Benchmarks

This article presents a detailed benchmark comparing PostgreSQL 9.6 and MySQL 5.7 on identical high‑end hardware using pgbench and SysBench, describing the test methodology, configuration tweaks, performance results for point selects and OLTP workloads, and concluding that both systems scale to modern demanding workloads.

Sysbenchbenchmarkdatabase
0 likes · 11 min read
Can Open‑Source Databases Handle Millions of Queries per Second? PostgreSQL vs MySQL Benchmarks
21CTO
21CTO
Feb 2, 2017 · Operations

What GitLab’s 300 GB Data Loss Teaches About Backup and Ops Discipline

The GitLab production database was mistakenly deleted during a manual fix, exposing gaps in backup strategies, PostgreSQL configuration, and operational practices, and prompting a detailed post‑mortem that highlights the need for automated recovery, proper tooling, and transparent incident handling.

Data lossDatabase BackupOperations
0 likes · 15 min read
What GitLab’s 300 GB Data Loss Teaches About Backup and Ops Discipline
Tencent Cloud Developer
Tencent Cloud Developer
Jan 19, 2017 · Databases

Understanding PostgreSQL TOAST (The Oversized-Attribute Storage Technique)

PostgreSQL's TOAST mechanism automatically compresses and, when necessary, moves oversized column values to an external toast table, using four storage strategies (plain, extended, external, main) that dictate compression and externalization behavior, with data exceeding roughly 2 KB triggering external storage regardless of strategy.

Database StorageExternal Storagecompression
0 likes · 8 min read
Understanding PostgreSQL TOAST (The Oversized-Attribute Storage Technique)
Java High-Performance Architecture
Java High-Performance Architecture
Nov 7, 2016 · Databases

How to Monitor MySQL & PostgreSQL Replication Lag with pt-heartbeat

pt-heartbeat, a Percona Toolkit utility, enables precise monitoring of MySQL and PostgreSQL replication lag by creating a heartbeat table on the master, updating timestamps, and comparing them with slaves, with detailed installation steps, usage examples, and configuration guidance for reliable replication health checks.

Database MonitoringReplication Lagmysql
0 likes · 5 min read
How to Monitor MySQL & PostgreSQL Replication Lag with pt-heartbeat
ITPUB
ITPUB
Aug 29, 2016 · Databases

How to Efficiently Retrieve Top N Rows per Group in PostgreSQL

This article explains how to extract the top N records for each group in PostgreSQL, compares the slow window‑function approach with a fast recursive‑CTE and set‑returning function solution, and shows performance results dropping from over 20 seconds to under half a second.

Top N per grouppostgresqlrecursive-cte
0 likes · 8 min read
How to Efficiently Retrieve Top N Rows per Group in PostgreSQL
ITPUB
ITPUB
Aug 5, 2016 · Databases

Why Uber Switched from PostgreSQL to MySQL – A Critical Technical Review

The article critically examines Uber's claim that MySQL outperforms PostgreSQL for heavy‑write workloads, explaining the nuances of update costs, HOT tuples, index handling, replication bugs, and why the original piece should not be taken as generic database advice.

HOT tuplesUbermysql
0 likes · 15 min read
Why Uber Switched from PostgreSQL to MySQL – A Critical Technical Review
Efficient Ops
Efficient Ops
Aug 1, 2016 · Databases

Why Uber’s MySQL Switch Misrepresents PostgreSQL: A Deep Technical Dive

This article critically examines Uber’s claim that MySQL outperforms PostgreSQL by dissecting the alleged PostgreSQL limitations, presenting detailed performance tests, and clarifying the true costs of write amplification, replication, and upgrade processes for both databases.

Database PerformanceMVCCReplication
0 likes · 20 min read
Why Uber’s MySQL Switch Misrepresents PostgreSQL: A Deep Technical Dive
ITPUB
ITPUB
Jul 25, 2016 · Databases

How BRIN Indexes Use allnulls and hasnulls to Slash PostgreSQL Scans

This article demonstrates how PostgreSQL 9.5's BRIN index leverages the allnulls and hasnulls flags in its regular pages to filter out unnecessary heap page scans, dramatically improving query performance while also discussing the impact of MVCC bloat and maintenance.

BRINMVCCindexing
0 likes · 10 min read
How BRIN Indexes Use allnulls and hasnulls to Slash PostgreSQL Scans
ITPUB
ITPUB
Jul 16, 2016 · Databases

BRIN vs BTREE in PostgreSQL: Massive Space Savings and Performance Trade‑offs

This article experimentally compares PostgreSQL 9.5's BRIN and BTREE indexes across seven data distributions, revealing that BRIN uses up to 6,848 times less storage while BTREE consistently outperforms BRIN in query speed, with the gap narrowing as data repetition increases.

BRINBTreeindexing
0 likes · 12 min read
BRIN vs BTREE in PostgreSQL: Massive Space Savings and Performance Trade‑offs
ITPUB
ITPUB
Jul 12, 2016 · Databases

Practical Guide to PostgreSQL Index Optimization and Cost Analysis

This article walks through practical steps for identifying performance bottlenecks in PostgreSQL, selecting appropriate columns and index types, interpreting system statistics, and evaluating cost estimates with real‑world examples to dramatically reduce query latency.

GiST indexQuery Performancecost estimation
0 likes · 13 min read
Practical Guide to PostgreSQL Index Optimization and Cost Analysis
ITPUB
ITPUB
Jul 11, 2016 · Databases

Inside PostgreSQL: How the Database Kernel Works and Can Be Extended

This article explains PostgreSQL's kernel architecture, from client connection handling through parsing, rewriting, planning, and execution, illustrates scan and join algorithms, shows how to extend the kernel and build clustered deployments, and introduces Foreign Data Wrappers for integrating external data sources.

ClusterForeign Data WrapperIndex Scan
0 likes · 13 min read
Inside PostgreSQL: How the Database Kernel Works and Can Be Extended
ITPUB
ITPUB
May 31, 2016 · Databases

Inside PostgreSQL: How SQL Queries Are Processed from Start to Finish

This article walks through PostgreSQL's complete SQL execution pipeline, detailing each component—from the Main entry point and Postmaster process to parsing, traffic coordination, query rewriting, plan generation, and execution—while comparing its process architecture to other database systems.

Database InternalsPostmasterQuery Planner
0 likes · 6 min read
Inside PostgreSQL: How SQL Queries Are Processed from Start to Finish
MaGe Linux Operations
MaGe Linux Operations
Apr 2, 2016 · Operations

How to Install GitLab on Debian: Complete Step‑by‑Step Guide

This guide walks through the complete installation of GitLab on a Debian system, covering package installation, Ruby and Go setup, system user creation, database configuration, Redis setup, cloning the source, configuring GitLab, initializing the database, and starting the service.

DebianGoInstallation
0 likes · 18 min read
How to Install GitLab on Debian: Complete Step‑by‑Step Guide
ITPUB
ITPUB
Mar 23, 2016 · Databases

Mastering COALESCE in PostgreSQL: Fix NULL Arithmetic Results

This guide shows how NULL values break numeric calculations in PostgreSQL and demonstrates using the COALESCE function to substitute default numbers, with step‑by‑step SQL examples that turn unexpected NULL results into accurate sums.

COALESCEdatabasenull handling
0 likes · 4 min read
Mastering COALESCE in PostgreSQL: Fix NULL Arithmetic Results
dbaplus Community
dbaplus Community
Mar 17, 2016 · Databases

Why MySQL Outpaces PostgreSQL in Modern Web Applications

The article compares PostgreSQL and MySQL, highlighting PostgreSQL’s strengths in analytics and Oracle compatibility but criticizing its OLTP performance, while emphasizing MySQL’s superior scalability, feature set, and growing ecosystem, and discusses the broader trend of moving away from Oracle‑centric architectures.

IOE MigrationOLTPdatabase comparison
0 likes · 12 min read
Why MySQL Outpaces PostgreSQL in Modern Web Applications
dbaplus Community
dbaplus Community
Feb 3, 2016 · Databases

What Makes PostgreSQL Superior? Data Types, Indexes, and Queries Compared

This article examines why PostgreSQL claims to be the most advanced open‑source database by detailing its object‑relational model, extensive native data types, large‑scale size limits, robust ACID compliance, powerful indexing options, flexible virtual table features, built‑in functions, language extensions, and how these capabilities compare to MySQL, MariaDB and Firebird.

CTEData TypesJSON
0 likes · 21 min read
What Makes PostgreSQL Superior? Data Types, Indexes, and Queries Compared
ITPUB
ITPUB
Feb 3, 2016 · Databases

Achieving Zero Data Loss and High Availability in Finance with PostgreSQL Replication

This article explains how PostgreSQL's streaming replication can provide zero‑data‑loss, high‑availability, and disaster‑recovery for financial systems, detailing feedback and consistency metrics, architecture simplification, configuration examples, performance impact, primary election rules, flexibility, and cost considerations.

Financial ServicesZero Data Losspostgresql
0 likes · 10 min read
Achieving Zero Data Loss and High Availability in Finance with PostgreSQL Replication
ITPUB
ITPUB
Jan 19, 2016 · Databases

Surprising PostgreSQL Features That Redefine What a Database Can Do

This article showcases seven remarkable PostgreSQL extensions—including multi‑master replication, Greenplum MPP OLAP, pg_shard/FDW sharding, PostGIS 3D GIS, GPU‑accelerated PG‑Strom, PipelineDB streaming, and the versatile FDW interface—illustrating how they enable high‑availability, massive analytics, geographic intelligence, and real‑time data processing.

Database ExtensionsFDWGIS
0 likes · 5 min read
Surprising PostgreSQL Features That Redefine What a Database Can Do
ITPUB
ITPUB
Jan 8, 2016 · Databases

Unlock PostgreSQL 9.5: Faster Sorting, Grouping Sets, Upserts & JSONB Tips

PostgreSQL 9.5 brings dramatic performance gains, new OLAP capabilities like GROUPING SETS, CUBE, ROLLUP, convenient pg_rewind for HA, flexible upsert handling, and enhanced JSONB output, all illustrated with practical examples and import techniques.

9.5Grouping SetsJSONB
0 likes · 4 min read
Unlock PostgreSQL 9.5: Faster Sorting, Grouping Sets, Upserts & JSONB Tips
ITPUB
ITPUB
Jan 1, 2016 · Databases

10 Essential PostgreSQL Tips to Boost Your Productivity

Discover ten practical PostgreSQL techniques—including CTEs, custom .psqlrc settings, pg_stat_statements, FDWs, array handling, materialized views, window functions, pivot shortcuts, PostGIS, and JSONB—to write cleaner queries, improve performance, and leverage advanced database features.

CTEFDWJSONB
0 likes · 9 min read
10 Essential PostgreSQL Tips to Boost Your Productivity
ITPUB
ITPUB
Nov 10, 2015 · Databases

Inside PostgreSQL: How Its Three‑Layer Transaction Model Works

PostgreSQL implements transactions through a three‑layer architecture—top, middle, and bottom—where the top layer handles user‑visible commands, the middle layer processes statement‑level actions, and the bottom layer manages low‑level atomic operations, each with specific functions and state handling.

ACIDDatabase ArchitectureTransactions
0 likes · 7 min read
Inside PostgreSQL: How Its Three‑Layer Transaction Model Works
dbaplus Community
dbaplus Community
Oct 29, 2015 · Databases

Why PostgreSQL Keeps Working After the Main Process Crashes

This article explains how PostgreSQL’s process architecture allows existing connections to continue operating and persist data even when the postmaster (main) process crashes, demonstrates the behavior with step‑by‑step experiments, and discusses the limitations and monitoring implications.

Data Persistencebackend processdatabase reliability
0 likes · 5 min read
Why PostgreSQL Keeps Working After the Main Process Crashes
dbaplus Community
dbaplus Community
Oct 22, 2015 · Databases

Understanding PostgreSQL Function Security: Definer vs Invoker Explained

This article explains how PostgreSQL functions can be defined with security definer or security invoker, details the differences between session_user and current_user, demonstrates setting roles and search_path, and provides practical examples and safeguards to prevent privilege escalation.

Database RolesFunction SecuritySecurity Definer
0 likes · 5 min read
Understanding PostgreSQL Function Security: Definer vs Invoker Explained
dbaplus Community
dbaplus Community
Oct 17, 2015 · Databases

Master PostgreSQL: From Origins to Hands‑On Labs and HA Strategies

This article presents a comprehensive overview of PostgreSQL, covering its history, architecture, core features, step‑by‑step lab exercises for database creation, CRUD operations, configuration tuning, performance monitoring, backup and recovery, Hot Standby replication, PGPOOL clustering, and a curated Q&A session addressing common DBA challenges.

BackupHAPGPOOL
0 likes · 19 min read
Master PostgreSQL: From Origins to Hands‑On Labs and HA Strategies
dbaplus Community
dbaplus Community
Oct 12, 2015 · Databases

Essential PostgreSQL Security Checklist: Authentication, Encryption, Auditing and More

This comprehensive guide outlines practical PostgreSQL security measures—including hardened authentication, encrypted data transmission, column‑level encryption, strict permission controls, backup strategies, auditing, patch management, and resource monitoring—to help DBAs protect their databases from unauthorized access and attacks.

AuditingAuthenticationBackup
0 likes · 15 min read
Essential PostgreSQL Security Checklist: Authentication, Encryption, Auditing and More
21CTO
21CTO
Aug 18, 2015 · Databases

Understanding PostgreSQL MVCC: How It Handles Concurrency

PostgreSQL uses Multi-Version Concurrency Control (MVCC) to ensure reads never block writes and vice versa, assigning transaction IDs to rows, managing visibility with xmin/xmax, supporting isolation levels, and requiring periodic VACUUM to clean dead rows and handle XID wraparound.

MVCCVacuumconcurrency
0 likes · 7 min read
Understanding PostgreSQL MVCC: How It Handles Concurrency
Qunar Tech Salon
Qunar Tech Salon
Jul 13, 2015 · Databases

Mapping MySQL Commands and Features to PostgreSQL psql Equivalents

This article compares MySQL client commands and features with their PostgreSQL psql equivalents, covering general command‑line options, SQL‑level operations such as showing tables, creating tables, listing databases, using databases, handling auto‑increment, process lists, global variables, and function‑level differences, plus practical code snippets.

database migrationmysqlpostgresql
0 likes · 6 min read
Mapping MySQL Commands and Features to PostgreSQL psql Equivalents
Efficient Ops
Efficient Ops
Jun 30, 2015 · Operations

Why Telecom Operators Must Rethink Their Move Away from Oracle (IOE)

This article examines the technical, managerial, and cost challenges telecom operators face when migrating from Oracle‑based IOE architectures to open‑source databases, offering practical insights, case studies, and recommendations for a successful transition.

IOE MigrationOracleTelecom Operations
0 likes · 19 min read
Why Telecom Operators Must Rethink Their Move Away from Oracle (IOE)
Qunar Tech Salon
Qunar Tech Salon
May 5, 2015 · Databases

Encrypting Sensitive Data with PostgreSQL pgcrypto

This article explains how to protect user privacy by using PostgreSQL's built-in pgcrypto extension to encrypt and decrypt sensitive fields such as phone numbers and ID numbers, showing practical SQL examples for creating tables, altering columns, storing ciphertext, and querying encrypted data.

Database Securityencryptionpgcrypto
0 likes · 5 min read
Encrypting Sensitive Data with PostgreSQL pgcrypto
Qunar Tech Salon
Qunar Tech Salon
May 4, 2015 · Databases

Comparing MySQL and PostgreSQL Counter Queries

This article compares two SQL counter queries, presenting a detailed MySQL version with CASE statements and variable counters alongside a concise PostgreSQL version using ROW_NUMBER, and includes an explanation of the differences and a brief author biography.

Comparisondatabasemysql
0 likes · 3 min read
Comparing MySQL and PostgreSQL Counter Queries
Qunar Tech Salon
Qunar Tech Salon
May 3, 2015 · Databases

Optimizing PostgreSQL Queries for Flight Data Retrieval at Qunar

The article analyzes a slow PostgreSQL query that joins multiple tables to fetch flight numbers, compares several alternative query formulations with their execution plans, and presents a final solution using array aggregation to achieve sub‑millisecond performance despite existing indexes.

Database Performanceindexespostgresql
0 likes · 7 min read
Optimizing PostgreSQL Queries for Flight Data Retrieval at Qunar
Qunar Tech Salon
Qunar Tech Salon
Apr 30, 2015 · Databases

Parsing and Normalizing Space-Delimited Valid Periods in PostgreSQL

The article demonstrates how to split a space‑separated "validperiods" column into separate begin, end, and price fields in PostgreSQL using string_to_array, to_timestamp, regexp_replace, and unnest to transform the data into a readable tabular format.

data normalizationpostgresqlregex
0 likes · 8 min read
Parsing and Normalizing Space-Delimited Valid Periods in PostgreSQL
Qunar Tech Salon
Qunar Tech Salon
Apr 26, 2015 · Databases

Using a User‑Defined Multiplicative Aggregate in PostgreSQL to Count Travel Package Combinations

The article explains how to calculate the total number of possible flight‑hotel combinations for travel packages by defining a custom multiplicative aggregate function in PostgreSQL, provides the SQL code, demonstrates its usage with examples, and discusses its practical advantages for flexible grouping.

Travel PackagesUser-Defined Aggregatedatabase
0 likes · 3 min read
Using a User‑Defined Multiplicative Aggregate in PostgreSQL to Count Travel Package Combinations