3 Repos
Specialized tools for analyzing database migrations and raw SQL queries.
Explore 3 awesome GitHub repositories matching part of an awesome list · SQL and Database Analysis. Refine with filters or upvote what's useful.
pgloader is a command-line tool that automates the migration of data and schema from various source databases and file formats into PostgreSQL. It combines schema discovery, parallel data pipelines, and type casting into a single, declarative workflow, using PostgreSQL's COPY protocol for high-throughput bulk loading. The tool distinguishes itself by compiling a dedicated command language into concurrent reader-writer pipelines that handle schema introspection, data transformation, and error-resilient batch processing. It supports migrating entire databases from MySQL, MS SQL, SQLite, and Pos
Executes custom SQL commands before and after loading data, enabling table creation and post-processing.
JSqlParser ist eine Java-Bibliothek für SQL-Abfrage-Parsing, die rohe SQL-Strings in eine strukturierte Hierarchie stark typisierter Java-Objekte konvertiert. Sie bietet die Möglichkeit, Datenbankabfragen programmatisch zu analysieren und zu manipulieren, indem sie diese als Baum von Objekten darstellt. Die Bibliothek unterstützt sowohl das Parsen von vorhandenem SQL-Text als auch die programmatische Generierung neuer Anweisungen durch eine Fluent-API. Sie enthält Mechanismen zur Transformation von Abfragebäumen und zur Serialisierung strukturierter Objektmodelle zurück in formatierten SQL-Text. Zusätzliche Funktionen umfassen die Datenbank-Schema-Analyse, wie die Extraktion von Tabellennamen zur Abbildung von Datenabhängigkeiten, sowie die SQL-Syntax-Validierung. Der Parser ist konfigurierbar, um verschiedene Syntax-Dialekte zu handhaben, und enthält eine fehlertolerante Wiederherstellung, um die Verarbeitung von Skripten nach dem Auftreten ungültiger Token fortzusetzen.
Analyzes raw SQL queries to extract table names and map data structures and dependencies.
This project is a Language Server Protocol implementation for PostgreSQL that provides autocompletion, syntax diagnostics, and type checking for SQL and PL/pgSQL. It functions as a database schema validator and a static analysis engine designed to detect security vulnerabilities, performance bottlenecks, and dangerous migration patterns in database scripts. The server differentiates itself by using live database connections to provide schema-aware intelligence, allowing it to verify that tables, columns, and data types actually exist. It performs static analysis on procedural functions to det
Scans SQL files and versioned changes for syntax and logic errors using database connection details.