Skip to content

Commit

Permalink
less fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
RekGRpth committed Oct 24, 2024
1 parent ad7df3a commit aa89101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quotamodel.c
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ calculate_table_disk_usage(StringInfo active_oids, bool is_init)
do
{
SPI_freetuptable(SPI_tuptable);
SPI_cursor_fetch(portal, true, 10000);
SPI_cursor_fetch(portal, true, 1000);
for (uint64 row = 0; row < SPI_processed; row++)
{
HeapTuple val = SPI_tuptable->vals[row];
Expand Down

0 comments on commit aa89101

Please sign in to comment.