pgloader VS SQLAlchemy

Compare pgloader vs SQLAlchemy and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
pgloader SQLAlchemy
31 123
5,066 8,807
- 2.2%
3.0 9.7
about 1 month ago 4 days ago
Common Lisp Python
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pgloader

Posts with mentions or reviews of pgloader. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-14.
  • Why Is Common Lisp Not the Most Popular Programming Language?
    8 projects | news.ycombinator.com | 14 Feb 2024
    No, it's difficult to read, and understand. It's a parenthesis circus, example -

    https://github.com/dimitri/pgloader/blob/master/src/sources/...

  • We need to talk about parentheses
    6 projects | news.ycombinator.com | 12 Feb 2024
    Examples (for Common Lisp, so not citing Emacs): reddit v1, Google's ITA Software that powers airfare search engines (Kayak, Orbitz…), Postgres' pgloader (http://pgloader.io/), which was re-written from Python to Common Lisp, Opus Modus for music composition, the Maxima CAS, PTC 3D designer CAD software (used by big brands worldwide), Grammarly, Mirai, the 3D editor that designed Gollum's face, the ScoreCloud app that lets you whistle or play an instrument and get the music score,

    but also the ACL2 theorem prover, used in the industry since the 90s, NASA's PVS provers and SPIKE scheduler used for Hubble and JWT, many companies in Quantum Computing, companies like SISCOG, who plans the transportation systems of european metropolis' underground since the 80s, Ravenpack who's into big-data analysis for financial services (they might be hiring), Keepit (https://www.keepit.com/), Pocket Change (Japan, https://www.pocket-change.jp/en/), the new Feetr in trading (https://feetr.io/, you can search HN), Airbus, Alstom, Planisware (https://planisware.com),

    or also the open-source screenshotbot (https://screenshotbot.io), the Kandria game (https://kandria.com/),

    and the companies in https://github.com/azzamsa/awesome-lisp-companies and on LispWorks and Allegro's Success Stories.

    https://github.com/tamurashingo/reddit1.0/

    http://opusmodus.com/

    https://www.ptc.com/en/products/cad/3d-design

    http://www.izware.com/mirai

    https://apps.apple.com/us/app/scorecloud-express/id566535238

  • We migrated our PostgreSQL database with 11 seconds downtime
    1 project | news.ycombinator.com | 18 Jan 2024
    I worked on migrating our MySQL system to PostgreSQL using pgloader ( https://pgloader.io/ ).

    There were some hiccups, things that needed clarification in documentation, and some additional processes that needed to be done outside of the system to get everything we need in place, it was a amazing help. Not sure the project would've been possible without it.

    Data mapping from PostgreSQL to PostgreSQL as in the article isn't nearly as bad as going between systems. We took a full extended outage and didn't preload any data. There were many dry runs before hand and validation before hand, but the system wasn't so mission critical that we couldn't afford to shutoff the system for a couple of hours.

  • Time For Me To Fly… To Render
    5 projects | dev.to | 13 Feb 2023
    Initially, I started down the pgloader path, which seemed to be a common approach for the database conversion. However, using my M1-chip MacBook Pro led to some unexpected issues. Instead, I opted to use NMIG to convert MySQL to PostgreSQL. For more information, please check out the “Highlights From the Database Conversion” section below.
  • PostgresSQL DB restore sature whole SAN IO
    1 project | /r/sysadmin | 29 Nov 2022
    I just checked pgloader (which is mostly for heterogeneous database migrations) and it doesn't seem to have any explicit throttling features, either. However, you can set concurrency, number of workers, and batch size.
  • What language should i learn?
    2 projects | /r/sysadmin | 14 Nov 2022
    But do what makes you happy. The best PostgreSQL data loader in the world is written in Common Lisp. Now, CL is a fast and ANSI standardized language with multiple implementations, and was used to create Reddit, but it's hard to call it fashionable.
  • Why Lisp?
    23 projects | news.ycombinator.com | 3 Nov 2022
    - [ScoreCloud](https://scorecloud.com/) - A web and mobile application to automatically create music notation from music performance or recordings. Built with LispWorks.

    ## DB tools

    - [Pgloader](https://github.com/dimitri/pgloader/) - Migrate to PostgreSQL in a single command!. [PostgreSQL License]

  • What ETL tool you use with Postgres ?
    3 projects | /r/PostgreSQL | 15 Oct 2022
    I would warmly recommend https://pgloader.io but, unfortunately, the Oracle support is still in need of a sponsor :-)
  • Installing pgLoader on RHEL9 - No matching package to install: 'sbcl' - is there a workaround?
    1 project | /r/PostgreSQL | 8 Oct 2022
    I followed instruction here: https://github.com/dimitri/pgloader/blob/master/INSTALL.md, but can't get pass sbcl requirement.
  • Introducing pgsqlite, a pure python module for import sqlite into postgres
    1 project | /r/PostgreSQL | 22 Sep 2022
    https://pgloader.io/ There's been a great tool available for this for many years.

SQLAlchemy

Posts with mentions or reviews of SQLAlchemy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-18.
  • Xz/liblzma: Bash-stage Obfuscation Explained
    1 project | news.ycombinator.com | 31 Mar 2024
    OK -

    can we start considering binary files committed to a repo, even as data for tests, to be a huge red flag, and that the binary files themselves should instead be generated at testing time by source code that's stated as reviewable cleartext. This would make it much harder (though of course we can never really say "impossible") to embed a substantial payload in this way.

    when binary files are part of a test suite, they are typically trying to illustrate some element of the program being tested, in this case a file that was incorrectly xz-encoded. Binary files like these weren't typed by hand, they will always ultimately come from something plaintext source.

    Here's an example! My own SQLAlchemy repository has a few binary files in it! https://github.com/sqlalchemy/sqlalchemy/blob/main/test/bina... oh noes. Why are those files there? well in this case I just wanted to test that I can send large binary BLOBs into the database driver and I was lazy. This is actually pretty dumb, the two binary files here add 35K of useless crap to the source, and I could just as easily generate this binary data on the fly using a two liner that spits out random bytes. Anyone could see that two liner and know that it isn't embedding a malicious payload.

    If I wanted to generate a poorly formed .xz file, I'd illustrate source code that generates random data, runs it through .xz, then applies "corruption" to it, like zeroing out the high bit of every byte. The process by which this occurs would be all reviewable in source code.

  • Introducing Flama for Robust Machine Learning APIs
    11 projects | dev.to | 18 Dec 2023
    Besides, flama also provides support for SQL databases via SQLAlchemy, an SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL. Finally, flama also provides support for HTTP clients to perform requests via httpx, a next generation HTTP client for Python.
  • Alembic with Async SQLAlchemy
    1 project | dev.to | 12 Dec 2023
    Alembic is a lightweight database migration tool for usage with SQLAlchemy. The term migration can be a little misleading, because in this context it doesn't mean to migrate to a different database in the sense of using a different version or a different type of database. In this context, migration refers to changes to the database schema: add a new column to a table, modify the type of an existing column, create a new index, etc..
  • Imperative vs. Declarative mapping style in Domain Driven Design project
    1 project | news.ycombinator.com | 28 Oct 2023
  • Unlocking efficient authZ with Cerbos’ Query Plan
    5 projects | dev.to | 6 Sep 2023
    To simplify this process, Cerbos developers have come up with adapters for popular Object-Relational Mapping (ORM) frameworks. You can check out for more details on the query plan repo - which also contains adapters for Prisma and SQLAlchemy - as well as a fully functioning application using Mongoose as its ORM.
  • Python: Just Write SQL
    21 projects | news.ycombinator.com | 14 Aug 2023
    That above pattern is one I've seen people do even recently, using the "select().c" attribute which from very early versions of SQLAlchemy is defined as "the columns from a subquery of the SELECT" ; this usage began raising deprecation warnings in 1.4 and is fully removed in 2.0 as it was a remnant of a much earlier version of SQLAlchemy. it will do exactly as you say, "make a subquery for each filter condition".

    the moment you see SQLAlchemy doing something you see that seems "asinine", send an example to https://github.com/sqlalchemy/sqlalchemy/discussions and I will clarify what's going on, correct the usage so that the query you have is what you expect, and quite often we will add new warnings or documentation when we see people doing things we didn't anticipate.

  • A steering council note about making the global
    3 projects | news.ycombinator.com | 29 Jul 2023
    The creator and lead maintainer of SQLAlchemy, one of the most popular and most used Python library for accessing databases (who doesn't?) gave a rather interesting response to PEP703.

    If this doesn't ring any alarm bells I don't know what will.

    > Basically for the moment the GIL-less idea would likely be burdensome for us and the fact that it's only an "option" seems to strongly imply major compatibility issues that we would not prefer.

    https://github.com/sqlalchemy/sqlalchemy/discussions/10002#d...

  • More public SQL-queryable databases?
    3 projects | /r/datasets | 10 Jul 2023
    Recently I discovered BigQuery public datasets - just over 200 datasets available for directly querying via SQL. I think this is a great thing! I can connect these direct to an analytics platform (we use Apache Superset which uses Python SQLAlchemy under the hood) for example and just start dashboarding.
  • How useful is Python in accounting and auditing?
    1 project | /r/Accounting | 27 Jun 2023
    When using python with sql databases like postgres or mariadb or SQLite you would use SQLAlchemy or another ORM of if you're feeling brave, you code it by hand. With ORMs you provide the address of your database and it connects for you, letting you use abstractions instead of writing all the SQL yourself (kind of analogous to using vlookups or index match instead of manually entering data).
  • Day 46-47: Beginner FastAPI Series - Part 3
    2 projects | dev.to | 8 Jun 2023
    Our tool we're going to be using for interfacing with the SQLite database is SQLAlchemy, a SQL toolkit that provides a unified API for various relational databases. If you installed FastAPI with pip install "fastapi[all]", SQLAlchemy is already part of your setup. but if you opted for FastAPI alone, you would need to install SQLAlchemy separately with pip install sqlalchemy.

What are some alternatives?

When comparing pgloader and SQLAlchemy you can also consider the following projects:

lisp-xl - Common Lisp Microsoft XLSX (Microsoft Excel) loader for arbitrarily-sized / big-size files

tortoise-orm - Familiar asyncio ORM for python, built with relations in mind

docker-postgres-upgrade - a PoC for using "pg_upgrade" inside Docker -- learn from it, adapt it for your needs; don't expect it to work as-is!

PonyORM - Pony Object Relational Mapper

HomeBrew - 🍺 The missing package manager for macOS (or Linux)

Peewee - a small, expressive orm -- supports postgresql, mysql, sqlite and cockroachdb

cl-wget - The Non-Interactive Network Downloader: cl-wget is a free software for retrieving files using HTTPS; cl-wget makes mirroring websites easy.

Orator - The Orator ORM provides a simple yet beautiful ActiveRecord implementation.

kandria - A post-apocalyptic actionRPG. Now on Steam!

prisma-client-py - Prisma Client Python is an auto-generated and fully type-safe database client designed for ease of use

TimescaleDB - An open-source time-series SQL database optimized for fast ingest and complex queries. Packaged as a PostgreSQL extension.

pyDAL - A pure Python Database Abstraction Layer