MySQL Forums
Forum List  »  PHP

Re: Asynchronous Execution
Posted by: Andrey Hristov
Date: January 30, 2006 05:33AM

Hi,
well, there is a way. You have to use some scheduler which will execute your code in another thread. Check this one : http://rpbouman.blogspot.com/2005/10/scheduling-procedure-execution-in.html , I suppose you have to have one always running connection. This solution is 5.0 and all user space. The alternative is EVENTS scheduler which will be available starting 5.1.6, you can read more about it here : http://dev.mysql.com/tech-resources/articles/event-feature.html . You can dynamically generate an event that executes a query asynchronously. The alerting should be poll and not push.

HTH

Andrey Hristov, Software Developer
MySQL AB, www.mysql.com

Options: ReplyQuote


Subject
Written By
Posted
January 29, 2006 10:26PM
January 30, 2006 03:27AM
Re: Asynchronous Execution
January 30, 2006 05:33AM


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.