Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Slow update

$
0
0
Hi, I have a table with over 500K rows, and I want to update some
"timestamp without time zone" fields.

UPDATE order_update SET last_attempt_ts = (last_attempt_ts AT TIME ZONE 'EST') AT TIME ZONE 'UTC';

But this sql is slow, is there a better and faster way to do this ?

Viewing all articles
Browse latest Browse all 13329

Trending Articles