Licensing FAQs
Databend code is licensed in two ways:
- Apache 2.0 License (Apache)
- Elastic 2.0 License (Elastic)
Databend core is free to use. Most of the core features are licensed under the Apache License, while
features under src/query/ee
and src/meta/ee
directory are subject to the Elastic License.
Databend Enterprise features require a paid license from databend and are licensed under the Elastic License.
You can find the feature's license by taking a look on the code file's header under the Databend repository
Types of Licenses
Type | Description |
---|---|
Apache 2.0 License | Core features under the Apache License are free to use and fully open source. |
Elastic 2.0 License | Elastic (Free) features are free to use. The source code is available to view and modify under Elastic 2.0 License Limitations Elastic (Paid) features require an Enterprise License key to access. The source code is available to view and modify under Elastic 2.0 License Limitations |
For additional custom licensing options, contact us.
Obtain a License
All Databend code is included in the same binary. No license key is required to access Apache and Elastic (Free) features. To access Elastic (Paid) features, users have two options:
- An Enterprise license enables you to use Databend Enterprise features for longer periods (one year or more). To upgrade to Enterprise license, contact sales
- A Trial license enables you to try out Databend for 15 days for free, contact us to get your trial license.
Databend Labs encourage non-commercial academic research involving Databend. For such projects, please contact us for possible long term licenses)
Set a License
In the following example, we assume that you are the root
user. Then use the SET GLOBAL SETTING
command to set the license key:
SET GLOBAL enterprise_license='you enterprise license key';
Verify a License
To verify a license, you could use admin procedure CALL
command to check organization name and expiry date info.
call admin$license_info();
+----------------+--------------+--------------------+----------------------------+----------------------------+---------------------------------------+
| license_issuer | license_type | organization | issued_at | expire_at | available_time_until_expiry |
+----------------+--------------+--------------------+----------------------------+----------------------------+---------------------------------------+
| databend | enterprise | databend | 2023-05-10 09:13:21.000000 | 2024-05-09 09:13:20.000000 | 11months 30days 2h 3m 31s 802ms 872us |
+----------------+--------------+--------------------+----------------------------+----------------------------+---------------------------------------+
FAQs
Can I Host Databend as a Service for Internal Use at My Organization?
Yes, employees and contractors can use your internal Databend instance as a service under the Elastic license since it was created. Use of Enterprise features will always require a license.
Why Databend Choose Elastic License 2.0 for Enterprise Features?
The Elastic License 2.0 provides a good balance between open-source values and commercial interests. Comparing other license such as Business Source License, Custom Community License, Elastic License 2.0 is simple, short and clear. There only have three limitations applied:
- Cannot provide software as a hosted or managed service with substantial access to features/functionality.
- Cannot modify or circumvent license key functionality or remove/obscure protected functionality.
- Cannot alter/remove/licensing, copyright, or trademark notices of the licensor in the software.
I Would Like to Reuse Some Components From the Databend Project in My Own Software, Which Uses the Agpl or Another Open Source License, Is This Possible?
The Databend team is committed to supporting the open-source community and willing to consider extracting specific internal components that are generally useful as a separate project with its own license, for example APL. For more details, feel free to contact us.
Can You Provide Some Examples Around What Qualifies as “Providing the Software to Third Parties as a Hosted or Managed Service” or Not?
I'm using databend for data dashboard on my analytic SaaS product
This is permitted under ELv2.
I'm an analytic engineer setting up Databend for my organization to use internally
This is permitted under ELv2, because you are not providing the software as a managed service.
I am a Managed Service Provider running Databend for my customers
If your customers do not access Databend. this is permitted under ELv2. if your customers do have access to substantial portions of functionality of Databend as part of your service, this may not be permitted.
If you have questions about your scenarios or want more flexible license options, please contact us