上一页 1 ··· 87 88 89 90 91 92 93 94 95 ··· 156 下一页
摘要: 使用tcp.validnode_checking允许、限制机器访问数据库 在$OREACLE_HOME/network/admin下直接修改sqlnet.ora文件,增加如下内容: tcp.validnode_checking=yes #允许访问的ip tcp.invited_nodes=(ip1, 阅读全文
posted @ 2018-01-07 21:41 lclc 阅读(3595) 评论(0) 推荐(0)
摘要: select * from dba_users; 查看数据库里面所有用户,前提是你是有dba权限的帐号,如sys,systemselect * from all_users; 查看你能管理的所有用户!select * from user_users; 查看当前用户信息 ! -- 查询你 当前用户下, 阅读全文
posted @ 2018-01-07 21:39 lclc 阅读(579) 评论(0) 推荐(0)
摘要: 一、当前ORACLE用户的状态可查看视图DBA_USERS;一般情况下在使用的正常用户均处于OPEN状态。 1 SQL> select username,account_status from dba_users; 2 USERNAME ACCOUNT_STATUS 3 4 MGMT_VIEW OP 阅读全文
posted @ 2018-01-07 21:38 lclc 阅读(11142) 评论(0) 推荐(1)
摘要: 是存储空间大还是记录条数大?存储空间可以用如下语句查:select * from user_segments s where s.BYTES is not null order by s.BYTES desc 查记录条数可以用如下语句:select * from user_tables t wher 阅读全文
posted @ 2018-01-07 21:37 lclc 阅读(11306) 评论(0) 推荐(0)
摘要: 以管理员身份登陆 察看用户状态(是否被锁) select * from dba_users where username='user1' 解锁 ALTER USER user1 ACCOUNT UNLOCK; 修改用户密码 alter user user1 identified by newpass 阅读全文
posted @ 2018-01-07 21:37 lclc 阅读(4760) 评论(0) 推荐(0)
摘要: CentOS 配置防火墙操作实例(启、停、开、闭端口): 注:防火墙的基本操作命令:查询防火墙状态:[root@localhost ~]# service iptables status 停止防火墙:[root@localhost ~]# service iptables stop 启动防火墙:[r 阅读全文
posted @ 2018-01-07 21:35 lclc 阅读(488) 评论(0) 推荐(0)
摘要: 存在以下两种方式: 一、service方式 查看防火墙状态: [root@centos6 ~]# service iptables status iptables:未运行防火墙。 开启防火墙: [root@centos6 ~]# service iptables start 关闭防火墙: [root 阅读全文
posted @ 2018-01-07 21:32 lclc 阅读(38113) 评论(0) 推荐(0)
摘要: SQL>conn test/test 还是报同样的错误,这就奇怪了。看看dba_users中该用户的状态等信息 SQL>select account_status,lock_date,profile from dba_users where username='TEST'; 发现就是今天才锁定的,帐 阅读全文
posted @ 2018-01-07 21:31 lclc 阅读(987) 评论(0) 推荐(0)
摘要: --1、查看表空间的名称及大小 SELECT t.tablespace_name, round(SUM(bytes / (1024 * 1024)), 0) ts_size FROM dba_tablespaces t, dba_data_files d WHERE t.tablespace_nam 阅读全文
posted @ 2018-01-07 21:30 lclc 阅读(446) 评论(0) 推荐(0)
摘要: MAX_UTILIZATION代表数据库自上次启动以来达到的最大值,LIMIT_VALUE代表设置的最大值 select resource_name,MAX_UTILIZATION,LIMIT_VALUE from v$resource_limit where resource_name in (' 阅读全文
posted @ 2018-01-07 21:29 lclc 阅读(999) 评论(0) 推荐(0)
上一页 1 ··· 87 88 89 90 91 92 93 94 95 ··· 156 下一页