Re: Mysql and Flashback

2008-11-25 Thread Howard Hart
slave lag should be easy to do with a simple bash script. i.e. - desired_delay=3600 # one hour lag while sleep 60 do behind=`mysql -u root --password=foobar -e "show slave status\G" | grep 'Seconds_Behind_Master:' | awk '{ printf "%s\n", $2 }'` if [ $behind < $desired_delay ]; then mys

Re: Mysql and Flashback

2008-11-25 Thread ewen fortune
Hi Shain, If you are using InnoDB its possible to patch to allow this functionality. Percona are in the early stages of developing a patch specifically to allow flashback type access to previous table states. https://bugs.launchpad.net/percona-patches/+bug/301925 If you wanted to go down the sl

Mysql and Flashback

2008-11-25 Thread Shain Miley
Hello, We are planning on trying to do an Oracle to MySQL migration in the near future. The issue of a Mysql equivalent to Oracle's flashback was being discussed. After some digging it appears that there is no such feature in Mysql. One thought that I had was to do some intentional replicati