oracle 10g EM 遷移後的重建及亂碼解決
本文檔由ice.xie原創,轉載請說明出處由於OS相同,遷建采用了最簡單的,直接CP的方法,由於主機名不能一樣,在oracle 10g中需要重建EMemca -deconfig dbcontrol db -repos drop/*Enter the following information:Database SID: devdbListener port number: 1521Password for SYS user: Password for SYSMAN user: Do you wish to continue? [yes(Y)/no(N)]: yes..........................INFO: Repository successfully droppedEnterprise Manager configuration completed successfully*/emca -config dbcontrol db -repos create/*Ent
Oracle EBS工具FNDLOAD快樂體驗(-)
本文檔由ice.xie原創,轉載請說明出處FNDLOAD可以用來在不同的平台,環境間移植數據,比如可以相互間移植用戶,職責,功能,菜單等。。。The Generic Loader (FNDLOAD) is a concurrent program that can transfer Oracle Application entity data between database and text fileUsage: FNDLOAD logon 0 Y mode configfile datafile [ entity [ param ... ] ] where logon is username/password[@connect] mode is either UPLOAD or DOWNLOAD configfile is the configuration file datafile is the data file entity is an
oracle利用rman备份和恢复案例-丢失所有文件
本文档由ice.xie原创,转载请说明出处 1.归档模式 SQL> conn / as sysdba; 已连接。 SQL> archive log list; 数据库日志模式 存档模式 自动存档 启用 存档终点 f:oraclearch 最早的概要日志序列 0 下一个存档日志序列 1 当前日志序列 1 2.备份配置 rman target / 恢复管理器: 版本9.2.0.1.0 - Production Copyright (c) 1995, 2002, Oracle Corporatio 连接到目标数据库: ICE (DBID=1290799186)-最好记住,恢备时一般需要set dbid RMAN> configure controlfile autobackup on; RMAN> run{ 2> backup da
使用pl/sql developer开发工具编译出现ORA-07445解决方法一例
使用pl/sql developer开发工具编译出现ORA-07445解决方法一例本文档由ice.xie整理,转载请说明出处OS:RHAS 4EBS:11.5.10.2问题:使用pl/sql developer开发工具无法编译存储过程,触发器,包等程序文件,出现not connect to oracle检查oracle,alter.log文件,并出现如下错误:Errors in file /ntkerp/orantkcn/erpdb/9.2.0/admin/erp_erp/udump/erp_ora_20918.trc:ORA-07445: exception encountered: core dump [ptmak()+106] [SIGSEGV] [Address not mapped to object] [0x8] [] []*** 2007-06-05 16:56:44.341ksedmp: internal or fatal err
oracle客户端字符集设置有趣的测试
oracle客户端字符集设置有趣的测试本文档由ice.xie整理,转载请说明出处今天在网上,郑全(oldboy)提出一个问题:在不修改注册表的情况下,如何修改客户端字符集?事由:一个客户端可能会连到多个数据库,因此有可能遇到多种字符集,比如说简体中文,繁体中文!众所周知,大家一般使用的改字符集的方法一般都是去注册表修改,类似于这样的键值:HKEY_LOCAL_MACHINESOFTWAREOracleHOME0下,如一般的简体中文nls_lang=SIMPLIFIED CHINESE_CHINA.ZHS16GBK思考:如何在windows下不修改注册表,而改变客户端的字符集设置呢? 修改环境变量,那
oracle tkprof使用小结
oracle tkprof使用小结本文档由ice.xie原创,转载请说明出处1.chechk init.oratimed_statistics=trueTOP查出最耗资源的PID2.SQL> select s.sid,s.serial# from v$session s,v$process p where s.paddr=p.addr and p.spid='17397';3.如果需要在session级别上设置trace,可以在sqlplus中使用下列语句:SQL> alter session set sql_trace=true; 或者SQL> execute dbms_session.set_sql_trace(TRUE);会话已更改。4.如果要在PL/SQL中对session级别上设置trace,可以使用dbms_session这个包:SQL>exec dbms_system.set_sql_tra
Oracle中statpack使用
oracle_statpack1.check init.orajob_queue_processes >0timed_statistics =true2.step by stepcd $ORACLE_HOME/rdbms/adminsqlplus /nologconn / as sysdba;查看数据文件的目录SQL> select file_name from dba_data_files;FILE_NAME--------------------------------------------------------------------------------/erp/oratest/erptestdata/system09.dbf/erp/oratest/erptestdata/system08.dbf/erp/oratest/erptestdata/system07.dbf..............N Row selected建立statpack所需表空间SQL> create tablespace perfstat