#

SQL Programming Tutorials & Engineering Articles

889 SQL tutorials, guides, and engineering insights from ClickHouse, Cloudflare, NVIDIA, and more

SQL Articles & Tutorials

Filter:
ClickHouse logo
ClickHouse
Intermediate
ClickHouse Workload for Microsoft Fabric brings sub-second analytics to OneLake data through a native Fabric workload, with dedicated ClickHouse Cloud compute for agents, dashboards, and applications.
ClickHouse logo
ClickHouse
Advanced
The chDB Durable Layer keeps agent memory fast to query locally while making its analytical state recoverable across laptops, CI jobs, and short-lived sandboxes.
16 min read
Includes Code
--
ClickHouse logo
ClickHouse
Advanced
How do Postgres providers handle a query that exhausts memory? A recursive query benchmark compares query failures and cluster survival across ClickHouse Managed Postgres, Cloud SQL, PlanetScale, and Amazon RDS.
ClickHouse logo
ClickHouse
Intermediate
ClickHouse 26.9 introduces conditional LIMIT boundaries, incremental refreshes for append-only materialized views, disk spilling for DISTINCT, time-limited tokens, and faster min/max/count queries.
21 min read
Includes Code
--
ClickHouse logo
ClickHouse
Intermediate
See how local NVMe transforms Postgres transaction performance—and why ClickHouse remains essential for fast analytics as workloads scale.
9 min read
Includes Code
--
ClickHouse logo
ClickHouse
Beginner
Notes from three days in the Netherlands, featuring a lightning talk on pg_clickhouse and pg_stat_ch at PGDay Lowlands and a session on PostgreSQL 19 monitoring at Percona Live Amsterdam.
8 min read
Includes Code
--
ClickHouse logo
ClickHouse
Intermediate
The official ClickHouse provider for Apache Airflow simplifies data workflows with standard SQL operators, bulk inserts, and shared setup across self-managed Airflow and Astronomer.
7 min read
Includes Code
--
Stripe logo
Stripe
Beginner
Stripe’s next generation of reporting APIs are focused on enterprise scalability, and this post shows you how to use them in your financial reporting infrastructure.
Maia Robinson
8 min read
Includes Code
--
ClickHouse logo
ClickHouse
Advanced
ClickHouse PromQL support lets you store Prometheus metrics in ClickHouse Cloud, query them using familiar PromQL, and bring metrics together with your logs and traces without rewriting queries in SQL.
13 min read
Includes Code
--
Google logo
Google
Advanced
This blog post explores how to transition AI agents from static, build-time security controls to dynamic runtime governance using the Gemini Enterprise Agent Platform. It highlights three primary managed defenses: Model Armor for screening edge prompts, Semantic Governance Policies for evaluating tool intent against business rules, and Agent Anomaly Detection for catching multi-turn exploits. By shifting these capabilities to the platform level, security administrators can dynamically enforce policies and neutralize complex attacks without needing to modify or redeploy the agent's underlying code.
Eric Dong, Shubham Saboo
12 min read
Includes Code
--
ClickHouse logo
ClickHouse
Advanced
ClickHouse 26.8 LTS introduces background queries, pipelined SQL, new text tokenizers, expanded data lake integrations, and faster Parquet, aggregation, and join queries.
ClickHouse logo
ClickHouse
Intermediate
Use ClickHouse to load Parquet files into MySQL, explore remote data, and run MySQL queries with table functions and named collections.
7 min read
Includes Code
--
ClickHouse logo
ClickHouse
Advanced
Explore ClickHouse AI Functions for classification, generation, translation, embeddings, semantic search, and cost controls—all directly from SQL.
14 min read
Includes Code
--
ClickHouse logo
ClickHouse
Advanced
CostBench puts cloud data warehouses under continuous load. Across the complete path from fresh data to fast answers, ClickHouse Cloud delivers 412–1,996× better performance per dollar.
20 min read
Includes Code
--
ClickHouse logo
ClickHouse
Intermediate
Google's MCP Toolbox for Databases embeds agent text into vectors on insert and search, then lets ClickHouse rank the results - no embedding service to build or maintain. Here's how to set it up, and what it looks like end to end.
ClickHouse logo
ClickHouse
Intermediate
Learn how to build a streaming HTTP API directly in ClickHouse 26.8 with named handlers, typed parameters, pagination, framing formats, and access control.
19 min read
Includes Code
--
ClickHouse logo
ClickHouse
Beginner
PostgreSQL 19 adds four system views that make lock contention, recovery state, autovacuum priorities, and dynamic shared memory allocations easier to inspect.
14 min read
Includes Code
--
ClickHouse logo
ClickHouse
Advanced
We took 201 real analytics questions from our production data warehouse, benchmarked 28 models on correctness, cost, and speed, and released an open harness so you can run the same test on your own.
Google logo
Google
Beginner
The recent Google for Startups AI Agents Challenge revealed that the most successful multi-agent systems rely on foundational software engineering patterns rather than just raw model power. Winning architectures consistently implemented bidirectional MCP for seamless inter-agent communication, async event buses for parallel execution, strict unified validation for model fallbacks, and tiered routing to minimize expensive inference calls. By prioritizing these structural practices over simple linear prompt chains, developers can build more resilient, low-latency, and cost-effective agentic workflows.
Sergio Villani
9 min read
Includes Code
--
ClickHouse logo
ClickHouse
Beginner
See how a four-step onboarding flow helps users move from provisioning ClickHouse Managed Postgres to querying operational data and running real-time analytics with ClickHouse.
7 min read
--
ClickHouse logo
ClickHouse
Advanced
After claims that ClickHouse is “winning the observability wars” sparked debate, we reflect on why it has become a leading storage and query engine, where it still falls short, and why winning the database layer isn’t the same as winning observability.
ClickHouse logo
ClickHouse
Advanced
Discover how ClickHouse .NET Driver 1.1–1.3 adds type-safe POCO workflows, extensible serialization, broader type support, performance improvements, and official ecosystem integrations.
16 min read
Includes Code
--
ClickHouse logo
ClickHouse
Advanced
ClickGap reviews merged ClickHouse changes, executes reproducers, rejects false positives, and attributes regressions to specific commits.
22 min read
Includes Code
--
ClickHouse logo
ClickHouse
Intermediate
PostgreSQL 19's new `WAIT FOR` command enables read-your-writes consistency on asynchronous replicas by letting individual reads wait for a specific WAL position.
7 min read
Includes Code
--
ClickHouse logo
ClickHouse
Intermediate
Suprema Gaming migrated its analytics platform from Snowflake to ClickHouse Cloud to power a company-wide shift toward agentic operations.
OpenAI logo
OpenAI
Advanced
How we adapted our application storage platform, Habitat, in Python to manage unprecedented growth.By Jon Lee, Chaomin Yu, and Ben Ries, Members of Technical Staff
Google logo
Google
Advanced
Building autonomous AI agents that mutate production state requires moving beyond soft system prompts to a robust zero-trust architecture. To secure Google Agent Development Kit (ADK) workflows against prompt injections and malicious execution, developers must implement hardware-backed cryptographic signatures for database writes, kernel-level sandboxing with gVisor for dynamic code, and deterministic semantic gateways for I/O validation. By enforcing these hard security boundaries at the infrastructure level, you can safely deploy multi-tool AI agents without risking unauthorized data manipulation or server compromise.
Shubham Saboo, Eric Dong
8 min read
Includes Code
--
ClickHouse logo
ClickHouse
Intermediate
ClickHouse Grafana plugin 4.20 brings compact query mode, click-to-filter log investigation, guided variable and annotation editors, and OpenTelemetry dashboards
7 min read
Includes Code
--
ClickHouse logo
ClickHouse
Intermediate
iFood rebuilt its in-house security platform on ClickHouse Cloud, getting 9-16x faster queries at 40-50% of the cost and unlocking agentic threat hunts that cut a week of analyst work down to two hours.
Pankaj Mohapatra, Arun Mahadeva Iyer, Balajee Nagasubramaniam, Prashant Wason, Alon Levy
11 min read
--
ClickHouse logo
ClickHouse
Intermediate
Explore ClickStack’s latest upgrades, from richer trace navigation and Prometheus connectivity to smarter dashboards, quieter alerts, faster filtering and support for exponential histogram metrics.
ClickHouse logo
ClickHouse
Intermediate
This release brings speedups for GROUP BY ... ORDER BY ... LIMIT, three JOIN improvements, four vector search improvements, position-aware phrase search, EXPLAIN ANALYZE, unified URL access, and more!
34 min read
Includes Code
--