PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
void | get_tablespace_page_costs (Oid spcid, float8 *spc_random_page_cost, float8 *spc_seq_page_cost) |
int | get_tablespace_io_concurrency (Oid spcid) |
int | get_tablespace_maintenance_io_concurrency (Oid spcid) |
int get_tablespace_io_concurrency | ( | Oid | spcid | ) |
Definition at line 215 of file spccache.c.
References effective_io_concurrency, TableSpaceOpts::effective_io_concurrency, get_tablespace(), and TableSpaceCacheEntry::opts.
Referenced by ExecInitBitmapHeapScan(), and read_stream_begin_impl().
int get_tablespace_maintenance_io_concurrency | ( | Oid | spcid | ) |
Definition at line 229 of file spccache.c.
References get_tablespace(), maintenance_io_concurrency, TableSpaceOpts::maintenance_io_concurrency, and TableSpaceCacheEntry::opts.
Referenced by heap_index_delete_tuples(), and read_stream_begin_impl().
void get_tablespace_page_costs | ( | Oid | spcid, |
float8 * | spc_random_page_cost, | ||
float8 * | spc_seq_page_cost | ||
) |
Definition at line 182 of file spccache.c.
References Assert, get_tablespace(), TableSpaceCacheEntry::opts, random_page_cost, TableSpaceOpts::random_page_cost, seq_page_cost, and TableSpaceOpts::seq_page_cost.
Referenced by brincostestimate(), cost_bitmap_heap_scan(), cost_index(), cost_samplescan(), cost_seqscan(), cost_tidrangescan(), cost_tidscan(), genericcostestimate(), gincostestimate(), and system_time_samplescangetsamplesize().