Skip to content

Commit 8c58135

Browse files
author
github-actions
committed
update MD by dispatch event pingcap/docs feature/preview-cloud-lake
1 parent f139c43 commit 8c58135

File tree

1,055 files changed

+6945
-4356
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,055 files changed

+6945
-4356
lines changed

markdown-pages/en/tidb/release-8.5/TOC-tidb-cloud-lake.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -780,8 +780,8 @@
780780
- [ARRAY_AGG](/tidb-cloud-lake/sql/array-agg.md)
781781
- [AVG](/tidb-cloud-lake/sql/avg.md)
782782
- [AVG_IF](/tidb-cloud-lake/sql/avg-if.md)
783-
- [bool_and](/tidb-cloud-lake/sql/bool.md)
784-
- [bool_or](/tidb-cloud-lake/sql/bool-sql.md)
783+
- [bool_and](/tidb-cloud-lake/sql/bool-and.md)
784+
- [bool_or](/tidb-cloud-lake/sql/bool-or.md)
785785
- [COUNT](/tidb-cloud-lake/sql/count.md)
786786
- [COUNT_DISTINCT](/tidb-cloud-lake/sql/count-distinct.md)
787787
- [COUNT_IF](/tidb-cloud-lake/sql/count-if.md)

markdown-pages/en/tidb/release-8.5/tidb-cloud-lake/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ hide_commit: true
55
summary: TiDB Cloud Lake is cloud-native data warehouse service focused on analytics workloads that scales elastically and supports ANSI SQL and multi-modal data operations.
66
---
77

8+
# TiDB Cloud Lake Documentation
9+
810
<LearningPathContainer platform="tidb-cloud" title="TiDB Cloud Lake" subTitle="TiDB Cloud Lake is cloud-native data warehouse service focused on analytics workloads that scales elastically and supports ANSI SQL and multi-modal data operations.">
911

1012
</LearningPathContainer>

