You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement functionality of pt-archiver --purge - in pure SQL as a stored procedure.
Initially, we will need only the following parameters, as they exist in pt-archiver:
--database
--source
--dest (initially only NULL until archiving part is implemented)
--where
--sleep
--commit-each
--txn-size
Should be implemented by using a single once-prepared statement, executed multiple times with EXECUTE ... USING ... for optimal performance.
This should make it significantly faster in some cases than pt-archiver, because it will evade the communication overhead between pt-archiver and the database.
The text was updated successfully, but these errors were encountered:
Implement functionality of
pt-archiver --purge
- in pure SQL as a stored procedure.Initially, we will need only the following parameters, as they exist in pt-archiver:
Should be implemented by using a single once-prepared statement, executed multiple times with
EXECUTE ... USING ...
for optimal performance.This should make it significantly faster in some cases than pt-archiver, because it will evade the communication overhead between pt-archiver and the database.
The text was updated successfully, but these errors were encountered: