avatar
mysql challenge# Database - 数据库
b*e
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
avatar
n*e
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

avatar
b*e
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'?

avatar
ug
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

avatar
a*a
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.
avatar
b*e
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

avatar
p*v
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

avatar
B*n
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..:)

avatar
ug
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

avatar
p*v
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 :)

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。