[Groonga-commit] groonga/wikipedia-search at f55299a [master] Restart PostgreSQL before creating index

Back to archive index

Kouhei Sutou null+****@clear*****
Sun May 24 11:15:27 JST 2015


Kouhei Sutou	2015-05-24 11:15:27 +0900 (Sun, 24 May 2015)

  New Revision: f55299a7547cc14982bbe1397c0affff6a29eb14
  https://github.com/groonga/wikipedia-search/commit/f55299a7547cc14982bbe1397c0affff6a29eb14

  Message:
    Restart PostgreSQL before creating index

  Modified files:
    benchmark/centos6/pgroonga.sh

  Modified: benchmark/centos6/pgroonga.sh (+4 -0)
===================================================================
--- benchmark/centos6/pgroonga.sh    2015-05-23 23:36:29 +0900 (d3b382c)
+++ benchmark/centos6/pgroonga.sh    2015-05-24 11:15:27 +0900 (1e8a678)
@@ -140,6 +140,8 @@ load_data()
 
 benchmark_create_index_pgroonga()
 {
+  run sudo -H /sbin/service postgresql-9.4 restart
+
   for i in $(seq ${n_load_tries}); do
     echo "PGroonga: create index: ${i}:"
     run sudo -u postgres -H psql -d ${pgroonga_db} \
@@ -156,6 +158,8 @@ benchmark_create_index_pgroonga()
 
 benchmark_create_index_pg_bigm()
 {
+  run sudo -H /sbin/service postgresql-9.4 restart
+
   for i in $(seq ${n_load_tries}); do
     echo "pg_bigm: create index: ${i}:"
     run sudo -u postgres -H psql -d ${pg_bigm_db} \
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index