Events and triggers are a bit problematic in a cluster like Galera. If
you ask whether they are supported, the answer is yes. You can
definitively create them. The problem is to try to understand what
they do when executed. Most likely your event will be replicated on
all nodes, and execute on all nodes at the same time. With interesting
results.
So my advice is to simply use a cron job or something in your
application for this purpose. This is not restricted to Galera - I
have seen a lot of mess created by using events together with MySQL
replication too.
If you were asking whether events are somehow magically cluster-wide
in a Galera cluster, then the answer is no. They exist on each MySQL
node individually. They are replicated, and the results of whatever
transactions they execute are also replicated. But using them is
probably very counterintuitive and hard to manage.
> --
>
>
--
henri...@avoinelama.fi
+358-40-8211286 skype: henrik.ingo irc: hingo
www.openlife.cc
My LinkedIn profile:
http://www.linkedin.com/profile/view?id=9522559