Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Odd behaviour of SQL*Plus
I wonder if anyone can shed some light on what's going on here...
A SQL*Plus script was hanging when run against a certain instance, and after a lot of faffing about, these are the facts:
The test script is simple, but exists to see how much data the server can process in one query. It looks like this:
select sysdate
---------x---------x
from dual;
You can see that by stacking up those comment lines (currently only 20 characters), one can quickly build a script which contains several hundred / thousand characters.
I'm using a SQL*Plus client, version 3.3.4.00 to access two different instances, both different versions. Yes I know my client is not the latest, but it has features which the later ones do not have...
For version 8.1.7.0.0 I can throw a query as above with size of 20,000 bytes +. No problem.
But when I put the same query to instance version 8.1.7.4.0 - I cannot squeeze more than about 1000 characters, before the query simply hangs. No error message.
A comparison of 'show all' against both instances gives identical returns.
Can anyone elighten me, please?
peter
scan all attachments. http://www.bgs.ac.uk *********************************************************************
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Robson, Peter
INET: pgro_at_bgs.ac.uk
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue May 27 2003 - 08:30:00 CDT