Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: ora-01001 when creating a simple snapshot
"s pat" <szeshanpat_at_yahoo.com> wrote in message
news:16e3b656.0202091730.7abccbc8_at_posting.google.com...
> Hi, all,
>
> I have an ora-01001 error when trying to create a simple snapshot.
>
> For example:
> Create Snapshot
> ...
> as
> select * from table_A_at_dblink;
>
> Then oracle gives out the ora-01001: invalid cursor.
>
> However, if I change it to:
> Create Snapshot
> ...
> as
> select * from table_A_at_dblink where rownum < 9999999;
>
> Then it works.
>
> I have no idea what went wrong.
>
> BTW, I have already increased the shared_pool_size and
> open_cursors(from 50 to 200). But it still doesn't work.
>
> Any suggestion is appreciated.
>
> Thanks in advance.
>
> From: Pat
Invalid cursor usually means
- your statement didn't parse - you didn't trap the error - Oracle tries to open the cursor but can'tIt has nothing to do with the number of cursors nor with the shared_pool_size
Regards
-- Sybrand Bakker Senior Oracle DBA to reply remove '-verwijderdit' from my e-mail addressReceived on Sun Feb 10 2002 - 03:51:18 CST