Articles by Tag #yugabytedb

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

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 13Oct 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 19 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 14 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 7 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

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

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

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

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

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 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

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

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

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

⛔ 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

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

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

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

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

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

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

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

The Doctor's On-Call Shift example and a Normalized Relational Schema to Avoid Write Skew

In his book "Designing Data-Intensive Applications", Martin Kleppmann explains the concept of...

Learn More 2 3Oct 18 '24