diff --git a/config-templates/tables.sql b/config-templates/tables.sql
new file mode 100644
index 0000000000000000000000000000000000000000..9e1a65c35cb4326601a1144d7ee9a177f80766d1
--- /dev/null
+++ b/config-templates/tables.sql
@@ -0,0 +1,27 @@
+#Statistics for proxy
+CREATE TABLE statistics_proxy (
+	year INT NOT NULL,
+	month INT NOT NULL,
+	day INT NOT NULL,
+	sourceIdp VARCHAR(255) NOT NULL,
+	count INT,
+	INDEX (sourceIdp),
+	INDEX (year),
+	INDEX (year,month),
+	INDEX (year,month,day),
+	PRIMARY KEY (year, month, day, sourceIdp)
+);
+
+#Statistics for services
+CREATE TABLE statistics_services( 
+	year INT NOT NULL,
+	month INT NOT NULL,
+	day INT NOT NULL,
+	service VARCHAR(255) NOT NULL,
+	count INT,
+	INDEX (service),
+	INDEX (year),
+	INDEX (year,month),
+	INDEX (year,month,day),
+	PRIMARY KEY (year, month, day, service)
+);
\ No newline at end of file