Turn off Script Output like set termout off
Version:
Oracle SQL Developer 2.1.0.63
Version 2.1.0.63
Build MAIN-63.73
Running on Windows XP SP2
I have a DML script with 217439 rows( ~40meg filesize ). Of course it loads slowly and the IDE is consuming large amounts of memory. About halfway through the processing of this file it becomes painfully slow( very similar to Quest's SQL Navigator ) around the 100,00 record mark. It feels like a resource issue as a result of the script output constantly reporting/recording the 1 record inserted message.
Is there a way to SET TERMOUT OFF; in SQL Developer so this output is ignored?
Hi Squiggles,
Set termout on works in 2.1.1 (I checked a beta release of 2.1 and set termout off was already implemented so it should be in 2.1).
It has to be a sub script you are running - not just in the top level directory:
so given pm.sql is:
prompt promptme
set termout on
select 1 from dual;
@/home/totierne/pm.sql
gives
1
1
promptme
and
set termout off
select 1 from dual;
@/home/totierne/pm.sql
gives
1
1
[ie no prompt me]
I just did a quick check on the spool side - set term off just turns off the terminal - output still goes to the spool file - but that should not cause a huge slowdown (as long as the disk does not fill up) it is just appending to a file not keeping it in memory or displaying the entire chunk of data.
-Turloch
Similar Messages
-
2 Dumb Questions: Toggle Script Output tab / Set Serverouput Toggle
I use SQL Developer quite a lot, but I need some basic help
I'm using SQL Develeoper 3.0.04
Question 1.
If I ever close [X] the Script Output tab/window, I have a huge headache trying to open/unhide it again. I can't do it!
I've looked in the menus,
Preferences / Keyboard shortcuts etc but I just can't see it.
So how to a make the Script Output tab re-appear? THere must be a toggle somewhere.
Question 2.
In a previous version of SQL developer, I used SET SERVEROUTPUT ON.
The output from all my dbms_output.print_line statements would appear in the script output window FOR THE ENTIRE SESSION.
In this version that I'm using, everytime I run an anon block I have to preceed the block with SET SERVEROUTPUT ON.
It doesn't remain ON for the entire session. It only affects the next block of code that I try to execute.
An I doing something wrong?
Thanks for any help.
StuWelcome to the forum!
Thanks for providing the sql developer version. Functionality can, and does, change between versions.
>
Question 2.
In a previous version of SQL developer, I used SET SERVEROUTPUT ON.
The output from all my dbms_output.print_line statements would appear in the script output window FOR THE ENTIRE SESSION.
In this version that I'm using, everytime I run an anon block I have to preceed the block with SET SERVEROUTPUT ON.
It doesn't remain ON for the entire session. It only affects the next block of code that I try to execute.
>
Have you tried using the DBMS_OUTPUT window?
Select 'view -> DBMS Output
Then if you roll-over the '+' sign on the DBMS Output Window toolbar you will see that it says 'ENABLE DBMS_OUTPUT FOR CONNECTION'.
Click it and all output should display in the window. -
SQL> set verify off
SQL> set termout off
SQL> set feedback off
SQL> spool on
SQL> spool /home/oracle/test4.txt
SQL> select empno from scott.emp where rownum=1;
EMPNO
7369
Why does it gives feedback?
I dont want to display the output?
Thanks,Another example of not reading the manuals: the "feedback" variable does not suppress terminal output.
SET FEED[BACK] {6 | n | ON | OFF}Displays the number of records returned by a script when a script selects at least n records.
ON or OFF turns this display on or off. Turning feedback ON sets n to 1. Setting feedback to zero is equivalent to turning it OFF.
SET FEEDBACK OFF also turns off the statement confirmation messages such as 'Table created' and 'PL/SQL procedure successfully completed' that are displayed after successful SQL or PL/SQL statements.>
SET TERM[OUT] {ON | OFF}SET TERMOUT is not supported in iSQL*Plus
Controls the display of output generated by commands in a script that is executed with @, @@ or START. OFF suppresses the display so that you can spool output to a file without displaying the output on screen. ON displays the output on screen. TERMOUT OFF does not affect output from commands you enter interactively or redirect to SQL*Plus from the operating system. -
SET HEADING OFF
SET PAGESIZE 0
SET FEEDBACK OFF
SET LINESIZE 1000
SET ECHO OFF
SET TERMOUT OFF
Spool TEST.TXT
Select LAST_NAME||'|'||FST_NAME||'|'||MID_NAME
FROM CONTACT;
Spool off
SET TERMOUT ON
SET ECHO ON
Termout off does not seem to suppress the display of the result set on my screen. Any idea what can cause that problem. Oracle client is installed on Windows 2000 and oracle database on Solaris.SET HEADING OFF
SET PAGESIZE 0
SET FEEDBACK OFF
SET LINESIZE 1000
SET ECHO OFF
SET TERMOUT OFF
Spool TEST.TXT
Select LAST_NAME||'|'||FST_NAME||'|'||MID_NAME
FROM CONTACT;
Spool off
SET TERMOUT ON
SET ECHO ON
Termout off does not seem to suppress the display of the result set on my screen.
Any idea what can cause that problem. Oracle client is installed on Windows 2000
and oracle database on Solaris. Roger,
I had similar experiences over the years, with various versions of SqlPlus and different client platforms. For me, it was kid of On Again / Off Again. But, right now it does work.
Just like yourself, I have a Win 2000 client and an Oracle 8.1.7 server on Solaris.
But, I have two versions of the client software:
- Net 8 with SqlPlus 8.1.7 - it works with this one
- Sql*Net 2.1 with plus33.exe - it doe snot work with this one
Below is an extract from an actual script - I hope it helps
Andrew
==================== script follows ==============
DEFINE outfile = testout
REM SET AUTOTRACE TRACEONLY EXPLAIN
set newpage 0
set space 0
set linesize 1400
set trimspool on
set wrap off
set recsep off
set pagesize 0
set numwidth 9
set verify off
set heading off
set flush off
set arraysize 50
set arraysize 10
set maxdata 60000
set tab off
set trimout on
set echo off
set feedback off
column PLAN_PLUS_EXP heading 1 format A70
column cnt heading 1 format 999999
ALTER SESSION SET NLS_DATE_FORMAT="dd/mon/yyyy" ;
set colsep ,
REM redirect the output. Note that the substitution eats the first dot
set termout off
spool &outfile..txt
< my select statements here, more than one >
REM close redirected output
spool off
set termout on
================ end of script ============== -
Returning error messages to shell with TERMOUT OFF
Hi all,
I did a search in this forum and I couldn't find the answer.
I am unloading (spooling) a table using SQLPLUS. Since I don't want to display these records on screen I am using set termout off.
But I want to see error messages on the screen. I used whenever sql error exit sql.sqlcode. It is displaying the error messages in the spool file. But I would like to have these on screen so that I can capture all my errors in to a log file.
Thanks in advance,
NarenThere is no setting in SQL*Plus to separate
errors from other text.
There is a general risk using sql.sqlcode.
The OS may not be able to cope with large numbers,
the returned value may be modulus the maxium
return code allowed. The risk is that the final
value may be the same as a successful return value.
For safety I exit with FAILURE and then
check the output file for the exact error.
-- CJ -
Returning error messages to sheel with termout off
Hi,
I did a search in this forum and I couldn't find the answer.
I am unloading (spooling) a table using sqlplus. Since I don't want to display these records on screen I am using set termout off.
But I want to see error messages on the screen. I used whenever sql error exit sql.sqlcode. It is displaying the error messages in the spool file. But I would like to have these on screen so that I can capture all my errors in to a log file.
Thanks in advance,
NarenThere is no setting in SQL*Plus to separate
errors from other text.
There is a general risk using sql.sqlcode.
The OS may not be able to cope with large numbers,
the returned value may be modulus the maxium
return code allowed. The risk is that the final
value may be the same as a successful return value.
For safety I exit with FAILURE and then
check the output file for the exact error.
-- CJ -
Set Define Off compiler option or similar?
When I create a package in SQLDeveloper it starts off something like this:
Create or replace package...
I then save the file to my SVN folder and commit it to the repository. If I come back later and want to compile something from the repository, I browse to the file in my repository, open the file (read only) and compile. I'm getting the problem that it tries to put substitutions in (&). Is there a way to tell the compiler not to do this? Normally I'd put in something like "set define off" before the package to do this, but since it is not already there and it's read only, I can't do this...
I tried to open a new worksheet and run "set define off" and then recompile, but it didn't do anything useful...
Any ideas?
ThanksThat's weird, I'd say that should work. Sure you issued that in the same session on the same connection?
You could also try:
set scan offAnd run it as script (F5) and as statement (F9) just in case that makes any difference.
Hope that helps,
K. -
Execute "set scan off" from vb 6.0 adodb connection
Hi,
We are trying to execute "set scan off" from vb - but it throws an error like missing or invalid option.
We also tried clubbing two statements like - "set scan off;insert into table_name values...;" but still the errr is same,
We are using adodb connection object's execute method.Rest all ddl and dml are working fine. Any help appreciated.P. Forstmann wrote:
I don't think you can run it from an OCI/ODBC/JDBC database session.No thinking required. Quite simply, you can't run SQL*Plus commands through an ODBC connection. -
Turn off "definition" output in Spotlight
Is there a way to turn off the output of "definitions" for any term you search for in Spotlight?
I've been using Spotlight as my main app launcher now in lieu of QuickSilver, it is as fast now for doing the job. But for some reason, it sometimes outputs the definition first instead of the app and since I'm used to an almost "instantaneous" appearance of the app for launching I usually press return immediately without even looking at the Spotlight results, so in some instances, I press too soon and it's just annoying. I hardly use Spotlight for searching definitions anyway.
Spotlight system preferences doesn't have a checkbox to turn this off although it has checkboxes for everything else. There must be a way of doing this in the terminal.None that I know about. I'd also like to see it revert to Show All instead of what it thinks is a top hit.
If you want to report this to Apple, send a bug report or enhancement request via its Bug Reporter system. Join the Apple Developer Connection (ADC)—it's free and available for all Mac users and gets you a look at some development software. Since you already have an Apple username/ID, use that. Once a member, go to Apple BugReporter and file your bug report/enhancement request. You'll get a get a Bug ID number; thus, starting a dialog directly with engineering. -
How to turn off "DEBUG SOURCE=cs Setting status to 304 for file=" in access.log
I see this entry in the log file every few seconds. How can I turn this OFF? I
can set the EnableLogfile to false but then I don't get any logs. We are running
WLS 5.1.
Regards,
Pat.Pat:
I dont see this string appearing anywhere in the src in any version of th
510 line (all Sp's included).
What version of 5.1? i.e. what SP?
Are you using extended log format? Did a developer write a custom elf logger
package?
What are the ELF headers at the top of the access.log?
Cheers
mbg
"Pat" <[email protected]> wrote in message
news:[email protected]..
>
I see this entry in the log file every few seconds. How can I turn thisOFF? I
can set the EnableLogfile to false but then I don't get any logs. We arerunning
WLS 5.1.
Regards,
Pat. -
The composite state is set to "off". The composite can be turned "on"
Hello,
I had deployed a composite in weblogic 10.3 from Jdeveloper 11.1.1.6.I am grtting this error.
Can you help me to sort this out and this is in Active state only.
oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : Message Router for default/EBIZ_Sync_SummaryOrders!2.0*soa_a882c40a-6e1e-440c-88c2-eea3ee854c13 is not able to process messages. The composite state is set to "off". The composite can be turned "on" by using the administrative consoles.I think I have already provided you a reference on this error earlier -
SOA-20001: Message Router for {0} is not able to process messages.
Login to SOA EM console and "Start up" and "Activate" your composite (default/EBIZ_Sync_SummaryOrders!2.0). You may refer section "7.4.2 Managing the State of an Application from the SOA Composite Application Home Page" at -
http://docs.oracle.com/cd/E23943_01/admin.1111/e10226/soacompapp_deploy.htm#CHDDFEGH
Regards,
Anuj -
Unable to turn Wi-Fi or Bluetooth on or off because the setting is grayed out or dim.
Try to re-set it as rudegar suggests. If that doesn't work, try a restore. If that doesn't work, try a restore as new.
If the settings are still grayed out, then your phone has suffered a hardware failure. -
I downloaded the lateest update and I can't turn off my apps like I did on 6os. The 7os is different and I can't seem to find out if apps turn off now by just closing them. Can anyone explain this to me? Please
Double tap the Home button and swipe the app preview page up
iOS 7 also allows apps to run while they aren't open.
You can manage these here:
Settings > General > Background App Refresh -
hello
when i turn off photo in the setting of icloud,some video and photo were removed from my iphone.how can i recover them?
IMEL:35***********738
MODEL:MGAA2LL/A
SN:F2**********5QT
MEID:35***********973
<Personal Information Edited by Host>Your problem is that she used your icloud ID to connect to icloud and thus had all your data synced to her device. Contacts are not saved in a backup to icloud, since they are stored independently in the Contacts section of icloud. If someone deletes them, they are gone. If you had them on the PC would they be available in some backup you frequently make of the PC?
-
When downloading application updates, which are over a GB, my MacBook Air keeps logging me out and I have to start the download over. I have the power settings set to never turn off, and the display set to never go to screen saver. Any suggestions?
I have the exact same problem/situation since a few days
I have not intalled a program lately.
Any progress Voratima??
Software Mac OS X Lion 10.7.5 (11G63)
Maybe you are looking for
-
Time Machine HD not showing latest backup, can't restore system
Please forgive the short story, but I'll give as many details as I can: Last night I successfully installed XP on my MacBook Pro using Boot Camp. I decided to do the same to my iMac (21.5" 2010 Version). I used Boot Camp to initiate the partition pro
-
Unable to download Oracle Essbase Server Release 11.1.1.4.0
Hello, I am trying to download the file below (second from the top) and it is resulting in a broken link. I have tried multiple browsers and different times. This is for a customer who is extremely infuriated. Please help. They need to download Essba
-
After I crop some picts they won't fill the entire screen. Any ideas??
-
How to identify the date format?
Hi, While uploading data from flat file Formats I am expecting are:- dd.mm.yyyy yyyymmdd yyyy.mm.dd i need to convert this to ddmmyyyy. Please hep me how to do this??
-
Re: HELP..serious issues with RdbmsRealm in WL 4.5
d> the error seems to imply that the server cannot find the database d> RdbmsRealm, but it is located just off the weblogic server path, so d> I'm not sure why. It looks like you haven't initialised your tables. <b Let us pray: What a Great Syst