<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Database on ToiDB</title>
    <link>https://www.toidang.xyz/tags/database/</link>
    <description>Recent content in Database on ToiDB</description>
    <image>
      <title>ToiDB</title>
      <url>https://www.toidang.xyz/web/static/me-512x512.png</url>
      <link>https://www.toidang.xyz/web/static/me-512x512.png</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Thu, 08 Aug 2024 22:25:07 +0700</lastBuildDate>
    <atom:link href="https://www.toidang.xyz/tags/database/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>OLTP vs OLAP</title>
      <link>https://www.toidang.xyz/posts/2024/07/29/oltp-vs-olap/</link>
      <pubDate>Mon, 29 Jul 2024 03:00:00 +0000</pubDate>
      <guid>https://www.toidang.xyz/posts/2024/07/29/oltp-vs-olap/</guid>
      <description>OLTP and OLAP are two types of databases that are optimized for different types of workloads. In this article, we will discuss the differences between OLTP and OLAP systems, their characteristics, and how they are used in real-world scenarios.</description>
    </item>
    <item>
      <title>Unlogged Table vs Logged Table in PostgreSQL</title>
      <link>https://www.toidang.xyz/posts/2024/07/09/unlogged-table-vs-logged-table-in-postgresql/</link>
      <pubDate>Tue, 09 Jul 2024 13:00:00 +0000</pubDate>
      <guid>https://www.toidang.xyz/posts/2024/07/09/unlogged-table-vs-logged-table-in-postgresql/</guid>
      <description>Learn about the differences between unlogged tables and logged tables in PostgreSQL and when to use each type of table for optimal performance.</description>
    </item>
    <item>
      <title>How to Safely Store Data on Redis in a Heavy Writing System?</title>
      <link>https://www.toidang.xyz/posts/2024/07/01/how-to-safely-store-data-on-redis-in-a-heavy-writing-system/</link>
      <pubDate>Mon, 01 Jul 2024 10:00:00 +0000</pubDate>
      <guid>https://www.toidang.xyz/posts/2024/07/01/how-to-safely-store-data-on-redis-in-a-heavy-writing-system/</guid>
      <description>Learn how to safely store data on Redis in a heavy writing system by optimizing write operations, using data persistence mechanisms, and implementing data backup strategies.</description>
    </item>
    <item>
      <title>Introduction to Cassandra: The NoSQL Database for Scalable Applications</title>
      <link>https://www.toidang.xyz/posts/2024/06/29/introduction-to-cassandra-the-nosql-database-for-scalable-applications/</link>
      <pubDate>Sat, 29 Jun 2024 17:00:00 +0000</pubDate>
      <guid>https://www.toidang.xyz/posts/2024/06/29/introduction-to-cassandra-the-nosql-database-for-scalable-applications/</guid>
      <description>Explore Cassandra, the distributed NoSQL database designed for high availability and scalability.</description>
    </item>
    <item>
      <title>Introduction to DuckDB: The New Database for Data Analysis</title>
      <link>https://www.toidang.xyz/posts/2024/06/29/introduction-to-duckdb-the-new-database-for-data-analysis/</link>
      <pubDate>Sat, 29 Jun 2024 10:00:00 +0000</pubDate>
      <guid>https://www.toidang.xyz/posts/2024/06/29/introduction-to-duckdb-the-new-database-for-data-analysis/</guid>
      <description>Discover DuckDB, the high-performance, easy-to-use database designed for modern data analysis.</description>
    </item>
    <item>
      <title>Understanding MVCC in MySQL and PostgreSQL</title>
      <link>https://www.toidang.xyz/posts/2024/06/05/understanding-mvcc-in-mysql-and-postgresql/</link>
      <pubDate>Wed, 05 Jun 2024 08:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2024/06/05/understanding-mvcc-in-mysql-and-postgresql/</guid>
      <description>MVCC (Multi-Version Concurrency Control) is a technique used in MySQL and PostgreSQL to manage concurrent access to the database. In this article, we will explore how MVCC works in MySQL and PostgreSQL and its benefits for developers and users.</description>
    </item>
    <item>
      <title>MVCC in Database</title>
      <link>https://www.toidang.xyz/posts/2024/06/05/mvcc-in-database/</link>
      <pubDate>Wed, 05 Jun 2024 07:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2024/06/05/mvcc-in-database/</guid>
      <description>MVCC (Multi-Version Concurrency Control) is a technique used in databases to manage concurrent access to the database. In this article, we will explore how MVCC works in databases like PostgreSQL and MySQL and its benefits for developers and users.</description>
    </item>
    <item>
      <title>PostgreSQL LOCKS: Comprehensive Guide 101</title>
      <link>https://www.toidang.xyz/posts/2024/05/06/postgresql-locks-comprehensive-guide-101/</link>
      <pubDate>Mon, 06 May 2024 07:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2024/05/06/postgresql-locks-comprehensive-guide-101/</guid>
      <description>PostgreSQL locks are used to control access to data in a database. They are used to prevent multiple transactions from accessing the same data at the same time, which can lead to data corruption and inconsistency. In this article, we will discuss the different types of locks in PostgreSQL, how to use them, and when to use them.</description>
    </item>
    <item>
      <title>Exploring Sharding in PostgreSQL</title>
      <link>https://www.toidang.xyz/posts/2024/03/31/exploring-sharding-in-postgresql/</link>
      <pubDate>Sun, 31 Mar 2024 02:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2024/03/31/exploring-sharding-in-postgresql/</guid>
      <description>Sharding is a database partitioning technique that involves splitting a large database into smaller, more manageable parts called shards. In this guide, we&amp;rsquo;ll introduce the concept of sharding, explore different sharding strategies, and provide step-by-step instructions for implementing vertical, horizontal, and hybrid sharding in PostgreSQL.</description>
    </item>
    <item>
      <title>Using Partial Index in Optimizing PostgreSQL</title>
      <link>https://www.toidang.xyz/posts/2024/03/31/using-partial-index-in-optimizing-postgresql/</link>
      <pubDate>Sun, 31 Mar 2024 02:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2024/03/31/using-partial-index-in-optimizing-postgresql/</guid>
      <description>Partial indexes in PostgreSQL allow you to create indexes on a subset of rows in a table, optimizing query performance and reducing storage requirements. This article explores the benefits of using partial indexes, common use cases, and best practices for leveraging them to improve the efficiency of your PostgreSQL database.</description>
    </item>
    <item>
      <title>PostgreSQL Performance Optimization Techniques - Part 1</title>
      <link>https://www.toidang.xyz/posts/2024/03/30/postgresql-performance-optimization-techniques-part-1/</link>
      <pubDate>Sat, 30 Mar 2024 09:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2024/03/30/postgresql-performance-optimization-techniques-part-1/</guid>
      <description>PostgreSQL is a powerful open-source relational database management system that offers a wide range of features for optimizing performance. In this article, we explore some of the most effective techniques for optimizing PostgreSQL performance, including indexing, query optimization, and configuration tuning.</description>
    </item>
    <item>
      <title>A Comparison of Data Storage on Disk in PostgreSQL and MySQL</title>
      <link>https://www.toidang.xyz/posts/2024/03/24/a-comparison-of-data-storage-on-disk-in-postgresql-and-mysql/</link>
      <pubDate>Sun, 24 Mar 2024 07:09:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2024/03/24/a-comparison-of-data-storage-on-disk-in-postgresql-and-mysql/</guid>
      <description>Explore how data is stored on disk in PostgreSQL and MySQL, two popular database management systems. Learn about their storage architecture, file structure, and data access optimization to understand the differences and similarities between the two systems.</description>
    </item>
    <item>
      <title>Understanding PostgreSQL Partitioning</title>
      <link>https://www.toidang.xyz/posts/2024/01/15/understanding-postgresql-partitioning/</link>
      <pubDate>Mon, 15 Jan 2024 10:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2024/01/15/understanding-postgresql-partitioning/</guid>
      <description>PostgreSQL partitioning is a powerful feature that allows you to divide large tables into smaller, more manageable pieces for improved performance and maintenance. Learn how to implement partitioning in PostgreSQL and leverage its benefits for your database.</description>
    </item>
    <item>
      <title>Optimizing PostgreSQL Data File Read</title>
      <link>https://www.toidang.xyz/posts/2023/07/16/optimizing-postgresql-data-file-read/</link>
      <pubDate>Sun, 16 Jul 2023 18:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2023/07/16/optimizing-postgresql-data-file-read/</guid>
      <description>PostgreSQL Data File Read refers to the process of reading data from the data files in a PostgreSQL database. These data files include the base data files, which contain tables, indexes, and data of other objects in the database. Reading data from data files can become a bottleneck in the performance of the database, especially when the database is large and experiences a high volume of concurrent queries. Optimizing PostgreSQL Data File Read is essential to improve the performance of the database system and minimize the response time of queries.</description>
    </item>
    <item>
      <title>Master-Master vs. Master-Slave Replication in Distributed Relational Databases</title>
      <link>https://www.toidang.xyz/posts/2022/08/07/master-master-vs.-master-slave-replication-in-distributed-relational-databases/</link>
      <pubDate>Sun, 07 Aug 2022 18:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2022/08/07/master-master-vs.-master-slave-replication-in-distributed-relational-databases/</guid>
      <description>In the distributed relational database model, two common modules are master-master and master-slave replication. Let&amp;rsquo;s explore each of these modules and when to use them.</description>
    </item>
    <item>
      <title>PostgreSQL Best Practices</title>
      <link>https://www.toidang.xyz/posts/2016/09/28/postgresql-best-practices/</link>
      <pubDate>Wed, 28 Sep 2016 18:08:55 +0700</pubDate>
      <guid>https://www.toidang.xyz/posts/2016/09/28/postgresql-best-practices/</guid>
      <description>PostgreSQL is a powerful, open source object-relational database system. It has more than 15 years of active development and a proven architecture. In this post, I will share some best practices to optimize your PostgreSQL database.</description>
    </item>
  </channel>
</rss>
