postgresql_16:7.1.85.2 Parameters
PostgreSQL 16 > Reference > SQL Commands > CREATE TABLESPACE > Parameters
*tablespace_name*
The name of a tablespace to be created. The name cannot begin with pg_, as such names are reserved for system tablespaces.
*user_name*
The name of the user who will own the tablespace. If omitted, defaults to the user executing the command. Only superusers can create tablespaces, but they can assign ownership of tablespaces to non-superusers.
*directory*
The directory that will be used for the tablespace. The directory must exist (CREATE TABLESPACE will not create it), should be empty, and must be owned by the PostgreSQL system user. The directory must be specified by an absolute path name.
*tablespace_option*
A tablespace parameter to be set or reset. Currently, the only available parameters are seq_page_cost, random_page_cost, effective_io_concurrency and maintenance_io_concurrency. Setting these values for a particular tablespace will override the planner's usual estimate of the cost of reading pages from tables in that tablespace, and the executor's prefetching behavior, as established by the configuration parameters of the same name (see (see guc-seq-page-cost), (see guc-random-page-cost), (see guc-effective-io-concurrency), (see guc-maintenance-io-concurrency)). This may be useful if one tablespace is located on a disk which is faster or slower than the remainder of the I/O subsystem.