windows、linux下命令行登录oracle数据库方法,查询sga参数值sql语句
发布日期:2021-06-30 16:45:02
浏览次数:2
分类:技术文章
本文共 1753 字,大约阅读时间需要 5 分钟。
windows 下 cmd 命令行登录 oracle 数据库方法。直接就登录进来了。
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_0617Enter password:Connected to:Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL>
linux 下命令行登录 oracle 数据库方法。需要输入用户名密码。
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/1Connected.SQL>
windows 下 cmd 查询 sga 参数值语句。
SQL> show parameter sgaNAME TYPE------------------------------------ ---------------------------------VALUE------------------------------lock_sga booleanFALSEpre_page_sga booleanFALSEsga_max_size big integer42Gsga_target big integer0
linux 下查询 sga 参数值语句,下面两种方式都可以。
SQL> show parameter sgaNAME TYPE------------------------------------ ---------------------------------VALUE------------------------------lock_sga booleanFALSEpre_page_sga booleanFALSEsga_max_size big integer46464Msga_target big integer0SQL> show sgaTotal System Global Area 4.8504E+10 bytesFixed Size 2264336 bytesVariable Size 4.4829E+10 bytesDatabase Buffers 3623878656 bytesRedo Buffers 49254400 bytes
喜欢的点个赞❤吧!
转载地址:https://lanzao.blog.csdn.net/article/details/106839503 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!
发表评论
最新留言
做的很好,不错不错
[***.243.131.199]2024年04月12日 00时13分40秒
关于作者
喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!