易截截图软件、单文件、免安装、纯绿色、仅160KB

如何导入ORACLE 备份文件

--创建用户
create user iagent identified by ia
profile default 
default  tablespace users
temporary tablespace temp
account unlock;
 
--给创建的用户授权
grant create user,drop user,alter user,create any view,drop any view,exp_full_database,imp_full_database,dba,connect,resource,create session
to iagent;
--把备份文件拷到本地硬盘(本例以D盘为例),然后导入数据库
$ imp '
' file=d:\expdata_iagent_2009-12-07.dmp ignore=y indexes=y grants=y rows=y fromuser=iagent touser=iagent log=d:impdat_2009-12-07.log 
 
 
这里需要注意一点 备份文件导出的时候用的是哪个用户 导入的时候就得用那个用户(或者是具有和导出备份用户相同权限的其他用户) ,此例中导入采用的是用户为system 密码为dbmanager的用户 ,导入成功后 ,在客户端要连接此ORACLE,需要修改客户端的tnsnames.ora 文件 如:
IAGENT =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.235.128)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = iagent)
    )
  )
HOST修改成服务器的IP地址或者是计算机名  ,这样客户端就可以链接上了
 


相关文档:

Solaris10 安装Oracle 10g

http://inthirties.com:90/thread-1233-1-1.html
好没有碰Solaris了,手有些生了,看来真要装个solaris,平时多玩玩。
在solaris上装Oracle 10g先。
1. 检查安装依赖包
官方要求的包
SUNWarc
SUNWbtool
SUNWhea
SUNWlibm
SUNWlibms
SUNWsprot
SUNWtoo
SUNWi1of
SUNWi1cs
SUNWi15cs
SUNWxwfnt
执行命令
# p ......

oracle优化 缓存对象与数据

author:skate
time:2010/03/16
当系统出现性能瓶颈时,尽量较少不必要的资源消耗,最后就是平衡cpu,内存,io,network等资源,使数据库
可以稳定的运行。
oracle数据库优化的根本是
1.尽量减少资源消耗,例如优化sql,减少sql本身的资源消耗
2.如果无法进一步减少资源的消耗,那就让数据尽量靠近cpu,也就是把数据 ......

oracle按时间查询翻页时出现与前面一页重复数据

用hibernate查询分页时,翻页显示中有少量记录是重复的。已经确认sql写法没错误。
select savebillin0_.*,entityacct2_.*
from save_bill_info savebillin0_,
CUST_INFO custinfo1_,
entity_acct_bill entityacct2_
where savebillin0_.cust_id = custinfo1_.ID
and entityacct2_.ACCOU ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号