'MySQL' Category

  • Call for Nominations for 2012 MySQL Community Awards

    February 13, 2012

    This post complements Henrik's Call for Nominations for 2012 MySQL Community Awards. Recap: we keep the tradition of awarding MySQL community members for their notable contributions to the MySQL ecosystem. Previously, the awards were given by MySQL AB/Sun. Later on they were given by the community itself, as will follow this year, when the awards [...]

  • MySQL/QueryScript use case: DELETE all but top N records per group

    February 9, 2012

    Some administrative tasks can be simplified by using common_schema/QueryScript. I'm collecting a bunch of these for documentation. Here's one for example: The DBA/developer has the task of retaining only top 3 most populated countries per continent. That is, she has to DELETE 4th, 5th, 6th, ... most populated counties in each continent. Is it possible [...]

  • common_schema rev. 218: QueryScript, throttling, processes, documentation

    February 8, 2012

    common_schema, revision 218 is released, with major new features, top one being server side scripting. Here are the highlights: QueryScript: server side scripting is now supported by common_schema, which acts as an interpreter for QueryScript code. Throttling for queries is now made available via the throttle() function. Enhancements to processlist-related views, including the new slave_hosts [...]

  • QueryScript: SQL scripting language

    February 8, 2012

    Introducing QueryScript: a programming language aimed for SQL scripting, seamlessly combining scripting power such as flow control & variables with standard SQL statements or RDBMS-specific commands. QueryScript is available fro MySQL via common_schema, which adds MySQL-specific usage. What does QueryScript look like? Here are a few code samples: Turn a bulk DELETE operation into smaller [...]

  • MySQL command line vs. visual editors - reflections

    February 1, 2012

    My previous post drew some attention, and in particular two comments I wish to relate to. I also wish to make a more fine-grained observation on visual editors. One comment is by Peter Laursen, who rejected the generalization in my post, and another by wlad, who was harsher (but to the point), suggesting my post [...]

  • MySQL command line vs. visual editors

    January 30, 2012

    Students in my training classes usually prefer to use some kind of visual editor for MySQL. Typically this would be the software they're using at work. Sometimes they just bring over their laptops with the software installed. Or they would use MySQL Workbench, which is what I usually have pre-installed on their desktops. I see [...]

  • Syntax of the day: IS TRUE and IS FALSE

    January 26, 2012

    What makes for a true statement? We usually test statements using a WHERE clause: SELECT * FROM world.City WHERE Population > 1000000 The "Population > 1000000" statement makes for a boolean expression. Using WHERE is just one way of evaluating it. One can also test with IF(): SET @val := 7; SELECT IF(@val > 2, [...]

  • Documentation in SQL: CALL for help()

    January 11, 2012

    Documentation is an important part of any project. On the projects I maintain I put a lot of effort on documentation, and, frankly, the majority of time spent on my projects is on documentation. The matter of keeping the documentation faithful is a topic of interest. I'd like to outline a few documentation bundling possibilities, [...]

  • Oracle "Technologist of the Year: Developer" Award

    December 21, 2011

    I am honored to receive Oracle's Technologist of the Year: Developer award, formerly Oracle Magazine Editors’ Choice Awards. Technologist of the Year Award is given for individuals for their technical achievements with regard to Oracle products. As opposed to community based awards, to win this award one must be nominated by himself or his company. [...]

  • Monitor your MySQL servers as done before, for free!

    December 18, 2011

    With genuine respect to other products, the people making those products and the efforts involved, I would like to make an issue: Some things have been done before, done pretty well (if I may say so), and for free. mycheckpoint is a free monitoring tool for MySQL. It uses an unorthodox approach of monitoring your [...]

 
Powered by Wordpress and MySQL. Theme by openark.org