PostgreSQL Tablespace
What is postgresql tablespace: Tablespace is a logical storage to map a logical name(tbs1) to a physical location on disk(/u02/tbs1) Postgres tablespaces are cluster level objects User/superuser must have CREATE privilege create tablespaces, but they can assign ownership of tablespaces to Non-superusers/Non- CREATE privilege users By default, the user who executed the CREATE TABLESPACE is the owner of the tablespace. The statement also allows assign the ownership of tablespace to another user specified in the OWNER clause. Condition: The name of the tablespace should not begin with pg_, because these names are reversed for the system tablespaces. The directory must be empty and must be owned by the PostgreSQL system user. The directory must be specified by an absolute path name. The location must not be on removable or transient storage, as the cluster might fail to function if the tablespace is missing or lost. Uses Of Tablespace : if a partition on w...