上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页
摘要: 1、查看进程ps -ef|grep ora_2、登录数据库中【DBA角色,最大权限】sqplus sys/lipengfei as sysdbasqplus / as sysdba 【以sysdba角色登录,可以忽略用户和密码】show user 【展示当前登录用户是谁】sqplus sddasd/asdasd as sysdba 【瞎打也可以登录,默认情况下,安装完库后,登录时声明 as sys... 阅读全文
posted @ 2016-03-21 20:57 暗夜小精灵~~ 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 1.grant create session to test;--赋予create session的权限2.grant create table,create view,create trigger, create sequence,create procedure to test;--分配创建表,视图,触发器,序列,过程 权限3.grant unlimited tablespace to tes... 阅读全文
posted @ 2016-03-21 20:57 暗夜小精灵~~ 阅读(88) 评论(0) 推荐(0) 编辑
摘要: ##############启动##############1、nomount 模式【 加载实例和spfile(参数文件)】什么是实例?实例是你去安装oracle,或者跑oracle的一个平台,运行库的话,首先对硬件资源有一定占用,比如说最关键就是内存,加载实例对内存有一定占用,假如我占用了1G的内存,这1G的内存会不会给别的程序用??答案肯定是不会的,只有库能使用。硬件资源是在实例下面占有好的。... 阅读全文
posted @ 2016-03-21 20:57 暗夜小精灵~~ 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 关键字: (1)as给列以别名显示:select username as 用户名 from t_user;(这里的as关键字可以省略) (2)distinct去掉重复的行:select distinct username from t_user; (3)使用运算符:select age+10 from t_user;(给每个人的年龄都加10岁) (4... 阅读全文
posted @ 2016-03-21 20:57 暗夜小精灵~~ 阅读(216) 评论(0) 推荐(0) 编辑
摘要: #!/bin/shcat /etc/sysconfig/networkNETWORKING=yesNETWORKING_IPV6=noHOSTNAME=db100EOFhostname db100cat /etc/hosts127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1 ... 阅读全文
posted @ 2016-03-21 20:56 暗夜小精灵~~ 阅读(123) 评论(0) 推荐(0) 编辑
摘要: vi /etc/yum.repos.d/base.repo [Base]name=basebaseurl=file:///mnt/Serverenabled=1gpgcheck=0gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release yum install -y binutils compat-db control-center gc... 阅读全文
posted @ 2016-03-21 20:55 暗夜小精灵~~ 阅读(273) 评论(0) 推荐(0) 编辑
摘要: linux中与Oracle有关的内核参数详解 在安装Oracle的时候需要调整linux的内核参数,但是各参数代表什么含义呢,下面做详细解析。Linux安装文档中给出的最小值:fs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmall = 2097152kernel.shmmax = 4294967295kernel.shmmni = 40... 阅读全文
posted @ 2016-03-21 20:55 暗夜小精灵~~ 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 由于某些原因系统安装时未安装中文支持,导致后续应用出现中文方块乱码现象,解决方法很简单,当然不是重装,只需以下三步即可搞定。1、安装中文包:[base]name=basebaseurl=file:///mnt/Serverenabled=1gpgcheck=0gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release#yum -y group... 阅读全文
posted @ 2016-03-21 20:53 暗夜小精灵~~ 阅读(315) 评论(0) 推荐(0) 编辑
摘要: File类的操作:api截图:--------------------------------------------------------------------------演示:package day09;import java.io.File;import java.io.IOException;public class Test07 { public static void mai... 阅读全文
posted @ 2016-02-19 20:40 暗夜小精灵~~ 阅读(267) 评论(0) 推荐(0) 编辑
摘要: Collection是最基本的集合接口。一个Collection代表一组Object对象,即Collection的元素(Element)。Collection是接口,不能直接newCollection还有很多接口,子接口有很多实现类,我们只能new 子接口的实现类实例:public void v1(){ /** *父类申明,子类实现 */ Collection c... 阅读全文
posted @ 2016-02-19 20:39 暗夜小精灵~~ 阅读(177) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页