2010-01-05 22:54:00 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* spccache.h
|
|
|
|
* Tablespace cache.
|
|
|
|
*
|
2023-01-02 21:00:37 +01:00
|
|
|
* Portions Copyright (c) 1996-2023, 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
|
|
|
|
|
2022-05-12 18:17:14 +02:00
|
|
|
extern void get_tablespace_page_costs(Oid spcid, float8 *spc_random_page_cost,
|
2010-01-05 22:54:00 +01:00
|
|
|
float8 *spc_seq_page_cost);
|
2022-05-12 18:17:14 +02:00
|
|
|
extern int get_tablespace_io_concurrency(Oid spcid);
|
|
|
|
extern int get_tablespace_maintenance_io_concurrency(Oid spcid);
|
2010-01-05 22:54:00 +01:00
|
|
|
|
|
|
|
#endif /* SPCCACHE_H */
|