Showing entries 36001 to 36010 of 44875
« 10 Newer Entries | 10 Older Entries »
CouchDB on PHP Abstract or how I only want to store data

My first Podcast, yeah!

Early the a week I recorded a short introduction to CouchDB for PHP Abstract.

If you like to quote, or copy or anything (after all this is under a Creative Commons license), here’s the transcript:

CouchDB

CouchDB is a new database system that breaks with a lot of traditions. Prepare to be confused or even offended. While a lot is different from traditional data management systems, the core concepts should be familiar to you.

Try to forget, just for a moment, all you know about SQL, relations, replication and all simple and advanced techniques you use to solve your problems when it comes to data storage. Instead, remember the days when you were a beginning PHP developer (if you are a beginner, perfect). …

[Read more]
Adding a Business Rule to Your Database

I have been talking about many theories in the past and in my last post, I decided to start doing something instead of just talking about it.
So here we go..



Adding a Business Rule

We need to start adding some logic-rules to the database. There are two ways you can do this:

  1. To create a View with IFs and other functions - this will process the data every time to give you the results

  2. To save the result of the logic to the database table using a trigger - this might save some of the repeating processes but will take up more space and might slow things down during new inserts.


Both of these, you can do in your application right now. You can make a complicated …

[Read more]
MySQL in the firing line again as IBM snaps up SolidDB

Just when I thought I?d be in for a quiet last day in the office before Christmas? IBM has announced that it is to acquire in-memory database specialist Solid Information Technology in a move that sees it competing directly up against the TimesTen functionality that Oracle acquired in June 2005.

The aqcuisition also has implications for MySQL given Solid’s development of the SolidDB for MySQL engine, an optional replacement for InnoDB (also of course acquired by Oracle).

While MySQL is in the firing line, it does not appear to be the intended …

[Read more]
The importance of being different

MySQL CEO Marten Mickos has spoken before about how he is more interested in learning from the successes of Ikea, Ryanair and Virgin Mobile than he is the established proprietary software vendors. Even so, it was surprising to see that Red Hat has looked outside the software industry for its new president and CEO.

Jim Whitehurst was most recently chief operating officer at Delta, where he had responsibility for operations, sales …

[Read more]
From the Solution Pool this evening...

The user has session data in memcached. It is set to expire after X period of time.

How do you update the database to know when the expiration happened?

Poll for the data.

When you create the session data add a "session_active" field to the account. If you create a session for the user set this to "on", otherwise default it to off.

Now insert the data into memcached and set an expire on it. Each time you fetch the data, touch it to last a bit longer.

How do you turn off the enum "session_active" in MySQL?

Write an Event in 5.1 and probe Memcached via UDF to find out if the data still exists. If it does not, update the field. Just select each row that showed an active session and check it.

I got asked this in IRC and had to think about the logic of this. I am not sure I would design a need into knowing if a session variable still existed or not, …

[Read more]
Spinn3r Talk Accepted at 2008 MySQL Users Conference

A

I've finally just used OpenID "for real" for the first time

I'm a big fan of OpenID. However, pretty much all of my past uses of it have been experiments, demonstrations, or because I sought out OpenID enabled sites.

A couple of days ago, I finally used it "for real".

A client of MySQL's uses a system called projectpath.com. And when I first went to it, I saw that it is OpenID enabled!

It's kind of a pity that MySQL.com isn't an OpenID provider for it's staff, like Sun.com does, so that I could have used something like "http://openid.mysql.com/mark.atwood" for it. Instead I just used my personal OpenID of "http://mark.atwood.name/".

How I patched InnoDB to show locks held

I’ve written before about how to figure out which connection is holding the InnoDB locks for which other connections are waiting. In other words, how to figure out who’s blocking you from getting work done when you get InnoDB lock timeouts or other InnoDB lock contention. The short and sweet: turn on the InnoDB lock monitor and use innotop to look at the locks held and waited-for. The InnoDB lock monitor has a few major disadvantages, though:

MySQL Workbench 5.0.11 Beta out

We just unleashed version 5.0.11 Beta of MySQL Workbench. We fixed the nasty bug, that prevented us from releasing .11 earlier. To find out what’s new take a look at this page (You can trace all changes in detail here).

Although the filenames say 5.0.11a (notice the trailing ‘a’), what’s actually inside the packages is our official 5.0.11 beta release. That’s because we had already uploaded the files to our mirrors when we found that index-related bug on monday - so the fastest way for this release was, to add the suffix.

Please fetch the new release right away and keep up your good work with testing and reporting bugs.

MySQL User Conference Registration Open

The 2008 MySQL Conference & Expo registration is opened!

Time flies. We’re already at our sixth Users Conference! Looking at the announcement:

Co-presented by MySQL AB and O’Reilly Media, the conference will take place April 14-17, 2008, in Santa Clara, California. The event is expected to bring together over 1,600 open source and database users from some of the most exciting and fastest-growing companies in the world, as well as from the large and active MySQL Community. The program for 2008 will include keynote presentations by Jacek Becla of Stanford Linear Accelerator and MySQL CEO Marten Mickos.

Jay Pipes, our Program Chair, has lead a huge effort in identifying the best out of the near-300 proposals for sessions. …

[Read more]
Showing entries 36001 to 36010 of 44875
« 10 Newer Entries | 10 Older Entries »