[前][次][番号順一覧][スレッド一覧]

mysql:7343

From: "tadashi nagao" <"tadashi nagao" <tadashi@xxxxxxxxxx>>
Date: Mon, 24 Mar 2003 23:41:00 +0900
Subject: [mysql 07343] Re: 日本では、 PostgreSQL がはやっている

長尾です。

 >   DB2 の方が PostgreSQL よりも、とてもよいプランを出すことがあり、PostgreSQL
> では、クエリーを変えなければ、速くできない場合があることもあります。どの場合に
> も、最善なデータベースというのはないんじゃないですか?
>

ですね。そういう意味で、それぞれのDBのうまいポジショングを見つけて、活用するように
するのがいいのではないでしょうか?

MySQL は、アプリべったりのデータベースとして見えないものとして、使われてゆくのが、
流れのような気がします。

先にあげた、MySQL でなく、PostgreSQL を選択したhttp://openacs.org/philosophy/why-not-mysql.html
にあるように、SQLとしてちゃんとしていないと評価されるのが大きいでしょう。

特に下記はどうなんでしょう。下記の案件は、個人的にはトランザクションよりも、
ダウングレードと考えるなら、非常に厳しいです。
PL/SQL ばりばり使っているアプリからみると、MySQL はダウングレードの対象には
なりません。

(1)MySQL has no subqueries.
Instead of performing one complex query that is entirely processed on the database end, MySQL users have to perform 2 or more serial
queries that each must go over inter-process or network communication between the app and the database. This significantly reduces
the speed advantages of MySQL.

(2)MySQL has no stored procedures.
If a series of DB actions need to be performed in a block, MySQL requires each SQL statement to be sent from the app, again in a
serial manner, again over IPC or network.

(3)MySQL has no triggers or foreign key constraints.
Data invariants must be maintained by application-level code, which requires building carefully-planned abstractions to guarantee
integrity (for every means of accessing your DB), and even more unnecessary back-and-forth communication between the app and the
database.


[前][次][番号順一覧][スレッド一覧]

      7279 2003-03-22 15:23 ["tadashi nagao" <tad] 日本では、 PostgreSQL  がはやっている   
      7281 2003-03-22 18:54 ┣[FUKUMOTO Wataru <nh4]                                       
      7282 2003-03-22 19:09 ┃┣[TORU NOMURA <toru200]                                     
      7284 2003-03-22 19:33 ┃┃┗[Yusuke Naito <naito@]                                   
      7287 2003-03-22 20:06 ┃┗[とみたまさひろ <tomm]                                     
      7288 2003-03-22 20:29 ┃ ┣[SUGAWARA Hajime <sug]                                   
      7289 2003-03-22 20:55 ┃ ┃┗[Yusuke Naito <naito@]                                 
      7293 2003-03-22 23:10 ┃ ┣["tadashi nagao" <tad]                                   
      7298 2003-03-23 06:14 ┃ ┃┗[Hidesuke Shimada <hi]                                 
      7303 2003-03-23 10:02 ┃ ┃ ┣["tadashi nagao" <tad]                               
      7321 2003-03-24 16:57 ┃ ┃ ┗[Naoki Shibata <naoki]                               
      7324 2003-03-24 17:35 ┃ ┃  ┣["TetsuyaSasaki" <sas]                             
      7325 2003-03-24 17:36 ┃ ┃  ┣[深海水草 <VYG01106@x]                             
      7338 2003-03-24 21:50 ┃ ┃  ┃┗[池田 秀一 <hikeda@x]                           
      7326 2003-03-24 19:14 ┃ ┃  ┣[mohri <mohri@xxxxxxx]                             
      7337 2003-03-24 21:42 ┃ ┃  ┃┣["TAKAHASHI, Tomohiro]                           
      7341 2003-03-24 22:12 ┃ ┃  ┃┗[<sugita@xxxxxxxxxx> ]                           
->    7343 2003-03-24 23:41 ┃ ┃  ┃ ┗["tadashi nagao" <tad]                         
      7348 2003-03-25 00:48 ┃ ┃  ┃  ┣["Taya Mitsuhiro" <ta]                       
      7349 2003-03-25 02:34 ┃ ┃  ┃  ┗[<sugita@xxxxxxxxxx> ]                       
      7366 2003-03-26 08:12 ┃ ┃  ┃   ┗["tadashi nagao" <tad]                     
      7330 2003-03-24 20:08 ┃ ┃  ┗["Taya Mitsuhiro" <ta]                             
      7335 2003-03-24 21:22 ┃ ┃   ┗[Naoki Shibata <naoki]                           
      7339 2003-03-24 21:50 ┃ ┃    ┗[深海水草 <VYG01106@x]                         
      7301 2003-03-23 08:55 ┃ ┗[FUKUMOTO Wataru <nh4]                                   
      7283 2003-03-22 19:29 ┣[<tutui@xxxxxxxxxx>  ]                                       
      7285 2003-03-22 19:49 ┃┣[Yusuke Naito <naito@]                                     
      7290 2003-03-22 21:09 ┃┣["TAKAHASHI, Tomohiro]                                     
      7332 2003-03-24 20:25 ┃┃┗[TORU NOMURA <toru200]                                   
      7336 2003-03-24 21:39 ┃┃ ┗["TAKAHASHI, Tomohiro]                                 
      7309 2003-03-24 00:45 ┃┗["tadashi nagao" <tad]                                     
      7310 2003-03-24 02:18 ┃ ┗[<tutui@xxxxxxxxxx>  ]                                   
      7311 2003-03-24 02:44 ┃  ┗[tateyan <tateyan@xxx]                                 
      7312 2003-03-24 03:15 ┃   ┣[<sugita@xxxxxxxxxx> ]                               
      7314 2003-03-24 08:53 ┃   ┃┗["tadashi nagao" <tad]                             
      7315 2003-03-24 09:57 ┃   ┃ ┗[<sugita@xxxxxxxxxx> ]                           
      7313 2003-03-24 03:51 ┃   ┗[<tutui@xxxxxxxxxx>  ]                               
      7316 2003-03-24 10:00 ┃    ┗[<sugita@xxxxxxxxxx> ]                             
      7294 2003-03-22 23:19 ┣["TetsuyaSasaki" <sas]                                       
      7295 2003-03-22 23:43 ┃┗[TORU NOMURA <toru200]                                     
      7296 2003-03-23 00:15 ┃ ┣[とみたまさひろ <tomm]                                   
      7299 2003-03-23 07:55 ┃ ┃┗[TORU NOMURA <toru200]                                 
      7300 2003-03-23 08:50 ┃ ┃ ┗[とみたまさひろ <tomm]                               
      7297 2003-03-23 03:33 ┃ ┗["TetsuyaSasaki" <sas]                                   
      7306 2003-03-23 20:39 ┣["Taya Mitsuhiro" <ta]                                       
      7307 2003-03-23 23:42 ┃┗[Hidesuke Shimada <hi]                                     
      7308 2003-03-24 00:23 ┃ ┗[Katuhisa Uramoto <ka]                                   
      7317 2003-03-24 10:28 ┃  ┗["Taya Mitsuhiro" <ta]                                 
      7318 2003-03-24 13:52 ┃   ┗["Kazu Kimura" <kazu@]                               
      7319 2003-03-24 14:39 ┃    ┗[Tatsuhiko Miyagawa <]                             
      7323 2003-03-24 17:15 ┗[小川星児 <sogawa@xxx]