2008 Jul 22 1:41 PM
Hi Experts,
I have one master table, which contains about 16million records. My scenario is to retrieve all the data from the master table and display it using report. I am getting request time out error, when I use select statement. Can anyone tell me the other options to retrieve the whole data?
Regards,
Harish
2008 Jul 22 1:46 PM
Hi
you can go for CURSORS rather than directly using select statement.Using secondary indexes also you can acheive this
Regards
Pavan
Hi
you can go for CURSORS rather than directly using select statement.Using secondary indexes also you can acheive this
Regards
Pavan
2008 Jul 22 1:46 PM
Hi
you can go for CURSORS rather than directly using select statement.Using secondary indexes also you can acheive this
Regards
Pavan
2008 Jul 22 1:48 PM
Hi Pavan,
Can you give some example coding?
My coding is ,
Select fld1 fld2 fld3 fld4 fld5 fld6 from tab1 into inttab where fld1 in fld1.
Regards,
Harish
2008 Jul 22 1:47 PM
what is ur select syntax? how are u trying to display the data???
2008 Jul 22 1:51 PM
User Package size option.
Assume 100000 is package size , the every time it gets 100000
first time
100000
second time
100001 to 200000
-
....
Select some number of recorda and process it and then fetch from the count where you stoped before.
or Schedule Backgrond job.
2008 Jul 22 1:52 PM
hii harish
use maximum keys to retrive data from table with select statement.
regards
twinkal
2008 Jul 22 1:59 PM
Hai Patel,
how can i use keys in select statement to retrieve more than 1000000 records?
Regards,
Harish
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |