I'm often asked why Tarantool is written in Objective C. Damien
Katz, my ex-colleague from MySQL AB :), wrote a very good post on the strengths of C.
We use Objective C as "C with exceptions". Objective C' @finally
clause allows for simple integration of exception-aware code with
C code. In contrast, the only sensible way to deal with
exceptions in C++ is RAII, and this pretty much means that you
forget about C the moment you decide to use exceptions in your
program.
One serious "deficiency" of C is that it doesn't bring along the
programming paradigms and patterns found in modern programming
languages. In other words, it doesn't teach you programming
culture. This is why, I …
I'm often asked why Tarantool is written in Objective C. Damien
Katz, my ex-colleague from MySQL AB :), wrote a very good post on the strengths of C.
We use Objective C as "C with exceptions". Objective C' @finally
clause allows for simple integration of exception-aware code with
C code. In contrast, the only sensible way to deal with
exceptions in C++ is RAII, and this pretty much means that you
forget about C the moment you decide to use exceptions in your
program.
One serious "deficiency" of C is that it doesn't bring along the
programming paradigms and patterns found in modern programming
languages. In other words, it doesn't teach you programming
culture. This is why, I …
In On learning InnoDB: A journey to the core, I introduced the innodb_diagrams project to document the InnoDB internals, which provides the diagrams used in this post. Later on in A quick introduction to innodb_ruby I walked through installation and a few quick demos of the innodb_space command-line tool.
The physical structure of InnoDB’s INDEX pages was described in The physical structure of InnoDB index pages, and the logical structure was described in B+Tree …
[Read more]Sky’s the limit for the database bloggers. They are producing awesome rants in Oracle, fabulous ramblings in MySQL, and fantastic views in SQL Server, and this Log Buffer Edition, very proudly covers all that in Log Buffer #303. Enjoy.
Oracle:
You may have encountered the problem where you can connect to your Oracle database through the listener but cannot connect locally even though the value of ORACLE_SID in your environment is correct. Iggy Fernandez has more.
We now have Oracle Tuxedo channel at youtube, Deepak …
[Read more]In case you’ve been living under a rock for the last 5 years, the NoSQL movement has changed. There was a time when everyone — EVERYONE — was dumping on relational databases, and MySQL in particular. Nonsense like “SQL itself is inherently unscalable” routinely came out of the mouths of otherwise usually sensible people. But that’s cooled off a little bit, thank heavens.
And what’s the new hotness? Well, Big Data, of course! But I digress. In the world of databases, it’s move over NoSQL, heeeeeere’s NewSQL. I’m talkin’ NuoDB, Clustrix, MySQL Cluster (NDB), and so forth. A lot of people now recognize that it wasn’t SQL or the relational model that was a problem — it was the implementations that had some issues. The pendulum has swung a little away from vilifying SQL, and we don’t talk about NoSQL as much as we talk about document-oriented or …
[Read more]SAP on HANA. Funding for Guavus and ScaleArc. And more
It’s alive! @451research‘s 2013 Database survey is available now at bit.ly/451db13 #mysql #nosql #newsql #postgresql etc etc
— Matt Aslett (@maslett) January 9, 2013
#SAPonHANA is official. Read the press release for the SAP Business Suite powered by #SAP …
[Read more]MySQL 5.6 introduces a new features that must be used with great care. A MySQL users password can be marked as expired. This way, a DBA can force a user to set or reset his password. The MySQL user must set a (new) password before he is allowed to do anything else. As a consequence, if a users password is expired all standard PHP MySQL API connect calls will fail. Applications stop working unless the application is changed to include a user dialog for setting a new password. To develop such a dialog for resetting an expired password one has to use a new connection flag introduced in PHP 5.4.12-dev. Don’t panic: to get in trouble DBA actions have to be at one level with dropping the MySQL user of a production PHP application…
Relax: IF MySQL 5.6 AND IF …AND IF …
You are being warned in time about a pitfall that DBAs may tap into in the …
[Read more]Before I upgrade MySQL to the latest and greatest version, one of the first things that I do is export the user and grant information. In the past, I would keep all of my user information (user name, password, grants) in a text file, with the SQL for each user/grant ready to be executed on the upgraded server. I did use my own form of “mental encryption” for my passwords, so the passwords weren’t in plain English. But then I would have to decode my passwords each time before I executed the SQL statements.
When I upgrade, I usually like to dump all of the data and import it into the new version, so I have a fresh copy of the database. The MySQL server that I have is for my personal use and the data size is relatively small, so for my case it doesn’t take long to import the data.
But there were times when I would add a user in the MySQL database and forget to add it to my text file. Then, when it came time to upgrade and I …
[Read more]451 Research’s 2013 Database survey is now live at http://bit.ly/451db13 investigating the current use of database technologies, including MySQL, NoSQL and NewSQL, as well as traditional relation and non-relational databases.
The aim of this survey is to identify trends in database usage, as well as changing attitudes to MySQL following its acquisition by Oracle, and the competitive dynamic between MySQL and other databases, including NoSQL and NewSQL technologies.
There are just 15 questions to answer, spread over five pages, and the entire survey should take less than ten minutes to complete.
All individual responses are of course confidential. The results will be published as part of a major research report due during Q2.
The full …
[Read more]At Percona we focus on education a lot, which we believe is critical for us to be successful with our mission of making businesses successful with their use of MySQL. The MySQL Performance Blog, our first effort in this space, by now contains over 1,000 technical articles. We have spoken on countless conferences and Meetups and have published our knowledge in our “High Performance MySQL” book. We answer your questions on our forums, and host free technical Webinars. And for more intense MySQL educational experiences we offer …
[Read more]