Skip to content
Browse files

Created a modular approach, resulting in less scripts.

  • Loading branch information...
1 parent 0ae94cb commit d8402300b1aa8c85955d6f24a1201e8ed824b0e3 @bartbaas committed Jan 25, 2012
View
7 backtodashboard.sh
@@ -1,7 +0,0 @@
-read -p "Press ENTER for the dashboard or q to exit: " choice
-
-case $choice in
-q) echo "quit";;
-*) exec ./dashboard.sh;;
-esac
-
View
75 dashboard.sh
@@ -1,18 +1,60 @@
#!/bin/bash
python -c'import time; print repr(time.time())'
+
+DATASET=$1
+
+if [ -z "$DATASET" ]; then # -n tests to see if the argument is non empty
+ DATASET="medemblik"
+fi
+
+function reload {
+ exec ./dashboard.sh $1
+}
+
+function backtodashboard {
+ read -p "Press ENTER for the dashboard or q to exit: " choice
+
+ case $choice in
+ q) echo "quit";;
+ *) exec ./dashboard.sh $DATASET;;
+ esac
+}
+
+function timer {
+ STARTTIME=$(python -c'import time; print repr(time.time())')
+ # do something
+ # start your script work here
+ echo "Executing:" $1 "for dataset" $DATASET
+ ./$1 $DATASET
+ # your logic ends here
+ ENDTIME=$(python -c'import time; print repr(time.time())')
+ ECHO "Elapsed time: " $(bc -l <<< $ENDTIME-$STARTTIME)
+ backtodashboard
+}
+
# clear the screen
tput clear
# Move cursor to screen location X,Y (top left is 0,0)
-tput cup 3 5
+tput cup 1 5
# Set a foreground colour using ANSI escape
tput setaf 3
-echo "PostGIS DashBoard"
+echo "PostGIS DashBoard -" $DATASET | tr a-z A-Z
tput sgr0
# Set reverse video mode
tput rev
+tput cup 3 5
+echo "A) Medemblik"
+tput cup 3 25
+echo "B) Amsterdam"
+tput cup 3 45
+echo "C) Netherlands"
+tput sgr0
+
+# Set reverse video mode
+tput setaf 1
tput cup 5 5
echo "Instance"
tput cup 11 5
@@ -60,21 +102,24 @@ echo "12. Test5"
# Set bold mode
tput bold
tput cup 16 5
-read -p "Enter your choice [1-12] or q to exit: " choice
+read -p "Enter your choice [A-C] or [1-12] or q to exit: " choice
tput sgr0
#call the required shell or set QUIT and continue the loop, or continue the loop on any other input
case $choice in
-1) exec scripts/timer.sh scripts/postgis_start.sh;;
-2) echo "not implemented yet"; ./backtodashboard.sh;;
-3) exec scripts/timer.sh scripts/postgis_stop.sh;;
-4) exec scripts/timer.sh scripts/postgis_drop_amsterdam.sh;;
-5) exec scripts/timer.sh scripts/import_osmamsterdam.sh;;
-6) exec scripts/timer.sh scripts/create_topology.sh;;
-7) exec scripts/timer.sh scripts/test_empty_amsterdam.sh;;
-8) exec scripts/timer.sh scripts/test_bbox_amsterdam.sh;;
-9) echo "not implemented yet"; ./backtodashboard.sh;;
-10) exec scripts/timer.sh scripts/test_route_amsterdam.sh;;
-11) echo "not implemented yet"; ./backtodashboard.sh;;
-12) echo "not implemented yet"; ./backtodashboard.sh;;
+A) reload "medemblik";;
+B) reload "amsterdam";;
+C) reload "netherlands";;
+1) timer scripts/postgis_start.sh;;
+2) echo "not implemented yet";;
+3) timer scripts/postgis_stop.sh;;
+4) timer scripts/postgis_drop.sh $DATASET;;
+5) timer scripts/import_osm.sh $DATASET;;
+6) timer scripts/create_topology.sh $DATASET;;
+7) timer scripts/test_empty.sh $DATASET;;
+8) timer scripts/test_bbox_$DATASET.sh;;
+9) echo "not implemented yet";;
+10) timer scripts/test_route_$DATASET.sh;;
+11) echo "not implemented yet";;
+12) echo "not implemented yet";;
esac
View
2 scripts/create_topology_amsterdam.sh → scripts/create_topology.sh
@@ -1,4 +1,4 @@
#!/bin/sh
-DBNAME=amsterdam
+DBNAME=$1
psql -d $DBNAME -f sql/create_topology.sql
View
4 scripts/create_topology_medemblik.sh
@@ -1,4 +0,0 @@
-#!/bin/sh
-DBNAME=medemblik
-
-psql -d $DBNAME -f sql/create_topology.sql
View
4 scripts/import_osmmedemblik.sh → scripts/import_osm.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#One-off task to create an empty database
-DBNAME=medemblik
-IMPORTOSM=/Volumes/Data/Users/bartbaas/data/osm/medemblik.osm
+DBNAME=$1
+IMPORTOSM=/Volumes/Data/Users/bartbaas/data/osm/$1.osm
# if exists, remove the previous database
dropdb $DBNAME
View
24 scripts/import_osmamsterdam.sh
@@ -1,24 +0,0 @@
-#!/bin/sh
-#One-off task to create an empty database
-DBNAME=amsterdam
-IMPORTOSM=/Volumes/Data/Users/bartbaas/data/osm/amsterdam.osm
-
-# if exists, remove the previous database
-dropdb $DBNAME
-
-# create routing database
-createdb $DBNAME
-createlang plpgsql $DBNAME
-
-# add PostGIS functions
-psql -d $DBNAME -f /usr/local/share/postgis/postgis.sql
-psql -d $DBNAME -f /usr/local/share/postgis/spatial_ref_sys.sql
-
-# add pgRouting core functions
-psql -d $DBNAME -f /usr/local/share/postlbs/routing_core.sql
-psql -d $DBNAME -f /usr/local/share/postlbs/routing_core_wrappers.sql
-psql -d $DBNAME -f /usr/local/share/postlbs/routing_topology.sql
-
-osm2pgsql --slim --database $DBNAME --style /usr/local/share/osm2pgsql/default.style --latlong --multi-geometry --number-processes 2 $IMPORTOSM #--proj EPSG:4326
-psql -d $DBNAME -f sql/create_geography.sql
-psql -d $DBNAME -c "VACUUM FREEZE"
View
2 scripts/postgis_drop_medemblik.sh → scripts/postgis_drop.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#One-off task to delete databases
-DBNAME=medemblik
+DBNAME=$1
# if exists, remove the previous database
dropdb $DBNAME
View
6 scripts/postgis_drop_amsterdam.sh
@@ -1,6 +0,0 @@
-#!/bin/sh
-#One-off task to delete databases
-DBNAME=amsterdam
-
-# if exists, remove the previous database
-dropdb $DBNAME
View
3 scripts/postgis_start.sh
@@ -12,5 +12,6 @@ sudo sysctl -w kern.sysv.shmall=8192
#Starting postgres
echo "Starting postgresql"
-pg_ctl -D /usr/local/var/postgres -l $DIR/server.log -D $DATA start
+#pg_ctl -D /usr/local/var/postgres -l $DIR/server.log -D $DATA start
+pg_ctl -D $DATA -l $DIR/server.log start
View
960 scripts/server.log
@@ -1,20 +1,960 @@
-LOG: database system was shut down at 2012-01-19 12:18:09 CET
+LOG: database system was shut down at 2012-01-20 15:40:14 CET
LOG: autovacuum launcher started
LOG: database system is ready to accept connections
-ERROR: subquery in FROM must have an alias at character 24
-HINT: For example, FROM (SELECT ...) [AS] foo.
-STATEMENT: select count(way) from (select * from planet_osm_line where ST_Within(way, ST_MakeEnvelope(4.88557, 52.36694, 4.91214, 52.37674, 4326)));
-ERROR: syntax error at or near "as" at character 136
-STATEMENT: select count(way) from (select * from planet_osm_line where ST_Within(way, ST_MakeEnvelope(4.88557, 52.36694, 4.91214, 52.37674, 4326))as foo);
-ERROR: syntax error at or near "as" at character 137
-STATEMENT: select count(way) from (select * from planet_osm_line where ST_Within(way, ST_MakeEnvelope(4.88557, 52.36694, 4.91214, 52.37674, 4326)) as foo);
+LOG: received fast shutdown request
+LOG: aborting any active transactions
+LOG: autovacuum launcher shutting down
+LOG: shutting down
+LOG: database system is shut down
+LOG: database system was shut down at 2012-01-23 23:45:44 CET
+LOG: database system is ready to accept connections
+LOG: autovacuum launcher started
+LOG: received fast shutdown request
+LOG: aborting any active transactions
LOG: autovacuum launcher shutting down
-LOG: received smart shutdown request
LOG: shutting down
LOG: database system is shut down
-LOG: database system was shut down at 2012-01-20 14:42:48 CET
+LOG: database system was shut down at 2012-01-24 21:33:19 CET
LOG: autovacuum launcher started
LOG: database system is ready to accept connections
+ERROR: database "bartbaas" already exists
+STATEMENT: CREATE DATABASE bartbaas;
+
+postgres: option requires an argument -- f
+FATAL: invalid command-line arguments for server process
+HINT: Try "postgres --help" for more information.
+postgres: option requires an argument -- f
+FATAL: invalid command-line arguments for server process
+HINT: Try "postgres --help" for more information.
+postgres: option requires an argument -- f
+FATAL: invalid command-line arguments for server process
+HINT: Try "postgres --help" for more information.
+postgres: option requires an argument -- f
+FATAL: invalid command-line arguments for server process
+HINT: Try "postgres --help" for more information.
+postgres: option requires an argument -- f
+FATAL: invalid command-line arguments for server process
+HINT: Try "postgres --help" for more information.
+FATAL: --style requires a value
+postgres: option requires an argument -- f
+FATAL: invalid command-line arguments for server process
+HINT: Try "postgres --help" for more information.
+postgres: option requires an argument -- c
+FATAL: invalid command-line arguments for server process
+HINT: Try "postgres --help" for more information.
+FATAL: lock file "postmaster.pid" already exists
+HINT: Is another postmaster (PID 3290) running in data directory "/Users/bartbaas/data/pgdata"?
+ERROR: database "medemblik" does not exist
+STATEMENT: DROP DATABASE medemblik;
+
+ERROR: database "amsterdam" does not exist
+STATEMENT: DROP DATABASE amsterdam;
+
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (5 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (4 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (4 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (4 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+ERROR: database "netherlands" does not exist
+STATEMENT: DROP DATABASE netherlands;
+
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (10 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (10 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (13 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (14 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (14 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (11 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (10 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (10 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (11 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (10 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (10 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (11 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (11 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (11 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (11 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (11 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (12 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (13 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (11 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (17 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (17 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (16 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (17 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (17 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (17 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (17 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (16 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (17 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (17 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (11 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (10 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (11 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (16 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (22 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (29 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (29 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (28 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (22 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (29 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (29 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (22 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (22 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (22 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (22 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (22 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (22 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (22 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (22 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (22 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (29 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (22 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (22 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (22 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (17 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (28 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (16 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (16 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (22 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (17 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (17 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (17 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (14 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (17 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (16 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (17 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (15 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (16 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (13 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (28 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (17 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (13 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (22 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (28 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (28 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (15 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (29 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (28 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (17 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (28 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (28 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (15 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (28 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (28 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (28 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (29 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (29 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (28 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (28 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (29 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (22 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (17 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (28 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (16 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (29 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (29 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (26 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (23 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (28 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (24 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (27 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (29 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (25 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+ERROR: canceling autovacuum task
+CONTEXT: automatic vacuum of table "netherlands.public.planet_osm_roads"
+LOG: checkpoints are occurring too frequently (11 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (12 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (20 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (21 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (5 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (10 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (12 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (14 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (10 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (11 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (11 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (10 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (11 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (14 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+ERROR: canceling autovacuum task
+CONTEXT: automatic vacuum of table "netherlands.public.planet_osm_ways"
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (15 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (5 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (5 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (5 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (15 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (18 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (19 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (16 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (15 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (22 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (17 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (15 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (15 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+ERROR: canceling autovacuum task
+CONTEXT: automatic vacuum of table "netherlands.public.planet_osm_polygon"
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (4 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (5 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (3 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (5 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (5 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (4 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (10 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (5 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (11 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (5 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (5 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (12 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (10 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (9 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (8 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (11 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (5 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (7 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (6 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (11 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
+LOG: checkpoints are occurring too frequently (12 seconds apart)
+HINT: Consider increasing the configuration parameter "checkpoint_segments".
LOG: received fast shutdown request
LOG: aborting any active transactions
LOG: autovacuum launcher shutting down
View
16 scripts/test_bbox_medemblik.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+DBNAME=amsterdam
+START=$(python -c'import time; print repr(time.time())')
+
+#psql -d $DBNAME -f sql/test_route2.sql
+psql -d $DBNAME -v bbox="4.88557, 52.37674, 4.91214, 52.36694, 4326" -f sql/test_bbox.sql
+END1=$(python -c'import time; print repr(time.time())')
+ECHO "Took: " $(bc -l <<< $END1-$START)
+
+psql -d $DBNAME -v bbox="4.84779, 52.37478, 4.86592, 52.36498, 4326" -f sql/test_bbox.sql
+END2=$(python -c'import time; print repr(time.time())')
+ECHO "Took: " $(bc -l <<< $END2-$END1)
+
+psql -d $DBNAME -v bbox="4.94322, 52.34834, 4.96767, 52.33037, 4326" -f sql/test_bbox.sql
+END3=$(python -c'import time; print repr(time.time())')
+ECHO "Took: " $(bc -l <<< $END3-$END2)
View
20 scripts/test_closepoint_amsterdam.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+DBNAME=amsterdam
+START=$(python -c'import time; print repr(time.time())')
+
+#psql -d $DBNAME -f sql/test_route2.sql
+psql -d $DBNAME -v point="'SRID=4326;POINT(4.8949 52.3692)'" -f sql/test_closestpoint.sql
+END1=$(python -c'import time; print repr(time.time())')
+ECHO "Took: " $(bc -l <<< $END1-$START)
+
+psql -d $DBNAME -v point="'SRID=4326;POINT(4.8949 52.3692)'" -f sql/test_closestpoint.sql
+END2=$(python -c'import time; print repr(time.time())')
+ECHO "Took: " $(bc -l <<< $END2-$END1)
+
+psql -d $DBNAME -v point="'SRID=4326;POINT(4.8949 52.3692)'" -f sql/test_closestpoint.sql
+END3=$(python -c'import time; print repr(time.time())')
+ECHO "Took: " $(bc -l <<< $END3-$END2)
+
+psql -d $DBNAME -v point="'SRID=4326;POINT(4.8949 52.3692)'" -f sql/test_closestpoint.sql
+END4=$(python -c'import time; print repr(time.time())')
+ECHO "Took: " $(bc -l <<< $END4-$END3)
View
2 scripts/test_empty_amsterdam.sh → scripts/test_empty.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-DBNAME=amsterdam
+DBNAME=$1
START=$(python -c'import time; print repr(time.time())')
psql -d $DBNAME -f sql/test_empty.sql
View
5 scripts/test_empty_medemblik.sh
@@ -1,5 +0,0 @@
-#!/bin/sh
-DBNAME=medemblik
-START=$(python -c'import time; print repr(time.time())')
-
-psql -d $DBNAME -f sql/test_empty.sql
View
9 scripts/timer.sh
@@ -1,9 +0,0 @@
-#!/bin/bash
-STARTTIME=$(python -c'import time; print repr(time.time())')
-# do something
-# start your script work here
-./$1
-# your logic ends here
-ENDTIME=$(python -c'import time; print repr(time.time())')
-ECHO "Elapsed time: " $(bc -l <<< $ENDTIME-$STARTTIME)
-./backtodashboard.sh
View
2 sql/create_topology.sql
@@ -29,4 +29,4 @@ delete from network where length is null;
insert into geometry_columns(f_table_catalog, f_table_schema, f_table_name, f_geometry_column, coord_dimension, srid, "type")
select '', 'public', 'network', 'the_geom', ST_CoordDim(the_geom), ST_SRID(the_geom), GeometryType(the_geom)
from network limit 1;
-select assign_vertex_id('network', 0.000001, 'the_geom', 'gid');
+select assign_vertex_id('network', 0.002, 'the_geom', 'gid');
View
2 sql/test_closestpoint.sql
@@ -0,0 +1,2 @@
+Select source_id, ST_Distance(ST_ClosestPoint(pt,line), ST_ClosestPoint(line,pt)) as dist
+FROM (SELECT ST_GeomFromEWKT(:point)::geometry As pt, the_geom As line, source As source_id from network) as Points order by dist limit 1;
View
5 sql/time.sql
@@ -1,5 +0,0 @@
-declare @sttime datetime
-set @sttime=getdate()
-print @sttime
-Select * from Table1
-SELECT RTRIM(CAST(DATEDIFF(MS, @sttime, GETDATE()) AS CHAR(10))) AS 'TimeTaken'

0 comments on commit d840230

Please sign in to comment.
Something went wrong with that request. Please try again.