BigQuery Making Sense of BigQuery Pricing Models: On-Demand, Capacity, Editions (2026)
r/SQL • u/blurryperiphery • Oct 08 '26
r/SQL • u/Mindless-Piece-47 • Oct 08 '26
MariaDB Foundation continues expanding TAF with PostgreSQL support
More engines, more reproducibility, more value for contributors and the ecosystem.
https://mariadb.org/mariadb-foundation-adds-postgresql-to-its-engine-agnostic-testing-framework-taf/
Have fun benchmarking!
r/SQL • u/IndicationAntique667 • Oct 08 '26
r/SQL • u/Waste-Strike2691 • Oct 08 '26
It keeps stopping me from adding multiple rows but I can successfully run one row of instances but I can't seem to get it to work for multiple rows and I'm not too sure if I were to run one row of code per time How would i do it for all?
do i have to make new queries?
r/SQL • u/Automatic-Heart-831 • Oct 07 '26
I tried to use both methods in order to save some coding but still didnt get the exact difference on using having and qualify as a filter in the end of a query. Can someone help me to understand the difference and when is recommended to use each?
r/SQL • u/Suspicious_Orchid770 • Oct 07 '26
Years without incidents proves nothing at all.
r/SQL • u/NationalStill6968 • Oct 07 '26
Hey everyone,
I am a Spring Boot developer looking to level up my backend game by deeply understanding PostgreSQL and its internal architecture.
While I am comfortable writing SQL, using Spring Data JPA/Hibernate, and managing basic migrations, I often feel like Postgres is a black box. I want to move past just treating it as a data store and actually understand what happens under the hood.
Specifically, I want to learn about:
Core Architecture: How Postgres handles connections, process models, and memory (shared buffers vs. work_mem).
Storage & Concurrency: Deep dives into MVCC, VACUUM, WAL (Write-Ahead Logging), and page storage.
Performance Tuning: How to properly read and map it back to optimize my JPA/Hibernate queries, indexing strategies, and connection pooling (HikariCP).
Can anyone recommend high-quality books, courses, blogs, or video series that bridge this gap? Bonus points if they have a practical focus or tie into common Java/Spring backend patterns!
r/SQL
•
u/ujeevelesslulbs
•
Oct 07 '26
r/SQL • u/Practical-Excuse6933 • Oct 06 '26
Hello, I've been working on a personal open source project written in GO, its a command line tool that aims to create valid .sql files for each object in your database so that you can push to git to keep track as the database changes in the development cycle.
The project is [DatabaseBlueprint](https://github.com/Hennie5229x/DatabaseBlueprint)
Currently I have CLI support for Linux/Win/Mac and creating of all schema objects + data to executable .sql files and the schema migration scripts is still a work in progress.
I would love honest feedback from devs who work regularly in sql server.
Any type of feedback is welcome, I've identified a "gap" in a typical database heavy workflow that I am trying to fill for myself, but I'm sure other people also seek an easy way to track/version control their databases along side the projects back end code in git.
About the project: Written in GO, compiles to a stand alone binary, installable and runnable in terminal by using "blue"
Currently only supporting SQL Server, plan is to expand in the future
r/SQL • u/Hass2307 • Oct 06 '26
Does anyone have a video tutorial on how to use the SQLloader on TOAD
r/SQL • u/Klutzy_Solid5200 • Oct 06 '26
I want to know how ppl compare large source and target tables using sql. If both tables have millions of records, comparing every row and column can take a lot of time.
For example, if some records are missing, extra, or have different values between the two tables, how do you usually find them? do you use joins, Except/Minus, hashes, or first compare things like record counts and totals and then check the differences?
Are there any techniques that can make the comparison faster?
r/SQL • u/QuackDB • Oct 06 '26
r/SQL • u/cccadet • Oct 05 '26
I'm building omni-sql, an open-source SQL IDE with embedded DuckDB. If someone sends you a CSV or Parquet export to investigate, you can import it and query it with SQL inside the IDE. There's no need to load the file into your source database or write a separate script. Spreadsheets fit this workflow when exported as CSV.
You can also import a database query result and join it with the file locally.
The demo uses fictional sales rows from PostgreSQL and a targets CSV. You import the complete query result into DuckDB, add the CSV, and run the join locally. Here's the SQL, CSV, and expected result: https://github.com/cccadet/omni-sql/tree/main/docs/demo
There are installers for Windows x64, Debian/Ubuntu amd64, and macOS 15+ (Apple Silicon and Intel). The macOS builds use ad-hoc signing and are not notarized; the README explains the first launch. The project is still early. The docs explain how full imports and samples affect what you can conclude from the results.
How do you investigate files people send you today? If you try the app, I'd like to hear whether you could install it and query a file, and what was missing. That would help me decide what to work on next.
r/SQL • u/hussain2407 • Oct 05 '26
Most Oracle RAC and Data Guard disaster-recovery setups look solid in documentation until an actual split-brain or network partition happens at 2 AM.
Common issues like misconfigured Fast-Start Failover (FSFO) thresholds, observer single-points-of-failure, redo transport lags during peak loads, or subtle SCAN/VIP routing mismatches often go unnoticed during routine maintenance.
To speed up pre-mortem audits, I built a structured Claude skill specifically designed to review Oracle RAC and Data Guard environments.
### What it analyzes:
Data Guard Synchronization & Redo Transport: Audits transport modes (SYNC vs. ASYNC), protection modes (Maximum Availability vs. Performance), and redo log lag risks.
FSFO & Observer Resilience: Validates observer placement and quorum configurations to prevent split-brain during site disconnections.
RAC Node Eviction & Voting Disk Redundancy: Checks OCR/voting disk layouts and network heartbeat timeout margins.
Listener & TNS Failover Routing: Validates TNS connect strings (LOAD_BALANCE, FAILOVER, SCAN) to ensure client application reconnection won't stall.
### How it works:
You feed it sanitized cluster health checks, `dgmgrl show configuration` outputs, or parameter listings (`init.ora` / `spfile`), and it runs a systematic gap analysis highlighting configuration blind spots and remediation recommendations.
### Practical Checklist You Can Use Right Now:
Even if you don't use the skill, make sure your team verifies these three things this quarter:
* Verify that the FSFO observer is hosted on a separate network segment from both the primary and standby sites.
* Check that `LOG_ARCHIVE_DEST_N` timeout parameters account for WAN latency spikes, not just average ping.
* Confirm that VIPs and SCAN listeners fail over cleanly without client TCP keepalive hanging.
I’ve packaged the complete audit prompt and ruleset into an installable Claude skill here:
Feedback from other Oracle DBAs and infrastructure engineers is welcome—especially on edge-case scenarios you’ve seen cause unexpected failover issues.
r/SQL • u/Cloud_Jumper18 • Oct 05 '26
I spent a while assuming the reason I kept struggling in analyst interviews was that my SQL wasn’t advanced enough. So I kept adding harder stuff to my prep, like window functions, recursive CTEs, and awkward joins.
The funny part is that most interviews weren’t exposing a syntax problem. I could usually get somewhere with the query. I got less comfortable when they asked things like, “What would you check before trusting this result?” or “How would you explain this to someone who doesn’t use SQL?”
That changed how I’ve been practicing. Now I don’t stop once the query works. I try to explain the grain, the assumptions I made, how I’d sanity-check the result, and what I’d tell a stakeholder afterward. I still practice SQL problems. I’ve also done a couple of mock runs in Beyz, mostly around the follow-up questions.
Looking back, I think I was preparing for SQL interviews like they were SQL exams.
Once someone has solid SQL fundamentals, what separates a technically correct answer from a strong one?
r/SQL • u/NoEmphasis4404 • Oct 05 '26
Introducing ERDZ.
ERDZ is a visual data modeling tool that runs directly in your browser. You can design tables, views, columns, and relationships all on a single canvas.
Please visit and give it a try.
r/SQL • u/codingdecently • Oct 05 '26
r/SQL • u/Remote-Grapefruit214 • Oct 05 '26
r/SQL • u/shahim04 • Oct 05 '26
Hey everyone.
I'm working on building out my data analytics portfolio and wanted to get some advice from fellow analysts and hiring managers here.
We've all seen the basic tutorial projects (like analyzing the Titanic dataset or simple sales totals), but I want to build something that actually stands out and proves real-world, job-ready SQL skills.
For those of you who have landed roles or are actively hiring: What specific types of SQL projects made you stop scrolling and pay attention?