ClickHouse/docs/en/getting_started/playground.md

42 lines
2.2 KiB
Markdown
Raw Normal View History

# ClickHouse Playground {#clickhouse-playground}
2020-03-23 15:27:19 +00:00
[ClickHouse Playground](https://play.clickhouse.tech?file=welcome) allows people to experiment with ClickHouse by running queries instantly, without setting up their own server or cluster.
Several example datasets are available in Playground as well as sample queries that show ClickHouse features.
The queries are executed as read-only user. This implies some limitations:
- DDL queries are not allowed
- INSERT queries are not allowed
2020-03-23 15:27:19 +00:00
The following settings are also enforced:
- [`max_result_bytes=10485760`](../operations/settings/query_complexity/#max-result-bytes)
- [`max_result_rows=2000`](../operations/settings/query_complexity/#setting-max_result_rows)
2020-03-23 15:27:19 +00:00
- [`result_overflow_mode=break`](../operations/settings/query_complexity/#result-overflow-mode)
- [`max_execution_time=60000`](../operations/settings/query_complexity/#max-execution-time)
ClickHouse Playground gives the experience of m2.small
[Managed Service for ClickHouse](https://cloud.yandex.com/services/managed-clickhouse)
instance hosted in [Yandex.Cloud](https://cloud.yandex.com/).
More information about [cloud providers](../commercial/cloud.md).
ClickHouse Playground web interface makes requests via ClickHouse [HTTP API](../interfaces/http.md).
Playground backend is just a ClickHouse cluster without any additional server-side application.
ClickHouse HTTPS endpoint is is also available as a part of Playground.
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).
| Parameter | Value |
|:----------|:--------------------------------------|
| Endpoint | https://play-api.clickhouse.tech:8443 |
| User | `playground` |
| Password | `clickhouse` |
2020-03-23 15:27:19 +00:00
Note that this endpoint requires a secure connection.
Example:
``` bash
2020-03-23 15:27:19 +00:00
curl "https://play-api.clickhouse.tech:8443/?query=SELECT+'Play+ClickHouse!';&user=playground&password=clickhouse&database=datasets"
```