23:01 Percona is looking for a Perl and Python expert » MySQL Performance Blog

If you’re a Perl and/or Python expert (preferably both), Percona may have a job for you.

We’re looking to either hire or sponsor significant development efforts for some open-source tools for MySQL, including but not limited to Maatkit and the Master-Master Replication Manager. This could be full-time or part-time, depending on the person and what seems to make the most sense. You can work remotely.

You must already be an expert coder. You don’t have to be a MySQL expert, though it will help if you are at least at an intermediate level with it. You must have proven experience in test-driven development. You will be writing clean, efficient, well-tested code. Your work will be open-source and transparent to the world, and open-source experience is a plus. You can expect expert guidance and help (especially with the MySQL-specific parts), but a significant amount of freedom and autonomy as well.

Send your resume and samples of your work to ‘jobmysql’ at our blog’s domain name.


Entry posted by Baron Schwartz | No comment

Add to: delicious | digg | reddit | netscape | Google Bookmarks

16:45 Nokia收购Symbian 加入开放手机平台竞争 » WebLeOn's Blog

Nokia官方网站上今天有两条新的Press Release。第一条是完全收购塞班公司(Symbian Limited),诺基亚将支付2.64亿美元现金用于收购不属于其名下52%的塞班公司的股票。第二条是Symbian Foundation成立并将使Symbian系统免费,除了Nokia以外,Sony Ericsson、Motorola、Samsung、LG这几个最主要的手机厂商以及很多大的移动运营商都也已经加入了这个才刚刚成立的联盟。

跟昨天Nokia收购Plazes的消息比起来,今天诺基亚公布的两条消息显然要震撼得多。这表明,现在除了Apple的iPhone SDK和Google的Android以外,应用最为广泛的手机操作系统Symbian也加入了开放平台的竞争。

和10年历史的Symbian相比,Apple和Google在手机操作系统上都只能算是新生。这次Symbian的免费和开放,Apple和Google想通过开放平台来竞争手机操作系统市场份额的战略显然会受到重挫。昨天华尔街日报放出Android将推迟的消息,不知道是否也是受此影响。

虽然说Apple iPhone培养的大量高忠诚度的用户以及Google在互联网上的垄断地位还是会对他们在手机平台领域带来一点帮助,但是面对Symbian目前全球超过55%的市场占有率,Apple和Google的优势显得如此苍白无力。

手机除了通话之外,也成为我们越来越重要的信息交流平台。除了手机生产和运营会持续带来丰厚的利润,手机广告更是一个正在高速发展的市场。根据eMarketer的调研:到2012年仅巴西、俄罗斯、印度及中国的手机用户就将达到17亿,而全球的手机广告市场规模更将超过191亿美元。Nokia、Apple和Google虽然之前的主要盈利模式都不尽相同,但想必谁都不会轻易放过这个市场。


竞争才刚刚开始。
14:23 全民假期(呆伯特-20080623) » 呆伯特

原图

如果我们不能休假,就让我们的老板休假去罢!

其实我也不知道,“污点”要怎么翻才够恶毒?

14:21 读心(呆伯特-20080621) » 呆伯特

原图

10:57 Neat tricks for the MySQL command-line pager » MySQL Performance Blog

How many of you use the mysql command-line client?  And did you know about the pager command you can give it?  It's pretty useful.  It tells mysql to pipe the output of your commands through the specified program before displaying it to you.

Here's the most basic thing I can think of to do with it: use it as a pager.  (It's scary how predictable I am sometimes, isn't it?)

SQL:
  1. mysql> pager less
  2. mysql> SHOW innodb STATUS\G

For big result sets, it's a pretty handy way to be able to search and scroll through. No mouse required, of course.

But it doesn't have to be this simple! You can specify anything you want as a pager. Hmm, you know what that means? It means you can write your own script and push the output through it. You can't specify arguments to the script, but since you can write your own, that's not really a limitation.(Edit: I'm wrong! You can. See Giuseppe's comment below.) For example, here's a super-simple script that will show the lock waits in the output of SHOW INNODB STATUS. Save this file as /tmp/lock_waits and make it executable.

CODE:
  1. #!/bin/sh
  2.  
  3. grep -A 1 'TRX HAS BEEN WAITING'

Now in your mysql session, set /tmp/lock_waits as your pager and let's see if there are any lock waits:

SQL:
  1. mysql> pager /tmp/lock_waits
  2. PAGER SET TO '/tmp/lock_waits'
  3. mysql> SHOW innodb STATUS\G
  4. ------- TRX HAS BEEN WAITING 50 SEC FOR THIS LOCK TO BE GRANTED:
  5. RECORD LOCKS space id 0 page no 52 n bits 72 INDEX `GEN_CLUST_INDEX` of TABLE `test/t` trx id 0 14615 lock_mode X waiting
  6. 1 row IN SET, 1 warning (0.00 sec)

Pretty useful, isn't it? But we can do even more. For example, the Maatkit tools are specifically designed to be useful at the command line in the traditional Unix pipe-and-filter manner. What sort of goodies can we think of here?

SQL:
  1. mysql> pager mk-visual-EXPLAIN
  2. PAGER SET TO 'mk-visual-explain'
  3. mysql> EXPLAIN SELECT * FROM sakila.film INNER JOIN sakila.film_actor USING(film_id) INNER JOIN sakila.actor USING(actor_id);
  4. JOIN
  5. +- Bookmark lookup
  6. |  +- TABLE
  7. |  |  TABLE          actor
  8. |  |  possible_keys  PRIMARY
  9. |  +- UNIQUE INDEX lookup
  10. |     KEY            actor->PRIMARY
  11. |     possible_keys  PRIMARY
  12. |     key_len        2
  13. |     ref            sakila.film_actor.actor_id
  14. |     rows           1
  15. +- JOIN
  16.    +- Bookmark lookup
  17.    |  +- TABLE
  18.    |  |  TABLE          film_actor
  19.    |  |  possible_keys  PRIMARY,idx_fk_film_id
  20.    |  +- INDEX lookup
  21.    |     KEY            film_actor->idx_fk_film_id
  22.    |     possible_keys  PRIMARY,idx_fk_film_id
  23.    |     key_len        2
  24.    |     ref            sakila.film.film_id
  25.    |     rows           2
  26.    +- TABLE scan
  27.       rows           1022
  28.       +- TABLE
  29.          TABLE          film
  30.          possible_keys  PRIMARY
  31. 3 rows IN SET (0.00 sec)

Now, that's handy.

What are your favorite ideas?


Entry posted by Baron Schwartz | 3 comments

Add to: delicious | digg | reddit | netscape | Google Bookmarks


^==Back Home: www.chedong.com

^==Back Digest Home: www.chedong.com/digest/

<== 2008-06-23
  六月 2008  
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
==> 2008-06-25