FAQ

What is PGML?

PGML is an open-source database extension that turns Postgres into an end-to-end machine learning platform. It allows you to build, train, and deploy ML models directly within your Postgres database without moving data between systems.

What is a DB extension?

A database extension is software that extends the capabilities of a database. Postgres allows extensions to add new data types, functions, operators, indexes, etc. PostgresML uses extensions to bring machine learning capabilities natively into Postgres.

How does it work?

PostgresML installs as extensions in Postgres. It provides SQL API functions for each step of the ML workflow like importing data, transforming features, training models, making predictions, etc. Models are stored back into Postgres tables. This unified approach eliminates complexity.

What are the benefits?

Benefits include faster development cycles, reduced latency, tighter integration between ML and applications, leveraging Postgres' reliability and ACID transactions, and horizontal scaling.

What are the cons?

PostgresML requires using Postgres as the database. If your data currently resides in a different database, there would be some upfront effort required to migrate the data into Postgres in order to utilize PostgresML's capabilities.

What is PostgresML Cloud?

Hosted PostgresML is a fully managed cloud service that provides all the capabilities of open source PGML without the need to run your own database infrastructure.

With PostgresML Cloud, you get:

  • Flexible compute resources - Choose CPU, RAM or GPU machines tailored to your workload
  • Horizontally scalable inference with read-only replicas
  • High availability for production applications with multi-region deployments
  • Support for multiple users and databases
  • Automated backups and point-in-time restore
  • Monitoring dashboard with metrics and logs

In summary, PostgresML Cloud removes the operational burden so you can focus on developing machine learning applications, while still getting the benefits of the unified PostgresML architecture.