b****e 发帖数: 1275 | 1 let's say i have a task..
in a table that has 1 million rows, find a row
(search by primary key) and then go back say
100000 rows.. give me that row
how long does it take on mysql? how long on oracle,
ms sql or sybase :)
oh yeah.. mysql is faaaaaaaaaaaaaaaaaaaaaaaaaaast |
n******e 发帖数: 50 | 2 Really faster then Oracle,etc?
What do you mean by 'row back'?
【在 b****e 的大作中提到】 : let's say i have a task.. : in a table that has 1 million rows, find a row : (search by primary key) and then go back say : 100000 rows.. give me that row : how long does it take on mysql? how long on oracle, : ms sql or sybase :) : oh yeah.. mysql is faaaaaaaaaaaaaaaaaaaaaaaaaaast
|
b****e 发帖数: 1275 | 3 sorry.. i meant "go back" :( typo..
and if you didn't notice.. i was being
sarcastic when i said fast :)
【在 n******e 的大作中提到】 : Really faster then Oracle,etc? : What do you mean by 'row back'?
|
ug 发帖数: 1643 | 4 What is the SQL for this task? Just for curiosity.
【在 b****e 的大作中提到】 : let's say i have a task.. : in a table that has 1 million rows, find a row : (search by primary key) and then go back say : 100000 rows.. give me that row : how long does it take on mysql? how long on oracle, : ms sql or sybase :) : oh yeah.. mysql is faaaaaaaaaaaaaaaaaaaaaaaaaaast
|
a*****a 发帖数: 438 | 5 find a row among 1M rows. that's SQL, isnt it?
to rollback is not SQL but it's an important metric for a
DBMS
【在 ug 的大作中提到】 : What is the SQL for this task? Just for curiosity.
|
b****e 发帖数: 1275 | 6 i meant go back.. not rollback :(
【在 a*****a 的大作中提到】 : find a row among 1M rows. that's SQL, isnt it? : to rollback is not SQL but it's an important metric for a : DBMS
|
p**v 发帖数: 7 | 7
You mean the buffering cache stuff in Oracle making it faster, hehehe... I dont know..:)
But I do think Mysql is pretty cool, the more you use, the more you find out.
Oracle has too many fancy junky which is basically useless, and they charge like
a hell..:)
【在 b****e 的大作中提到】 : let's say i have a task.. : in a table that has 1 million rows, find a row : (search by primary key) and then go back say : 100000 rows.. give me that row : how long does it take on mysql? how long on oracle, : ms sql or sybase :) : oh yeah.. mysql is faaaaaaaaaaaaaaaaaaaaaaaaaaast
|
B*****n 发帖数: 135 | 8 MySQL and Oracle have pros and cons in different aspects.
MySQL is cheap and fast and easy to setup if you only use it
in a
small shop;
on the other hand on one doing mission-critical will be
foolish
enough to choose MySQL over Oracle.
i guess it's all comes down to know your needs, and know the
facts before you post :)
【在 p**v 的大作中提到】 : : You mean the buffering cache stuff in Oracle making it faster, hehehe... I dont know..:) : But I do think Mysql is pretty cool, the more you use, the more you find out. : Oracle has too many fancy junky which is basically useless, and they charge like : a hell..:)
|
ug 发帖数: 1643 | 9
I still don't understand. I am barely new to DB, only learned some stuff
from school, haven't real experience yet.
What do you mean by go back? And how do you instruct the DBMS to do that?
And what is the file orgnization of the table?
Is there any indexes on the table? and what kind of index?
How large is the buffer bool in each DBMS you test?
What is the average size of your row?
Do you test the query alone OR together with other query running concurrently?
Again, the question are for my curi
【在 a*****a 的大作中提到】 : find a row among 1M rows. that's SQL, isnt it? : to rollback is not SQL but it's an important metric for a : DBMS
|
p**v 发帖数: 7 | 10 I was talking about speed, sure, overall Oracle is a better database, but how abut
capability vs price?(which mysql is infinity..:) Anyway, dont wanna offend O fans
here, after all, we all living on it.
【在 B*****n 的大作中提到】 : MySQL and Oracle have pros and cons in different aspects. : MySQL is cheap and fast and easy to setup if you only use it : in a : small shop; : on the other hand on one doing mission-critical will be : foolish : enough to choose MySQL over Oracle. : i guess it's all comes down to know your needs, and know the : facts before you post :)
|