How to load data from Shortio to TiDB
Learn how to use Airbyte to synchronize your Shortio data into TiDB within minutes.


Building your pipeline or Using Airbyte
Airbyte is the only open source solution empowering data teams to meet all their growing custom business demands in the new AI era.
- Inconsistent and inaccurate data
- Laborious and expensive
- Brittle and inflexible
- Reliable and accurate
- Extensible and scalable for all your needs
- Deployed and governed your way
Start syncing with Airbyte in 3 easy steps within 10 minutes



Take a virtual tour
Demo video of Airbyte Cloud
Demo video of AI Connector Builder
Setup Complexities simplified!
Simple & Easy to use Interface
Airbyte is built to get out of your way. Our clean, modern interface walks you through setup, so you can go from zero to sync in minutes—without deep technical expertise.
Guided Tour: Assisting you in building connections
Whether you’re setting up your first connection or managing complex syncs, Airbyte’s UI and documentation help you move with confidence. No guesswork. Just clarity.
Airbyte AI Assistant that will act as your sidekick in building your data pipelines in Minutes
Airbyte’s built-in assistant helps you choose sources, set destinations, and configure syncs quickly. It’s like having a data engineer on call—without the overhead.
What sets Airbyte Apart
Modern GenAI Workflows
Move Large Volumes, Fast
An Extensible Open-Source Standard
Full Control & Security
Fully Featured & Integrated
Enterprise Support with SLAs
What our users say

Raman Singh
Predictable, straightforward pricing model that simplified budgeting and significantly reduced overall spend

Chase Zieman

“Airbyte helped us accelerate our progress by years, compared to our competitors. We don’t need to worry about connectors and focus on creating value for our users instead of building infrastructure. That’s priceless. The time and energy saved allows us to disrupt and grow faster.”

Rupak Patel
"With Airbyte, we could just push a few buttons, allow API access, and bring all the data into Google BigQuery. By blending all the different marketing data sources, we can gain valuable insights."
How to Sync to Manually
First, access the Short.io dashboard to export your data. Navigate to the "Links" section, where you can find an export option, usually in CSV or Excel format. Download the file to your local system, ensuring all necessary data fields are included.
Open the exported data file using a spreadsheet application like Excel or a CSV editor. Clean the data by removing any unnecessary columns or rows, and ensure the data types are consistent. Save the cleaned file in a CSV format, as it is easier to manipulate for import purposes.
Install and configure TiDB on your local machine or server. You can download TiDB from the official website and follow the installation instructions provided. Ensure that TiDB is running and accessible via your preferred SQL client.
Using a SQL client connected to your TiDB instance, create a database and corresponding table(s) that match the structure of your Short.io data. Define the appropriate data types for each column to ensure compatibility and efficient storage.
```sql
CREATE DATABASE shortio_data;
USE shortio_data;
CREATE TABLE links (
id INT PRIMARY KEY,
short_url VARCHAR(255),
original_url TEXT,
clicks INT,
created_at DATETIME
);
```
Before importing, ensure that the CSV file's data matches the schema created in TiDB. Edit the CSV file to reorder columns if necessary and convert date formats or other data types to match the TiDB schema.
Use TiDB’s built-in tools to import your CSV data. If using the MySQL client, you can leverage the `LOAD DATA` command for efficient data import. Execute the command within your SQL client connected to TiDB.
```sql
LOAD DATA LOCAL INFILE '/path/to/your/file.csv'
INTO TABLE links
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
IGNORE 1 LINES
(id, short_url, original_url, clicks, created_at);
```
After the data import, execute a series of SELECT queries to verify the accuracy and completeness of the imported data. Check for any discrepancies or errors, and ensure that all data has been correctly transferred.
```sql
SELECT * FROM links LIMIT 10;
SELECT COUNT(*) FROM links;
```
By following these steps, you can successfully transfer data from Short.io to TiDB without using third-party connectors or integrations.