<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SQL on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/sql/</link><description>Recent content in SQL on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 24 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/sql/index.xml" rel="self" type="application/rss+xml"/><item><title>Welcome to Stoolap: A New Generation Embedded Database</title><link>https://ai-blog.noorshomelab.dev/mastering-stoolap-2026/welcome-to-stoolap/</link><pubDate>Fri, 20 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/mastering-stoolap-2026/welcome-to-stoolap/</guid><description>&lt;h2 id="welcome-to-stoolap-a-new-generation-embedded-database"&gt;Welcome to Stoolap: A New Generation Embedded Database&lt;/h2&gt;
&lt;p&gt;Hello, aspiring data architects and developers! Are you ready to dive into the exciting world of high-performance data management right within your applications? In this chapter, we&amp;rsquo;re going to introduce you to &lt;strong&gt;Stoolap&lt;/strong&gt;, a cutting-edge embedded SQL database built with Rust, designed to tackle modern data challenges that traditional embedded solutions often struggle with.&lt;/p&gt;
&lt;p&gt;By the end of this chapter, you&amp;rsquo;ll understand what makes Stoolap a truly unique and powerful tool, why it stands apart from older embedded databases like SQLite, and how its innovative features empower you to build more robust, performant, and intelligent applications. We&amp;rsquo;ll explore its core superpowers, like Multi-Version Concurrency Control (MVCC), parallel query execution, cost-based optimization, and even vector search, all while getting your development environment ready for hands-on coding.&lt;/p&gt;</description></item><item><title>Setting Up Your Stoolap Development Environment</title><link>https://ai-blog.noorshomelab.dev/mastering-stoolap-2026/setup-stoolap-environment/</link><pubDate>Fri, 20 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/mastering-stoolap-2026/setup-stoolap-environment/</guid><description>&lt;h2 id="setting-up-your-stoolap-development-environment"&gt;Setting Up Your Stoolap Development Environment&lt;/h2&gt;
&lt;p&gt;Welcome back, future Stoolap wizard! In Chapter 1, we took a fascinating dive into what Stoolap is, why it&amp;rsquo;s a game-changer for modern embedded data management, and how it stands apart with its unique blend of OLTP and OLAP capabilities. Now, it&amp;rsquo;s time to roll up our sleeves and get our hands dirty!&lt;/p&gt;
&lt;p&gt;This chapter is all about getting you set up for success. We&amp;rsquo;ll walk through installing the necessary tools, creating your first Rust project, and integrating Stoolap so you can start writing code and interacting with this powerful database. Think of it as preparing your workbench before you start building something amazing. By the end of this chapter, you&amp;rsquo;ll have a fully functional development environment and will execute your very first Stoolap SQL query. This foundational step is crucial because it bridges the theoretical understanding of Stoolap with practical, hands-on application, building your confidence from the ground up. Exciting, right?&lt;/p&gt;</description></item><item><title>Stoolap Basics: Data Models and Fundamental SQL Operations</title><link>https://ai-blog.noorshomelab.dev/mastering-stoolap-2026/stoolap-basics-sql-operations/</link><pubDate>Fri, 20 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/mastering-stoolap-2026/stoolap-basics-sql-operations/</guid><description>&lt;h2 id="introduction-to-stoolaps-data-foundation"&gt;Introduction to Stoolap&amp;rsquo;s Data Foundation&lt;/h2&gt;
&lt;p&gt;Welcome back, intrepid data explorer! In the previous chapters, we embarked on our Stoolap journey, understanding its unique position as a modern, high-performance embedded SQL database. We explored its architectural marvels like MVCC, parallel execution, and vector search, which set it apart from traditional embedded solutions. If you haven&amp;rsquo;t set up your Stoolap environment yet, now would be a great time to revisit Chapter 2.&lt;/p&gt;</description></item><item><title>Inside Stoolap: Unpacking the Storage Engine and Query Pipeline</title><link>https://ai-blog.noorshomelab.dev/mastering-stoolap-2026/stoolap-architecture-storage-query/</link><pubDate>Fri, 20 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/mastering-stoolap-2026/stoolap-architecture-storage-query/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Welcome back, fellow data adventurers! In our previous chapter, we got Stoolap up and running, and even executed our first few SQL queries. We saw how it feels to have a powerful database embedded directly within our application. But how does Stoolap manage to be so fast, concurrent, and versatile, especially when compared to older embedded databases like SQLite?&lt;/p&gt;
&lt;p&gt;The secret lies beneath the surface, within its meticulously designed architecture. In this chapter, we&amp;rsquo;re going to pull back the curtain and peek inside Stoolap&amp;rsquo;s core components: its &lt;strong&gt;Storage Engine&lt;/strong&gt; and &lt;strong&gt;Query Execution Pipeline&lt;/strong&gt;. Understanding these will not only satisfy your curiosity but also empower you to design more efficient schemas, write better queries, and truly leverage Stoolap&amp;rsquo;s modern capabilities for both transactional (OLTP) and analytical (OLAP) workloads, along with its cutting-edge vector search.&lt;/p&gt;</description></item><item><title>Real-time Supply Chain Delay Analytics (Gold Layer)</title><link>https://ai-blog.noorshomelab.dev/realtime-supply-chain-intelligence-2/05-dlt-gold-delay-analytics/</link><pubDate>Sat, 20 Dec 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/realtime-supply-chain-intelligence-2/05-dlt-gold-delay-analytics/</guid><description>&lt;h2 id="chapter-5-real-time-supply-chain-delay-analytics-gold-layer"&gt;Chapter 5: Real-time Supply Chain Delay Analytics (Gold Layer)&lt;/h2&gt;
&lt;h3 id="chapter-introduction"&gt;Chapter Introduction&lt;/h3&gt;
&lt;p&gt;Welcome to Chapter 5, where we elevate our supply chain data from the Silver layer to the Gold layer. In this crucial phase, we will build Databricks Delta Live Tables (DLT) pipelines to perform real-time aggregations and derive actionable insights for supply chain delay analytics. This involves taking the cleaned and enriched data from our Silver tables and transforming it into easily consumable metrics, such as average delay times, on-time delivery rates, and identifying critical delay incidents.&lt;/p&gt;</description></item><item><title>Optimizing Performance: The Cost-Based Query Optimizer</title><link>https://ai-blog.noorshomelab.dev/mastering-stoolap-2026/optimizing-performance-optimizer/</link><pubDate>Fri, 20 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/mastering-stoolap-2026/optimizing-performance-optimizer/</guid><description>&lt;h2 id="introduction-to-the-query-optimizer"&gt;Introduction to the Query Optimizer&lt;/h2&gt;
&lt;p&gt;Welcome back, fellow data adventurers! In our previous chapters, we&amp;rsquo;ve explored Stoolap&amp;rsquo;s unique architecture, from its robust storage engine to its powerful MVCC transactions. Now, it&amp;rsquo;s time to pull back the curtain on one of the most intelligent components of any modern database: the &lt;strong&gt;Query Optimizer&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Think of the Query Optimizer as the database&amp;rsquo;s brilliant strategist. When you ask Stoolap a question using SQL, there are often many different ways to find the answer. Should it scan an entire table? Should it use an index? If multiple tables are involved, in what order should they be joined? The optimizer&amp;rsquo;s job is to figure out the &lt;em&gt;most efficient&lt;/em&gt; path to retrieve your data, minimizing resource usage and execution time.&lt;/p&gt;</description></item><item><title>Accelerating Queries with Parallel Execution</title><link>https://ai-blog.noorshomelab.dev/mastering-stoolap-2026/accelerating-queries-parallel-execution/</link><pubDate>Fri, 20 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/mastering-stoolap-2026/accelerating-queries-parallel-execution/</guid><description>&lt;h2 id="introduction-to-parallel-execution"&gt;Introduction to Parallel Execution&lt;/h2&gt;
&lt;p&gt;Welcome back, intrepid data explorer! In our journey through Stoolap, we&amp;rsquo;ve already covered the foundational concepts of setting up your database, modeling data, and managing concurrent operations with MVCC transactions. These are crucial building blocks for any robust application.&lt;/p&gt;
&lt;p&gt;Today, we&amp;rsquo;re going to dive into a feature that truly sets modern embedded databases like Stoolap apart: &lt;strong&gt;parallel query execution&lt;/strong&gt;. Imagine you have a huge pile of work, and instead of doing it all yourself, you can enlist a team of helpers to tackle different parts simultaneously. That&amp;rsquo;s the essence of parallel execution in a database!&lt;/p&gt;</description></item><item><title>Data Governance and Security with Unity Catalog</title><link>https://ai-blog.noorshomelab.dev/databricks-mastery-2025/unity-catalog-governance/</link><pubDate>Fri, 19 Dec 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/databricks-mastery-2025/unity-catalog-governance/</guid><description>&lt;h2 id="introduction-to-unity-catalog-your-datas-guardian"&gt;Introduction to Unity Catalog: Your Data&amp;rsquo;s Guardian&lt;/h2&gt;
&lt;p&gt;Welcome to Chapter 9! So far, you&amp;rsquo;ve mastered the art of processing data, building pipelines, and optimizing queries on Databricks. That&amp;rsquo;s fantastic! But imagine building a magnificent data castle without proper security or a clear map of its rooms and treasures. That&amp;rsquo;s where data governance and security come in, and on Databricks, the knight in shining armor for this task is &lt;strong&gt;Unity Catalog&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Project: Building a Hybrid OLTP/OLAP Analytics Dashboard</title><link>https://ai-blog.noorshomelab.dev/mastering-stoolap-2026/project-htap-dashboard/</link><pubDate>Fri, 20 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/mastering-stoolap-2026/project-htap-dashboard/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Welcome to Chapter 10! So far, we&amp;rsquo;ve explored Stoolap&amp;rsquo;s core features, from its embedded nature and MVCC transactions to parallel query execution and the exciting world of vector search. Now, it&amp;rsquo;s time to put that knowledge into action by building a practical project: a hybrid OLTP/OLAP analytics dashboard.&lt;/p&gt;
&lt;p&gt;In this chapter, you&amp;rsquo;ll learn how to leverage Stoolap&amp;rsquo;s unique capabilities to manage both high-volume transactional data ingestion (OLTP) and complex analytical queries (OLAP) within a single, embedded application. We&amp;rsquo;ll design a schema suitable for both workloads, insert dynamic data, and then query it to extract meaningful insights, simulating a real-time analytics dashboard. This project will solidify your understanding of Stoolap&amp;rsquo;s power as an HTAP database.&lt;/p&gt;</description></item><item><title>Chapter 16: Project: Optimizing a Database Table Column</title><link>https://ai-blog.noorshomelab.dev/openzl-mastery-2026/project-database-column-optimization/</link><pubDate>Mon, 26 Jan 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/openzl-mastery-2026/project-database-column-optimization/</guid><description>&lt;h2 id="chapter-16-project-optimizing-a-database-table-column"&gt;Chapter 16: Project: Optimizing a Database Table Column&lt;/h2&gt;
&lt;p&gt;Welcome back, compression explorers! In our previous chapters, you&amp;rsquo;ve mastered the foundational concepts of OpenZL, learned how to set up your environment, and even dabbled with simple data descriptions and compression plans. Now, it&amp;rsquo;s time to put that knowledge to the test with a practical, real-world scenario: optimizing a database table column.&lt;/p&gt;
&lt;p&gt;In this chapter, we&amp;rsquo;ll embark on a mini-project to apply OpenZL&amp;rsquo;s powerful, format-aware compression to a simulated database column. We&amp;rsquo;ll walk through defining the column&amp;rsquo;s data structure, crafting a specialized compression plan, and observing the impact on storage. This isn&amp;rsquo;t just theory; you&amp;rsquo;ll see firsthand how OpenZL can significantly reduce data footprint and potentially boost query performance by making your data smaller and faster to read.&lt;/p&gt;</description></item><item><title>Your AI Doesn&amp;#39;t Need Another Database: Rethinking Data for LLMs</title><link>https://ai-blog.noorshomelab.dev/blog/your-ai-doesnt-need-another-database-llm-data/</link><pubDate>Sun, 24 May 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/blog/your-ai-doesnt-need-another-database-llm-data/</guid><description>&lt;p&gt;In the rush to build AI systems, many teams reflexively reach for the latest specialized database, convinced their large language models demand a completely new data stack. But what if that instinct is often wrong, leading to unnecessary complexity, increased costs, and overlooked capabilities of your existing data infrastructure?&lt;/p&gt;
&lt;p&gt;This post challenges the common assumption that all AI systems require specialized vector databases. Instead, we&amp;rsquo;ll explore how many AI applications, especially those not solely focused on pure semantic search, can effectively leverage traditional databases. Often, these established solutions offer superior data integrity, cost-efficiency, and operational familiarity, proving to be a more robust foundation for your AI projects.&lt;/p&gt;</description></item><item><title>Stoolap Practical Field Guide</title><link>https://ai-blog.noorshomelab.dev/guides/mastering-stoolap-2026-guide/</link><pubDate>Fri, 20 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/guides/mastering-stoolap-2026-guide/</guid><description>&lt;h2 id="welcome-to-stoolap-your-journey-into-modern-embedded-databases"&gt;Welcome to Stoolap: Your Journey into Modern Embedded Databases&lt;/h2&gt;
&lt;p&gt;Hello and welcome! In this comprehensive guide, we&amp;rsquo;re going to explore Stoolap, a modern embedded SQL database written in Rust. If you&amp;rsquo;re familiar with traditional embedded databases like SQLite, prepare to discover a new generation of capabilities designed for today&amp;rsquo;s demanding applications.&lt;/p&gt;
&lt;h3 id="what-is-stoolap-and-why-does-it-matter"&gt;What is Stoolap, and Why Does It Matter?&lt;/h3&gt;
&lt;p&gt;At its core, Stoolap is an embedded SQL database. This means it&amp;rsquo;s designed to be integrated directly into your application, running within the same process without the need for a separate server. Think of it as a powerful, self-contained data engine that gives your application direct access to its data.&lt;/p&gt;</description></item><item><title>Chapter 7: Database Deep Dive: Query Optimization &amp;amp; Concurrency</title><link>https://ai-blog.noorshomelab.dev/real-world-software-problem-solving-guide/database-optimization/</link><pubDate>Fri, 06 Mar 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/real-world-software-problem-solving-guide/database-optimization/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Welcome back, intrepid problem-solver! In our previous chapters, we&amp;rsquo;ve honed our general debugging skills and learned to approach complex systems with a structured mindset. Now, it&amp;rsquo;s time to zero in on one of the most common and critical bottlenecks in almost any modern application: the database.&lt;/p&gt;
&lt;p&gt;Databases are the heart of many applications, storing the precious data that drives everything. But just like a heart, if it&amp;rsquo;s not performing optimally, the whole system suffers. Slow queries can turn a snappy user experience into a frustrating wait, and mishandled concurrent operations can lead to subtle, insidious data corruption. In this chapter, we&amp;rsquo;ll equip you with the knowledge and tools to diagnose and fix these database-related problems. We&amp;rsquo;ll explore how to make your queries lightning fast and ensure your data remains consistent even under heavy concurrent loads.&lt;/p&gt;</description></item><item><title>Liquibase Learning Guide: From Beginner to Expert</title><link>https://ai-blog.noorshomelab.dev/guides/liquibase-learning-guide/</link><pubDate>Wed, 01 Oct 2025 16:00:00 +0530</pubDate><guid>https://ai-blog.noorshomelab.dev/guides/liquibase-learning-guide/</guid><description>&lt;p&gt;Welcome to the ultimate Liquibase Learning Guide! As your expert Liquibase educator and senior database DevOps practitioner, I&amp;rsquo;m thrilled to embark on this journey with you. This guide is designed to take you from an absolute beginner to an expert in managing your database changes with Liquibase, covering everything from fundamental concepts to advanced CI/CD patterns and enterprise-grade practices. We&amp;rsquo;ll emphasize safety, best practices, and the &amp;ldquo;why&amp;rdquo; behind every step, ensuring you develop an expert mindset.&lt;/p&gt;</description></item></channel></rss>