MySQL Forums
Forum List  »  Spanish

Re: UPDATE - Actualizando acumulados
Posted by: William Chiquito
Date: June 11, 2007 01:49PM

Hola Jordi,

¿Has pensado en usar triggers? Esto te puede ayudar de manera que calculas los acumulados cuando se hace una operación (INSERT, UPDATE, DELETE) sobre la tabla T_DATA. Es decir, no se calcularían los acumulados periodicamente sino al momento de hacer algún cambio sobre la tabla T_DATA.

Considero que de esta forma te evitas largas esperas para actualizar acumulados.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: UPDATE - Actualizando acumulados
2980
June 11, 2007 01:49PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.