3 repository-uri
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 este o bibliotecă Java pentru parsarea interogărilor SQL, convertind șirurile SQL brute într-o ierarhie structurată de obiecte Java puternic tipizate. Oferă mijloacele de a analiza și manipula programatic interogările bazei de date prin reprezentarea lor ca un arbore de obiecte. Biblioteca suportă atât parsarea textului SQL existent, cât și generarea programatică a noilor instrucțiuni printr-un API fluent. Include mecanisme pentru transformarea arborilor de interogare și serializarea modelelor de obiecte structurate înapoi în text SQL formatat. Capabilitățile suplimentare includ analiza schemei bazei de date, cum ar fi extragerea numelor tabelelor pentru a mapa dependențele de date și validarea sintaxei SQL. Parserul este configurabil pentru a gestiona diferite dialecte de sintaxă și include recuperare tolerantă la erori pentru a continua procesarea scripturilor după întâlnirea unor token-uri invalide.
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.