Skip to content

Instantly share code, notes, and snippets.

View dbist's full-sized avatar

Artem Ervits dbist

View GitHub Profile

Migrating MongoDB collections to CockroachDB with FerretDB


This is an unexpected second part to an interesting experiment with FerretDB and CockroachDB. This time, we're going to expand on the previous article.


Previous articles

@dbist
dbist / postgres-readyset.md
Last active January 28, 2026 15:04
Accelerating PostgreSQL with ReadySet Caching

Accelerating PostgreSQL with ReadySet Caching

Disclaimer: The opinions expressed in this article are my own and do not necessarily reflect the views of my employer.



This tutorial demonstrates how to use ReadySet as a caching layer for PostgreSQL databases. ReadySet is a wire-compatible

CockroachDB and Docker Compose

This is the first in a series of tutorials on CockroachDB and Docker Compose

  • Information on CockroachDB can be found here.
  • Information on Docker Compose can be found here
  1. Install Docker Desktop

Because we already have an official CockroachDB docker image, we will use that in our docker-compose.yml file. We recommend you use one of the current tags instead of latest.

Using CockroachDB as a backend for OSS MongoDB alternative FerretDB


In today's tutorial we are going to step away from the world of Postgres and production readiness topics and have some NoSQL fun using MongoDB API to persist data in CockroachDB.


You can check out my previous articles here

@dbist
dbist / cockroachdb-pgbench.md
Last active January 6, 2025 15:31
Optimizing PgBench for CockroachDB Part 3

Optimizing pgbench for CockroachDB Part 3


This is a long anticipated third article on optimizing pgbench for CockroachDB. I've been wanting to write a follow up ever since I learned about new improvements in the next release of CockroachDB.


Previous articles

Exploring Real-Time Data Ingestion into Snowflake Using CockroachDB, Redpanda, and Kafka Connect


This article serves as a follow-up to previous discussions on data ingestion into Snowflake, specifically focusing on the complexities and efforts involved in integrating Change Data Capture (CDC) data with Snowflake in real time.


Previous Articles on Snowflake

@dbist
dbist / crdb-til5.md
Last active September 3, 2024 13:50

CockroachDB TIL: Volume 5


This is my series of articles covering short "Today I learned" topics as I work with CockroachDB.


Previous articles

@dbist
dbist / cockroachdb-redpanda-snowflake.md
Last active August 15, 2024 14:09
cockroachdb-redpanda-snowflake.md

Tour of Snowflake ingestion using CockroachDB and Redpanda Connect


This is an exploratory article delving into various ways to ingest real-time data into Snowflake. The premise of the article is to examine the level of difficulty and effort required to ingest change data capture (CDC) data into Snowflake.


Previous articles on Snowflake

@dbist
dbist / snowflake-trino.md
Last active March 16, 2024 13:38
Integrating Trino with Snowflake

Integrating Snowflake with Trino


In today's discourse, we delve into the intricacies of accessing Snowflake via the Trino project. This article illuminates the seamless integration of Trino with Snowflake, offering a comprehensive analysis of its benefits and implications.


Previous articles

CockroachDB CDC using Minio as a cloud storage sink

This is the third in the series of tutorials on CockroachDB and Docker Compose.

You can find the first post here and second post here

  • Information on CockroachDB can be found here.
  • Information on Docker Compose can be found here
  • Information on Minio can be found here
  • Information on Changefeed can be found here