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: tidb-cloud/serverless-export.md
+58-44Lines changed: 58 additions & 44 deletions
Original file line number
Diff line number
Diff line change
@@ -13,91 +13,105 @@ While you can also export data using `mysqldump`, TiDB Dumpling, or other tools,
13
13
- Isolation: the export service uses separate computing resources, ensuring isolation from the resources used by your online services.
14
14
- Consistency: the export service ensures the consistency of the exported data without causing locks, which does not affect your online services.
15
15
16
-
## Export to local
16
+
## Features
17
+
18
+
### Location of files
19
+
20
+
You can export data to the local storage or an external storage service.
21
+
22
+
**Local storage**
17
23
18
-
When you export to local, there are some limitations:
24
+
There are some limitations when you export data to local storage:
19
25
20
-
1. You can only export one table at a time.
26
+
1. You are not allowed to export multiple databases at the same time.
21
27
2. The exported data will be expired after two days, please download the data in time.
22
28
3. The exported data will be saved in the stashing area, which offers 250 GB storage space for each organization per region. If the storage space is full, you will not be able to export data to local.
23
29
30
+
**[Amazon S3](https://aws.amazon.com/s3/)**
31
+
32
+
You need to provide the credentials of the S3 bucket. Supported credentials include:
33
+
34
+
-[Access Key](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html): The long-term credentials for an IAM user or the AWS account root user. Please make sure the access key has the necessary permissions to your S3 bucket, we recommend you create a new bucket with full s3 access.
35
+
24
36
> **Note:**
25
37
>
26
-
> We recommend you export to S3 or other supported storage services if you want to export a large amount of data.
38
+
> We recommend you export to the external storage service such as S3 when you want to export a large amount of data.
27
39
28
-
<SimpleTab>
40
+
### Data Filtering
29
41
30
-
<divlabel="Export With CLI">
42
+
You can filter data by specifying the database and table you want to export. If you do not specify the table, we will export all tables in the specified database. If you do not specify the database, we will export all databases in the cluster.
31
43
32
-
1. Export a specific table from a TiDB Serverless cluster to local.
44
+
> **Note:**
45
+
>
46
+
> You must specify the database when you export data to local storage.
- Support exporting data to local and [Amazon S3](https://aws.amazon.com/s3/). Please Contact [TiDB Cloud Support](/tidb-cloud/tidb-cloud-support.md) if your want to export to other storage services.
0 commit comments