Showing entries 40011 to 40020 of 44045
« 10 Newer Entries | 10 Older Entries »
Declarative Language: Transactions

database, declarative, procedural, SQL transactions

Developers* seem to think of a transaction as a block of code. A try/catch block seems analogous at first glance — try to do a series of actions, and if one fails, roll them all back, else commit. So many people trip up and try to write code within a transaction to avoid deadlock or race conditions.

This is the source of the problems with the commands that perform an implicit COMMIT (that links to the 4.1 and under …

[Read more]
COMMIT and Non-Transactional Tables

database, silent failure transactions

At the July MySQL User Group Meeting, Jim Starkey wondered aloud, “What happens when I COMMIT on a memory table?” I wrote the question down, to research it later.

The obvious answer is “COMMIT on a non-transactional table does nothing.”

Tonight I was thinking about this, and I realized I do not actually COMMIT “on a table.”

The manual page at: …

[Read more]
How to distribute MySQL Cluster data nodes

Do you know how to best allocate the data nodes to different computers to get maximum availability? Or do you know how to do it, but are curious about why it should be done in that particular way? I just read an internal discussion at MySQL and realized that people might be interested in this.

Assumptions
Lets assume that we have a MySQL Cluster with twelve data nodes (ndb processes) and two replicas (copies) of each data fragment. This means that there are twelve ndbd processes that store the data and that each piece of information (fragment) exists in two copies.

Then assume that six fragments of data is distributed on the data nodes as follows:

  • Data nodes D1 and D2 store the same information (fragment F1),
  • D3 and D4 store F2,
  • D5 and D6 store F3,
  • D7 and D8 store …
[Read more]
MySQL Sandbox tutorial reprinted by (IN)SECURE magazine


The latest issue of (IN)SECURE magazine, a freely available digital security magazine discussing some of the hottest information security topics, is featuring a reprint of my introduction to MySQL Sandbox.

Open source risky? Nah. Just if you hire an attorney who doesn't grok it

I came across this opinion piece by Paul Barton, an attorney at Field Fisher Waterhouse LLP today. I wish he would have attended the Open Source Business Conference before writing his piece. (OSBC includes, among other things, two full days of legal education on open source.) He could have saved himself the embarrassment of misinformation. (I won't call it malpractice. :-)

(Btw, I am an attorney. I don't play one on TV.) (Unfortunately.)

First off, Paul is clearly talking about "in the wild" open source, whereas most enterprise open source adoption is of commercial open source (Red Hat, MySQL, JBoss, etc. etc.). It's true that Red Hat doesn't own the code (or most of it, anyway) that it ships, but this is emphatically not true of virtually every other piece of commercial open source …

[Read more]
Designing Reports in Pentaho: Save As versus Publish

As part of my job at Pentaho, I occasionally get to help build solutions using the Pentaho BI platform and the solution building toolset, Design Studio, Report Wizard and Designer. I really enjoy that time, in part because I miss my developer days, but also because using the software we build makes me feel like I can connect and relate more to our community. The end product is I can do my job better, because I know the project and the software better.

I recently started creating some reports against our case tracking data, which lives in a JIRA database. JIRA is a phenomenal issue tracker, but I just can't get the reports and data analysis out of it that I really need. And that's OK, that's what we have the Pentaho platform for. One thing I came across that I thought would be good to explain a bit is the difference between "Save As" and "Publish" in our report …

[Read more]
The Absolute of Relativity - Oh, and the Tagging Webinar Slides

Anyone who has heard me speak or give a webinar knows I repeatedly harp on a single concept that comes up time and time again when discussing software architecture, performance tuning, database development, or really anything technical. That is, there are few real absolutes in the art of software development.

I know that one of the most annoying answers to any question is "it depends". But, unfortunately, this is an accurate answer for many questions that have the form "What is the best way to do...".

A question that was asked during Tuesday's webinar on Tagging and Folksonomy schema choices was the following:

Could you tell us the best practices for managing summary or statistic data in the database?

I responded online that I would write a blog entry with answers to that question, and I that blog article is currently underway and should be available soon. However, I want to point out that there really …

[Read more]
What I've Been Up To Recently (What's On the Jay-dar)

So, recently, I've been spread out working on quite a few projects and trying to get a bunch of community members talking with each other and collaborating (or at least starting to talk about efforts to contribute to the MySQL code base). Some of the main things I've been working on are the following fairly big projects, all of which I am still looking for suggestions, volunteers, and input from everyone.

The Community Build Farm

About a month ago, I broached the topic of having a community build and testing platform through which community members can enlist any spare boxen lying around their houses in order to pull the most recent snapshots from our source trees and automatically build and test those snapshots.

Ronald Bradford, our community extraordinaire down-under, put together …

[Read more]
OSCON Interviews: Solid

It's already a month old, but I just stumbled over this ITtoolbox Interview with Jonathan Cheyer (Open Source Community Manager) and Murat Demiroglu (Senior Product Manager) from Solid Information Technology, in which Dru Lavigne talks with them about Solid (the company) and the solidDB for MySQL storage engine, which is currently in beta testing. I still remember Solid from my times at SUSE Linux, where it used to be a part of the Linux distribution along with MySQL, PostgreSQL, Adabas D and several other DBs...

OSCON Interviews: Solid

It's already a month old, but I just stumbled over this ITtoolbox Interview with Jonathan Cheyer (Open Source Community Manager) and Murat Demiroglu (Senior Product Manager) from Solid Information Technology, in which Dru Lavigne talks with them about Solid (the company) and the solidDB for MySQL storage engine, which is currently in beta testing. I still remember Solid from my times at SUSE Linux, where it used to be a part of the Linux distribution along with MySQL, PostgreSQL, Adabas D and several other DBs...

Showing entries 40011 to 40020 of 44045
« 10 Newer Entries | 10 Older Entries »