Download the PHP package lizhichao/one-ck without Composer
On this page you can find all versions of the php package lizhichao/one-ck. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lizhichao/one-ck
More information about lizhichao/one-ck
Files in lizhichao/one-ck
Download lizhichao/one-ck
More information about lizhichao/one-ck
Files in lizhichao/one-ck
Please rate this library. Is it a good library?
Informations about the package one-ck
一个php实现的clickhouse tcp协议客户端 | php tcp client for clickhouse
- 支持流式写入 Support streaming writing
- 超高的性能,支持1000w/s的写入速度 Super high performance, Support 1000w/s writing speed
- tcp对服务器对服务器友好,压力小 tcp is server-friendly, with little pressure
- 零依赖 Zero dependence
安装 | install
composer require lizhichao/one-ck
php5.6 - php7.1
不支持Decimal128
,请使用0.1.x
版本
php7.2 >=
推荐使用0.2.x
版本
clickhouse QQ交流群 970435787
支持的数据类型 | Supported types
- [x] UInt8, UInt16, UInt32, UInt64, Int8, Int16, Int32, Int64
- [x] Float32, Float64
- [x] Decimal(P, S), Decimal32(S), Decimal64(S), Decimal128(S)
- [x] String
- [x] Nothing
- [x] FixedString(N)
- [x] UUID
- [x] Date
- [x] Datetime
- [x] Datetime64
- [x] Nullable(T)
- [x] IPv4
- [x] IPv6
- [x] Array(T)
- [x] SimpleAggregateFunction(F, T)
- [ ] Tuple(T)
- [ ] Int128,Int256,UInt128,UInt256,Decimal256(S)
- [ ] Bool
- [ ] JSON
- [ ] Enum (can use
LowCardinality
instead)
Array of client options
It is also possible to create the client with configuration options:
The following options are available:
Name | Type | Default | Description |
---|---|---|---|
connect_timeout | float | 3.0 | The number of seconds that the client waits for a connect to a ClickHouse server before throwing a CkException exception. |
socket_timeout | float | 30.0 | The number of seconds that the client waits for a respond from a ClickHouse server before throwing a CkException exception. |
tcp_nodelay | boolean | false | Whether the Nagle algorithm is disabled on a TCP connection. |
persistent | boolean | false | Whether to use a persistent connection. |
使用例子 | Demo
我的其他仓库
All versions of one-ck with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
ext-json Version *
ext-json Version *
The package lizhichao/one-ck contains the following files
Loading the files please wait ....