Commit graph

8 commits

Author SHA1 Message Date
Pierre-Yves Chibon
a84d763068 Add a default table to the partition
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-01-25 16:20:48 +01:00
Pierre-Yves Chibon
41f60da94f Drop un-used variable
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-01-25 16:20:08 +01:00
Pierre-Yves Chibon
115d58d385 Don't assume all the messages have a year, at least for now
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-01-25 15:14:47 +01:00
Pierre-Yves Chibon
eadb27c640 Adjust the how to save the year in the messages table
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-01-25 15:14:00 +01:00
Pierre-Yves Chibon
b189c95395 Add first work on the migration SQL file to partition the DG DB
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-01-25 15:13:10 +01:00
Pierre-Yves Chibon
c9f2e991b0 Improve the test_db_perfs script a bit
* Reset the stats between runs so the number of fail/succeed runs
  show correctly
* Add a couple of URL to test
* Don't assume we always have a raw_messages in the JSON returned
* Print the time per requests even if there are no successfull requests

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-01-25 15:12:29 +01:00
Pierre-Yves Chibon
936f36ac3b Simplify the logging and just log to stderr for now
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-01-22 13:15:05 +01:00
Pierre-Yves Chibon
cb3e97ad10 Add a script to test datagrepper's performances on different hosts
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-01-22 11:28:56 +01:00