[MCOL-544] Default mcsmysql to use --quick Created: 2017-02-06  Updated: 2017-02-06  Resolved: 2017-02-06

Status: Closed
Project: MariaDB ColumnStore
Component/s: cpimport
Affects Version/s: 1.0.7
Fix Version/s: Icebox

Type: Task Priority: Major
Reporter: VAROQUI Stephane Assignee: David Thompson (Inactive)
Resolution: Fixed Votes: 0
Labels: None


 Description   

mysql --quick is not buffering the result and send it strayed to cpimport , if not uses on big table cpimport will timeout waiting for data
query a big table via mysql -e"select start from bigtable" | more , there is good chance that you never get any result until tcp timeout

same command using --quick or -q give instant result to proceed

Documenting in KB the way to make a direct extract import should be improved to get as imple as possible

We used :
mysql -N -h remote_mariadb -u import_user -p import_password -q -e 'select * from test.test"| cpimport -s'\t' test test



 Comments   
Comment by David Thompson (Inactive) [ 2017-02-06 ]

updated https://mariadb.com/kb/en/mariadb/columnstore-bulk-data-loading/ to include -q in the example.

Comment by David Thompson (Inactive) [ 2017-02-06 ]

I don't think we should update the the mcsmysql alias so no code changes required.

Generated at Thu Feb 08 02:21:52 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.