Project

General

Profile

1
#!/bin/bash -e
2
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/runscripts/datasrc_dir.run
3

    
4
if self_not_included; then
5

    
6
refresh() # usage: on *vegbiendev*: .../run refresh
7
{
8
	echo_func; set_make_vars
9
	local remake=1 # run all commands below in this mode
10
	datasrc_make vegbank.schema.sql
11
	datasrc_make vegbank.data.sql # runtime: 3.5 min (":17:38" - ":14:16" =3:22)
12
	datasrc_make vegbank.data.sql.gz # runtime: 2 min ("2m10.659s")
13
	datasrc_make vegbank.data.sql.gz.md5 # runtime: 7 s ("0m6.630s")
14
	import # runtime: *.sql: 20 min ("1201.18")
15
}
16

    
17
fi
(5-5/13)