grouper-users - [grouper-users] PIT table functionality and Grouper database size control
Subject: Grouper Users - Open Discussion List
List archive
- From: Rory Larson <>
- To: "" <>
- Subject: [grouper-users] PIT table functionality and Grouper database size control
- Date: Tue, 13 Nov 2018 04:21:37 +0000
- Accept-language: en-US
- Ironport-phdr: 9a23:VJgbbxwizP0DyufXCy+O+j09IxM/srCxBDY+r6Qd2+0eIJqq85mqBkHD//Il1AaPAd2Eraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94HRbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDwULs6Wymt771zRRHolikJKiI5/m/UhMxxkK1UrwmsqAZjz4LIeoyZKOZycr3bcNgHRWRBRMFRVylZD42gaIsPFeoANvteoYbnvVsOthy+BQ+xD+7o1jFGgGX53bch0+QmFwHLxwogEMwVv3TOttr1L6QSXvqvwKbW0DrDcupb1DHg44bLahAsueyAUL1zfMbL1EUiFg3Igk+NpYHqPT6ZzPkBvmyZ4uZ4SO6jlWoqpxt1rzWh3Msgl4rEi40Pxl3L8Sh12Ig1KsO7RUJnZNOpFZVQuD2ZOoRtR84tXWJltzgkxbADpZG2fjMFxIkiyhPeZfGKcI6F6Q/5WumLOzd3nndldaq/hxms9UigzfXxVsy70VpWtCVJi8XAumwT2xHc68WKRedx8lm71TaXzwDT6uZEIVsolaXFNpEt2KI/lp0WsUjbHy/2nlv5jLOOe0k59eWl6P7rbqjnq5KSLYN4lw7zP6Y0lsCiBek1MBACX22B9uS90L3j81f5QLJPjvAuiqnZqo7aJd8Dq6KlAAJY0oYu5AijAzqk1NkVnmULIUpfeBKDlYfpIUrOIPf+DfqkhVSjjixkx+rcMb36AZXCNGLPn6n8crZg80Jc0hY8zchD55JIDbEMOP3zWlX2tNzFFh82LRa0z//6CNVmyIweQ3mPD7SdMKPTql+I+vkvL/eWaI8Uvjb9N+Yq5+TojXAnhV8RY7Ol0oUKZ3ClTbxaJBDTbmDrn88MCyIXpQckV8TrjkGPSzheeyz0Uq4hrHlvB5ihEJ/OXMWwm7Gbxw+6GIFbfGZLFgrKHHv1IdaqQfAJPRiVON4ptjUeTr+nA9sb8Ri0rwj847xqJPDd4S4R85/vyY4mtKXoiRgu+GksXIym2GaXQjQskw==
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Hi all, I'd like to revisit an issue we were discussing at the end of January and the beginning of February. We have a Grouper database on a physical server that cannot expand its disk space, and the database is growing to around 80% - 90% of
the disk and theatening to choke itself. The database is MariaDB, which does not free up space when records are deleted in the usual way. Last February, we were able to get 38 GB back by truncating the grouper_audit_entry table, and that solved the immediate
crisis. Now we are back to the same situation again, driven in part by two large PIT tables, grouper_pit_group_set and grouper_pit_memberships. If I were to truncate these tables, i.e. delete all data in them while leaving the tables intact, would it do any damage to Grouper as a functioning system? Yes, I would lose the history. Alternatively, we might try deleting just the inactive records from these tables. I believe these would be all the ones where active = 'F'. Or, Shilen kindly shared a gsh command last January 29: gsh% edu.internet2.middleware.grouper.pit.PITUtils.deleteInactiveRecords(new Date(), true); On a test server, this seemed to be deleting other than just the PIT tables, and at present is dying with a Java error before it gets to them. In either case, we would presumably have to do a mysqldump, table delete, and restore from the
dump file to get the space. Would this be safe to do with only the Grouper loader off, or would we need to take down Grouper altogether? Thanks, Rory |
- [grouper-users] PIT table functionality and Grouper database size control, Rory Larson, 11/13/2018
Archive powered by MHonArc 2.6.19.