3 个仓库
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 是一个 Java SQL 查询解析库,将原始 SQL 字符串转换为强类型 Java 对象的结构化层级。它通过将数据库查询表示为对象树,提供了程序化分析和操作数据库查询的方法。 该库支持解析现有 SQL 文本以及通过流畅 API 程序化生成新语句。它包括转换查询树并将结构化对象模型序列化回格式化 SQL 文本的机制。 其他功能包括数据库模式分析(例如提取表名以映射数据依赖关系)和 SQL 语法验证。该解析器可配置以处理不同的语法方言,并包括容错恢复功能,以便在遇到无效标记后继续处理脚本。
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.