Database, Cache & Warehouse
Database & SQL Configuration Templates
Production blueprints for PostgreSQL 18 io_uring & UUIDv7, MySQL 8.4 LTS, MariaDB 11.8 Vector Index, SQLite 3.50, MongoDB 8.0, Redis 8.0, Memcached 1.6, and BigQuery FinOps.
sql
Google BigQuery
Verified Starter
BigQuery FinOps: PHYSICAL vs LOGICAL Storage Savings Calculator
Audit every BigQuery dataset via INFORMATION_SCHEMA.TABLE_STORAGE to calculate exact monthly savings from switching to PHYSICAL billing.
-- Google BigQuery FinOps: Dataset-Level LOGICAL vs PHYSICAL Storage Cost Calculator
-- Replace 'region-us' with your BigQuery region (e.g. 'region-eu', 'region-us-central1')
-- Evaluates active + long-term + 7-day time-travel + 7-day fail-safe...
sql
Google BigQuery
Verified Starter
BigQuery INFORMATION_SCHEMA.JOBS Cost, Slot & Spill Profiler
Group 30-day BigQuery INFORMATION_SCHEMA.JOBS by normalized query fingerprint to expose top TB billed, slot contention, and shuffle spills.
-- BigQuery 30-Day Query Fingerprint FinOps, Slot-Hours & Shuffle Spill Profiler
-- Partition-pruned on creation_time so this audit query itself scans minimal metadata bytes
DECLARE lookback_days INT64 DEFAULT 30;
DECLARE on_demand_tib_usd FLOAT64...
sql
Google BigQuery
Verified Starter
BigQuery GoogleSQL Pipe Syntax (|>) & GROUP BY ALL Blueprint
Refactor nested BigQuery CTEs into clean top-to-bottom GoogleSQL Pipe Syntax (|>) with early partition pruning, EXTEND, and AGGREGATE.
-- Google BigQuery Modern Pipe Syntax (|>) Analytics Blueprint (2025-2026 GA)
-- Every prefix up to any '|>' line is a valid standalone query for instant debugging!
-- 1. Linear Funnel & Revenue Attribution Pipeline Without Nested CTE...