Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Updating data in table best approach

$
0
0

I have a table which has 10 partition and each partition has 100 million rows, I have to update one row in each partition so total 10 rows need to be updated. If I scan each partation for updating the rows, since each row belong to different partition I need to scan 1 billion rows that will be very costly. What is best way to save cost and time while upating this data.

I tried noramally scanning and updating the data in each partition. I want ot reduce time and cost and want some better apporach.


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>