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: docs/manual.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -200,7 +200,7 @@ bind-address = 0.0.0.0
200
200
201
201
# Quick Start
202
202
203
-
Suppose we have MySQL `airline.ontime` table of the [following structure - clickhouse_mysql_examples/airline_ontime_schema_mysql.sql](clickhouse_mysql_examples/airline_ontime_schema_mysql.sql) and want to migrate it into ClickHouse.
203
+
Suppose we have MySQL `airline.ontime` table of the [following structure - clickhouse_mysql_examples/airline_ontime_schema_mysql.sql](../clickhouse_mysql_examples/airline_ontime_schema_mysql.sql) and want to migrate it into ClickHouse.
204
204
205
205
Steps to do:
206
206
@@ -360,7 +360,7 @@ Options description
360
360
361
361
## MySQL Migration Case 1 - with Tables Lock
362
362
363
-
Suppose we have MySQL `airline.ontime` table of the [following structure - clickhouse_mysql_examples/airline_ontime_schema_mysql.sql](clickhouse_mysql_examples/airline_ontime_schema_mysql.sql) with multiple rows:
363
+
Suppose we have MySQL `airline.ontime` table of the [following structure - clickhouse_mysql_examples/airline_ontime_schema_mysql.sql](../clickhouse_mysql_examples/airline_ontime_schema_mysql.sql) with multiple rows:
364
364
365
365
```mysql
366
366
mysql>SELECTCOUNT(*) FROMairline.ontime;
@@ -464,7 +464,7 @@ Allow new data to be inserted into MySQL - i.e. unlock tables.
464
464
mysql> UNLOCK TABLES;
465
465
```
466
466
467
-
Insert some data into MySQL. For example, via [clickhouse_mysql_examples/airline_ontime_mysql_data_import.sh](clickhouse_mysql_examples/airline_ontime_mysql_data_import.sh) script
467
+
Insert some data into MySQL. For example, via [clickhouse_mysql_examples/airline_ontime_mysql_data_import.sh](../clickhouse_mysql_examples/airline_ontime_mysql_data_import.sh) script
468
468
469
469
```mysql
470
470
mysql>SELECTCOUNT(*) FROMairline.ontime;
@@ -609,7 +609,7 @@ Main Steps
609
609
* Check how data are loaded into ClickHouse
610
610
611
611
### airline.ontime Data Set in CSV files
612
-
Run [download script](clickhouse_mysql_examples/airline_ontime_data_download.sh)
612
+
Run [download script](../clickhouse_mysql_examples/airline_ontime_data_download.sh)
613
613
614
614
You may want to adjust dirs where to keep `ZIP` and `CSV` file
615
615
@@ -637,19 +637,19 @@ for year in `seq 1987 2017`; do
637
637
Downloading can take some time.
638
638
639
639
### airline.ontime MySQL Table
640
-
Create MySQL table of the [following structure - clickhouse_mysql_examples/airline_ontime_schema_mysql.sql](clickhouse_mysql_examples/airline_ontime_schema_mysql.sql):
640
+
Create MySQL table of the [following structure - clickhouse_mysql_examples/airline_ontime_schema_mysql.sql](../clickhouse_mysql_examples/airline_ontime_schema_mysql.sql):
641
641
```bash
642
642
mysql -uroot -p < clickhouse_mysql_examples/airline_ontime_schema_mysql.sql
643
643
```
644
644
645
645
### airline.ontime ClickHouse Table
646
-
Create ClickHouse table of the [following structure - clickhouse_mysql_examples/airline_ontime_schema_ch.sql](clickhouse_mysql_examples/airline_ontime_schema_ch.sql):
646
+
Create ClickHouse table of the [following structure - clickhouse_mysql_examples/airline_ontime_schema_ch.sql](../clickhouse_mysql_examples/airline_ontime_schema_ch.sql):
0 commit comments