windows、linux下命令行登录oracle数据库方法,查询sga参数值sql语句
生活随笔
收集整理的這篇文章主要介紹了
windows、linux下命令行登录oracle数据库方法,查询sga参数值sql语句
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
windows 下 cmd 命令行登錄 oracle 數(shù)據(jù)庫方法。直接就登錄進(jìn)來了。
C:\Users\Administrator>sqlplusSQL*Plus: Release 11.2.0.4.0 Production on Thu Jun 18 17:25:07 2020Copyright (c) 1982, 2013, Oracle. All rights reserved.Enter user-name: ncc_auto_0617 Enter password:Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL>linux 下命令行登錄 oracle 數(shù)據(jù)庫方法。需要輸入用戶名密碼。
Last login: Thu Jun 18 18:15:36 2020 from 10.11.x.x [root@nctest130 ~]# su - oracle [oracle@nctest130 ~]$ sqlplus /nologSQL*Plus: Release 11.2.0.4.0 Production on Thu Jun 18 18:32:07 2020Copyright (c) 1982, 2013, Oracle. All rights reserved.SQL> conn ncc_auto_0610/1 Connected.SQL>windows 下 cmd 查詢 sga 參數(shù)值語句。
SQL> show parameter sgaNAME TYPE ------------------------------------ --------------------------------- VALUE ------------------------------ lock_sga boolean FALSE pre_page_sga boolean FALSE sga_max_size big integer 42G sga_target big integer 0linux 下查詢 sga 參數(shù)值語句,下面兩種方式都可以。
SQL> show parameter sgaNAME TYPE ------------------------------------ --------------------------------- VALUE ------------------------------ lock_sga boolean FALSE pre_page_sga boolean FALSE sga_max_size big integer 46464M sga_target big integer 0 SQL> show sgaTotal System Global Area 4.8504E+10 bytes Fixed Size 2264336 bytes Variable Size 4.4829E+10 bytes Database Buffers 3623878656 bytes Redo Buffers 49254400 bytes喜歡的點(diǎn)個(gè)贊?吧!
總結(jié)
以上是生活随笔為你收集整理的windows、linux下命令行登录oracle数据库方法,查询sga参数值sql语句的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Chrome 插件:自己写的插件提示请停
- 下一篇: Linux CentOS各大网站镜像资源