Skip to content

Commit

Permalink
Update outdated https://en.pingcap.com/ links (#18096) (#18117)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Jul 4, 2024
1 parent 6f2f8fb commit d208bb4
Show file tree
Hide file tree
Showing 20 changed files with 38 additions and 35 deletions.
10 changes: 5 additions & 5 deletions best-practices/high-concurrency-best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ This document describes best practices for handling highly-concurrent write-heav

## Target audience

This document assumes that you have a basic understanding of TiDB. It is recommended that you first read the following three blog articles that explain TiDB fundamentals, and [TiDB Best Practices](https://en.pingcap.com/blog/tidb-best-practice/):
This document assumes that you have a basic understanding of TiDB. It is recommended that you first read the following three blog articles that explain TiDB fundamentals, and [TiDB Best Practices](https://www.pingcap.com/blog/tidb-best-practice/):

+ [Data Storage](https://en.pingcap.com/blog/tidb-internal-data-storage/)
+ [Computing](https://en.pingcap.com/blog/tidb-internal-computing/)
+ [Scheduling](https://en.pingcap.com/blog/tidb-internal-scheduling/)
+ [Data Storage](https://www.pingcap.com/blog/tidb-internal-data-storage/)
+ [Computing](https://www.pingcap.com/blog/tidb-internal-computing/)
+ [Scheduling](https://www.pingcap.com/blog/tidb-internal-scheduling/)

## Highly-concurrent write-intensive scenario

Expand All @@ -32,7 +32,7 @@ For a distributed database, it is important to make full use of the capacity of

## Data distribution principles in TiDB

To address the above challenges, it is necessary to start with the data segmentation and scheduling principle of TiDB. Refer to [Scheduling](https://en.pingcap.com/blog/tidb-internal-scheduling/) for more details.
To address the above challenges, it is necessary to start with the data segmentation and scheduling principle of TiDB. Refer to [Scheduling](https://www.pingcap.com/blog/tidb-internal-scheduling/) for more details.

TiDB splits data into Regions, each representing a range of data with a size limit of 96M by default. Each Region has multiple replicas, and each group of replicas is called a Raft Group. In a Raft Group, the Region Leader executes the read and write tasks (TiDB supports [Follower-Read](/follower-read.md)) within the data range. The Region Leader is automatically scheduled by the Placement Driver (PD) component to different physical nodes evenly to distribute the read and write pressure.

Expand Down
8 changes: 4 additions & 4 deletions best-practices/tidb-best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ This document summarizes the best practices of using TiDB, including the use of

Before you read this document, it is recommended that you read three blog posts that introduce the technical principles of TiDB:

* [TiDB Internal (I) - Data Storage](https://en.pingcap.com/blog/tidb-internal-data-storage/)
* [TiDB Internal (II) - Computing](https://en.pingcap.com/blog/tidb-internal-computing/)
* [TiDB Internal (III) - Scheduling](https://en.pingcap.com/blog/tidb-internal-scheduling/)
* [TiDB Internal (I) - Data Storage](https://www.pingcap.com/blog/tidb-internal-data-storage/)
* [TiDB Internal (II) - Computing](https://www.pingcap.com/blog/tidb-internal-computing/)
* [TiDB Internal (III) - Scheduling](https://www.pingcap.com/blog/tidb-internal-scheduling/)

## Preface

Expand Down Expand Up @@ -67,7 +67,7 @@ Placement Driver (PD) balances the load of the cluster according to the status o

### SQL on KV

TiDB automatically maps the SQL structure into Key-Value structure. For details, see [TiDB Internal (II) - Computing](https://en.pingcap.com/blog/tidb-internal-computing/).
TiDB automatically maps the SQL structure into Key-Value structure. For details, see [TiDB Internal (II) - Computing](https://www.pingcap.com/blog/tidb-internal-computing/).

Simply put, TiDB performs the following operations:

Expand Down
2 changes: 1 addition & 1 deletion dashboard/dashboard-key-visualizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ This section introduces the basic concepts that relate to Key Visualizer.

In a TiDB cluster, the stored data is distributed among TiKV instances. Logically, TiKV is a huge and orderly key-value map. The whole key-value space is divided into many segments and each segment consists of a series of adjacent keys. Such segment is called a `Region`.

For detailed introduction of Region, refer to [TiDB Internal (I) - Data Storage](https://en.pingcap.com/blog/tidb-internal-data-storage/).
For detailed introduction of Region, refer to [TiDB Internal (I) - Data Storage](https://www.pingcap.com/blog/tidb-internal-data-storage/).

### Hotspot

Expand Down
2 changes: 1 addition & 1 deletion develop/dev-guide-build-cluster-in-cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ summary: Learn how to build a TiDB Serverless cluster in TiDB Cloud and connect

<CustomContent platform="tidb">

This document walks you through the quickest way to get started with TiDB. You will use [TiDB Cloud](https://en.pingcap.com/tidb-cloud) to create a TiDB Serverless cluster, connect to it, and run a sample application on it.
This document walks you through the quickest way to get started with TiDB. You will use [TiDB Cloud](https://www.pingcap.com/tidb-cloud) to create a TiDB Serverless cluster, connect to it, and run a sample application on it.

If you need to run TiDB on your local machine, see [Starting TiDB Locally](/quick-start-with-tidb.md).

Expand Down
2 changes: 1 addition & 1 deletion develop/dev-guide-proxysql-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ The following steps will set up ProxySQL and TiDB on ports `6033` and `4000` res

## Production environment

For a production environment, it is recommended that you use [TiDB Cloud](https://en.pingcap.com/tidb-cloud/) directly for a fully-managed experience.
For a production environment, it is recommended that you use [TiDB Dedicated](https://www.pingcap.com/tidb-dedicated/) directly for a fully-managed experience.

### Prerequisite

Expand Down
2 changes: 1 addition & 1 deletion develop/dev-guide-use-subqueries.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,4 @@ As a best practice, in actual development, it is recommended to avoid querying t

- [Subquery Related Optimizations](/subquery-optimization.md)
- [Decorrelation of Correlated Subquery](/correlated-subquery-optimization.md)
- [Subquery Optimization in TiDB](https://en.pingcap.com/blog/subquery-optimization-in-tidb/)
- [Subquery Optimization in TiDB](https://www.pingcap.com/blog/subquery-optimization-in-tidb/)
2 changes: 1 addition & 1 deletion explore-htap.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The following are the typical use cases of HTAP:

When using TiDB as a data hub, TiDB can meet specific business needs by seamlessly connecting the data for the application and the data warehouse.

For more information about use cases of TiDB HTAP, see [blogs about HTAP on the PingCAP website](https://en.pingcap.com/blog/?tag=htap).
For more information about use cases of TiDB HTAP, see [blogs about HTAP on the PingCAP website](https://www.pingcap.com/blog/?tag=htap).

## Architecture

Expand Down
4 changes: 2 additions & 2 deletions faq/migration-tidb-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,13 @@ Yes.
### Why does the query speed getting slow after deleting data?
Deleting a large amount of data leaves a lot of useless keys, affecting the query efficiency. Currently the Region Merge feature is in development, which is expected to solve this problem. For details, see the [deleting data section in TiDB Best Practices](https://en.pingcap.com/blog/tidb-best-practice/#write).
Deleting a large amount of data leaves a lot of useless keys, affecting the query efficiency. Currently the Region Merge feature is in development, which is expected to solve this problem. For details, see the [deleting data section in TiDB Best Practices](https://www.pingcap.com/blog/tidb-best-practice/#write).
### What is the most efficient way of deleting data?
When deleting a large amount of data, it is recommended to use `Delete from t where xx limit 5000;`. It deletes through the loop and uses `Affected Rows == 0` as a condition to end the loop, so as not to exceed the limit of transaction size. With the prerequisite of meeting business filtering logic, it is recommended to add a strong filter index column or directly use the primary key to select the range, such as `id >= 5000*n+m and id < 5000*(n+1)+m`.
If the amount of data that needs to be deleted at a time is very large, this loop method will get slower and slower because each deletion traverses backward. After deleting the previous data, lots of deleted flags remain for a short period (then all will be processed by Garbage Collection) and influence the following Delete statement. If possible, it is recommended to refine the Where condition. See [details in TiDB Best Practices](https://en.pingcap.com/blog/tidb-best-practice/#write).
If the amount of data that needs to be deleted at a time is very large, this loop method will get slower and slower because each deletion traverses backward. After deleting the previous data, lots of deleted flags remain for a short period (then all will be processed by Garbage Collection) and influence the following Delete statement. If possible, it is recommended to refine the Where condition. See [details in TiDB Best Practices](https://www.pingcap.com/blog/tidb-best-practice/#write).
### How to improve the data loading speed in TiDB?
Expand Down
2 changes: 1 addition & 1 deletion faq/sql-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ None of the `DELETE`, `TRUNCATE` and `DROP` operations release data immediately.

## Why does the query speed get slow after data is deleted?

Deleting a large amount of data leaves a lot of useless keys, affecting the query efficiency. To solve the problem, you can use the [Region Merge](/best-practices/massive-regions-best-practices.md#method-3-enable-region-merge) feature. For details, see the [deleting data section in TiDB Best Practices](https://en.pingcap.com/blog/tidb-best-practice/#write).
Deleting a large amount of data leaves a lot of useless keys, affecting the query efficiency. To solve the problem, you can use the [Region Merge](/best-practices/massive-regions-best-practices.md#method-3-enable-region-merge) feature. For details, see the [deleting data section in TiDB Best Practices](https://www.pingcap.com/blog/tidb-best-practice/#write).

## What should I do if it is slow to reclaim storage space after deleting data?

Expand Down
2 changes: 1 addition & 1 deletion releases/release-6.0.0-dmr.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ TiDB v6.0.0 is a DMR, and its version is 6.0.0-DMR.

TiEM not only provides full lifecycle visual management for TiDB clusters, but also provides one-stop services: parameter management, version upgrades, cluster clone, active-standby cluster switching, data import and export, data replication, and data backup and restore services. TiEM can improve the efficiency of DevOps on TiDB and reduce the DevOps cost for enterprises.

Currently, TiEM is provided in the [TiDB Enterprise](https://en.pingcap.com/tidb-enterprise/) edition only. To get TiEM, contact us via the [TiDB Enterprise](https://en.pingcap.com/tidb-enterprise/) page.
Currently, TiEM is provided in the [TiDB Enterprise](https://www.pingcap.com/tidb-enterprise/) edition only. To get TiEM, contact us via the [TiDB Enterprise](https://www.pingcap.com/tidb-enterprise/) page.

- Support customizing configurations of the monitoring components

Expand Down
2 changes: 1 addition & 1 deletion releases/versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ TiDB offers two release series:
* Long-Term Support Releases
* Development Milestone Releases (introduced in TiDB v6.0.0)

To learn about the support policy for major releases of TiDB, see [TiDB Release Support Policy](https://en.pingcap.com/tidb-release-support-policy/).
To learn about the support policy for major releases of TiDB, see [TiDB Release Support Policy](https://www.pingcap.com/tidb-release-support-policy/).

## Release versioning

Expand Down
4 changes: 2 additions & 2 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -1823,7 +1823,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
- Type: Boolean
- Default value: `ON`
- This variable controls the way commit TS is calculated for async commit. By default (with the `ON` value), the two-phase commit requests a new TS from the PD server and uses the TS to calculate the final commit TS. In this situation, linearizability is guaranteed for all the concurrent transactions.
- If you set this variable to `OFF`, the process of fetching TS from the PD server is skipped, with the cost that only causal consistency is guaranteed but not linearizability. For more details, see the blog post [Async Commit, the Accelerator for Transaction Commit in TiDB 5.0](https://en.pingcap.com/blog/async-commit-the-accelerator-for-transaction-commit-in-tidb-5-0/).
- If you set this variable to `OFF`, the process of fetching TS from the PD server is skipped, with the cost that only causal consistency is guaranteed but not linearizability. For more details, see the blog post [Async Commit, the Accelerator for Transaction Commit in TiDB 5.0](https://www.pingcap.com/blog/async-commit-the-accelerator-for-transaction-commit-in-tidb-5-0/).
- For scenarios that require only causal consistency, you can set this variable to `OFF` to improve performance.
### tidb_hash_exchange_with_new_collation
Expand Down Expand Up @@ -2229,7 +2229,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
> Only the default value of `OFF` can be considered safe. Setting `tidb_multi_statement_mode=ON` might be required if your application was specifically designed for an earlier version of TiDB. If your application requires multiple statement support, it is recommended to use the setting provided by your client library instead of the `tidb_multi_statement_mode` option. For example:
>
> * [go-sql-driver](https://github.com/go-sql-driver/mysql#multistatements) (`multiStatements`)
> * [Connector/J](https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-reference-configuration-properties.html) (`allowMultiQueries`)
> * [Connector/J](https://dev.mysql.com/doc/connector-j/en/connector-j-reference-configuration-properties.html) (`allowMultiQueries`)
> * PHP [mysqli](https://www.php.net/manual/en/mysqli.quickstart.multiple-statement.php) (`mysqli_multi_query`)
### tidb_nontransactional_ignore_error <span class="version-mark">New in v6.1.0</span>
Expand Down
2 changes: 1 addition & 1 deletion telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,4 +285,4 @@ To meet compliance requirements in different countries or regions, the usage inf
- For IP addresses from the Chinese mainland, usage information is sent to and stored on cloud servers in the Chinese mainland.
- For IP addresses from outside of the Chinese mainland, usage information is sent to and stored on cloud servers in the US.

See [PingCAP Privacy Policy](https://en.pingcap.com/privacy-policy/) for details.
See [PingCAP Privacy Policy](https://www.pingcap.com/privacy-policy/) for details.
2 changes: 1 addition & 1 deletion tidb-cloud/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ hide_commit: true

<LearningPath label="Billing" icon="cloud2">

[Pricing](https://en.pingcap.com/tidb-cloud-pricing/)
[Pricing](https://www.pingcap.com/pricing/)

[Invoices](https://docs.pingcap.com/tidbcloud/tidb-cloud-billing#invoices)

Expand Down
2 changes: 1 addition & 1 deletion tidb-cloud/release-notes-2021.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Bug fixes:

## June 25, 2021

* Fix the **Select Region** not working issue on the [TiDB Cloud Pricing](https://en.pingcap.com/products/tidbcloud/pricing/) page
* Fix the **Select Region** not working issue on the [TiDB Cloud Pricing](https://www.pingcap.com/pricing/) page

## June 24, 2021

Expand Down
10 changes: 5 additions & 5 deletions tidb-cloud/release-notes-2022.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ This page lists the release notes of [TiDB Cloud](https://www.pingcap.com/tidb-c

* Introduce [Credits](/tidb-cloud/tidb-cloud-billing.md#credits) (previously named as trail points) for PoC users.

You can now view information about your organization's credits on the **Credits** tab of the **Billing** page, the credits can be used to pay for TiDB Cloud fees. You can [contact us](https://en.pingcap.com/apply-for-poc/) to get credits.
You can now view information about your organization's credits on the **Credits** tab of the **Billing** page, the credits can be used to pay for TiDB Cloud fees. You can <a href="mailto:tidbcloud-support@pingcap.com">contact us</a> to get credits.
## August 9, 2022
Expand Down Expand Up @@ -463,7 +463,7 @@ This page lists the release notes of [TiDB Cloud](https://www.pingcap.com/tidb-c
* Provide a new option for [TiKV node size](/tidb-cloud/size-your-cluster.md#tikv-node-size): `8 vCPU, 32 GiB`. You can choose either `8 vCPU, 32 GiB` or `8 vCPU, 64 GiB` for an 8 vCPU TiKV node.
* Support syntax highlighting in sample code provided in the [**Connect to TiDB**](/tidb-cloud/connect-via-standard-connection.md) dialog to improve code readability. You can easily identify the parameters that you need to replace in the sample code.
* Support automatically validating whether TiDB Cloud can access your source data after you confirm the import task on the [**Data Import Task**](/tidb-cloud/import-sample-data.md) page.
* Change the theme color of the TiDB Cloud console to make it consistent with that of [PingCAP website](https://en.pingcap.com/).
* Change the theme color of the TiDB Cloud console to make it consistent with that of [PingCAP website](https://www.pingcap.com/).

## July 12, 2022

Expand Down Expand Up @@ -517,7 +517,7 @@ This page lists the release notes of [TiDB Cloud](https://www.pingcap.com/tidb-c
## June 7, 2022

* Add the [Try Free](https://tidbcloud.com/free-trial) registration page to quickly sign up for TiDB Cloud.
* Remove the **Proof of Concept plan** option from the plan selection page. If you want to apply for a 14-day PoC trial for free, go to the [Apply for PoC](https://en.pingcap.com/apply-for-poc/) page. For more information, see [Perform a Proof of Concept (PoC) with TiDB Cloud](/tidb-cloud/tidb-cloud-poc.md).
* Remove the **Proof of Concept plan** option from the plan selection page. If you want to apply for a 14-day PoC trial for free, <a href="mailto:tidbcloud-support@pingcap.com">contact us</a>. For more information, see [Perform a Proof of Concept (PoC) with TiDB Cloud](/tidb-cloud/tidb-cloud-poc.md).
* Improve the system security by prompting users who sign up for TiDB Cloud with emails and passwords to reset their passwords every 90 days. For more information, see [Password Authentication](/tidb-cloud/tidb-cloud-password-authentication.md).

## May 24, 2022
Expand Down Expand Up @@ -551,7 +551,7 @@ This page lists the release notes of [TiDB Cloud](https://www.pingcap.com/tidb-c
TiDB Cloud is now in General Availability. You can [sign up](https://tidbcloud.com/signup) and select one of the following options:

* Get started with [Developer Tier](/tidb-cloud/select-cluster-tier.md#serverless-tier-beta) for free.
* Apply for [a 14-day PoC trial for free](https://en.pingcap.com/apply-for-poc/).
* <a href="mailto:[email protected]">Contact us</a> to apply for a 14-day PoC trial for free.
* Get full access with [Dedicated Tier](/tidb-cloud/select-cluster-tier.md#dedicated-tier).

## March 25, 2022
Expand All @@ -572,7 +572,7 @@ General changes:
* Introduce a new public region: `eu-central-1`.
* Deprecate 8 vCPU TiFlash and provide 16 vCPU TiFlash.
* Separate the price of CPU and storage (both have 30% public preview discount).
* Update the [billing information](/tidb-cloud/tidb-cloud-billing.md) and the [price table](https://en.pingcap.com/tidb-cloud/#pricing).
* Update the [billing information](/tidb-cloud/tidb-cloud-billing.md) and the [price table](https://www.pingcap.com/pricing/).

New features:

Expand Down
2 changes: 1 addition & 1 deletion tidb-cloud/tidb-cloud-billing-dm.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Note that if you are using AWS PrivateLink or VPC peering connections, and if th

![Cross-region and cross-AZ traffic charges](/media/tidb-cloud/dm-billing-cross-region-and-az-fees.png)

The cross-region and cross-AZ traffic prices are the same as those for TiDB Cloud. For more information, see [TiDB Cloud Pricing Details](https://en.pingcap.com/tidb-cloud-pricing-details/).
The cross-region and cross-AZ traffic prices are the same as those for TiDB Cloud. For more information, see [TiDB Cloud Pricing Details](https://www.pingcap.com/tidb-dedicated-pricing-details/).

## See also

Expand Down
5 changes: 4 additions & 1 deletion tidb-cloud/tidb-cloud-billing.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ summary: Learn about TiDB Cloud billing.
>
> [Serverless Tier clusters](/tidb-cloud/select-cluster-tier.md#serverless-tier-beta) are free to use in beta. You will not be charged for the use of your Serverless Tier cluster, and your TiDB Cloud bill will not display any Serverless Tier charges.
TiDB Cloud charges according to the resources that you consume. You can visit [TiDB Cloud Pricing Details](https://en.pingcap.com/tidb-cloud-pricing-details/) to get more information.
TiDB Cloud charges according to the resources that you consume. You can visit the following pages to get more information about the pricing.

- [TiDB Serverless Pricing Details](https://www.pingcap.com/tidb-serverless-pricing-details/)
- [TiDB Dedicated Pricing Details](https://www.pingcap.com/tidb-dedicated-pricing-details/)

## Invoices

Expand Down
Loading

0 comments on commit d208bb4

Please sign in to comment.