I always enjoy trying to do my work creating web applications using the fewest number of database queries possible. It's kind of a pride thing, I guess. That and I suppose it makes to improve an app's performance and reduce the load on a server. If you're into that kind of thing. ;)A technique I use subtitutes the temptation of using queries whose results call queries and instead uses only two. ...
Welcome to the thirtieth edition of Log Buffer, the weekly review of database blogs. We start with an item on O’Reilly Radar by Tim O’Reilly: Data is the Intel Inside. Tim shows some evidence in favour of the the notion that, in the post-Web-2.0 world (”Web 2.0″ being a coinage of his own), where data and [...]
I have written a long, long blog entry How fast is mysqlnd-5.0.0-alpha?.I do not want to spam the Planets with all of it. It’s aimed at PHP and MySQL users that want to hear in detail what we know about the performance of the first alpha release of the MySQL native driver for PHP.
The following table demonstrates pretty well where we are with mysqlnd. For a first alpha it shows an acceptable performance.
As an example of a realistic benchmark, we have followed the decision of the german computer magazine c’t and choosen the Dell DVD Store. Last year a MySQL team had won ( …
[Read more]I have written a long, long blog entry How fast is mysqlnd-5.0.0-alpha?.I do not want to spam the Planets with all of it. It’s aimed at PHP and MySQL users that want to hear in detail what we know about the performance of the first alpha release of the MySQL native driver for PHP.
The following table demonstrates pretty well where we are with mysqlnd. For a first alpha it shows an acceptable performance.
As an example of a realistic benchmark, we have followed the decision of the german computer magazine c’t and choosen the Dell DVD Store. Last year a MySQL team had won ( …
[Read more]
Every time I walk into the MySQL office here in Machester by the
Sea
I find myself eyeing the WRT54G and thinking to myself "Hmmmm I
have
the latest image of DD-WRT on my laptop, and this router is a
version
3,... it is such a shame its running that lousy firmware."
Thanks to age, and the wish to not become IT staff, I never flash
it.
But is is tempting.
At Antioch I taught a class in operating system design when
386BSD
had just been out for a year or so. Learning "UNIX" was hot then
and
there was a demand for the class. At the time 386BSD, which
eventually became FreeBSD, was the only route to go for a PC that
got
you an un-crippled version of a UNIX like OS.
It came on 54 floppies. My students would download it, and run
off to
find PC's to play with. Since Antioch had almost know Intel
machines
at the time, almost …
I have to deal with it now and a lot of other people too, judging
by the utf8/unicode/encoding topics on the django mailing list. I
have found this one thread quite interesting and looks
like the problem solver, but may be I also just need to learn a
bit more about the bits and pieces that make this whole thing
work. This message obviously tells how to make mysql
completely aware and well-handling utf8.
Next thing on the list the django setting parameter DEFAULT_CHARSET.
Over-the-Top Tales from the Trenches.
Motto: Bringing order to the chaos of every day DBA life.
This diary has made you conversant in the world of RMAN standbys, duplicates and corruptions… exposed you to the world the
hidden nature of shmmax. You have seen the nastiness of Oracle
MONTHS_BETWEEN. What more worlds
and mysteries are left for us to conquer? Do we weep like
Alexander, or board a boat and discover America?
Actually, my aim in any posting is to make your job as a DBA in Oracle, SQLserver and …
[Read more]Dear Developers,
we are proud to announce the first alpha version of the MySQL native driver for PHP: mysqlnd 5.0.0-alpha. The software is available for download on http://dev.mysql.com/downloads/connector/php-mysqlnd.
The MySQL native driver for PHP is an additional, alternative way to connect from PHP 6 to the MySQL Server 4.1 or newer. It is a replacement for libmysql, the MySQL Client Library. From now on you can use ext/mysqli either together with libmysql as you did in the past or with mysqlnd. The MySQL native driver for PHP requires PHP 6 and can connect to MySQL Servers 4.1 or newer.
We have no plans to remove …
[Read more]Dear Developers,
we are proud to announce the first alpha version of the MySQL native driver for PHP: mysqlnd 5.0.0-alpha. The software is available for download on http://dev.mysql.com/downloads/connector/php-mysqlnd.
The MySQL native driver for PHP is an additional, alternative way to connect from PHP 6 to the MySQL Server 4.1 or newer. It is a replacement for libmysql, the MySQL Client Library. From now on you can use ext/mysqli either together with libmysql as you did in the past or with mysqlnd. The MySQL native driver for PHP requires PHP 6 and can connect to MySQL Servers 4.1 or …
[Read more]
Read here how to change all your DB to utf8, pretty
simple, but you gotta know it. Even when your app runs in latin1
only, it reduces a couple problems in case you forgot some check
and utf8 is slipping through. I will let you know if I can prove
that right. But since Django is trying to be unicode compliant, it’s
easier to use it than to work around it.
It does at least already eliminate the problem of getting this
error:
Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and
(utf8_general_ci,COERCIBLE)
this was discussed here.
In short:
ALTER TABLE tbl_name CONVERT TO CHARACTER SET …