summaryrefslogtreecommitdiff
path: root/src/include/commands
diff options
context:
space:
mode:
authorAlvaro Herrera2015-09-08 15:51:42 +0000
committerAlvaro Herrera2015-09-08 15:51:42 +0000
commit1aba62ec635f5852bc45ce65482366e541e61ff5 (patch)
tree1161cc00324cb8d229b831a944432646ae1552d5 /src/include/commands
parent665a00c9e2598e3be366cb9f99c0a04a51dd8c7a (diff)
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
Diffstat (limited to 'src/include/commands')
-rw-r--r--src/include/commands/tablespace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/commands/tablespace.h b/src/include/commands/tablespace.h
index 6b928a58a01..be9582a2035 100644
--- a/src/include/commands/tablespace.h
+++ b/src/include/commands/tablespace.h
@@ -39,6 +39,7 @@ typedef struct TableSpaceOpts
int32 vl_len_; /* varlena header (do not touch directly!) */
float8 random_page_cost;
float8 seq_page_cost;
+ int effective_io_concurrency;
} TableSpaceOpts;
extern Oid CreateTableSpace(CreateTableSpaceStmt *stmt);