Showing entries 37491 to 37500 of 44035
« 10 Newer Entries | 10 Older Entries »
"The 'we win by killing' days are passing"

By Tim O'Reilly

In today's article about new open source releases from Sun, Microsoft, and Adobe, Wired News quoted our very own Nat Torkington:

"Microsoft is in a new era. The Bill Gates cutthroat 'we win by killing' days are passing," says Nat Torkington, co-chair of the O'Reilly Open Source Convention. "Microsoft exists by making users happy. And sometimes -- just sometimes -- you make Microsoft users happy by giving them a technology that wasn't invented at Microsoft."

Nat sure is quotable (and you should definitely read the full text of his comments), but I'm not sure that he's entirely right, at least not about the industry as a whole. Yes, in an era of open standards and open source software, it's easier for users to …

[Read more]
Attack of the MySQL Engines - INSERT Performance

So I have been doing quite a bit of benchmarking and while most of my tests have been amazingly simple, I thought I would share some of my findings. The following is the total time it took to run a series of simple inserts over various threads and engines:

Threads MyISAM PBXT InnoDB Memory Archive Blachole
1 11.16 13.65 39.51 9.92 10.54 9.82
2 7.86 8.59 20.60 6.36 6.17 5.35
[Read more]
Work With the She-BA

You’ve heard me on the MySQL Podcast at http://www.technocation.org, now come work with me, the “She”-BA!

The company I work for is an online social networking/dating site. Our main product is for men seeking men in 87 countries throughout the world. We’re looking for another MySQL DBA, as designing schemas maintaining data integrity for our 1 million users (and growing fast!). The salary is dependent upon experience of course, but the company I work for pays on the high side of the industry standard for the Boston area.

Application Instructions
Please send cover letter, résumé and sample schema to work@online-buddies.com, with “MySQL DBA” as your subject. The
sample schema should reflect your abilities, so if you send along a schema you would like to see improved, include a description of what you would love to do to that schema to make it better.

[Read more]
DbConnectionStringBuilder and the property grid control

This may be obvious to some but it wasn't to me so I thought I'd write about it.  Recently I discovered a problem with our implementation of DbConnectionStringBuilder.  Whenever you changed a field that took a string (i.e. character set or server), the connection string property would not update.  I know the changes were applied because I developed a test application that queried the connection string.  It was correct even though the UI of the property grid was not. 

After an embarrassingly long time working on this I emailed a friend of mine who I felt would know the answer.  Turns out he didn't but he knew someone who did and not more than 30 minutes after talking with him I had my answer.  Each property of MySqlConnectionStringBuilder needs to be decorated with the RefreshPropertiesAttribute.  This causes the property grid to refresh itself when they change.

Log Buffer #44: a Carnival of the Vanities for DBAs

Welcome to the 44th edition of Log Buffer, the weekly compendium of database blogs. This one’s a grab-bag. Let’s start with some Oracle stuff this week. Christian Shay notes that Oracle 10g for Windows Vista, is available for download. That is sure to please Oracle doyen and fervent Vista booster Doug Burns, who also has [...]

Retrieving autoincrement field values

Often people ask me how to retrieve the value of an autoincrement column when they are using the MySqlCommandBuilder object.  Generally this is done by appending something like ";SELECT last_insert_id()" onto the generated insert command text.  Command builder objects usually provide some type of syntax where a user can indicate that they want this to be done.  Connector/Net 1.0 had some syntax for this but starting with Connector/Net 5.0 that all changed. 

With the new ADO.Net 2.0 API, Microsoft did not directly provide for any type of API that users could use for selecting this.  With ADO.Net 2.0, there are two things that need to happen.  First, a SELECT statement similar to above must be attached to the INSERT command.  Second, the command object must have its UpdatedRowSource property set to Both or FirstReturnedRecord.  What this does is tell the data adapter update engine to take the …

[Read more]
RHX Announced at Red Hat Summit

"

Red Hat formally announced the Red Hat Exchange (RHX) at this week's Red Hat Summit in San Diego.  This was a great conference for Linux sysadmins, developers and those who are using or contributing to open source development. It was also nice to see how well JBoss is doing at Red Hat.  Although Marc Fleury left the company some time back, they've retained a huge strength in the JBoss development organization and customers are now getting the benefit of an integrated stack.  There were a lot of folks rooting for a successful integration of JBoss into Red Hat and I think they've made it happen.

There were many technical sessions as well as keynotes highlighting several new initiatives, the most important of which I believe is RHX.  While RHX is not a technical …

[Read more]
Dynamic Specifications with Rspec

Sometimes you may need to create a set of rspec specifications with pretty similar structure and small differences. I’ve got such situation in my project and decided to try to use Ruby’s dynamic code generation features to make my spec file shorter.

I have some multiplexing helper in my templates which allows me to use the same template for different similar pages. This helper returns URL from the set of params and a type. It could accept 5 different url types and raises an Exception when requested URL type is invalid. Without this dynamic code generation feature I would need to create 5 different specifications (one for each URL type) to be able to see each URL type test as a separate line in test results log. But with this simple technique my code looks like following now:

describe VideoHelper, 'when profile_video_url method called' do

  before do

    @user = mock('user')

[Read more]
New MySQL UDF generator release, project moved

I released version 0.9.8 of my MySQL UDF code generator yesterday and i finally moved development over to my own php-baustelle.de family of sites.


Continue reading "New MySQL UDF generator release, project moved"

Upgrade news & OpenID

Today I upgraded the blog software at sheeri.com (and sheeri.net and sheeri.org). Please let me know if you find something that doesn’t work as expected — awfief@gmail.com.

At the MySQL Users Conference, my good friend Mark Atwood (creator of the free Amazon S3 Storage Engine) mentioned that any site with a login should have OpenID as an option.

Mark, I upgraded for you! I was using Wordpress 1.5.2, now I’m at the “latest” version. Anyway, this is just to let folks know that if you so choose, you may now use OpenId if you wish to login and make comments.

Of course, I do not require login (and have a great spam filter) so that’s just another choice you have.

Showing entries 37491 to 37500 of 44035
« 10 Newer Entries | 10 Older Entries »