PostgreSQL vs MySQL vs TimescaleDB: which fits your team?
For a team storing transactional records and possibly high-volume time-based data, the answer depends on which skills and estate you already run. TimescaleDB is an extension that runs inside PostgreSQL, so the real choice is PostgreSQL alone, PostgreSQL with TimescaleDB, or MySQL. PostgreSQL alone fits when one engine must serve general SQL, joins and extensions under the PostgreSQL License, a permissive license similar to BSD or MIT. PostgreSQL with TimescaleDB fits when time-series or event tables grow large enough that you want hypertables, compression and retention jobs without building and maintaining them yourself. MySQL fits when your engineers, backup tooling and hosting already center on MySQL and the workload does not need PostgreSQL features. For many teams, existing skills weigh as much as feature lists.
The license question is where this decision most often goes wrong. TimescaleDB ships as two builds: the Apache 2 Edition, and the Community Edition, whose code in the tsl directory falls under the Timescale License. Continuous aggregates, the columnstore, data retention policies and job scheduling exist only in the Community Edition. The Timescale License lets you run that edition for free in your own on-premises or cloud infrastructure, but it does not allow you to offer it as a service to customers. If your product exposes this database to outside users, the Apache 2 Edition may be the license path to examine first, though it lacks those Community features. MySQL Community Edition is available under the GPL, while items such as Enterprise Backup, Transparent Data Encryption and Enterprise Audit belong to the paid MySQL Enterprise Edition.
Which database fits which scenario
This table matches six common scenarios to the database that usually fits best, with the condition that makes each choice right. Read each row as a starting point, since licensing, support and hosting conditions in the last column often decide the outcome more than feature lists do. Use TimescaleDB only when time-range workloads drive the design, and confirm licensing before offering it to customers.
| Scenario | Best fit | Why, and the condition that makes it right |
|---|---|---|
| New application with mainly relational data (illustrative: an internal order system) | PostgreSQL as the general-purpose engine | Right when no MySQL standard applies. The PostgreSQL License is permissive, and each major version gets five years of support. |
| Existing MySQL estate | MySQL on its LTS track | Right when apps, tooling and skills run MySQL and migration is costly. Prefer LTS, since Innovation releases are supported only until the next one. |
| High-volume sensor or event data queried by time range | TimescaleDB on PostgreSQL | Right for SQL joins with relational data and time-range queries at volume. Continuous aggregates, columnstore and retention need Community Edition. |
| Software vendor offering a database-backed service to customers | Apache 2 Edition, or plain PostgreSQL or MySQL | Right when customers use your database through your service. The Timescale License bars offering Community Edition as a service, so confirm licensing with counsel. |
| Regulated team wanting vendor-backed enterprise support | MySQL Enterprise Edition | Right when you need 24x7 vendor support plus hot backups, TDE and audit features. For PostgreSQL, confirm which support contracts and providers are available. |
| Team wanting managed hosting | Tiger Cloud for TimescaleDB workloads | Right when you would rather not run HA, backups and upgrades yourself. Tiger Cloud's 24x7 support is a paid add-on; confirm the tier you need. |
How to choose in four questions
The path starts at the main workload. A time-based workload with time-range queries moves to whether you need continuous aggregates, the columnstore, retention policies or job scheduling, which exist only in the Community Edition. If you need those features and will offer the database to customers as a service, the path stops at a license check and then Tiger Cloud, because the Timescale License does not allow offering Community Edition as a service. Internal use without those features ends at the Apache 2 Edition. A non-time-series workload ends at a check for whether your stack is already MySQL based. Confirm the license terms with Tiger Data before you commit.
Four questions route a workload to one platform, gating service use on licensing.
PostgreSQL vs MySQL vs TimescaleDB: what each does best side by side
This table compares PostgreSQL, MySQL and TimescaleDB on license, time-series features, high availability, authentication, backup and platform coverage. Read each row with the edition in mind, since MySQL's clustering ships in Community Edition while its hot backup tooling is Enterprise only. TimescaleDB runs inside PostgreSQL, so the PostgreSQL rows describe its foundation too, and the open items need confirmation for your build.
| Capability | PostgreSQL | MySQL | TimescaleDB |
|---|---|---|---|
| License | PostgreSQL License, a liberal license similar to BSD or MIT | GPL for Community Edition; Enterprise Edition is a separate paid edition | Apache 2 Edition under Apache 2.0; Community Edition under the Timescale License, which bars offering it as a service |
| What the product is | General-purpose relational database | General-purpose relational database with Community and Enterprise editions | PostgreSQL extension for real-time analytics on time-series and event data |
| Time-series features | Built-in declarative partitioning; retention and maintenance usually handled by your own scripts | No dedicated time-series layer; confirm partitioning and maintenance fit with your data volumes | Hypertables, continuous aggregates, columnstore, retention policies and job scheduling in Community Edition |
| Built-in high availability | Replication and failover options you assemble from documented components | InnoDB Cluster and Group Replication with automated failover in Community Edition | Inherits the PostgreSQL setup you build; confirm what your Tiger Cloud plan or self-hosted stack provides |
| Authentication methods | Password, GSSAPI, SSPI, LDAP, RADIUS, certificate, PAM and OAuth; MD5 passwords deprecated in favor of SCRAM | External authentication modules in Enterprise Edition; confirm which modules your build includes | Uses the authentication of the PostgreSQL server it runs on; confirm for Tiger Cloud |
| Backup and recovery | Continuous archiving and point-in-time recovery | Hot backups through MySQL Enterprise Backup; confirm backup tooling for Community Edition | Inherits PostgreSQL continuous archiving and point-in-time recovery; confirm managed backup terms for Tiger Cloud |
| Platform coverage | Confirm operating system and package support for your environment | More than 20 platforms, including Linux, Unix, Mac and Windows | Runs wherever PostgreSQL runs; a Docker image for PostgreSQL 18 is documented; confirm OS packages |
What the PostgreSQL License, MySQL's GPL and the Timescale License each allow
The PostgreSQL License is a liberal open-source license, similar to the BSD or MIT licenses. You can run, modify and embed PostgreSQL in internal or commercial products without a license fee, and the license does not require you to publish your changes under the same terms. The project does not sell support itself. Commercial support comes from companies and consultants outside the project, so their scope and terms are something you need to confirm with each provider.
- Permissive terms: The license sits in the BSD and MIT family, so redistribution and modification are allowed. Have your legal team confirm the notice requirements before you ship a modified build.
- No license fee for the server: Your recurring costs are the infrastructure, the staff who operate the database and any support contract you choose to buy.
- Support from outside the project: Vendors, consultancies and cloud providers offer commercial support. Ask each one which major versions it covers, what response times it commits to in writing and whether it supports the extensions you plan to use.
- Extensions carry their own licenses: The PostgreSQL License covers the core server. Extensions such as TimescaleDB ship under their own terms, so check each one separately before you build on it.
Confirm that the support scope covers the exact major version you run and every extension in your stack, because the PostgreSQL License itself does not define what support includes.
MySQL Community Edition is freely downloadable and available under the GPL. Oracle sells MySQL Enterprise Edition on top of it, and that paid edition adds the commercial features and 24x7 Oracle support. Releases follow two tracks with different support windows, so the track you choose decides how long you can stay on a version before you must upgrade.
- Community Edition under GPL: It includes InnoDB Cluster, Group Replication with automated failover, MySQL Router, MySQL Shell, replication, Performance Schema and Workbench. Review GPL obligations with counsel before you distribute modified builds or embed the server in a product.
- Enterprise Edition features: It adds Enterprise Backup for hot backups, Thread Pool, Transparent Data Encryption, Enterprise Firewall, Enterprise Audit and 24x7 Oracle support. Oracle sets the price, so request a written quote for your deployment size and support level. See the MySQL Enterprise Edition page for the feature list.
- LTS track: LTS releases are supported under the Oracle Lifetime Support Policy, with 5 years of premier support and 3 years of extended support. Features are added or removed only in the first release of an LTS series, and later point releases carry necessary fixes.
- Innovation track: Each Innovation release is supported only until the next Innovation release, so you must plan an upgrade at that point. Current download lines include 26.7.0 (Innovation), 9.7.2 LTS and 8.4.11 LTS, with 8.0.46 also offered.
Confirm with Oracle which track your planned version belongs to, when its support window ends and how Oracle measures Enterprise licensing for your environment before you commit.
TimescaleDB has two editions under two licenses. The Apache 2 Edition is the Apache 2.0 licensed code outside the tsl directory of the TimescaleDB repository. The Community Edition is built from code under the Timescale License, which covers the tsl directory and shared object files with -tsl in their names. Your choice depends on which features your workload needs and whether you plan to offer the database to others as a service.
- Apache 2 Edition: It is licensed under Apache 2.0 and can be sold as a service. It does not include continuous aggregates, the columnstore (Hypercore), data retention policies, job scheduling or functions such as time_bucket_gapfill.
- Community Edition on your infrastructure: You can install it in your own on-premises or cloud environment and run it for free. Your costs are the infrastructure and the staff who operate it.
- Features reserved for Community Edition: Continuous aggregates, the columnstore, retention policies, job scheduling and time_bucket_gapfill are available only in the Community Edition. List the queries and retention rules your team depends on before you choose the edition.
- No service offering: The Timescale License does not allow you to offer Community Edition as a service to customers. If your model is to host TimescaleDB for others, the Apache 2 Edition is the build the license allows you to offer, and it lacks the features above.
Have counsel read the LICENSE file and confirm whether your planned use counts as running it internally or as offering a service before you choose an edition.
TimescaleDB runs inside PostgreSQL, so its upgrades follow PostgreSQL's
TimescaleDB is a PostgreSQL extension, so the first upgrade question is about PostgreSQL itself. The project's README describes it as a PostgreSQL extension for high-performance real-time analytics on time-series and event data. Tables become hypertables through the tsdb.hypertable table option, so your schemas stay ordinary PostgreSQL tables with extension behavior attached. The consequence is simple to state and easy to miss: you upgrade PostgreSQL and the TimescaleDB extension together. Each PostgreSQL major version needs an extension build that loads on it, so a major upgrade plan that only moves the server binaries will stall at the extension step. Plan both in one change window, with one shared rollback point.
The PostgreSQL support windows set the timing. PostgreSQL 14 was supported until November 12, 2026, so a team still running 14 on December 1, 2026 is past end of support and should treat moving off it as overdue. PostgreSQL 18, first released on September 25, 2025, is supported until November 14, 2030, which makes it the longer-lived target for a new deployment or a planned upgrade. Minor releases keep the storage format, so they mean replacing executables and restarting. Major upgrades go through pg_upgrade, logical replication or a dump and restore, as the PostgreSQL upgrading documentation describes. Logical replication works across major versions and is documented as allowing a major upgrade with only several seconds of downtime, but it adds setup and verification work that your team has to own.
Treat the quick start with care. The TimescaleDB README quick start runs the timescale/timescaledb-ha:pg18 Docker image, so it demonstrates PostgreSQL 18, and its one-line install script is intended for local development and testing only. Use these to learn the table option and the commands, then pin the PostgreSQL major version and the extension version in your own images or packages. Before you plan any upgrade, confirm with the TimescaleDB project, through its GitHub repository, that the extension version you run supports your target PostgreSQL major version, and repeat that check on the day you change the cluster. Ask your DBA or platform team to write this check into the runbook so it is completed before the first node moves.
What drives the running cost of each database
License fees are only one line in the running cost of PostgreSQL, MySQL and TimescaleDB. For many teams, the larger spend is people and infrastructure: who runs high availability, who proves restores, who carries each major upgrade and what it costs to leave later. Ask any quote to price each line separately, with the one-time work and the recurring work shown apart.
License, editions and support
PostgreSQL is released under the PostgreSQL License, similar to BSD or MIT, so the database carries no license fee. MySQL Community Edition is GPL licensed, while MySQL Enterprise Edition adds features such as Transparent Data Encryption and 24x7 Oracle support. TimescaleDB's Apache 2 Edition is open source, but continuous aggregates, the columnstore and retention policies need Community Edition under the Timescale License. Tiger Cloud includes email developer support on all plans, with 24x7 production support as a paid add-on. Check which edition your controls depend on before you budget support.
PostgreSQL license pageHosting and infrastructure
You pay your cloud provider or data center for compute and storage when you self-host, and that bill grows with time-series data, replicas and monitoring. Tiger Cloud is the managed alternative, with the Performance plan starting at $30 per month, the Scale plan at $36 per month and Enterprise at custom pricing. A 30-day trial of Performance is available. These are published starting prices, so confirm current pricing with Tiger Data before you compare. Ask any quote which instance size, storage volume and retention period it assumes.
High availability staffing
Labor is paid to your platform team or to a partner on retainer. PostgreSQL high availability is assembled from replication and failover that you configure, test and monitor. MySQL Community Edition includes InnoDB Cluster and Group Replication with automated failover, so failover is built in, but someone still operates it. The one-time work is the HA design and the first failover test. Recurring work is on-call coverage and failover drills. Name the on-call owner before you choose a topology.
PostgreSQL high availability docsBackup and restore testing
PostgreSQL's continuous archiving and point-in-time recovery depend on archived WAL and a base backup that you build, and an untested restore is not a recovery plan. MySQL hot backups come with MySQL Enterprise Edition through Enterprise Backup, so confirm what your Community Edition setup gives you for consistent backups before you size storage. The one-time cost is backup design. Recurring costs are storage, scheduled restore drills and the time to write restore evidence. Price the restore test, not just the backup job.
PostgreSQL backup docsMajor version upgrades
Upgrades recur on a cycle that the project sets, not your team. PostgreSQL ships a new major version about once a year and supports each for five years, and PostgreSQL 14 was listed as supported only until November 12, 2026. Minor releases never change the internal storage format, while major upgrades use pg_upgrade, dump and restore, or logical replication, which can limit downtime to several seconds. Testing, extension compatibility and rollback planning stay with your team. Budget each major upgrade as a project.
PostgreSQL upgrade docsCost of switching later
Switching cost is paid once, but earlier choices set its size. The Timescale License lets you run Community Edition in your own infrastructure for free, but it does not allow you to offer it as a service, so a team that sells database access should check its edition. Leaving TimescaleDB later means rebuilding hypertables, continuous aggregates and retention jobs as plain PostgreSQL. Moving from MySQL to PostgreSQL means schema and query rewrites. Ask any vendor for export formats and exit terms in writing.
TimescaleDB on GitHubPostgreSQL vs MySQL vs TimescaleDB: what implementation involves
Start with the high availability design, because it sets most of the build work. On MySQL, InnoDB Cluster, Group Replication with automated failover and MySQL Router are all part of Community Edition, so the work is configuring the cluster, placing the router, setting application connection strings and rehearsing a primary failure. On PostgreSQL, the high availability chapter sets out replication and failover options, and you choose one, build the standby and document how promotion happens. TimescaleDB runs inside that PostgreSQL cluster, so the extension must be installed on every node that could become primary. Add PgBouncer only if connection counts justify it, and first confirm that your application does not depend on session state that a pooling mode would break.
Backup, recovery and authentication are where the two engines ask for different decisions. PostgreSQL's continuous archiving and point-in-time recovery process means setting up WAL archiving, taking base backups and restoring to a chosen point in a test environment. Agree recovery targets and retention with the named owner before the build starts. On MySQL, hot backups come from Enterprise Backup, which is an Enterprise Edition feature, so decide early whether Community tooling meets your recovery needs. For authentication, PostgreSQL 18 added an OAuth 2.0 method and deprecated MD5 password authentication in favor of SCRAM, so new roles should use SCRAM and existing roles need a password migration plan. MySQL external authentication modules are an Enterprise Edition feature, so confirm your identity provider path against that edition.
Upgrade paths differ by engine and by release track. PostgreSQL minor releases never change the storage format, so applying one means replacing executables and restarting. Major upgrades use pg_upgrade, dump and restore, or logical replication, and the upgrading documentation notes that logical replication can limit a major upgrade to several seconds of downtime. MySQL Innovation releases are supported only until the next Innovation release, so a team on that track has to plan upgrades on that cadence, while LTS series follow Oracle's lifetime support policy. Under a fixed-scope written engagement, DeployOpen plans, implements and documents the high availability, backup, authentication and upgrade procedures, and supports the upgrade work the scope names. The client supplies environment access, a named database owner, and the decisions on MySQL edition, TimescaleDB edition and the target PostgreSQL major version.
What do buyers ask before hiring help with PostgreSQL, MySQL or TimescaleDB?
How much does it cost to run PostgreSQL, MySQL or TimescaleDB?
For all three options, the recurring costs are usually infrastructure and staff time rather than a database licence. PostgreSQL is released under the PostgreSQL License, and MySQL Community Edition is freely downloadable under the GPL, so neither carries a licence fee. TimescaleDB Community Edition can run for free in your own infrastructure under the Timescale License, but you cannot offer it as a service. Cost drivers include servers or cloud instances, storage, backup copies, monitoring, and the people who handle upgrades and on-call work. If you choose Tiger Cloud, the published plans start at $30 per month for Performance and $36 per month for Scale, and Enterprise is custom priced (Tiger Data pricing page). Ask for any quote to be built from your data volume, high availability design and support level.
How long does a PostgreSQL, MySQL or TimescaleDB implementation take?
The timeline depends on the written scope, so no fixed duration applies across these platforms. The main drivers are how many databases and hypertables are in scope, the high availability and backup design, whether you need extensions, how much data must be migrated from an existing system, and how many environments must be built and tested. Upgrade paths and any compliance evidence add work. Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, so ask for the timeline to appear in that document. Ask each implementer to list its assumptions, the client tasks it depends on and the acceptance tests that close the work. Compare proposals on the same written scope and the same acceptance tests.
What does our team need to provide for a database project?
Plan for three things before work starts: access, a named owner and early version and licence decisions. Access usually means accounts and network paths into your cloud accounts, data centers or air-gapped networks, read access to the current databases and schemas, and change windows agreed with application owners. A named owner, one person with authority to approve scope and sign off tests, keeps decisions from stalling. Version decisions matter because PostgreSQL 18 is supported until November 14, 2030 under the PostgreSQL versioning policy, and MySQL offers both an LTS track and an Innovation track. For TimescaleDB, decide between the Apache 2 Edition and Community Edition, since continuous aggregates and the columnstore are available only in Community Edition. Record these decisions in the written scope.
Can an internal DBA team run these databases without outside help?
Yes, for many routine tasks, if the team already knows PostgreSQL or MySQL and has time to rehearse failover. Outside help usually adds the most value during design and first build, and on tasks that are easy to get wrong under pressure. The work that needs a written, tested procedure includes high availability with failover, such as PostgreSQL failover and replication or MySQL Group Replication with automated failover, backups and point-in-time recovery, and major version upgrades. The PostgreSQL upgrading documentation covers dump and restore, pg_upgrade and logical replication for major upgrades, while minor releases only replace executables and require a restart. Check whether your team has rehearsed restores and failovers, because an untested backup is not a recovery plan. DeployOpen can plan, implement, back up, upgrade and support self-hosted platforms if you want a partner for those tasks.
Do we need TimescaleDB, or is PostgreSQL partitioning enough?
It depends on how much automation you want on top of PostgreSQL. The sibling comparison, TimescaleDB vs PostgreSQL native partitioning, covers this choice in detail. Plain PostgreSQL declarative partitioning is built in, but your own scripts must create partitions, compress old data and drop expired ones. TimescaleDB adds automatic hypertable chunking, and the Community Edition adds continuous aggregates, the columnstore, data retention policies and job scheduling. Those Community Edition features fall under the Timescale License, so its terms matter if you plan to offer the database as a service. If your time-series workload is modest and your team is comfortable maintaining its own jobs, native partitioning may be enough. Test both approaches on a representative data volume before you commit.
Is MySQL Enterprise Edition worth paying for?
It makes sense when you need one of its paid features or 24x7 Oracle support. MySQL Community Edition already includes InnoDB Cluster, Group Replication with automated failover, MySQL Router, MySQL Shell, replication, Performance Schema and Workbench. MySQL Enterprise Edition adds Enterprise Backup for hot backups, Thread Pool, external authentication modules, Transparent Data Encryption, Enterprise Encryption, Enterprise Firewall, Enterprise Audit and 24x7 Oracle support. Compare each added feature against your audit, encryption, backup and support requirements. No price is supplied here, so ask Oracle for current pricing, since terms vary by agreement. If community tools and your own runbooks meet your controls, the paid tier may not be needed.
How hard is it to switch databases later?
Switching depends on data volume, the features you use and how much of your logic relies on TimescaleDB-specific functions. Moving tables between PostgreSQL and MySQL means reworking data types, SQL dialect, stored routines and connectors. Moving from TimescaleDB to plain PostgreSQL is usually simpler at the SQL level, but hypertables, continuous aggregates, compression and retention jobs must be rebuilt as partitions and scheduled scripts. Functions such as time_bucket_gapfill appear in queries and dashboards and need replacements. The effort is driven by total data to move, the downtime you can accept and how many applications connect. For PostgreSQL to PostgreSQL moves, logical replication can shorten the cutover. Ask any implementer to inventory the TimescaleDB functions and extension objects in use before agreeing a migration scope.
How DeployOpen helps choose and implement without favoring a platform
DeployOpen is a Chainscore Labs company that plans, implements, integrates, hardens, backs up, upgrades and documents self-hosted open-source platforms in the client's own infrastructure. For PostgreSQL, MySQL and TimescaleDB, the engagement starts from the workload and hosting constraints, and the written scope records the choice before any build begins.
How we scope
- Requirements come first: workload, data location, license terms and team skills are written down before any engine is named.
- Engagements are fixed-scope, so deliverables and timelines are agreed in writing before work starts.
- Scope covers the engine choice, the edition and the upgrade path the team will own.
How we build
- Builds run inside the client's own cloud accounts, data centers or air-gapped networks.
- Work covers authentication integration, access control, backups and the replication design for the chosen engine.
- For TimescaleDB, the build includes hypertable design and the edition-specific features that the license allows you to run.
How we hand over
- Handover documents the configuration, backup and restore steps, and the upgrade runbook for each engine in use.
- Handover includes evidence of access and logging settings for your compliance team, though independent auditors issue any assessment.
- Knowledge transfer covers the engine-specific operations your staff will own after go-live.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Upgrade work for PostgreSQL, MySQL or TimescaleDB can sit inside a retainer, with the scope agreed in writing.
- Ask for the retainer scope to name the engine versions, the patch cadence and who is paid for what.

