MTA Service Advisories from Disorient ExpressNavigationTechnology |
Planet MySQLInteresting SQL ChallengeA former colleague recently posed a problem to me: “This guy has a table full of table names, and he wants to run a query that unions those tables.” I spent a couple of minutes telling him why it was a bad idea. It’s not a very robust solution, and an incorrect value in your [...]
Categories: MySQL
Setting Up Master-Master Replication On Four Nodes With MySQL 5 On Debian EtchSetting Up Master-Master Replication On Four Nodes With MySQL 5 On Debian Etch This tutorial explains how you can set up MySQL master-master replication on four MySQL nodes (running on Debian Etch). The difference to a two node master-master replication is that if you have more than two nodes, the replication goes in a circle, i.e., with four nodes, the replication goes from node1 to node2, from node2 to node3, from node3 to node4, and from node4 to node1. Categories: MySQL
SQL completion in PHP stringsNetBeans 6.5 is soon to be released. After 10 years of NetBeans that's the first version of Sun's OpenSource IDE featuring PHP support. While 6.5 is waiting to be packaged the development didn't stop and the first features for the successor, NetBeans.next, are already being developed. David Van Couvering just showed a preview of a cool new feature: SQL completion in PHP strings, if it does what the screenshot promises that's a damn great addition in my opinion.... Categories: MySQL
Open SQL Camp experiencesOpen SQL Camp was a success.
It was hosted by Baron "Xaprb" Schwartz, who I learned is one of the few people I don't have to look down to look in the eye. There were maybe 100 people over the whole the weekend, including the upper echalon of MySQL and other open source database hackers, as well as technical people from Infobright and Tokutek and PBXT. There were people who quite literally flew in from the other side of the planet and from Europe. It was good to see Monty Widenius, and to introduce him to the pleasure that is well made matcha. Vadim Tkachenko's and Peter Zaitsev's presentation on the Percona patches was interesting and eye opening. The following random roundtable discussion between them, Brian Aker of Drizzle, and Arjen Lentz about the open source future of InnoDB. Oracle/Inno were very notable in their absence. I got to meet Richard Hipp, the author of SQLite, and then to introduce him to Jim Starkey. Richard's presentation on how much you can and can't trust the operating system, and how to make a database durable in the face of the real world was very illuminating, and more than a little bit scary. I wonder if InnoDB and MyISAM (and PBXT and Maria and Falcon) test as rigiously against the edge conditions of write failure as SQLite does. Saturday night I was asked to make a custom tree of Drizzle for PBXT, for the blob streaming protocol work, and so I did. The drizzle-blobcontainer patch is now up on my Launchpad account. Sunday was a hackathon, which I spent plumbing up the Drizzle pluggable error handlers. Almost done, tho hard to debug, since when it doesn't work, Drizzle doesnt output any error messages! :) When it's done, another one or two locks will be removed from the main execution path, plus a whole pile of spagghetti and hardened lava, and Drizzle will be even faster! Monday morning I caught the train up to New York Penn Station, riding along with Sheeri Cabral of Pythian and Ronald Bradford of 42SQL. Taking the train was cheaper and faster than driving or flying from Charlottesville to NYC. Categories: MySQL
451 CAOS Links 2008.11.18Red Hat’s chairman wins enterprising award. Sun updates StarOffice. Barracuda Networks acquires 3SP. Reaction to Sun’s reorganization. Barack Obama’s laptop. And more. Press releases Ingres Launches Ingres Database 9.2 Ingres Sun Microsystems Unveils StarOffice 9 Software Sun Microsystems Red Hat Increases Authorization to Repurchase Common Stock Red Hat Barracuda Networks Launches Barracuda SSL VPN Following Acquisition of Reputable SSL VPN Provider Barracuda Networks Univa UD Launches UniCluster 4.1 and Family of HPC Management Products Univa UD Community Created GroundWork Monitor Japanese Generally Released To Address Growing Market Demand GroundWork Open Source Open Kernel Labs Expands Global Market Presence: Launches European HQ Open Kernel Labs Engine Yard Introduces Developer Support for Merb Engine Yard Day Software Announces General Availability Of CQ5.1 Day Software REvolution Computing Integrates Their R Distribution into Microsoft’s New High Performance Computing Server REvolution Computing Yoggie Opens up its Miniature Hardware Firewall Yoggie Security Systems Adobe Advances Flash Platform at MAX 2008 Adobe ERP5 World Forum Defines Road Map for the Future Nexedi News articles Sun’s Rich Green Set Open Source In Motion; Lift-off Still To Come Charles Babcock, InformationWeek (InformationWeek evidently had something of an open source special this week.covering topics such as virtualization, SOA, content management, Linux, network management, business intelligence, Enamoly, and enterprise usage in general.) The Microsoft-Novell Linux deal: Two years later Paul Krill, InfoWorld Business vs. FOSS: Six Pressure Points Bruce Byfield, Datamation Rule #2: Create a community Terry Hancock, Free Software Magazine Open source growth dims LAMP stack to symbolic status Pam Deringer, SearchEnterpriseLinux Bug Labs creates open source Lego for software engineers Bruce Byfield, Linux.com Blogs Rumors of the Demise of Open Source Startups: Greatly Exaggerated Mark Radcliffe, Law & Life: Silicon Valley Open Source and Sustainability, Updated Michael Tiemann, Open Source Initiative Sun: Dead company walking? Steven J. Vaughan-Nichols, ComputerWorld ZipTie: New features, new name, new license? Tristan Rhodes, The Open Source Advocate It’s the Infrastructure, Stupid John Mark Walker, There is No Open Source Community Shouldn?t Obama use Linux, and not a Mac? Amanda McPherson, The Linux Foundation Announcing Tungsten Replicator Beta for MySQL Robert Hodges, Continuent French Recording Industry Sues SourceForge For Hosting Open Source P2P Mike Masnick, Techdirt Meet the IT Channel?s Top 50 Open Source Companies The VAR Guy Categories: MySQL
SQL completion - in PHP?Thanks to Andrei (before he moved on to bigger and better things), we now have this in the nightly builds.
Take a look - yes, you're getting column names in the completion list when working with a string literal in PHP. And notice how it works with aliases... It's a prototype, but it's a good start, and we expect to have something like this working for you in NetBeans.next Categories: MySQL
SFTP support in NetBeans PHPGreat news! NetBeans PHP team just added SFTP support. Note this is in the development build, which you can get here
Categories: MySQL
MySQL 5.1-GA is comingSheeri has already commented on this, but I want to stress that MySQL 5.1.30 will be GA by December 6th, 2008. Categories: MySQL
Common wrong Data Types compilationDuring my work with companies using MySQL, I have encountered many issues with regard to schema design, normalization and indexing. Of the most common errors are incorrect data types definition.
Here's a compilation of "the right and the wrong" data types.
Categories: MySQL
Yang resigns from Yahoo CEO jobYang's departure opens the door for improved execution READ MORE
Categories: MySQL
2009 CommunityOne Call for ParticipationCategories: MySQL
Announcing Tungsten Replicator Beta for MySQLPluggable open source replication has arrived, at least in beta form. Today we are releasing Tungsten Replicator 1.0 Beta-1 with support for MySQL. This release is the next step in bringing advanced data replication capabilities to open source and has many improvements and bug fixes. It also (finally) has complete documentation. I would like to focus on an interesting feature that is fully developed in this build: pluggable replication.
I have blogged about our goals for Tungsten Replicator quite a bit, for instance here and here. We want the Replicator to be platform-independent and database-neutral. We also want it to be as flexible as possible, so that our users can:
There are three main types of plug-ins in Tungsten Replicator.
Say you are using Memcached to hold pages for a media application. The media database is loaded from a "dumb" 3rd party feed piped in through mysql. Normally you would set up some sort of mechanism within the feed that connects to the database and then updates Memcached accordingly. Okay, that works. However, your feed processor just got a lot more complicated. Now there's a better way. You can write an Applier that converts SQL events from the database to Memcached calls to invalidate corresponding pages. Then you can write a Filter that throws away any SQL events you don't want to see. Voila! Problem solved. Because it works off the database log, this approach works no matter how you load the database. That's even better. Tungsten Beta has a number of other interesting features beyond pluggable replication. Our next builds will support MySQL row replication fully and have much better heterogeneous replication. I'm going to cover these in future blog posts. Incidentally, MySQL 5.1 row replication is a highly enabling feature for many data integration problems. If you have not checked it out already, I hope our replication will motivate you to do so in the very near future. Meanwhile, please download load the build and take it out for a spin. Builds, documentation, bug tracking, wikis and much more are available on our community site. Have fun! Categories: MySQL
Cloud Computing Expo: San JoseThe Cloud Computing Expo at Fairmont Hotel in san Jose, CA is fast approaching and I plan to be there to learn and meet the folks interested in Cloud Computing. If you plan to be there, dont miss the hands on Cloud Computing BootCamp, also being held at Fairmont hotel on 20th Nov. and is Free. Led by Williamson, the Cloud Computing Bootcamp will illustrate all the major players and provide a hands-on program with configuration samples, live demos and working setups you can further adapt and play with. Hope to see you there and chat about how you can leverage the Sun Cloud offerings to build applications for the cloud or build your own clouds.
Categories: MySQL
Do we want an Open Source MySQL Monitoring tool ?Matt Reid wants to know what we want in an Open Source MySQL monitoring solution ? He is working on the second incarnation of Monolith and wants input from the MySQL community. Now for me the bigger question is if we want an isolated tool that runs stand alone, or a tool which we can integrate it in something we already have. To me there is a difference between a tool that I want to use to debug my environment, such as Mytop or MySQL Activity Report, in that case I need some tool that quickly installs with little dependencies and little impact. On the other side I want a tool that is constantly there, that tells me about trends and performance history. But there I don't want an isolated toool, I want something fully integrated where I can correlate different measurements from disk io, memory usage etc , that tool should also tell me about the things that go We did some research earlier this year to figure out the current state of Open Source monitoring tools. Different tools have a different audience.. some go for the network layer, others take the os level and other even try to go deep inside the applications. Given that knowledge we even had the idea to refocus that research comparing different monitoring tools such as Zabbix, Zenoss, Hyperic and Nagios again but this time with a focus on monitoring MySQL and submit that as an abstract for the upcoming MySQL conference, we didn't .. maybe next time. There's plenty of frameworks already that will allow you to send alerts on all of the occasions you list, or allow you to graph all the values you want. And yes we want to see those values too. But do we want yet another tool , yet another URL to browse to or do we want those alerts and graphs integrated in an existing tool such as Zabbix, Zenoss or Categories: MySQL
Meeting MySQL community in Paris - November 18, 2008I will meet the MySQL community in Paris on November 18, 2008 at 19:30. I will speak about MySQL Proxy Wizardry, and discuss with the community about any subject that will come up. The place: 1 rue royale, 227 Bureaux de la Colline 92210 Saint-Cloud Bâtiment D 9ème étage Tel : 01 78 15 24 00 Categories: MySQL
Become a MySQL PartnerOn a daily basis, I work with Sun's ISV partners and open source communities to help them adopt Sun technology and make sure that their software works best on Sun. One of the areas that I have been focusing on lately is MySQL. Many of the ISVs / open source communities that I have been talking to recently are either just starting to look at MySQL (due to customer demand) or are trying to make their relationship with MySQL more formal. Something that seems to be of interest to them is the MySQL Enterprise Connection Alliance Program (MECA). MECA is MySQL's partner program, which is geared toward supporting businesses that sell, service, and support and/or build solutions on MySQL Enterprise, or provide solutions based on MySQL database technologies. There are different membership levels, but the base level, called MySQL Enterprise Ready Partner, is free of charge, and provides access to software (for developmental purposes) as well as the knowledge base. Additionally, it includes a listing in the MySQL Partner site. If you think you qualify, register now. Categories: MySQL
Hyperic supports the cloudHQ 4.0 helps monitor in-house and cloud-based apps using Amazon EC2 READ MORE
Categories: MySQL
OpenSQLCamp 2008 impressionsI was able to attend OpenSQLCamp 2008, even while under the influence of DayQuil, jetlag (spent the week in Santa Clara), 3 hours of sleep and a 2 hour drive. Then there’s folks like Arjen who flew across 15 times zones and was still coherent - I guess I’m just not cut out for lots of travel in short time spans. Oh well. The un-conference was great. You didn’t have the distractions of vendors with big obnoxious displays promising the sun/stars/moon, sales droids trying to peddle wares, marketing puppets who still think vendor lockin is a great strategy - just some really smart folks getting together, sharing what they’ve learned and collaborating. People from MySQL, Drizzle, Postgres and SQLite were there. Brian Aker’s keynote was insightful. I liked the sticker on his laptop: “My other computer is a data center.” Vadim’s session on the Percona patchset helped illustrate what patches they include in MySQL and why. A particularly good side-conversation in the session was Brian highlighting a need for someone to pick up management of the InnoDB code. Since InnoDB is developed behind closed doors, someone can step up and put up a mailing list so the community can coordinate 3rd party patches into a single, cohesive code base. provide for a community-driven time-line of features, fixes, etc. The Oracle/InnoBase developers would be most welcome however their lack of communication in the past has necessitated this. Arjen’s OurDelta session explained what the OurDelta project is about and how it works behind the covers. For me, this highlighted, in my mind, how MySQL is becoming fractioned due, in part, it MySQL’s/Sun’s development strategy. With such long time lines between releases, many patches containing fixes and features are put out there by the community and different people are bundling the patches and releasing new versions. OurDelta and Percona are the prime examples. They don’t always include the same patches in their releases. In all honesty, calling OurDelta or Percona’s distributions “MySQL” is misleading and leads to confusion. They are derivitive works based on MySQL’s code - forks. Jay Pipe’s Join-Fu talk was entertaining. Besdies learning what really annoys Jay (the phrase “chaps my ass” was used a lot,) I learned a bit about the internals of MySQL that I can directly apply. I did not know that stored procedures were compiled and cached on a per-connection basis, not across all connections. This can have serious performance implications. Dr. Richard Hipp’s talk on How SQL Database Engines Work was good. It revealed the good and bad of retrieving data from indexes and data tables. After the talk, one is almost left wondering how in the world databases work at all given the how extremely complex data retrieval can get. Yay smart people! Peter Zaitsev filled in for Piotr Biel for the Sphinx talk. I had heard Patrick Galbraith discuss Sphinx during a MySQL Webinar on memcached UDFs a few weeks ago so I was just refreshing what I had already learned. Kelly McDonald presented their work on developing a complete auditing system in Postgres for all database activity (or activity on the tables they were interested in.) Auditing systems can be annoying to develop so it was good to see how they did it. With a little C code and some triggers, they were able to identify all data changes down to the end user submitting the changes, including the web session - all vital for debugging problems in today’s complex web applications. Finally, I sat in on the Lightning talks. Giuseppe Maxia gave a demonstration of the MySQL Sandbox. I’d heard about it but was impressed with the simplicity it affords. Ronald Bradford put out feelers for MySQL monitoring (what people use, what people should use, what should get monitored, etc.) Baron showed how to create snapshots using LVM for purposes of backing up MySQL. There were others but my head was quite fuzzy and sleepy with the onset of the Food Coma from lunch. Hackathon. Sadly, I was feeling too crappy to drive back to Charlottesville to attend the hackathon on Sunday. Thanks to Baron for dreaming this up and actually setting the wheels in motion. If you missed it, you missed out. Categories: MySQL
DRBD+ is going open source!Today is an exciting day for us. We have announced that with the upcoming DRBD 8.3 release (currently scheduled for the end of this year), all those features that are currently commercially licensed in our DRBD+ add on will be merged into the GPL DRBD main source tree. That means that stacked device support, huge device support (larger than 4TB per device), and checksum-based resync are all coming to DRBD. Is this something that we haven’t done before? No it’s not. We have, in the past, repeatedly merged DRBD+ features into DRBD. We have not, however, done so previously on this scale. That is new. How will this affect our customers and users?
Has this been an easy decision? No, it took some contemplation. But we’re absolutely confident that it’s the right step in the right direction. So do watch our DRBD community web site for announcements regarding the 8.3 pre-release cycle and release. Categories: MySQL
SailFin and OpenBloX DiameterThe Diameter protocol is designed to provide an Authentication, Authorization and Accounting (AAA) framework for applications. The Diameter base protocol is defined by RFC 3588. The 3GPP standards body has adopted Diameter as the primary signaling protocol for AAA and mobility management in the IP Multimedia Subsystem (IMS). In an IMS architecture, an application server like SailFin will use Diameter to communicate with HSS (Home Subscriber Server). HSS is a central subscriber database that performs AAA and helps in locating the user. Traffix systems announced that it will officially join the GlassFish Partner Program and Traffix?s OpenBloX(TM) Diameter will become a preferred Diameter platform for Project SailFin. OpenBloX Diameter integration with SailFin will be facilitated by a J2EE Connector 1.5 resource adapter and a Diameter java library. MS6 of SailFin is available for download. Please download and give it a try. And previous entries on Sailfin at TheAquarium are here. Categories: MySQL
|
google ads |
Recent comments
29 weeks 5 days ago
29 weeks 5 days ago
33 weeks 18 hours ago
33 weeks 18 hours ago
34 weeks 2 days ago
34 weeks 2 days ago
35 weeks 5 days ago
35 weeks 5 days ago
36 weeks 3 days ago
36 weeks 3 days ago