Quantcast
Channel: Update Large Table - Database Administrators Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by a1ex07 for Update Large Table

I think you can try adding LIMIT to your update (and modify a bit WHERE to filter out already changed records). If you do, for instance, LIMIT 100, it won't take 1 day. Surely, if you want to change...

View Article



Answer by RolandoMySQLDBA for Update Large Table

Answer to question 1This should do it for youUPDATE user_activity aINNER JOIN user_profile b USING (user_profile_id)SET a.user_profile_id_int = b.user_profile_id_int;This will work in MySQL. If you are...

View Article

Update Large Table

I have these two tables:user_profile:user_profile_id_int int primary key user_profile_id varcharuser_activity:user_profile_id_int int keyuser_profile_id varcharboth fields in user_profile are ok but I...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images

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