2010-01-05 22:54:00 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* spccache.h
|
|
|
|
* Tablespace cache.
|
|
|
|
*
|
2021-01-02 19:06:25 +01:00
|
|
|
* Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
|
2010-01-05 22:54:00 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
2010-09-20 22:08:53 +02:00
|
|
|
* src/include/utils/spccache.h
|
2010-01-05 22:54:00 +01:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef SPCCACHE_H
|
|
|
|
#define SPCCACHE_H
|
|
|
|
|
|
|
|
void get_tablespace_page_costs(Oid spcid, float8 *spc_random_page_cost,
|
|
|
|
float8 *spc_seq_page_cost);
|
2015-09-08 17:51:42 +02:00
|
|
|
int get_tablespace_io_concurrency(Oid spcid);
|
2020-03-16 00:31:34 +01:00
|
|
|
int get_tablespace_maintenance_io_concurrency(Oid spcid);
|
2010-01-05 22:54:00 +01:00
|
|
|
|
|
|
|
#endif /* SPCCACHE_H */
|