(Michael McLaughlin) Somebody asked about the possibility of putting DML statements inside MySQL stored functions. DML statements like the INSERT, UPDATE, and DELETE. When I said, “Yes, you can put DML statements inside functions.” They showed me the error they encountered, which is only raised at c
Tag: Open Source
Set Returning Functions with PL/Java in PostgreSQL
(Johann Oskarsson) There are three different ways to return sets from PL/Java stored procedures in PostgreSQL. Here we go through the steps necessary to return a set of the basic types using an Iterator and complex types with the ResultSetProvider interface.
Setting up MySQL Cluster 7.2
(Anders Karlsson) I decided to try the claim that MySQL Cluster is a great Key-Value store. I have been thinking about trying this for some time now, my JSON import tool for MySQL was a starting point for being able to cram some JSON data from our MongoDB Key-Value store into MySQL.
PoC: HTTP, JSON, JavaScript, Map&Reduce built-in to MySQL
(Ulf Wendel) What if MySQL had an HTTP interface and would reply JSON? What if MySQL had server-side JavaScript? What if you could store JSON documents in MySQL? And, what if there was Map and Reduce built-in to MySQL? Make it happen, today. A proof of concept MySQL 5.6 daemon plugin presented at IP
How to find MySQL binary logs, error logs, temporary files?
(Maciej Dobrzanski) Have you ever spent a lot of time trying to locate where MySQL keeps some file? Here is a quick way to find all this information in one place.
Configuring MySQL Cluster Data Nodes
(Mat Keep) In my previous blog post, I discussed the enhanced performance and scalability delivered by extensions to the multi-threaded data nodes in MySQL Cluster 7.2. In this post, I’ll share best practices on the configuration of data nodes to achieve optimum performance on the latest generations
Getting rid of huge ibdata file, no dump required, part II
(Shlomi Noach) This post continues Getting rid of huge ibdata file, no dump required, part I, where I describe way of converting your single-tablespace InnoDB database into a file-per-table one, without the pain of exporting and importing everything at once.
Overlooked MySQL 5.6 New Features – TIMESTAMP and DATETIME improvements
(Todd Farmer) Continuing my little tour of possibly overlooked new MySQL 5.6 features, I came across this oft-requested gem: For eons, MySQL has supported TIMESTAMP columns that could be automatically populated at row insertion and/or row update time.
Binary log file size matters (sometimes)
(Aurimas Mikalauskas) I used to think one should never look at max_binlog_size, however last year I had a couple of interesting cases which showed that sometimes it may be very important variable to tune properly. I meant to write about it earlier but never really had a chance to do it. I have it no
MySQL Striped Views
(Michael McLaughlin) A question came up today about how to stripe a MySQL view, and this post shows you how. Along with the question, there was a complaint about why you can’t use session variables in a view definition. It’s important to note two things: there’s a workaround and there’s an outstandi
