Showing entries 40731 to 40740 of 44091
« 10 Newer Entries | 10 Older Entries »
Drupal's database interaction

I used XDebug to profile the behavior of Drupal, and to study the interaction with the database server. I aggregated the profile information of 100 requests to the main page using the "Apache, mod_php, PHP4, APC" configuration used for previous benchmark experiments. More information about my experimental setup is available at that page. XDebug generates a trace file with all the profile information which I visualized using KCacheGrind.

Drupal has a page cache mechanism which stores dynamically generated web pages in the database. By caching a web page, Drupal …

[Read more]
Drupal's database interaction

I used XDebug to profile the behavior of Drupal, and to study the interaction with the database server. I aggregated the profile information of 100 requests to the main page using the "Apache, mod_php, PHP4, APC" configuration used for previous benchmark experiments. More information about my experimental setup is available at that page. XDebug generates a trace file with all the profile information which I visualized using KCacheGrind.

Drupal has a page cache mechanism which stores dynamically generated web pages in the database. By caching a web page, Drupal does …

[Read more]
Weekend challenge: keeping ordered lists

Yep, here's another weekend challenge. It's not a regular thing, I just post one when I think of something and there's no prizes except eternal glory!

This time, try and come up with a nice clean and efficient way of maintaining ordered lists. That is, all items in a table, or groups of items, should be ordered *inside* that table/group relative to eachother, and it should be possible to move them around (i.e., change that order and insert new or existing items at any point) without too much hassle. That last requirement is probably the main thing you will want to think about...

Naturally, you shouldn't muck around with the auto-inc ID, you know how I feel about that ;-)

Good luck, and have a nice weekend!

Driving to FrOSCon

I am ready to leave for the FrOSCon Conference, taking place on Saturday and Sunday in St. Augustin/Germany.

Here's the program that contains many MySQL related sessions.

I hope to meet many MySQL people there ;-).

MySQL Addresses iStockphoto's Enterprise Needs
How much would you expect to pay for a 3 hour, remote E-Learning course?
How to select from an update target in MySQL

MySQL doesn’t allow referring to a table that’s targeted for update in a FROM clause, which can be frustrating. There’s a better way than creating endless temporary tables, though. This article explains how to update a table while selecting from it in a subquery. The problem Suppose I want to update a table with data from a subquery that refers to the same table. I might want to do this for a variety of reasons, such as trying to populate a table with its own aggregate data (this would require assignment from a grouped subquery), updating one row from another row’s data without using non-standard syntax, and so on.

O'Reilly Code Challenge 2006

Code Challenge 2006, sponsored by webdevity.de and O'Reilly in Germany, is open until August 15, and offers some serious prizes - sponsored by MySQL AB and other vendors and magazines.

The code challenge asks contestants to program one or more out of three tasks:

  • Webcalendar
  • Wikipodcast
  • CAPTCHA (Completely Automated Public Turing Test to Tell Computers and Humans Apart).

See Code Challenge 2006 for all the details!

A quick tour of LVM

The vmware config used for this example. This is a quick tour of LVM and a demonstration how it is superior to static partitions. Basically, LVM provides you with a way to create dynamic partitions - you will be able to grow and shrink partitions on demand, move them between disks and snapshot them for backup, all while the filesystem and database on top of it are active and busy.

The LVM tour in this blog post has been created on a vmware instance with a Suse 10.0 Professional installation which I am using to show a combination of RAID and LVM configuration examples. The vmware has a bit of memory, a network card, a boot disk with a text only Suse 10 installation and 8 small simulated SCSI disks besides the boot disk to demonstrate stuff.

Here is the configuration for the basic system.


Continue …

[Read more]
ALTER TABLE DevZone Article

Today I helped one of our lead Cluster developers, Martin Skold, finish up the editing on a article you should see posted on the MySQL Developers Zone page next week. The article is titled, "MySQL Cluster 5.0 ALTER TABLE In-Depth".

The article covers the MySQL ALTER TABLE syntax with code examples, how it works behind the scenes, and using the ndb_show_tables utility to verify results. He also gives us a preview into some of the improvements made to the ALTER TABLE functionality in 5.1.

ALTER TABLE enthusiasts should definitely check this article out. I'll add a link to the article on this blog post once the Web guys make it available.

- Jimmy

Showing entries 40731 to 40740 of 44091
« 10 Newer Entries | 10 Older Entries »