老敲set 命令敲烦了,找到了一个文件$ORACLE_HOME/sqlplus/admin/glogin.sql,搞一下就行了。

 

 
  
  1. [oracle@node1 admin]$ vi glogin.sql   
  2.  
  3.  
  4.  
  5.  
  6. --  
  7. -- Copyright (c) 1988, 2005, Oracle.  All Rights Reserved.  
  8. --  
  9. -- NAME  
  10. --   glogin.sql  
  11. --  
  12. -- DESCRIPTION  
  13. --   SQL*Plus global login "site profile" file  
  14. --  
  15. --   Add any SQL*Plus commands here that are to be executed when a  
  16. --   user starts SQL*Plus, or uses the SQL*Plus CONNECT command.  
  17. --  
  18. -- USAGE  
  19. --   This script is automatically run  
  20. --  
  21. set line 330 pagesize 10000 time on timing on;