Redian新闻
>
why did this sql statement always fail in oracle?
avatar
why did this sql statement always fail in oracle?# Database - 数据库
e*r
1
I tried to find duplicate records from a table of 30,000,000 records:
select count(*), link, id from table group by link, id having count(*) > 1;
It always died. any suggestions ?
thanks
avatar
e*r
2
toad complains that it is out of menory.

any
avatar
w*r
3
Table maybe created with parallel level too high and it ran out of PGA .
try add parallel hint in the query to make it sequential.

【在 e******r 的大作中提到】
: toad complains that it is out of menory.
:
: any

avatar
e*r
4
I have already alter the table from parallel to nonparallel, but
it is still too slow to progress 30 million records

【在 w*r 的大作中提到】
: Table maybe created with parallel level too high and it ran out of PGA .
: try add parallel hint in the query to make it sequential.

avatar
c*d
5
30 million records take some time

【在 e******r 的大作中提到】
: I have already alter the table from parallel to nonparallel, but
: it is still too slow to progress 30 million records

avatar
e*r
6
The current problem is not that it takes time, but my PC crashed once
it was lauched a while.

【在 c*****d 的大作中提到】
: 30 million records take some time
avatar
w*r
7
ur pc?????
not the process on oracle???
are u pulling records from oracle?
what tool?

once

【在 e******r 的大作中提到】
: The current problem is not that it takes time, but my PC crashed once
: it was lauched a while.

avatar
B*g
8
If toad version is lower than 9, upgrade now.
发信人: eecareer (没睡醒, 明天接着睡), 信区: Database
标 题: Re: why did this sql statement always fail in oracle?
发信站: BBS 未名空间站 (Sun Nov 16 13:59:01 2008)
toad complains that it is out of menory.

【在 w*r 的大作中提到】
: ur pc?????
: not the process on oracle???
: are u pulling records from oracle?
: what tool?
:
: once

avatar
a*t
9
query against 30M records without knowing how much data it is returning?
1st of all, I don't think it's a good idea to query against 30M records
2nd, if it is returning millions rows of of results all at once, no PC or
server can handle that.

【在 e******r 的大作中提到】
: The current problem is not that it takes time, but my PC crashed once
: it was lauched a while.

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