I am trying to use pt-archive to archive my database. Below is my script for the archiving process.
pt-archiver --source h=localhost,D=***,t=** --user=*** --password=**** --where "dateTime<'2022-07-01 00:00:00'" --limit=1000 --progress=1000 --txn-size=1000 --statistics --no-check-charset --no-delete --file="/usr/local/test1.dat" --output-format=csv
Below is an example of the output line
0, 2, 0, 0, 1, "2022-05-26 01:46:54", "2022-05-26 19:27:15", "-1.22706831", 36.70828247, 0, 0, 0, 2674.4, 0, 0.000, 1, 1, 0, 0
See this field "-1.22706831" it has double quote whereas this one does not have 36.70828247. So should I stick to the default file which generate space among the fields? In the long run which one will be more effective to maintain?