Replies: 4 comments 2 replies
-
|
Altering the pk's of (This also alters |
Beta Was this translation helpful? Give feedback.
-
|
As I see it, any kind of log-style table that will only ever grow should really have The only place I've seen a real-world wrap-around that became a problem was a customer NAV installation that had been running for years and years, where one of the most updated log-style tables had to have its schema changed in production from |
Beta Was this translation helpful? Give feedback.
-
|
.. and sounds like step 1 in getting Argus 2 out is a 1.37 or so to just do this int to bigint migration.. on it. |
Beta Was this translation helpful? Give feedback.
-
|
This has been done, closing the discussion. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
After running "VACUUM ANALYZE" on a copy of a prod site db to generate some stats I get:
These will grow forever and are AFAICS the only ones relevant for bigints.
argus_incident_incidenttagrelationis a many to many betweenargus_incident_incidentandargus_incident_tagusing an explicit through-table which means it has an implicit primary key that will never be used for anything, it is possiblye a good test case for experimentation.
This database is small enough that it might be possible to migrate in one go without doing it at scale.
Beta Was this translation helpful? Give feedback.
All reactions