Project

General

Profile

« Previous | Next » 

Revision 9566

inputs/GBIF/_MySQL/MySQL.data.sql.run: import_resume_pos() run time: removed seconds because the precision is likely only to the nearest half-minute

View differences:

inputs/GBIF/_MySQL/MySQL.data.sql.run
52 52
	if ! isset max; then local max; max="$(file_size "$top_file")"; fi
53 53
	binsearch is_pkey_at_pos_imported
54 54
}
55
# import_resume_pos() takes 6:07 min to run, with 37 iterations
55
# import_resume_pos() takes 6 min to run, with 37 iterations
56 56

  
57
resume_import() # usage: [pos=#] resume_import
58
{
59
	echo_func; kw_params pos
60
	if ! isset pos; then local pos; pos="$(import_resume_pos)"; fi
61
	
62
	use_local_remote
63
	echo_run tail -c +"$pos" "$top_file"|mysql
64
}
65

  
57 66
fi

Also available in: Unified diff