mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
Update scaling-fleet.md (#14285)
Fix link to the list of tables referencing the hosts table (for manual cleanup).
This commit is contained in:
parent
b9a8872fab
commit
a223cbc5c2
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ However, this database feature doesn’t come without a cost. The one to focus o
|
|||
|
||||
The TLDR is: understand very well how a table will be used. If we do bulk inserts/updates, InnoDB might lock more than you anticipate and cause issues. This is not an argument to not do bulk inserts/updates, but to be very careful when you add a foreign key.
|
||||
|
||||
In particular, host_id is a foreign key we’ve been skipping in all the new additional host data tables, which is not something that comes for free, as with that, [we have to keep the data consistent by hand with cleanups](https://github.com/fleetdm/fleet/blob/main/server/datastore/mysql/hosts.go#L309-L309).
|
||||
In particular, host_id is a foreign key we’ve been skipping in all the new additional host data tables, which is not something that comes for free, as with that, [we have to keep the data consistent by hand with cleanups](https://github.com/fleetdm/fleet/blob/71a237042a9c39a45bc8f9c76465e5ff6039eba9/server/datastore/mysql/hosts.go#L444).
|
||||
|
||||
### In this section
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue