自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(98)
  • 资源 (3)
  • 收藏
  • 关注

原创 MYSQL:查看的数据库表空间

/*转自:http://blog.csdn.net/c_enhui/article/details/9815057 *//*1.查看索引 (1)单位是GB*/ SELECT CONCAT(ROUND(SUM(index_length)/(1024*1024*1024), 6), ' GB') AS 'Total Index Size' FROM info...

2017-04-07 15:07:09 408

原创 Linux中profile的执行说明

原文链接:http://www.linuxidc.com/Linux/2012-09/71389.htm(1)/etc/profile全局(公有)配置,不管是哪个用户,登录时都会读取该文件。(2)/ect/bashrcUbuntu没有此文件,与之对应的是/ect/bash.bashrc它也是全局(公有)的,bash执行时,不管是何种方式,都会读取此文件。(3)~/.prof...

2017-02-28 16:03:27 496

原创 使用ADODB将Excel中Sheet页另存为UTF8编码CSV

Public Sub WriteCSV()Set wkb = ActiveSheetDim fileName As StringDim MaxCols As IntegerfileName = Application.GetSaveAsFilename("", "CSV File (*.csv), *.csv")If fileName = "False" ThenE...

2016-10-18 11:38:13 397

原创 将Excel里所有的Sheet页同时另存为单独的UTF8编码的CSV文件

结合前两篇高手代码,拼出以下代码:Public Sub WriteCSV()Dim sheet_name, bookPath, fileName As StringDim sheet_count,i As Integersheet_count = Sheets.CountbookPath = ThisWorkbook.Path bookPath = bookPath...

2016-10-18 11:37:36 1009

原创 将Excel里所有的Sheet页同时另存为单独的CSV文件

 Sub ExcelToCsvMain()'检查工作薄中有多少个工作表 Dim i, sheet_count, sheet_name As String sheet_count = Sheets.Count 'msgbox sheet_count For i = 1 To sheet_count sheet_name = Sheets(i)...

2016-10-18 11:35:41 3230 1

原创 Excel模板备忘

目标=OFFSET(起始位置,1,0,最大数量,1)起始位置:indirect("Validate!"&VLOOKUP(MATCH(E14,下拉菜单头,0),对照表,2,0)&"1") ' Validate!F1获取下拉菜单所在列不为空的最大数量:COUNTIF(A1:A15,"<>"&"")-1A1:A15得到:INDIREC

2016-09-30 16:17:44 93

原创 OFSAA 启动FICServer失败处理方法

错误信息如下:[OFSAtest@ZC001VOFS3 bin]$ ./reveleusstartup.sh FIC_SERVER_HOME=/home/oracle/oftest/ofsa/ficapp/common/FICServerFIC_HOME=/home/oracle/oftest/ofsaStarting Reveleus ServerStarting Reveleus Se...

2016-08-25 13:14:38 462

原创 OBIEE Scheduler启动失败ORA-12514及essbaseserver1启动失败

由于数据库IP发生变化,只在console中修改了数据源中的IP,已经BIEE服务器上的TNS,重启后发现Scheduler及essbaseserver1启动失败,查看日志后发现时ORA-12514错误,修改步骤如下:1. Scheduler日志目录为:/u01/biee/instances/instance1/diagnostics/logs/OracleBISchedulerComp...

2016-08-25 09:45:29 312

原创 FDM ERROR: Stream Failed, Invalid file path provided!

** Begin FDM Runtime Error Log Entry [2009-04-14-09:26:15] ** ------------------------------------------------------------- ERROR: Code............................................. 4117 Description.....

2016-07-21 19:50:01 323

原创 sqlserver查看数据库编码

SELECT COLLATIONPROPERTY('Chinese_PRC_Stroke_CI_AI_KS_WS', 'CodePage')936 简体中文GBK950 繁体中文BIG5437 美国/加拿大英语932 日文949 韩文866 俄文65001 unicode UFT-8

