Redshift UPDATE prohibitively slow
问题 I have a table in a Redshift cluster with ~1 billion rows. I have a job that tries to update some column values based on some filter. Updating anything at all in this table is incredibly slow. Here's an example: SELECT col1, col2, col3 FROM SOMETABLE WHERE col1 = 'a value of col1' AND col2 = 12; The above query returns in less than a second, because I have sortkeys on col1 and col2 . There is only one row that meets this criteria, so the result set is just one row. However, if I run: UPDATE