Articles by Tag #distributed

Browse our collection of articles on various topics related to IT technologies. Dive in and explore something new!

Aurora Limitless - Creation

Announced last year at re:Invent 2023, Aurora Limitless (PostgreSQL compatible) is available in...

Learn More 82 0Nov 24 '24

Document data modeling to avoid write skew anomalies

In a previous post, I explained that a serializable isolation level is not the only solution to avoid...

Learn More 19 5Dec 28 '24

AWS re:Invent 2024 - Which sessions I'll try to attend.

I've reviewed the AWS re:Invent 2024 catalog and noted my favorite sessions. The "Reserve a Seat"...

Learn More 15 0Oct 7 '24

DynamoDB-style Limits for Predictable SQL Performance?

I compare Aurora DSQL to DynamoDB rather than other SQL databases. One reason DynamoDB ensures...

Learn More 13 2Dec 11 '24

Amazon Aurora DSQL: Which PostgreSQL Service Should I Use on AWS ?

The Amazon Aurora innovations announced at re:Invent 2024 may leave you feeling overwhelmed when...

Learn More 11 0Dec 3 '24

Aurora DSQL: Create a Serverless Cluster and Connect with PostgreSQL Client

A Distributed SQL database service was announced at AWS re:Invent 2024 and is currently available in...

Learn More 10 0Dec 7 '24

When to replace IN() with EXISTS() - correlated and uncorrelated subqueries

If someone suggests rewriting your SQL query to use EXISTS instead of an IN subquery, look at the...

Learn More 6 0Dec 25 '24

Large IntentsDB MemTable with Many Small SST Files

An SQL transaction comprises many sequential reads and writes that affect different objects. These...

Learn More 5 0Jan 8

RocksDB, Key-Value Storage, and Packed Rows: the backbone of YugabyteDB's distributed tablets flexibility

The LSM Tree implementation in YugabyteDB is based on RocksDB, a highly customizable datastore widely...

Learn More 4 0Sep 8 '24

Aurora DSQL: How it Compares to YugabyteDB

This was originally posted on the Yugabyte blog and details the Aurora DSQL Disaggregated...

Learn More 4 0Jan 2

⛔ ORDER BY in Subquery

Here is a quick post to show the danger of not understanding how SQL and ORDER BY works. In...

Learn More 3 2Jan 30

Reverse Proxy and Load Balancing: Do we need both?

In this guide, I’ll walk you through configuring Nginx as both a reverse proxy and a load balancer,...

Learn More 3 0Oct 10 '24

Distributing PostgreSQL on Amazon Elastic Kubernetes

After attending the Global AWS Heroes Summit in Seattle, I'm traveling though US and going to present...

Learn More 3 0Jul 21 '24

Implementing “Get or Create” in YugabyteDB (or PostgreSQL)

In SQL, you can perform a "Get or Create" operation using a WITH clause, where each operation is a...

Learn More 2 0Aug 21 '24

What does NULL mean in an OUTER JOIN? ("unknown" vs. "not exists")

In a previous post, I briefly mentioned that I consider a NULL in SQL databases as an existing but...

Learn More 2 0Jan 16

Find hotspots with Yugabyte Active Session History

In a previous post, I explained that the default PgBench workload is not scalable, with all sessions...

Learn More 2 0Jul 20 '24

pgSphere and Q3C on Distributed SQL

To explore YugabyteDB’s capabilities in handling spherical and astronomical datasets, I recently...

Learn More 2 0Oct 4 '24

SQL as fast as NoSQL, Bulk Loads, Covering and Partial Indexes

The two query APIs in YugabyteDB are YSQL, which is compatible with PostgreSQL, and YCQL, which is...

Learn More 2 0Sep 6 '24

PostgreSQL plan_cache_mode

Here is a small test case to demonstrate plan_cache_mode, a PostgreSQL 12 feature available in...

Learn More 2 0Jan 14

Use Cases of Blockchain in Supply Chain Management: What Are the Benefits?

A supply chain is a process in which different individuals, organizations, activities, and technology...

Learn More 1 0Jul 1 '24

More details in pg_locks for YugabyteDB

One benefit of Wait-on-Conflict concurrency control, also known as pessimistic locking, is its...

Learn More 1 0Dec 29 '24

Multi-Statement SQL for reducing write latency in YugabyteDB (and PostgreSQL alternative to INSERT ALL)

In this article, I'll discuss different methods for running multiple SQL statements: a...

Learn More 1 0Aug 15 '24

UUIDv7 in YugabyteDB

When creating a user-defined function for inserts, such as one that generates a default value, you...

Learn More 1 0Feb 5

Pessimistic locking, Read Committed, and all Isolation Levels

Optimistic Concurrency Control looks attractive in a distributed system because it avoids locks....

Learn More 1 0Sep 2 '24

Parallel JavaScript Machine

Author: Vladas Saulis, PE Prodata, Klaipėda, Lithuania May 18th, 2024 Abstract This paper presents...

Learn More 1 0Aug 23 '24

Different Roles for Read Replicas in PostgreSQL and YugabyteDB

Enterprises have not waited for distributed SQL to start scaling out their databases. In cloud...

Learn More 1 0Aug 8 '24

🧵10 Facts About YugabyteDB: Misconceptions Debunked

I've noticed misunderstandings and inaccuracies about YugabyteDB in various papers and presentations....

Learn More 1 0Sep 2 '24

Fault Tolerance with Raft and no Single Point of Failure

The two layers, SQL processing and distributed storage, are deployed in one binary: yb-server. The...

Learn More 1 0Sep 5 '24

What's behind the Call Home option?

When you start YugabyteDB using the yugabyted command, there's a --callhome option set to true by...

Learn More 1 0Nov 7 '24

IN() Index Scan in PostgreSQL 17 and YugabyteDB LSM Tree

TL;DR: This optimization in PG17 was made for B-tree indexes. YugabyteDB uses LSM Tree indexes and...

Learn More 1 0Oct 2 '24