Hacker Afternoon Tea
Author

Hacker Afternoon Tea

You might find something interesting here ^_^

127
Articles
0
Likes
336
Views
0
Comments
Recent Articles

Latest from Hacker Afternoon Tea

100 recent articles max
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.

CitusDistributed DatabaseManual Query Propagation
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.

CitusDistributed SQLHyperLogLog
0 likes · 16 min read
Using Citus for Distributed PostgreSQL: SQL Reference for Querying Distributed Tables
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.

CitusDistributed DatabasePostgreSQL
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.

CentOSCitusDistributed Database
0 likes · 14 min read
Official Guide to Installing a Distributed PostgreSQL (Citus) Cluster
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.

Backend DevelopmentCitusDjango
0 likes · 8 min read
Building a Distributed Multi‑Tenant Database with Django, Postgres, and Citus