Oracle清缓存

来源:互联网 发布:卖家如何退出农村淘宝 编辑:程序博客网 时间:2024/06/09 17:31

打开sqlsplus.exe,一般在D:\oracle\product\10.2.0\db_1\BIN路径下


1、首先输入用户名密码连接数据

Enter user-name: conn /as sysdba
Enter password:


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options

2、再次连接
SQL> conn /as sysdba
Connected.
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01531: a database already open by the instance


3、输入命令清理

SQL> alter system flush shared_pool;
System altered.

SQL> alter system flush  buffer_cache;
System altered.




0 0
原创粉丝点击