Distributed SQL Engine
Project description
A query engine for your data, no database required
Documentation | Examples | Contributing | Blog
NOTE !Opteryx is an alpha product. Alpha means different things to different people, to us, being alpha means:
- Some features you may expect from a Query Engine may not be available
- Some features may have undetected bugs in them
- Some previously working features may break
Opteryx has no server component, Opteryx just runs when you need it making it ideal for deployments to platforms like Kubernetes, GCP Cloud Run, AWS Fargate and Knative.
- Bug Reports GitHub Issues
- Feature Requests GitHub Issues
- Source Code GitHub
- Discussions GitHub Discussions
How Can I Contribute?
All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.
If you have a suggestion for an improvement or a bug, raise a ticket or start a discussion.
Want to help build mabel? See the contribution guidance.
What Opteryx is
How is it different to SQLite or DuckDB?
Opteryx is solving a different problem in the same space as these solutions. Opteryx avoids loading the dataset into memory unless there is no other option, as such it can query petabytes of data on a single, modest sized node.
This also means that queries are not as fast as solutions like SQLite or DuckDB.
How is it different to MySQL or BigQuery?
Opteryx is an ad hoc database, if it can read the files, it can be used to query the contents of them. This means it can leverage data files used by other systems.
Opteryx is read-only, you can't update or delete data, and it also doesn't have or enforce indexes in your data.
How is it differnt to Trino?
Opteryx is designed to run in a serverless environment where there is no persistent state. There is no server or coordinator for Opteryx, the Engine is only running when it is serving queries.
When you are not running queries, your cost to run Opteryx is nil (+). This is particularly useful if you have a small team accessing data.
This also means the Query Engine can scale quickly to respond to demand, running Opteryx in an environment like Cloud Run on GCP, you can scale from 0 to 1000 concurrent queries within seconds - back to 0 almost as quickly.
(+) depending on specifics of your hosting arrangement.
Security
See the project security policy for information about reporting vulnerabilities.
License
The foundational technologies in Opteryx are:
- Apache Arrow memory model and compute kernels for efficient processing of data
- Parts of PyArrow_Ops by Tom Scheffers has been integrated into the codebase to support handling Arrow structured data
- sqloxide is used to parse SQL queries to syntax trees
- cython
- numpy
- orjson
- [cityhash] is used for non-cryptographic hashing
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for opteryx-0.0.0a54-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac129e88cae9fa383f5ef9531e1ad13fe5d0a4ee4c3dca8cc744c8697b1a6409 |
|
MD5 | 9fcd2d4dec16b61400899c5f9016dc47 |
|
BLAKE2b-256 | d764102d145822f59337a8ce66542a6cc78c8512ff0b7cd6f62454768392993c |
Hashes for opteryx-0.0.0a54-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74d5796a167158c28ea84a9c16b92183716a7b9ad5c156c6b301ff6751254b70 |
|
MD5 | 993b3f3f2e631cb45f0b0efd910be05e |
|
BLAKE2b-256 | cf7b475d1257d38311aacbce77023b410f52affd559aa9fe77cf6359aad45bbc |
Hashes for opteryx-0.0.0a54-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bf1db315bf755146ac60eab698e1869c54ea7bbb6fc225b583ef43e065894ac |
|
MD5 | 1fa16cd9362f56bf7e809e8658de4171 |
|
BLAKE2b-256 | 5992f45a946c05d778d3e34a935f433e3dc1358a4771f34f7e076246e5fcf945 |
Hashes for opteryx-0.0.0a54-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b44e23da29d881f598a71c3f2749a7861b975da4ff8603b72aad1f0fca92503 |
|
MD5 | 288ebbf36197ccca626ca8b01c04bf3a |
|
BLAKE2b-256 | ce37e5ab49a9b56797ea58b7fe19160b3fbbc6eb50a64284e520e21910bdaef2 |
Hashes for opteryx-0.0.0a54-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1698ce971e4d091cb097be3cec5b6132b14faacc23137d9962539457724a8f63 |
|
MD5 | 493f1ba0e758abf040caa12b9b71a640 |
|
BLAKE2b-256 | 465bf9964595de3a468d3cae4bf836bdc53dfb2d1442b811041ad7c6de5d76ca |
Hashes for opteryx-0.0.0a54-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35ad6adc0b0190b1f032a356159b036244713609731194fd66daa2bd91a9a93d |
|
MD5 | add143e02857ccfe39fe15462a8ee869 |
|
BLAKE2b-256 | 0af3262e0f39b18237937bbf10a2440d226fc490fd30d6e4ef47e9800e0a0ad2 |