'Parallel Safety' in CBDB style parallel plan
- Vorherrschende Sprache
- C
- Sterne
- 1.4k
- Forks
- 247
- Ø Merge
- 4 T. 3 Std.
- Gemergte PRs (30 T.)
- 39
Beschreibung
### Cloudberry Database version
_No response_
### What happened
According to https://www.postgresql.org/docs/14/parallel-safety.html
> The planner classifies operations involved in a query as either parallel safe, parallel restricted, or parallel unsafe. A parallel safe operation is one that does not conflict with the use of parallel query. A parallel restricted operation is one that cannot be performed in a parallel worker, but that can be performed in the leader while parallel query is in use.
However, in our CBDB style parallel, there is no leader process at all.
The `parallel restricted` concept should be reconsidered.
### What you think should happen instead
_No response_
### How to reproduce
NA
### Operating System
NA
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes, I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://cloudberrydb.org/community/coc).
Beitragsleitfaden
Rechercherichtung
Beginnen Sie damit, die Dokumentation zur Parallel-Sicherheit von PostgreSQL 14 zu lesen und ihre Leader/Worker-Annahmen mit der hier beschriebenen parallelen Ausführung im CBDB-Stil zu vergleichen. Als erledigt gilt die Aufgabe, wenn der Umgang mit dem Konzept parallel-restricted entschieden und eine entsprechende dokumentierte oder implementierte Änderung vorgenommen wurde; dieses Issue nennt jedoch keine Dateien oder Tests.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- postgresql
- Bereich
- databases, distributed-systems
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 20/100