Home |  MySQL Buzz |  FAQ |  Feeds |  Submit your blog feed |  Feedback |  Archive |  Aggregate feed RSS 2.0 English Deutsch Español Français Italiano 日本語 Русский Português 中文
Showing entries 1 to 30 of 233 Next 30 Older Entries

Displaying posts with tag: Development (reset)

opeark-kit revision 196 released
+1 Vote Up -0Vote Down

This is a long due maintenance release of openark-kit. This release includes bugfixes and some enhancements, mainly to oak-online-alter-table.

oak-online-alter-table Changes / bug fixes include:

  • Support for keyword-named columns
  • Use of FORCE INDEX due to lack of MySQL's ability for figure out the chunking key at all times
  • --sleep-ratio option added; allows for sleep time proportional to execution time (as opposed to constant sleep time with --sleep)
  • Support for chunk-retry (in case of deadlock) via --max-lock-retries)
  • Fixed order of cleanup
  • Fixed bug with verbose messages with non-integer
  [Read more...]
common_schema 2.0.0-alpha: rdebug, GPL
+1 Vote Up -0Vote Down

A new release for common_schema: an alpha version of rdebug: MySQL Debugger and Debugging API is now included with common_schema.

With a different license in mind for rdebug, common_schema changes license to GPL (2 or above).

common_schema 2.0 is ready for download. All things rdebug, it is alpha -- otherwise it's a stable release.

rdebug

I'm very happy to release this alpha version of rdebug, and urge everyone to try it out.

