chTKCat | R Documentation |
Connect to a ClickHouse TKCat instance
chTKCat(
host = "localhost",
port = 9111L,
user = "default",
password,
settings = list(max_query_size = 1073741824, use_uncompressed_cache = 0, load_balancing
= "random", max_memory_usage = 0, allow_introspection_functions = 1,
joined_subquery_requires_alias = 0),
ports = NULL,
drv = ClickHouseHTTP::ClickHouseHTTP(),
...
)
host |
a character string specifying the host heberging the database (default: localhost) |
port |
an integer specifying the port on which the database is listening (default: 9111) |
user |
user name |
password |
user password |
settings |
list of Clickhouse settings |
ports |
a named list of available ports for accessing ClickHouse
(default: NULL; example: |
drv |
a DBI driver for connecting to ClickHouse
(default: |
... |
additional parameters for connection (see ClickHouseHTTP::dbConnect,ClickHouseHTTPDriver-method for the default driver) |
a chTKCat object
check_chTKCat()
, db_disconnect()
, db_reconnect()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.