some confusion about parallel insert select in postgres parallel dml develop

Started by jiyeover 2 years ago1 messageshackers

Thread notes

1 note#discussion
hackorum-bot#discussion
hackorum-bot
1 day ago

@global #discussion

#discussion
Jump to latest
#1jiye
jiye_sw@126.com

Dears,

this is a developer of postgresql and currently engaged in research of parallel dml. I read lot of mail list about postgres parallel insert select or other related developing jobs,
but i could not understand why should we determine parallel-safety of partition relations in parallel dml even just allow parallel query in insert select statement ,
i consider that modify job do in leader process and partition exprs check also in leader node, isn't that safty enough. in the other words, if we only build a parallel query planner in insert select and forbit parallel insert jobs, should we skip any parallel safty check about target relation and build parallel query plan directly ?

could anyone give me some suggestion about this confusions.

Best Regards

Tomas Ji

| |
jiye
|
|
jiye_sw@126.com
|