The idea is to have an open, free, server side debugger and debugging API for MySQL stored routines. To elaborate:

      [Read more...]
    New BM25 functions and IDF operators in custom rankers
    +0 Vote Up -0Vote Down
    Until 2.1.1-beta the functions exposed in custom rankers for handling relevancy based on term frequency and Inverse Document Frequency (IDF) did not take field or document lengths into account. In 2.1.1-beta, Sphinx includes functions that take relevance ranking to the next level. New IDF functions mysql> SELECT * FROM myindex WHERE MATCH(‘less_common more_common’) OPTION RANKER= [...]
    MySQL 5.6 introduced GoogleTest C++ Testing Framework
    +4 Vote Up -0Vote Down

    MySQL 5.6 has introduced a new unit test framework beside the existing ones. The googletest test framework is now part of the MySQL test framework for 5.6. GoogleTest is a C++ Testing Framework that helps  write better C++ tests.

    I realized that it was used when i tried to buid a MySQL release from sources [...]

    Change management of database scripts
    +1 Vote Up -0Vote Down
    In this post I’m going to discuss the strategy used by our team to manage the changes taking place in the database. Most of the time we as developers mainly focus on implementing the feature and put less effort on manage the database changes. For instance individual might not straight away see the importance in […]
    common_schema: 1.3: security goodies, parameterized split(), json-to-xml, query checksum
    +1 Vote Up -0Vote Down

    common_schema 1.3 is released and is available for download. New and noteworthy in this version:

    • Parameterized split(): take further control over huge transactions by breaking them down into smaller chunks, now manually tunable if needed
    • duplicate_grantee(): copy+paste existing accounts along with their full set of privileges
    • similar_grants: find which accounts share the
      [Read more...]
    common_schema 1.1 released: split(), try-catch, killall(), profiling
    +2 Vote Up -0Vote Down

    I'm very happy to announce the release of common_schema, version 1.1 (revision 300).

    This version boasts with compelling new features: innovative QueryScript syntax, libraries, views which add to your skills as a DBA, making some maintenance and management tasks a breeze.

    • QueryScript, split statement: automagically break long queries into smaller chunks, avoid long locks and reduce query/transaction overhead
    • QueryScript, try-catch statement: just try { something; } catch { act_on_error; }.
    • killall(): quickly kill connections based on grantee/user/host information.
    • profiling/profiling_last: utility views to assist in query
      [Read more...]
    Consolidating MariaDB project tools
    +3 Vote Up -0Vote Down

    It is not a secret that we’ve been kicking the tires and playing with JIRA for project management. After using it since the beginning of the year most of us like the feel of it and we’ve decided that it makes sense to start using it more.

    As you know, the MariaDB project has many fragmented resources. We report bugs in Launchpad. We store our plans in worklog. We’ve never used the Launchpad Blueprint feature for this very reason. We don’t use Launchpad Answers because we have the Knowledgebase.

    With this move to hosted JIRA (yes, this is an important link: http://mariadb.org/jira) we can

      [Read more...]
    Artikel in JavaSPEKTRUM 03/12
    +0 Vote Up -2Vote Down

    In Ausgabe 3/2012 der Fachzeitschrift JavaSPEKTRUM wurde kürzlich ein Artikel mit dem Titel "SOA-basierte NoSQL-Lösung im Mobile-Umfeld" veröffentlicht, dessen Co-Author ich bin. Er beschreibt, wie eine mobile Java-Applikation mittels kreativer Ansätze und einem Mix aus moderner und altbewährter Technik zum Erfolg gebracht wurde.

    Der Volltext kann entweder im Browser auf der codecentric Homepage unter der Rubrik Kompetenzen/Publikationen gelesen werden, steht aber auch als PDF zum Download bereit.

      [Read more...]
    sphinx, sphinx_snippets() & MySQL 5.5
    +0 Vote Up -0Vote Down

    I've written a patch which completes Sphinx's integration with MySQL 5.5.

    Up until a couple months ago, Sphinx would not compile with MySQL 5.5 at all. This is, thankfully, resolved as of Sphinx 2.0.3.

    However, to my disdain, I've found out that it only partially work: the sphinx_snippets() user defined function is not included within the plugin library. After some quick poking I discovered that it was not added to the build, and when added, would not compile.

    I rely on sphinx_snippets() quite a lot, and like it. Eventually I wrote the fix to the snippets_udf.cc which allows it to run in a MySQL 5.5 server.

    Here are the changes for the 2.0.4 version of

      [Read more...]
    MySQL Sandbox at the OTN MySQL Developers day in Paris, March 21st
    +4 Vote Up -0Vote Down
    On March 21st I will be in Paris, to attend the OTN MySQL Developers Day. Oracle is organizing these events all over the world, and although the majority are in the US, some of them are touching the good old European continent. Previous events were an all-Oracle show. Recently, the MySQL Community team has been asking for cooperation from the community, and in such capacity I am also presenting at the event, on the topic of testing early releases of MySQL in a sandbox. Of course, this is one of my favorite topics, but it is quite appropriate in this period, when Oracle has released a whole lot of preview features in its MySQL Labs. Which is another favorite topic of mine, since I was the one who  [Read more...]
    common_schema rev. 218: QueryScript, throttling, processes, documentation
    +0 Vote Up -0Vote Down

    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 view.
    • Inline documentation/help is available via the help() routine.
    • more...

    QueryScript

    common_schema makes for a QueryScript implementation for MySQL. You can run server side

      [Read more...]
    QueryScript: SQL scripting language
    +2 Vote Up -0Vote Down

    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 tasks. Throttle in between.

    while (DELETE FROM archive.events WHERE ts < CURDATE() LIMIT 1000)
    {
      throttle 2;
    }

    Convert all InnoDB tables in the 'sakila' database to compressed format:

    foreach ($table, $schema, $engine: table in sakila)
    {
      if ($engine = 'InnoDB')
        ALTER TABLE
      [Read more...]
    Documentation in SQL: CALL for help()
    +1 Vote Up -0Vote Down

    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, and the present the coming new documentation method for common_schema. I'll talk about any bundling that is NOT man pages.

    High level: web docs

    This is the initial method of documentation I used for openark kit and mycheckpoint. It's still valid for mycheckpoint. Documentation is web-based. You need Internet access to read it. It's in HTML

      [Read more...]
    Quick (and dirty) Patch for Ruby Enterprise Edition 2011.03 to Prevent Hash Collision Attacks
    +1 Vote Up -2Vote Down

    As you may have heard, this week on December 28, 2011, a group of security experts released information about a nasty problem in almost all languages and platforms related to hash function collisions and possibility of using those for DoS attack on web applications.

    Ruby core team released new 1.8.7-p357 version with the problem fixed. JRuby development team came out with the new 1.6.5.1 release. Unfortunately 2 days after the release there is still no information from Ruby Enterprise Edition team on what to do with all the ree deployments.

    So, since there is no

      [Read more...]
    Oracle "Technologist of the Year: Developer" Award
    +8 Vote Up -0Vote Down

    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. There are several award categories: Developer, DBA, IT Manager etc., and many nominations per category. I have been nominated by my company and am happy to have won the

      [Read more...]
    05.12. Doctrine 2
    +0 Vote Up -0Vote Down
    Introduction

    Object-relational mapping (ORM) frameworks have been around for several years now and for some people, ORM is already outdated by now. As we have seen with other technologies and concepts before, PHP is not exactly what we call an early adopter among the programming languages. Thus it took some time for ORM to grow up in the PHP context.

    There have been some frameworks before Doctrine 2 that implement ORM (remember e.g. Propel) specific tasks but most of them lack the required maturity to be used in large projects. With Doctrine 2, PHP takes a huge step into the right direction – Doctrine 2 is fast, extensible and easy to use.

    This article will take you on a tour through the main concepts of Doctrine 2 in the first part and then explain how to use it in

      [Read more...]
    More MySQL foreach()
    +4 Vote Up -0Vote Down

    In my previous post I've shown several generic use cases for foreach(), a new scripting functionality introduced in common_schema.

    In this part I present DBA's handy syntax for schema and table operations and maintenance.

    Confession: while I love INFORMATION_SCHEMA's power, I just hate writing queries against it. It's just so much typing! Just getting the list of tables in a schema makes for this heavy duty query:

    SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='sakila' AND TABLE_TYPE='BASE TABLE';

    When a join is involved this really becomes a nightmare. I think it's

      [Read more...]
    common_schema, rev. 178: foreach(), repeat_exec(), Roland Bouman, query analysis
    +1 Vote Up -0Vote Down

    common_schema, revision 178 is now released, with major additions. This revision turns common_schema into a framework, rather than a set of views and functions.

    common_schema provides with query scripting, analysis & informational views, and a function library, allowing for easier administration and diagnostics for MySQL. It introduces SQL based tools which simplify otherwise complex shell and client scripts, allowing the DBA to be independent of operating system, installed packages and dependencies.

    There's no Perl nor Python, and no dependencies to install. It's just a schema.

    Some highlights for the new revision:

    • foreach(), aka $(): loop through a collection,
      [Read more...]
    Writing a MariaDB PAM Authentication Plugin
    +7 Vote Up -2Vote Down

    As you may know, since version 5.2.0 (released in April 2010) we support Pluggable Authentication. Using this feature one can implement an arbitrary user authentication and account management policy, completely replacing built-in MariaDB authentication with its username/password combination and mysql.user table.

    Also, as you might have heard, Oracle has recently released a PAM authentication plugin for MySQL. Alas, this plugin will not run on MariaDB — although the MySQL implementation of pluggable authentication is based on ours, the API is incompatible. And, being closed source, this plugin cannot be fixed to run in MariaDB. And — I’m not making it up — this plugin does not support communication between the client and the server, so even with this plugin and all the

      [Read more...]
    Bzr and launchpad tricks: firefox plugin
    +3 Vote Up -0Vote Down

    If you work with bazaar, you have seen its URIs. You can find the complete list is in the bzr help urlspec. Although I commonly use only a subset of that, like bzr+ssh://bazaar.launchpad.net/~maria-captains/maria/5.2-serg/ and http://bazaar.launchpad.net/%2Bbranch/mysql-server/5.5/.

    In addition I often use Launchpad aliases, such as lp:~maria-captains/maria/5.3-serg/, lp:maria/5.3, and lp:869001.

    And finally, there are common abbreviations that we have used in MySQL, and others that we use in MariaDB, for example bug#12345 and wl#90.

    What’s annoying, I need to remember that wl#90 corresponds to http://askmonty.org/worklog/?tid=90

      [Read more...]
    Test-driven SQL development
    +1 Vote Up -0Vote Down

    I'm having a lot of fun writing common_schema, an SQL project which includes views, tables and stored routines.

    As the project grows (and it's taking some interesting directions, in my opinion) more dependencies are being introduced, and a change to one routine or view may affect many others. This is why I've turned the development on common_schema to be test driven.

    Now, just how do you test drive an SQL project?

    Well, much like the way you test any other project in your favorite programming language. If its functions you're testing, that's all too familiar: functions get some input and provide some output. Hmmm, they might be changing SQL data during that time. With procedures it's slightly more complex, since they do not directly return output but result sets.

    Here's the testing scheme

      [Read more...]
    Welcome to Insatiable Demand
    +0 Vote Up -0Vote Down

    In early 2006 Paul Hurley (ideeli’s CEO) and I (Mark Uhrmacher, CTO) were thinking about a new business. We had the idea to create a community based around great deals for Women’s fashion products where we saw a great deal of potential for great content and product sales. Now, over five years later, we’ve realized much of that vision. Our business success has been chronicled over the years in several places (see here and here). Though we’re very proud of our achievements there, that isn’t what this blog is about.

    Insatiable Demand is about a mostly untold story. Over the past five-plus years we’ve built a phenomenal technology platform and team. From two people and three servers to a

      [Read more...]
    TaskFreak! v0.6.2 – Customizing Status
    +0 Vote Up -0Vote Down

    Background Knowledge


    The progress of a task in TaskFreak! is shown as a percentage value and is not exactly visually appealing to quickly spot the progress. With a few minor alterations we can show the percentage completed bar that fills as the task progresses and a gradient bar indicating the progress along with the percentage value.

    This solution was posted by Searcher at Re: Taskfreak Customizing Status.

    Solution


  • Edit at line #268 as shown below.
    Cod Before
    268
    
    <th width="<?php echo FRK_STATUS_LEVELS * 2; ?>%" onclick="freak_sort('statusKey')" colspan="< ?php echo FRK_STATUS_LEVELS ?>" class="sortable">< ?php echo (FRK_STATUS_LEVELS == 1)?'X':$langForm['status'];

  •   [Read more...]
    Welcome, MySQL commercial extensions
    +16 Vote Up -6Vote Down
    I saw yesterday that MySQL has finally done the right thing, and announced new commercial extensions.
    What this means is that paying customers receive something more than users who get the community edition for free.
    Believe it or not, when I was working in the community team at MySQL, I was already an advocate of this solution. You may see a contradiction, but there isn't. I would like to explain how this works.

    An open source product needs to be developed. And the developers need to get paid. Ergo, the company needs to make money from that product if it wants to continue developing it. Either that, or the company needs to sell something else to pay the bills. (Let's not get into the argument that a pure open source project with universal participation is



      [Read more...]
    DbCharmer 1.7.0 Release: Rails 3.0 Support and Forced Slave Reads
    +0 Vote Up -0Vote Down

    This week, after 3 months in the works, we’ve finally released version 1.7.0 of DbCharmer ruby gem – Rails plugin that significantly extends ActiveRecord’s ability to work with multiple databases and/or database servers by adding features like multiple databases support, master/slave topologies support, sharding, etc.

    New features in this release:

    • Rails 3.0 support. We’ve worked really hard to bring all the features we supported in Rails 2.X to the new version of Rails and now I’m proud that we’ve implemented them all and the implementation looks much cleaner and more universal (all kinds of relations in rails 3 work in exactly the same way and we do not need to implement connection switching for all kinds of weird corner-cases in ActiveRecord).
    • Forced
      [Read more...]
    CodeBits - An event of competitive innovation
    +1 Vote Up -0Vote Down
    It was my pleasure and privilege to attend Codebits in 2009. As Roland Bouman says, its talk choice method is based on public voting, and therefore everyone cha have contribute to the schedule.But that is not the main reason for attending this extraordinary event. It is not just a conference. It's an innovation fest. For 1 and 1/2 days, it's a conference, where the speakers are encouraged to bring to their audience the most innovative and inspiring talks. In the afternoon of the second day, the event becomes a competition, where the teams that have registered will have 24 hours to bring a project to completion, and they have  [Read more...]
    Speaking at "August Penguin 2011"
    +1 Vote Up -0Vote Down

    I will be speaking at August Penguin 2011 (אוגוסט פינגווין), on August 12th in Ramat-Gan, Israel.

    August Penguin is the annual meeting of Hamakor society: an Israeli society for Free Software and Open-Source Code (read more here).

    I'll be holding a non-technical talk about MySQL, titled "MySQL and the Open Source Sphere". In this talk I will be presenting my impressions of the nature of open source development of MySQL and surroundings: the core server, the various forks, patches, 3rd party tools, companies involved, etc. So this is a general "get to know who's

      [Read more...]
    Announcing common_schema: common views & routines for MySQL
    +1 Vote Up -0Vote Down

    Today I have released common_schema, a utility schema for MySQL which includes many views and functions, and is aimed to be installed on any MySQL server.

    What does it do?

    There are views answering for all sorts of useful information: stuff related to schema analysis, data dimensions, monitoring, processes & transactions, security, internals... There are basic functions answering for common needs.

    Some of the views/routines simply formalize those queries we tend to write over and over again. Others take the place of external tools, answering complex questions via SQL and metadata. Still others help out with SQL generation.

    Here are a few highlights:

    • Did you know you can work out
      [Read more...]
    Upcoming developer/sysadmin days about MySQL and Solaris
    Employee +1 Vote Up -0Vote Down
    The folks at OTN have been very busy — among many others (both virtual and in RL), there are two upcoming developer/sysadmin days about MySQL and Solaris. Both will take place in California next month:
    • On Tuesday, May 03, 2011, 8:00am to 4:00 pm, there will be the OTN Developer Day for MySQL in the Oracle Santa Clara Agnews Campus Auditorium. It will cover application development with MySQL, performance tuning tips and managing MySQL environments.
    • On Tuesday, May 17, 2011, 8:00 am to 4:00 pm, the OTN's first
      [Read more...]
    Showing entries 1 to 30 of 233 Next 30 Older Entries

    Planet MySQL © 1995, 2013, Oracle Corporation and/or its affiliates   Legal Policies | Your Privacy Rights | Terms of Use

    Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.