
Working With TiDB Using mysql-connector-python
TiDB Cloud Serverless
90 Mins
Building Modern Applications
Developer, DevOps
Lab Description
In this lab, you will learn how to: Connect to, access and modify data in TiDB Cloud Serverless cluster by Python code; Use prepared statements and batch inserts to improve the performance of your application; Use AUTO_RANDOM instead of AUTO_INCREMENT to avoid hotspots; Use online DDL to add columns to a table without blocking or interrupting ongoing transactions.