2016-06-14 13:31:53 695

原创 ORA-14074 错误解决 -- 拆分分区

饮水思源:http://blog.itpub.net/7583803/viewspace-708450/SQL>select  table_name , partition_name,high_value from user_tab_partitions where table_name='MMA_LOG'TABLE_NAME           PARTITION_NAME   ...

2016-03-04 17:42:42 8396

原创 Redhat Linux JDK升级

一、jdk1.4卸载 Redhat Enterprise 5 中自带安装了jdk1.4,在安装jdk1.6前,把jdk1.4卸载: 1. 首先查看系统自带的JDK版本: [root@linux ~]# java -version java version "1.4.2"gij (GNU libgcj) version 4.1.2 20080704 (Red H...

2016-02-25 21:01:43 545

原创 Oracle 11g 修改主机名或者IP来解决EM无法重启

本文主讲Oracle 11g 更换主机名或者IP后引起EM (dbconsole) 启动失败的解决方法。更换了主机名或者IP,如果只是单纯的pl/sql连接数据库,可以不用重新配置EM,只需要更改$ORACLE_HOME/network/admin下的listener.ora和tnsnames.ora这两个文件,把文件中:HOST=**** 改成对应的主键名或者IP即可。如果需要要启动...

2016-02-25 20:57:25 899

原创 解决ORA-27154,ORA-27300,ORA-27301:No space left on device

转载自:http://blog.csdn.net/wonderjjm/article/details/8697294利用DBCA创建数据库,重启数据库,都可能会出现此类错误,主要原因可能是数据库实例太多,需要比较多的信号量ORA-27154: post/wait create failedORA-27300: OS system dependent operation:semget fa...

2015-09-06 14:50:49 440

原创 error in invoking target 'mkldflags ntcontab.o nnfgt.o' of makefile解决

Linux RedHat 安装Oracle11gR2的时候出现以下报错:RHEL 6.1默认是没有gcc和gcc-c++环境的,总结本地安装方法如下:上传安装镜像rhel-server-6.1-x86_64-dvd.iso,然后将镜像文件挂,如/mnt# mount -o loop rhel-server-6.1-x86_64-dvd.iso /mnt# cd /mnt...

2015-09-06 14:46:41 1229

原创 linux关闭sendmail服务

方法一:a.[root@sample ~]# /etc/rc.d/init.d/sendmail stop  --关闭sendmail服务或者[root@sample ~]# service sendmail stop  --关闭sendmail服务Shutting down sendmail: [ OK ]Shutting down sm-client: [ OK ]...

2015-09-06 14:32:47 307

原创 查找目录下的所有文件中是否含有某个字符串,并且只打印出文件名

查找目录下的所有文件中是否含有某个字符串,并且只打印出文件名find .|xargs grep -ri “abc.csv” -l 

2015-08-19 17:09:07 556

原创 Rehdat 修改主机名

一,通过命令修改主机名 hostname #查看当前主机的主机名 hostname NEWHOSTNAME #临时修改当前主机名二,通过配置文件修改主机名 vi /etc/sysconfig/network #通过配置文件修改主机名 NETWORKING=yes HOSTNAME=NEWHOSTNAME #修改该值作为主机名,如:hadoop01修改hosts修改 /etc/host...

2015-08-02 13:58:29 171

原创 bash: ifconfig: command not found 解决办法

方法一:[root@localhost sbin]$ /sbin/ifconfig 就可以出现使用了 方法二:[root@localhost sbin]$ export PATH=$PATH:/sbin 这样设置后,下次就可以直接访问了,免处第一种的麻烦,但是只针对一个会话方法三:root 用户编辑 /etc/profile 在文件最后追加 export PATH=$PATH:/sbin ...

2015-08-02 13:54:13 476

原创 sendmail启动'virtusertable.db' has modification time in the future 错误解决

