2
0

spccache.h 688 B

123456789101112131415161718192021
  1. /*-------------------------------------------------------------------------
  2. *
  3. * spccache.h
  4. * Tablespace cache.
  5. *
  6. * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
  7. * Portions Copyright (c) 1994, Regents of the University of California
  8. *
  9. * src/include/utils/spccache.h
  10. *
  11. *-------------------------------------------------------------------------
  12. */
  13. #ifndef SPCCACHE_H
  14. #define SPCCACHE_H
  15. extern void get_tablespace_page_costs(Oid spcid, float8 *spc_random_page_cost,
  16. float8 *spc_seq_page_cost);
  17. extern int get_tablespace_io_concurrency(Oid spcid);
  18. extern int get_tablespace_maintenance_io_concurrency(Oid spcid);
  19. #endif /* SPCCACHE_H */