-
Notifications
You must be signed in to change notification settings - Fork 848
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
varchar Type segmentby Columns Not Used for Filtering Prior to Decompression #3351
Labels
Comments
svenklemm
added a commit
to svenklemm/timescaledb
that referenced
this issue
Jun 25, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
svenklemm
added a commit
to svenklemm/timescaledb
that referenced
this issue
Jun 25, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
svenklemm
added a commit
to svenklemm/timescaledb
that referenced
this issue
Jun 25, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
svenklemm
added a commit
to svenklemm/timescaledb
that referenced
this issue
Jun 25, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
svenklemm
added a commit
to svenklemm/timescaledb
that referenced
this issue
Jun 25, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
svenklemm
added a commit
that referenced
this issue
Jun 25, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes #3351
mkindahl
pushed a commit
to mkindahl/timescaledb
that referenced
this issue
Jun 29, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
mkindahl
pushed a commit
to mkindahl/timescaledb
that referenced
this issue
Jun 29, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
mkindahl
pushed a commit
to mkindahl/timescaledb
that referenced
this issue
Jun 29, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
mkindahl
pushed a commit
to mkindahl/timescaledb
that referenced
this issue
Jun 29, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
mkindahl
pushed a commit
to mkindahl/timescaledb
that referenced
this issue
Jun 29, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
mkindahl
pushed a commit
to mkindahl/timescaledb
that referenced
this issue
Jun 30, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
mkindahl
pushed a commit
to mkindahl/timescaledb
that referenced
this issue
Jun 30, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
mkindahl
pushed a commit
to mkindahl/timescaledb
that referenced
this issue
Jun 30, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
mkindahl
pushed a commit
to mkindahl/timescaledb
that referenced
this issue
Jun 30, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
mkindahl
pushed a commit
to mkindahl/timescaledb
that referenced
this issue
Jun 30, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
mkindahl
pushed a commit
to mkindahl/timescaledb
that referenced
this issue
Jun 30, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
mkindahl
pushed a commit
to mkindahl/timescaledb
that referenced
this issue
Jun 30, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
mkindahl
pushed a commit
to mkindahl/timescaledb
that referenced
this issue
Jun 30, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
mkindahl
pushed a commit
to mkindahl/timescaledb
that referenced
this issue
Jun 30, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
mkindahl
pushed a commit
to mkindahl/timescaledb
that referenced
this issue
Jul 5, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes timescale#3351
mkindahl
pushed a commit
that referenced
this issue
Jul 6, 2021
Allow pushdown of RelabelType expressions into the scan below the DecompressChunk node. When using varchar columns as segmentby columns constraints on those columns would not be pushed down because postgres would inject RelabelType nodes that where not accepted as valid expression for pushdown leading to bad performance because the filter could only be applied after decompression. Fixes #3351
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Relevant system information:
postgres --version
): 13.3\dx
inpsql
): 2.3.0Describe the bug
segmentby columns of type
varchar
are not evaluated for exclusion prior to decompression, while segmentby columns of typetext
are, regardless of casting at query time.To Reproduce
Expected behavior
In the explain, analyze, I would expect something like this, which shows the filter running before compression:
Actual behavior
What I see instead is this, showing filtering only happens after decompression:
The text was updated successfully, but these errors were encountered: