Question d’entretien chez Xero

How would you optimise a stored procedure?