Articles by Tag #yugabytedb

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

The Log Is (not) The Database

There is a common saying "The Log Is The Database", to explain some database innovations in...

Learn More 46 0May 28 '24

A brief example of an SQL serializable transaction

Here are some additional details about a small live demo I presented while discussing Isolation...

Learn More 25 10Oct 11 '24

Performance of range queries in B-Tree and LSM indexes

Range queries are efficient with B-Tree indexes because they can quickly locate the starting value...

Learn More 21 0Aug 5 '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 18 5Dec 28 '24

Exceptions and Commit in PostgreSQL PL/pgSQL vs. Oracle PL/SQL

In a previous post, I detailed the differences in Exception Handling between Oracle and PostgreSQL....

Learn More 18 3Jul 30 '24

Unique Index on NULL Values in SQL & NoSQL

NoSQL behavior: MongoDB SQL behavior: PostgreSQL and YugabyteDB A mix of both: Oracle Database You...

Learn More 13 0Jan 12

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

Stored Procedures & Exception Handling when migrating from Oracle to PostgreSQL or YugabyteDB

Lot of companies hope to find a solution to easily move their PL/SQL code from Oracle Database to...

Learn More 10 0Jul 3 '24

ERROR: index row size 3056 exceeds btree version 4 maximum 2704 for index

Yesterday at the PostgreSQL Meetup in Suisse Romande, Lucy Linder discussed exciting challenges...

Learn More 8 0Sep 20 '24

Aurora DSQL - Simple Inserts Workload from an AWS CloudShell

My first test of Amazon Aurora DSQL focuses on read and write latency using an existing Java...

Learn More 7 0Dec 9 '24

ESR (Equality, Sort, Range) rule applied to YugabyteDB and PostgreSQL indexes

TL;DR: To make developers' lives easier, MongoDB has documented a simple rule for creating an...

Learn More 6 1Jan 26

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

Write Buffering to Reduce Raft Consensus Latency in YugabyteDB

YugabyteDB is an open-source distributed SQL database that is compatible with PostgreSQL. It...

Learn More 5 1Sep 14 '24

Optimizing Fuzzy Search Across Multiple Tables: pg_trgm, GIN, and Triggers

PostgreSQL offers significant improvements beyond single-column indexing, which YugabyteDB also...

Learn More 5 0Jul 4 '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

You Probably Don't Need Serializable Isolation

In my previous post, I provided an example of a serializable transaction. I discussed how Oracle...

Learn More 5 0Oct 17 '24

Indexing for NOT EQUAL (<>,!=) in YugabyteDB, PostgreSQL, Oracle Database, SQL Server, and MongoDB

Indexing for Not-Equal in YugabyteDB Indexing for Not-Equal in PostgreSQL Indexing for Not-Equal in...

Learn More 4 0Jan 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

Indexing for a Scalable Serialization Isolation Level

The previous post used the primary key to record read intents in YugabyteDB. Serializable isolation...

Learn More 4 2Oct 19 '24

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

⛔ 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

Distributed PostgreSQL with YugabyteDB Multi-Region Kubernetes / Istio / Amazon EKS

YugabyteDB, an open-source PostgreSQL-compatible distributed SQL database, can be deployed on...

Learn More 3 0May 28 '24

Multi-Region Async Table Broadcast with YugabyteDB xCluster 1-to-N replication

Using PostgreSQL, you can add asynchronous read replicas to speed up reads from regions far from the...

Learn More 3 0Jun 14 '24

Deletes and MVCC in YugabyteDB

An application pattern that could cause issues with Multi-Version Concurrent Control (MVCC) databases...

Learn More 3 0Jun 3 '24

Observing CPU/RAM/IO pressure in YugabyteDB with Linux PSI on AlmaLinux8 (Pressure Stall Information)

Pressure Stall Information is a Linux kernel metric that accounts for when the OS tasks are waiting...

Learn More 3 0Jul 31 '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

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

Batching and Push-Downs to Distribute with High-Performance reads and writes

It wouldn't be efficient to read all rows scanned by a query and replicate each write synchronously...

Learn More 2 0Sep 5 '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

Active Session History (ASH) in YugabyteDB

The latest versions of YugabyteDB have a new instrumentation feature to troubleshoot performance:...

Learn More 2 0Jun 18 '24