markdown-pages/en/tidb/release-8.5/tidb-cloud-lake/guides/access-control.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
title: Access Control
33
summary: Learn about access control in TiDB Cloud Lake, which uses both Role-Based Access Control (RBAC) and Discretionary Access Control (DAC) to manage permissions for data objects like databases, tables, and views.
44
---
5+
6+
# Access Control
7+
58
Databend incorporates both [Role-Based Access Control (RBAC)](https://en.wikipedia.org/wiki/Role-based_access_control) and [Discretionary Access Control (DAC)](https://en.wikipedia.org/wiki/Discretionary_access_control) models for its access control functionality. When a user accesses a data object in Databend, they must be granted appropriate privileges or roles, or they need to have ownership of the data object. A data object can refer to various elements, such as a database, table, view, stage, or UDF.
69

710
![Access control](https://docs-download.pingcap.com/media/images/docs/tidb-cloud-lake/access-control-1.png)
@@ -16,4 +19,4 @@ This guide describes the related concepts and provides instructions on how to ma
1619

1720
- [Privileges](/tidb-cloud-lake/guides/privileges.md)
1821
- [Roles](/tidb-cloud-lake/guides/roles.md)
19-
- [Ownership](/tidb-cloud-lake/guides/ownership.md)
22+
- [Ownership](/tidb-cloud-lake/guides/ownership.md)

markdown-pages/en/tidb/release-8.5/tidb-cloud-lake/guides/aggregating-index.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
title: Aggregating Index
33
summary: Aggregating indexes dramatically accelerate analytical queries by precomputing and storing aggregation results, eliminating the need to scan entire tables for common analytics operations.
44
---
5-
# Aggregating Index: Precomputed Results for Instant Analytics
5+
6+
# Aggregating Index
67

78
Aggregating indexes dramatically accelerate analytical queries by precomputing and storing aggregation results, eliminating the need to scan entire tables for common analytics operations.
89

@@ -34,9 +35,9 @@ Analytical queries on large datasets face significant performance challenges:
3435
CREATE TABLE sales(region VARCHAR, product VARCHAR, revenue DECIMAL, quantity INT);
3536

3637
-- Create aggregating index for common analytics
37-
CREATE AGGREGATING INDEX sales_summary AS
38-
SELECT region, SUM(revenue), COUNT(*), AVG(quantity)
39-
FROM sales
38+
CREATE AGGREGATING INDEX sales_summary AS
39+
SELECT region, SUM(revenue), COUNT(*), AVG(quantity)
40+
FROM sales
4041
GROUP BY region;
4142

4243
-- Refresh the index (manual mode)
@@ -67,11 +68,11 @@ EXPLAIN SELECT region, SUM(revenue) FROM sales GROUP BY region;
6768

6869
```sql
6970
-- Automatic refresh (updates with every data change)
70-
CREATE AGGREGATING INDEX auto_summary AS
71+
CREATE AGGREGATING INDEX auto_summary AS
7172
SELECT region, SUM(revenue) FROM sales GROUP BY region SYNC;
7273

7374
-- Manual refresh (update on demand)
74-
CREATE AGGREGATING INDEX manual_summary AS
75+
CREATE AGGREGATING INDEX manual_summary AS
7576
SELECT region, SUM(revenue) FROM sales GROUP BY region;
7677

7778
REFRESH AGGREGATING INDEX manual_summary;

markdown-pages/en/tidb/release-8.5/tidb-cloud-lake/guides/ai-ml-integration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: AI & ML Integration
33
summary: Databend enables powerful AI and ML capabilities through two complementary approaches build custom AI functions with your own infrastructure, or create conversational data experiences using natural language.
44
---
5+
56
# AI & ML Integration
67

78
Databend enables powerful AI and ML capabilities through two complementary approaches: build custom AI functions with your own infrastructure, or create conversational data experiences using natural language.

markdown-pages/en/tidb/release-8.5/tidb-cloud-lake/guides/ai-powered-features.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: AI-Powered Features
33
summary: With the inclusion of AI-powered features, TiDB Cloud Lake allows you to engage in natural language conversations to receive help, assistance, and solutions.
44
---
55

6+
# AI-Powered Features
7+
68
With the inclusion of AI-powered features, Databend Cloud allows you to engage in natural language conversations to receive help, assistance, and solutions. These AI-powered features are enabled by default, but you can disable them if desired by navigating to **Manage** > **Settings**.
79

810
### AI Chat for Assistance

markdown-pages/en/tidb/release-8.5/tidb-cloud-lake/guides/audit-trail.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
title: Audit Trail
33
summary: Databend system history tables automatically capture detailed records of database activities, providing a complete audit trail for compliance and security monitoring.
44
---
5+
6+
# Audit Trail
7+
58
Databend system history tables automatically capture detailed records of database activities, providing a complete audit trail for compliance and security monitoring.
69

710
Allows the auditing of the user:
@@ -29,8 +32,8 @@ Track authentication failures to identify potential security threats and unautho
2932

3033
```sql
3134
-- Check for failed login attempts (security audit)
32-
SELECT event_time, user_name, client_ip, error_message
33-
FROM system_history.login_history
35+
SELECT event_time, user_name, client_ip, error_message
36+
FROM system_history.login_history
3437
WHERE event_type = 'LoginFailed'
3538
ORDER BY event_time DESC;
3639
```
@@ -52,7 +55,7 @@ Monitor DDL operations for compliance and change management requirements.
5255
```sql
5356
-- Audit DDL operations (compliance tracking)
5457
SELECT query_id, query_start, user_name, object_modified_by_ddl
55-
FROM system_history.access_history
58+
FROM system_history.access_history
5659
WHERE object_modified_by_ddl != '[]'
5760
ORDER BY query_start DESC;
5861
```
@@ -72,7 +75,7 @@ Track who accessed what data and when for compliance and data governance.
7275
```sql
7376
-- Track data access for compliance
7477
SELECT query_id, query_start, user_name, base_objects_accessed
75-
FROM system_history.access_history
78+
FROM system_history.access_history
7679
WHERE base_objects_accessed != '[]'
7780
ORDER BY query_start DESC;
7881
```
@@ -86,7 +89,7 @@ Maintain comprehensive records of all SQL operations with user and timing inform
8689
```sql
8790
-- Complete query audit with user and timing information
8891
SELECT query_id, sql_user, query_text, query_start_time, query_duration_ms, client_address
89-
FROM system_history.query_history
92+
FROM system_history.query_history
9093
WHERE event_date >= TODAY() - INTERVAL 7 DAY
9194
ORDER BY query_start_time DESC;
9295
```

markdown-pages/en/tidb/release-8.5/tidb-cloud-lake/guides/authenticate-with-aws-iam-role.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Authenticate with AWS IAM Role
33
summary: Cloud-native identity delegation (AWS IAM Role, Azure Managed Identity, Google Service Account federation, etc.) lets Databend Cloud obtain short-lived credentials to your object storage without ever handling raw access keys. That keeps data plane access inside your cloud provider's control plane while you retain ownership of every permission.
44
---
5+
56
# Authenticate with AWS IAM Role
67

78
Cloud-native identity delegation (AWS IAM Role, Azure Managed Identity, Google Service Account federation, etc.) lets Databend Cloud obtain short-lived credentials to your object storage without ever handling raw access keys. That keeps data plane access inside your cloud provider's control plane while you retain ownership of every permission.

markdown-pages/en/tidb/release-8.5/tidb-cloud-lake/guides/automate-data-loading-with-tasks.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
title: Automating Data Loading with Tasks
33
summary: Tasks wrap SQL so Databend can run it for you on a schedule or when a condition is met. Keep the following knobs in mind when you define one with CREATE TASK.
44
---
5+
6+
# Automating Data Loading with Tasks
7+
58
Tasks wrap SQL so Databend can run it for you on a schedule or when a condition is met. Keep the following knobs in mind when you define one with [CREATE TASK](/tidb-cloud-lake/sql/create-task.md):
69

710
![alt text](https://docs-download.pingcap.com/media/images/docs/tidb-cloud-lake/task.png)
@@ -211,4 +214,3 @@ FROM task_history('task_stream_merge', 5);
211214
```
212215

213216
The task fires only when `STREAM_STATUS('<database>.<stream_name>')` returns `TRUE`. Always prefix the stream with its database (for example `task_demo.sensor_events_stream`) so the task can resolve it regardless of the current schema, and use your own warehouse name in every `CREATE/ALTER TASK`.
214-

markdown-pages/en/tidb/release-8.5/tidb-cloud-lake/guides/cluster-key-performance.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
title: Cluster Key
33
summary: Cluster keys provide automatic data organization to dramatically improve query performance on large tables. Databend seamlessly and continually manages all clustering operations in the background - you simply define the cluster key and Databend handles the rest.
44
---
5-
# Cluster Key: Automatic Data Organization for Query Acceleration
5+
6+
# Cluster Key
67

78
Cluster keys provide automatic data organization to dramatically improve query performance on large tables. Databend seamlessly and continually manages all clustering operations in the background - you simply define the cluster key and Databend handles the rest.
89

0 commit comments

Comments
 (0)