Fun With Automated GIF Generation

October 29th, 2013

Trolling around on the web, found a fun little process for generating animated GIFs: http://rarlindseysmash.com/posts/stupid-programmer-tricks-and-star-wars-gifs

MySQL Views and Explain

October 13th, 2013

This week, I ran into a problem when I was profiling that didn’t seem to be very well documented anywhere. I was trying to profile a query that included a view. The error message that I got when I tried to execute my EXPLAIN was: “EXPLAIN/SHOW can not be issued; lacking privileges for underlying table”

After a lot of flailing out, me and the DBA for this project figured out that in order to be able to execute my EXPLAIN, I needed to have SELECT on the key columns that I was using in my query for the table behind the view. Simple enough, but not something made easy to figure out.

Hopefully this helps someone else figure this out faster.

Happy hunting!

WordPress - Entries (RSS) and Comments (RSS) - © 2011 Ben Dauphinee