You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/guides/10-deploy/01-deploy/00-understanding-deployment-modes.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Databend deployment provides two modes: standalone and cluster, each with differ
24
24
25
25
In standalone mode, a standard configuration consists of a single Meta node and a single Query node. This minimal setup is suitable for testing purposes or small-scale deployments. However, it is important to note that standalone mode is not recommended for production environments due to its limited scalability and the absence of high availability features.
In a Standalone Databend Deployment, it is possible to host both the Meta and Query nodes on a single server. The following topics in the documentation assist you in setting up and deploying a standalone Databend:
30
30
@@ -37,7 +37,7 @@ Cluster mode is designed for larger-scale deployments and provides enhanced capa
37
37
38
38
In a Databend cluster, multiple Query nodes can be deployed, and it is possible to create a more powerful Query cluster by grouping specific Query nodes together (using Cluster IDs) for different query performance requirements. A Databend cluster has the capacity to accommodate multiple Query clusters. By default, Databend leverages computational concurrency to its maximum potential, allowing a single SQL query to utilize all available CPU cores within a single Query node. However, when utilizing a Query cluster, Databend takes advantage of concurrent scheduling and executes computations across the entire cluster. This approach maximizes system performance and provides enhanced computational capabilities.
* Airbyte is an open-source data integration platform that syncs data from applications, APIs & databases to data warehouses lakes & DBs.
13
-
* You could load data from any airbyte source to Databend.
11
+
- Airbyte is an open-source data integration platform that syncs data from applications, APIs & databases to data warehouses lakes & DBs.
12
+
- You could load data from any airbyte source to Databend.
14
13
15
14
Currently we implemented an experimental airbyte destination allow you to send data from your airbyte source to databend
16
15
17
-
**NOTE**:
16
+
**NOTE**:
18
17
19
18
currently we only implemented the `append` mode, which means the destination will only append data to the table, and will not overwrite, update or delete any data.
20
19
Plus, we assume that your databend destination is **S3 Compatible** since we used presign to copy data from databend stage to table.
@@ -13,25 +13,24 @@ Similar to `windowFunnel` in ClickHouse (they were created by the same author),
13
13
14
14
The function works according to the algorithm:
15
15
16
-
-The function searches for data that triggers the first condition in the chain and sets the event counter to 1. This is the moment when the sliding window starts.
16
+
- The function searches for data that triggers the first condition in the chain and sets the event counter to 1. This is the moment when the sliding window starts.
17
17
18
-
- If events from the chain occur sequentially within the window, the counter is incremented. If the sequence of events is disrupted, the counter isn’t incremented.
19
-
20
-
- If the data has multiple event chains at varying completion points, the function will only output the size of the longest chain.
18
+
- If events from the chain occur sequentially within the window, the counter is incremented. If the sequence of events is disrupted, the counter isn’t incremented.
21
19
20
+
- If the data has multiple event chains at varying completion points, the function will only output the size of the longest chain.
-`<timestamp>` — Name of the column containing the timestamp. Data types supported: integer types and datetime types.
30
-
-`<cond>` — Conditions or data describing the chain of events. Must be `Boolean` datatype.
28
+
-`<timestamp>` — Name of the column containing the timestamp. Data types supported: integer types and datetime types.
29
+
-`<cond>` — Conditions or data describing the chain of events. Must be `Boolean` datatype.
31
30
32
31
**Parameters**
33
32
34
-
-`<window>` — Length of the sliding window, it is the time interval between the first and the last condition. The unit of `window` depends on the `timestamp` itself and varies. Determined using the expression `timestamp of cond1 <= timestamp of cond2 <= ... <= timestamp of condN <= timestamp of cond1 + window`.
33
+
-`<window>` — Length of the sliding window, it is the time interval between the first and the last condition. The unit of `window` depends on the `timestamp` itself and varies. Determined using the expression `timestamp of cond1 <= timestamp of cond2 <= ... <= timestamp of condN <= timestamp of cond1 + window`.
35
34
36
35
**Returned value**
37
36
@@ -40,7 +39,6 @@ All the chains in the selection are analyzed.
40
39
41
40
Type: `UInt8`.
42
41
43
-
44
42
**Example**
45
43
46
44
Determine if a set period of time is enough for the user to SELECT a phone and purchase it twice in the online store.
@@ -52,7 +50,6 @@ Set the following chain of events:
52
50
3. The user adds to the shopping cart(`event_name = 'cart'`).
53
51
4. The user complete the purchase (`event_name = 'purchase'`).
0 commit comments