June 19, 2013

Post: Moving Subtrees in Closure Table Hierarchies

in FROM clause.” We can’t DELETE and SELECT from the same table in a single query in MySQL. But we can use MySQL…length+1 FROM TreePaths AS supertree JOIN TreePaths AS subtree WHERE subtree.ancestor =…cross over that boundary.  Everything else takes care of itself. I also wrote about Closure Table in

Post: Thank you for joining us at Percona Live, NYC 2012

… Suite solution for deploying and managing MySQL in the Cloud. MariaDB have showcased …to dramatically increase performance of complicated join queries. MySQL users are always hungry for…cross database replication. It feature set beats MySQL 5.6 but as Robert Hodges puts it , “it works with MySQL

Post: The Doom of Multiple Storage Engines

…engines may have and if we venture into using cross storage engine transactions we’re up for a … really this is not enough as MySQL allows you using multiple storage engines in the query you need to test all kinds of combination such as running multi-table update joining

Post: SQL Injection Questions Followup

… $placeholders = join(“,”, array_fill(0, count($params), “?”)); $sql = “SELECT * FROM Bugs WHERE bug_id IN ($placeholders)”; $stmt…do this in SQL expressions instead of in application code.  See http://dev.mysql.com/doc/refman…here:  https://www.owasp.org/index.php/Cross_Site_Scripting_Flaw I’d like …

Post: Packing for company meeting in Egypt

… on Friday and returning back in a week. Similary to early MySQL practice we have invited … out their Passport issues in time or simply joined us too late in trip organization process. Why Egypt… on it when expected and now keep fingers crossed hoping Flight, Accommodation, Internet, Weather will all …

Comment: Finding your MySQL High-Availability solution – The questions

…sharding. You have probably tune your schema in a way to reduce cross-node interactions. How do you manage things… you use SSL between your application servers and your MySQL servers? 2.9 Good point and yes, this …might help but there are ways to improve the joins. If I find some time, I’ll backport …

Comment: Why MySQL's binlog-do-db option is dangerous

…-options-slave.html#option_mysqld_replicate-do-table http://dev.mysql.com/doc/refman/5.0/en/replication-options-slave.html… cross-database updates, in contrast to –replicate-ignore-db.” But you still need to be aware of it’s quirks, queries that JOIN the wrong tables in updates could leave your replication out of sync.