Skip to content

Commit 4c9a964

Browse files
committed
pathman: limits raised
1 parent f0a0cfe commit 4c9a964

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

contrib/pathman/init.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ create_part_relations_hashtable()
103103
hash_destroy(relations);
104104

105105
relations = ShmemInitHash("Partitioning relation info",
106-
32, 32,
106+
1024, 1024,
107107
&ctl, HASH_ELEM);
108108
// &ctl, HASH_ELEM | HASH_BLOBS);
109109
}
@@ -188,7 +188,7 @@ create_hash_restrictions_hashtable()
188188
hash_destroy(hash_restrictions);
189189

190190
hash_restrictions = ShmemInitHash("pg_pathman hash restrictions",
191-
128, 128,
191+
1024, 1024,
192192
&ctl, HASH_ELEM | HASH_BLOBS);
193193
}
194194

@@ -321,7 +321,7 @@ create_range_restrictions_hashtable()
321321
ctl.keysize = sizeof(int);
322322
ctl.entrysize = sizeof(RangeRelation);
323323
range_restrictions = ShmemInitHash("pg_pathman range restrictions",
324-
512, 512,
324+
1024, 1024,
325325
&ctl, HASH_ELEM | HASH_BLOBS);
326326
}
327327

contrib/pathman/pathman.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#define OP_STRATEGY_GE 4
1515
#define OP_STRATEGY_GT 5
1616

17-
#define BLOCKS_COUNT 1024
17+
#define BLOCKS_COUNT 10240
1818

1919
/*
2020
* Partitioning type

0 commit comments

Comments
 (0)