Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mydumper exports csv and found that there is a problem with the naming #742

Closed
ronylei opened this issue Jun 23, 2022 · 1 comment · Fixed by #740
Closed

mydumper exports csv and found that there is a problem with the naming #742

ronylei opened this issue Jun 23, 2022 · 1 comment · Fixed by #740

Comments

@ronylei
Copy link

ronylei commented Jun 23, 2022

1.mydumer's version

# mydumper --version
mydumper 0.12.3-3, built against MySQL 5.7.37-40
  1. Data information
mysql> select count(*) from sbtest1;
+----------+
| count(*) |
+----------+
|  5000000 |
+----------+
1 row in set (6.97 sec)
  1. mydumper exports csv and found that there is a problem with the naming
# mydumper -u xxx -h xxx -p xxx --skip-tz-utc --outputdir=/data/csv/ -T test.sbtest1 -v 3 -t 4 --complete-insert -F 256 --csv --less-locking --no-backup-locks

# ls -lh
total 953M
-rw-r--r-- 1 root root  230 Jun 23 12:49 metadata
-rw-r--r-- 1 root root 246M Jun 23 12:48 test.sbtest1.00000.dat
-rw-r--r-- 1 root root  261 Jun 23 12:48 test.sbtest1.00000.sql
-rw-r--r-- 1 root root 246M Jun 23 12:49 test.sbtest1.00001.sql
-rw-r--r-- 1 root root 246M Jun 23 12:49 test.sbtest1.00002.sql
-rw-r--r-- 1 root root 218M Jun 23 12:49 test.sbtest1.00003.sql
-rw-r--r-- 1 root root  399 Jun 23 12:48 test.sbtest1-schema.sql
-rw-r--r-- 1 root root  146 Jun 23 12:48 test-schema-create.sql
@ronylei ronylei added the bug label Jun 23, 2022
@ronylei ronylei changed the title [BUG] mydumper exports csv and found that there is a problem with the naming Jun 23, 2022
@davidducos
Copy link
Member

Duplicate #737

@davidducos davidducos added this to the Release 0.12.5-1 milestone Jun 23, 2022
@davidducos davidducos linked a pull request Jun 23, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants