-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add unique indexes for Containers tables #19
Add unique indexes for Containers tables #19
Commits on May 10, 2018
-
Cleanup duplicates before adding uniq keys on Container tables
Cleanup duplicates before adding uniq keys on Container tables
Configuration menu - View commit details
-
Copy full SHA for 2a88a92 - Browse repository at this point
Copy the full SHA 2a88a92View commit details -
Add unique indexes to Containers tables
Add unique indexes to Containers tables
Configuration menu - View commit details
-
Copy full SHA for 8f455c0 - Browse repository at this point
Copy the full SHA 8f455c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45297f1 - Browse repository at this point
Copy the full SHA 45297f1View commit details -
Move the migrations to a newer date
Move the migrations to a newer date
Configuration menu - View commit details
-
Copy full SHA for 9c0172d - Browse repository at this point
Copy the full SHA 9c0172dView commit details -
Add Comp.System, Hardware and Op. System indexes
Add Comp.System, Hardware and Op. System indexes
Configuration menu - View commit details
-
Copy full SHA for aa13a26 - Browse repository at this point
Copy the full SHA aa13a26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95d8573 - Browse repository at this point
Copy the full SHA 95d8573View commit details -
ContainerDefinition model was deleted
ContainerDefinition model was deleted
Configuration menu - View commit details
-
Copy full SHA for 853d393 - Browse repository at this point
Copy the full SHA 853d393View commit details -
ContainerServicePortConfig index should be service_id + name
ContainerServicePortConfig index should be service_id + name
Configuration menu - View commit details
-
Copy full SHA for 0b10b49 - Browse repository at this point
Copy the full SHA 0b10b49View commit details -
container_component_statuses table was removed
container_component_statuses table was removed
Configuration menu - View commit details
-
Copy full SHA for ea662c8 - Browse repository at this point
Copy the full SHA ea662c8View commit details -
Adding unique index for ContainerQuotaScope
Adding unique index for ContainerQuotaScope
Configuration menu - View commit details
-
Copy full SHA for de1a966 - Browse repository at this point
Copy the full SHA de1a966View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64f86f9 - Browse repository at this point
Copy the full SHA 64f86f9View commit details -
Keep latest duplicate instead of the oldest duplicate
Keep latest duplicate instead of the oldest duplicate
Configuration menu - View commit details
-
Copy full SHA for 07510bf - Browse repository at this point
Copy the full SHA 07510bfView commit details -
Optimizing DB duplicates cleanup
Optimizing DB duplicates cleanup, trying a query posted on PG wiki https://wiki.postgresql.org/wiki/Deleting_duplicates It works like a charm, on a table with 600k rows it took more than 3hours (it never finished, who know how long it would have took) With this change, it cleans 600k table in about 3s.
Configuration menu - View commit details
-
Copy full SHA for e2990d4 - Browse repository at this point
Copy the full SHA e2990d4View commit details -
Fix rubocop and code climate issues
Fix rubocop and code climate issues
Configuration menu - View commit details
-
Copy full SHA for 3e0ea8a - Browse repository at this point
Copy the full SHA 3e0ea8aView commit details -
Add missing tables and fields comparing to inventory_collections.rb
Add missing tables and fields comparing to inventory_collections.rb
Configuration menu - View commit details
-
Copy full SHA for 4f0e542 - Browse repository at this point
Copy the full SHA 4f0e542View commit details -
Manually define index name for container_volumes
Manually define index name for container_volumes, since the generated is too long
Configuration menu - View commit details
-
Copy full SHA for 226a8ff - Browse repository at this point
Copy the full SHA 226a8ffView commit details -
Properly define partial indexes for OS and Hardware
Properly define partial indexes for OS and Hardware, this way it will be usable for upsert, since we always define 1 foreign_key and the rest is NULL.
Configuration menu - View commit details
-
Copy full SHA for 88ff3b8 - Browse repository at this point
Copy the full SHA 88ff3b8View commit details -
Modify container_quota_items unique index according to latest plans
Modify container_quota_items unique index according to latest plans, where we want to keep archived quota_items untouched.
Configuration menu - View commit details
-
Copy full SHA for d4d9d96 - Browse repository at this point
Copy the full SHA d4d9d96View commit details -
CustomAtribute index without unique_name
CustomAtribute index without unique_name, which is used only under OpenStack
Configuration menu - View commit details
-
Copy full SHA for 5edeb5e - Browse repository at this point
Copy the full SHA 5edeb5eView commit details -
Separate index for ContainerVolume and PersistentVolume
Separate index for ContainerVolume and PersistentVolume
Configuration menu - View commit details
-
Copy full SHA for 94cd6e5 - Browse repository at this point
Copy the full SHA 94cd6e5View commit details