Showing entries 38751 to 38760 of 44871
« 10 Newer Entries | 10 Older Entries »
451 CAOS Links - 2007.04.18

Open Solutions Alliance announces board. ITerating launches wiki software guide. EnterpriseDB shares Q1 successes. (and more)

Open Solutions Alliance Gets Down to Business - Publishes Interoperability Roadmap, Announces First Major Project and Board of Directors, Open Solutions Alliance (Press Release)

Announcing ITerating.com, The First Wiki-Based Guide to Commercial, Open Source and Hosted Software, ITerating (Press Release)

EnterpriseDB Posts Record First Quarter Results, Rounds Out Executive Team, EnterpriseDB (Press Release)

Canonical Ltd. Joins the GNOME Foundation?s Advisory …

[Read more]
PEAR::HTML_BBCodeParser Parser Issue

I’ve come into a situation where I require to have BBCode parsed, this includes the standard tags supported by PEAR package HTML_BBCodeParser and custom BBCode tags I’ve added myself.

My problem is this, I’ve discovered that when an value has a space within the value the value is truncated at the first occurrence of the space. This applies to a URL, image file names and any additional attribute values (alt, style, etc.). This issue is present in the stable release and latest release in CVS for HTML_BBCodeParser. Here is some examples.

Before BBCode Parser
   [url=http://www.somedomain.com/Foo World?str=1]Foo World
After BBCode Parser
   <a …
[Read more]
MySQL Stored routines at the Users Conference


The Users Conference and Expo is approaching fast. As a last minute assignment, I will be speaking about Stored routines for MySQL administration. The session will cover the basics of stored routines and their specifics for administration.


Coincidentally, today was published a review of an excellent book about MySQL Stored Procedures programming by Guy Harrison and Steven Feuerstein. I warmly recommend this book to anyone using stored routines with MySQL.
FindBugs - Writing custom detectors (Part 1)

Some words in advance...

Recently I wrote about multi-threading problems with java.util.Calendar and java.text.DateFormat. The last sentence was So maybe it is time to search your code for all static usages of the Calendar and various ...Format classes, before you start getting strange errors.

Searching code is not very practical, especially if you do it manually. Everyone knows you can look at code for hours, without seeing an problem - and as soon as it has reached production systems it starts breaking up in various ways :-)

Fortunately smart and reknown people have devised ways of making the computer look for bugs automatically. Amongst others, …

[Read more]
FindBugs - Writing custom detectors (Part 1)

Some words in advance...

Recently I wrote about multi-threading problems with java.util.Calendar and java.text.DateFormat. The last sentence was So maybe it is time to search your code for all static usages of the Calendar and various ...Format classes, before you start getting strange errors.

Searching code is not very practical, especially if you do it manually. Everyone knows you can look at code for hours, without seeing an problem - and as soon as it has reached production systems it starts breaking up in various ways :-)

Fortunately smart and reknown people have devised ways of making the computer look for bugs automatically. Amongst others, …

[Read more]
uuid()! Hit a duplicate key!

Wow!

[brian@zim memcache_engine]$ ~/tangent/bbench/network_run.sh
/home/brian/mysql-builds/example/bin/mysqlslap: Cannot run query INSERT INTO t1 VALUES (uuid(),1233983202,789373855,'jdtPbBILRQyiu7nZN3RdI96aQOP4Y0z7dlO4wbQF1OpvYdLnggGrqMP8mjCAjB9CwQHk1jruzhhXA2BibRZPqrPSQdX9gYDTyWDr5xdxWJSgDXEozg5hNW1pzYqgx3','9nQEfN38KZRh5hCCL3sRkFpm4pAuL7pWvFcQXgar52O3bdFwY7FHE53ImD47LtT81xaYT8Fb2YWd1lQZshqyelGOzCNCxsCyimMBmWep28IvlkSTIJRw4bDvnczlLB','bvpq6cCdH6db1NCTsWgKIdvXOb0OKDRn8HdEthjAnLdochAS3qgMJclk3d0FqR2ykY5dDof119pdqz6mie816ld9NdO55R4pr9J4pq5rrnSieQSK5SEB5rLKTlQQ4M') ERROR : Can't write; duplicate key in table 't1'

That should not be possible. I actually hit a duplicate key while using uuid() as the primary key.

Freaky weird...

So what does this mean?

It means I have found a bug... because that is a hell of a lot more likely...

Got tired of waiting...

Our next version of Connector/Net will include support for Compact Framework 2.0.  One thing that's been challenging is how to test our provider in this environment.  We have a NUnit test suite that we use with the normal provider but so far I haven't found any good way to run it under the compact framework.  I know about CFNUnitBridge but I needed something that could also work with compact framework 1.0.

So, I decided to write my own.  After two days of hacking I now have an application that does just what I want.  It loads my test suite and implements all the NUnit framework junk that I use.  I gave it a reasonable UI similar to what is seen in NUnit's GUI runner.  You can select a single test to run and have it run all the tests.  It also keeps track of exception messages and stack traces per test failure.  Here's a shot of …

[Read more]
MySQL Memory Usage Profile Script

There are various tools available for gathering and monitoring mysql performance data, but it’s not always clear what they mean, what is important, and what can be tuned. I’m not going to try to post a comprehensive mysql tuning manual here. This post is about taking a snapshot profile of a mysql instance that will allow you to define what type of instance you are dealing with, and give you some idea about whether the current configurations are stable or not.

I’ll be using a script that I’ve designed for daily reporting on the mysql instances that we monitor. This script will be available in a follow-up post, but for now, you can see the output of the report itself and a break-down of the more important sections.

To start with, let’s look at an example report:
Sample Report 1

Global engine stats: 13 [InnoDB] 183 …

[Read more]
New PEAR release: CodeGen_MySQL_Plugin

I have just released CodeGen_MySQL_Plugin 0.1.0dev

This package has been around in PEAR CVS for quite a while, now it is finally seeing its first alpha release.

Starting with the upcoming 5.1 release MySQL will provide a general plugin interface within the MySQL server.
Up to MySQL 5.0 the only way the MySQL server could be extended without recompiling it was to add UDF modules that provide new user defined functions on the SQL level. The new generic plugin interface allows for different kinds of plugins to be implemented on top of it.

Currently the plugin interface supports the follwing kind of plugins:

  • "daemon" plugins that only hook into server startup and shutdown
  • fulltext parser plugins that change the way data is broken into words for fulltext indexes
  • storage engine plugins
[Read more]
The "Hands on Replication" webinar is ready to go

Tomorrow at 10.00 CET we will present the second webinar of the Online Solutions series.

We will talk about MySQL Replication and we will see some of the advanced techniques. We will set up basic, circular and multi-master replication on the fly, for those of you who are not yet familiar with this technology.

There are also hints, tips and tricks for advanced users and DBAs, with suggestions on hardware, storage engines and performance considerations, plus real examples from some big names - Yahoo, Flickr and Wikipedia to name few.

Thanks to everybody for the interest! This is the most successful set of webinars ever presented in Europe so far...

...and there's much more to see!

Stay tuned and see you tomorrow!

-ivan

P.S. The registration to the online webinar is  …

[Read more]
Showing entries 38751 to 38760 of 44871
« 10 Newer Entries | 10 Older Entries »