From 1aba62ec635f5852bc45ce65482366e541e61ff5 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Tue, 8 Sep 2015 12:51:42 -0300 Subject: Allow per-tablespace effective_io_concurrency Per discussion, nowadays it is possible to have tablespaces that have wildly different I/O characteristics from others. Setting different effective_io_concurrency parameters for those has been measured to improve performance. Author: Julien Rouhaud Reviewed by: Andres Freund --- src/include/utils/spccache.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/utils') diff --git a/src/include/utils/spccache.h b/src/include/utils/spccache.h index bdd1c0fc06..e466f36d18 100644 --- a/src/include/utils/spccache.h +++ b/src/include/utils/spccache.h @@ -15,5 +15,6 @@ void get_tablespace_page_costs(Oid spcid, float8 *spc_random_page_cost, float8 *spc_seq_page_cost); +int get_tablespace_io_concurrency(Oid spcid); #endif /* SPCCACHE_H */ -- cgit v1.2.1