如果您在启动 sendmail 的时候,出现类似这段文字: *** Warning: File 'virtusertable.db' has modification time in the future (2003-01-13 11:57:26 > 2003-01-13 06:04:40)  make: warning: Clock skew detected. Your buil...

2015-08-02 13:48:41 158

原创 Informatica 目标为文件时 勾选文件头去掉#号

9版本以后可以在session的Customer Session Properties 中添加:RemoveOutputHeaderHash = Yes

2015-06-10 09:24:16 461

原创 informatica 列转行Aggregator应用

需求:     1. A     1. B     1. C   ------>  1.  A | B | C     2. D               2. D | E     2. E解决方法:     1. 先根据id做sorter     2. 再在AGG里面勾选id, 作为group by      3. 增加变量v_pre_id 存放上...

2015-06-05 16:11:59 399

原创 Informatica在linux/Unix操作系统下,读取MS Access或者Excel文件

在linux/Unix操作系统下,读取MS Access或者Excel文件可以通过如下三种方式:1. Informatica Power Channel(需要license支持) :Power Channel可以通过FTP穿过局域网、广域网传输大量复杂加密的文件(原文释义:power channel helps to transfer large amount of encrypted an...

2015-05-18 14:47:53 291

原创 informatica email config on windows

E-mail on Windows can be sent in two ways : 1. Using MAPI which is if you have Microsoft Outlook configured to send the mails, then this is default waywhich Informatica considers for sending m...

2015-04-14 16:54:15 343

原创 rm 超过11000个文件

find /data/infa_shared/Temp/ -name '*' -print0 |xargs  -0 -n 1000 rm -f 

2015-04-14 16:49:27 111

原创 shell中的exit 0和exit 1有什么区别

in shell, there is a special variable $?, which catch  the status of last command: after "ls", "echo $?" will return 0, meaning a successful command; after "xxxxxx", "echo $?" will be a non-zer...

2015-04-07 10:00:35 1011

原创 Possible issue with target file permissions usage of Operating System Profiles

In order to use Operating system profiles, the umask should be set to 0 for the userid who starts the Informatica services.  Check if the umask is 0. This can be done by executing the command um...

2015-03-25 16:08:43 100

原创 How to Avoid The Usage of SQL Overrides in Informatica PowerCenter Mappings

resource link:http://www.disoln.org/2014/03/How-to-Avoid-The-Usage-of-SQL-Overrides-in-Informatica-PowerCenter-Mappings.htmlMany Informatica PowerCenter developers tend to use SQL Override during m...

2015-03-19 18:02:05 149

原创 批处理删除指定天数日期之前的文件

原文连接:http://bbs.bathome.net/thread-3334-1-1.html【方案一】删除指定路径下指定天数之前(以文件的最后修改日期为准)的文件:BAT + REG + VBS @echo off::演示:删除指定路径下指定天数之前(以文件的最后修改日期为准)的文件。::如果演示结果无误,把del前面的echo去掉,即可实现真正删除。::本例调用了临...

2015-03-11 17:26:26 188

原创 EXPDP和IMPDP使用 ORA-39087

今天要把一个方案导出到另一个电脑上,使用Expdp逻辑导出,首先在DBA用户下创建路径create directory dump_dir as 'D:\backup'; 然后运行命令:expdp fms/fms directory=EXPBACKUP_DIR dumpfile=fms.dmp logfile=fms.log schemas=fms结果报错:ORA-39002: ...

2015-03-11 16:13:21 691

原创 Informatica FATAL Error ublkdesc.cpp

FATAL ERROR : Unexpected Condition in file [/export/home/build80/zeusbuild/vobs/powrmart/common /utils/ublkdesc.cpp] line [338]. Contact Informatica Technica l Support for assistance. Aborting this D...

2015-03-03 11:40:57 204

原创 ORACLE CONNECT BY 学习

语法格式: select [level], column, expr... from table  [where condition]  start with condition  connect by [prior column1= column2 |column1 = prior column2]; 层次查询是通过start with和connect by子句标识的...

2015-02-12 11:59:19 163

原创 Linux下批量杀掉 包含某个关键字的 程序进程

一些情况下需要把linux下符合某一项条件的所有进程 kill 掉,又不能用 killall 直接杀掉某一进程名称包含的所有运行中进程(我们可能只需要杀掉其中的某一类或运行指定参数命令的进程),这个时候我们需要运用 ps, grep, cut 和 kill 一起操作。 下面给出具体的参考: ps -ef|grep LOCAL=NO|grep -v grep|cut -c 9-15...

2015-01-15 10:38:21 142

原创 ODI 1444

ODI-1444: The master repository signature specified by the client 1346135525731|0 does not match the master repository signature of the agent 1346147892124|0. ODI-01444: The master repository sig...

2015-01-03 14:08:44 286

原创 Informatica直连Mysql5.1.41 community丢失数据解决方案

问题:由于Mysql UNIX ODBC DRIVER不完全支持ODBC Type II,不能完全支持ODBC 优化读,导致数据导成文本文件存在丢失数据。解决方法:在PowerCenter Administration Console中的is中properties的custom properties添加如下自定义条件:Name=ValueOptimizeODBCWrite=No...

2014-10-30 18:14:40 268

原创 axis2 java.lang.reflect.InvocationTargetException错误解决方法

在使用codegen1.3插件来从WSDL生成代码,到了最后一步竟然出然 了"An error occurred while completing process -java.lang.reflect.InvocationTargetException"的错误 产生这种错误的原因一般有2种:首先关闭eclipse。 注意有可能是两种错误同时出现1.jar包缺失 从AXIS2...

2014-09-29 11:32:49 1241

原创 Redhat 5.9 卸载mysql odbc connector

在Redhat 5.9上安装了两个版本的mysql odbc connector,mysql-connector-odbc-setup-5.1.4-0 和mysql-connector-odbc-5.1.4-0 发现版本有问题需要卸载。1. 使用rpm -e XXXX 卸载不掉执行报错2. 使用rpm -e XXXX --nodeps 仍然卸载不掉报错error: %preun(mys...

2014-09-13 16:41:03 313

原创 Informatica出现ora-26002错误

错误信息:ORA-26002解决方法:1.drop index2.disable parallel loading(在workflow manager-->connections-->oracle)3.skip INDEX_MAINTAIN(不理解,没遇到过,还是疑问)对于2解释如下: 因为Bulk方式只能用来做Insert操作。而大家知道我们如果需要Upd...

2014-09-03 13:40:56 687

原创 Linux 下通过unixODBC使用Oracle+DBLINK 访问 Mysql

本文来自:Informatica技术超群(群号:0112443162 )【作者没找到 sorry。。。我转在这啦】1-安装unixODBC    tar zxvf unixODBC-2.2.12.tar.gz(或者tar.tar)    cd unixODBC-2.2.12    ./configure --prefix=/usr/local/unixODBC-2.2.12 -...

2014-08-22 14:59:51 306

原创 Informatica 配置mysql community odbc连接

Informatica linux 版本内置的DataDirect 驱动支持各种数据库例如oracle、sybase、postgreSQL、Greenplum、mysql等等但是mysql 只支持企业版本,如果我们使用的是community 社区版本便不能使用自带的DataDirect方式了,那我们就需要手动配置其他odbc连接。首先我们需要安装unixODBC 此处不做介绍,其次我们...

2014-08-22 14:50:55 1179

DataStage培训PPT

DataStage的经典培训PPT,快速掌握了解及使用DataStage

2015-03-22

Linux环境DB2客户端安装

图文讲解RedHat5.9企业版环境下安装DB2客户端

2014-01-13

Informatica9.1安装部署

Informatica9.1安装部署,提供Linux/unix/windows详细的安装步骤和参数配置信息。

2013-07-11

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除