2020-04-03 13:23:32 +00:00
---
toc_priority: 14
toc_title: Playground
---
2020-03-24 12:27:31 +00:00
# ClickHouse Playground {#clickhouse-playground}
2020-03-23 15:27:19 +00:00
2022-03-11 20:46:16 +00:00
!!! warning "Warning"
This service is deprecated and will be replaced in foreseeable future.
2021-09-22 00:22:57 +00:00
[ClickHouse Playground ](https://play.clickhouse.com ) allows people to experiment with ClickHouse by running queries instantly, without setting up their server or cluster.
2020-09-16 18:54:55 +00:00
Several example datasets are available in Playground as well as sample queries that show ClickHouse features. There’ s also a selection of ClickHouse LTS releases to experiment with.
2020-05-15 17:44:39 +00:00
2020-09-16 18:54:55 +00:00
You can make queries to Playground using any HTTP client, for example [curl ](https://curl.haxx.se ) or [wget ](https://www.gnu.org/software/wget/ ), or set up a connection using [JDBC ](../interfaces/jdbc.md ) or [ODBC ](../interfaces/odbc.md ) drivers. More information about software products that support ClickHouse is available [here ](../interfaces/index.md ).
2020-05-15 17:44:39 +00:00
2020-06-18 08:24:31 +00:00
## Credentials {#credentials}
2020-05-15 17:44:39 +00:00
2020-05-18 14:37:24 +00:00
| Parameter | Value |
|:--------------------|:----------------------------------------|
2021-09-22 00:22:57 +00:00
| HTTPS endpoint | `https://play-api.clickhouse.com:8443` |
| Native TCP endpoint | `play-api.clickhouse.com:9440` |
2020-05-18 14:37:24 +00:00
| User | `playground` |
| Password | `clickhouse` |
2020-05-15 17:44:39 +00:00
There are additional endpoints with specific ClickHouse releases to experiment with their differences (ports and user/password are the same as above):
2021-09-22 00:22:57 +00:00
- 20.3 LTS: `play-api-v20-3.clickhouse.com`
- 19.14 LTS: `play-api-v19-14.clickhouse.com`
2020-05-15 17:44:39 +00:00
2020-05-18 14:37:24 +00:00
!!! note "Note"
All these endpoints require a secure TLS connection.
2020-06-18 08:24:31 +00:00
## Limitations {#limitations}
2020-03-23 15:27:19 +00:00
2020-03-27 06:03:38 +00:00
The queries are executed as a read-only user. It implies some limitations:
2020-03-23 15:27:19 +00:00
2020-03-24 12:27:31 +00:00
- DDL queries are not allowed
- INSERT queries are not allowed
2020-03-23 15:27:19 +00:00
The following settings are also enforced:
2020-07-20 15:20:20 +00:00
2021-03-14 12:18:10 +00:00
- [max_result_bytes=10485760 ](../operations/settings/query-complexity/#max-result-bytes )
- [max_result_rows=2000 ](../operations/settings/query-complexity/#setting-max_result_rows )
- [result_overflow_mode=break ](../operations/settings/query-complexity/#result-overflow-mode )
- [max_execution_time=60000 ](../operations/settings/query-complexity/#max-execution-time )
2020-03-23 15:27:19 +00:00
2020-06-18 08:24:31 +00:00
## Examples {#examples}
2020-03-23 15:27:19 +00:00
2020-05-15 17:44:39 +00:00
HTTPS endpoint example with `curl` :
2020-03-23 15:27:19 +00:00
2020-05-15 17:44:39 +00:00
``` bash
2021-09-22 00:22:57 +00:00
curl "https://play-api.clickhouse.com:8443/?query=SELECT+'Play+ClickHouse\!';& user=playground& password=clickhouse& database=datasets"
2020-05-15 17:44:39 +00:00
```
2020-03-23 15:27:19 +00:00
2020-05-18 08:17:43 +00:00
TCP endpoint example with [CLI ](../interfaces/cli.md ):
2020-06-18 08:24:31 +00:00
2020-05-15 17:44:39 +00:00
``` bash
2021-09-22 00:22:57 +00:00
clickhouse client --secure -h play-api.clickhouse.com --port 9440 -u playground --password clickhouse -q "SELECT 'Play ClickHouse\!'"
2020-05-15 17:44:39 +00:00
```