Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4c9a964

Browse files
committed
pathman: limits raised
1 parentf0a0cfe commit4c9a964

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
#defineOP_STRATEGY_GE 4
1515
#defineOP_STRATEGY_GT 5
1616

17-
#defineBLOCKS_COUNT1024
17+
#defineBLOCKS_COUNT10240
1818

1919
/*
2020
* Partitioning type

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp