09 2011 档案

摘要:mb/smegabits per second 兆字节/秒MB/sMega byte per second兆字节/秒“字节”(Byte)“比特”(Bit)当你进行网络下载的时候它们会经常出现,同时你获取的速度指示也都以比特/每秒或者字节/每秒来显示。现在就来弄清楚比特(Bit)、字节(Byte)和千字节(Kbyte)究竟是什么意思,这样你就能理解它们了。一个比特就是一个二进制数的最小单元,就像我们说我们能够拥有的最小金额的钱就是一分一样,只不过比特是在二进制数中罢了。一个比特只能拥有一个值,不是0就是1,所以如果我给你一个值0,你可以说它就是一个比特,如果我给你两个(00),你就可以说它们是两 阅读全文
posted @ 2011-09-28 12:30 dbblog 阅读(701) 评论(0) 推荐(0)
摘要:今日在群中有朋友问到var这个属性的含义,网络上好多文章只是举例说明,描述的含糊,而且window和unix下的示例是完全不能互相照搬的,这里测试了一下,以下是测试结果.对于sqlload的标准写法和基本用法我们不做描述,直接奔主题.ldr_1.dat06110,SMITH,SALES MANAGER,This is SMITH. He is a Sales Manager. 06311,ALLEN.W,TECH MANAGER,This is ALLEN.W. He is a Tech Manager. 05516,BLAKE,HR MANAGER,This is BLAKE. He is 阅读全文
posted @ 2011-09-22 16:17 dbblog 阅读(435) 评论(0) 推荐(0)
摘要:错误如图:solutionThis is true for all platforms on which you get two .zip files to downloadFor Windows 32 bit case on 11.2.0.1 you can do the following : - create a directory C:\tmp\11201- unzip win32_11gR2_database_1of2.zip and win32_11gR2_database_2of2.zip under C:\tmp\11201see:Installing 11G on Any P 阅读全文
posted @ 2011-09-22 16:00 dbblog 阅读(711) 评论(0) 推荐(0)
摘要:以前一直在AIX系统下玩,今天无意在linux下运行一个命令,出现如下错误:[root@erpdemo ~]# ps -auxWarning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQUSER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND……奇怪?这个命令在AIX下运行一点也没有问题,提示语法错误? 看来命令书写有错误,ksh和bash的区别吗?然后换一种方式[root@erpdemo ~]# ps auxUSER PID %CP 阅读全文
posted @ 2011-09-15 09:59 dbblog 阅读(9746) 评论(0) 推荐(0)
摘要:allows you to create standby databases for disaster recovery. Oracle Data Guard Broker provides an easy interface to configure standby databases and to perform role transitions with a single command for switchover and failover. It logically groups the primary and standby databases into a broker conf 阅读全文
posted @ 2011-09-06 09:40 dbblog 阅读(498) 评论(0) 推荐(0)
摘要:A customer recently reported an issue where they needed to bounce their E-Business Suite application tier (mid-tier) servers once a week to resolve stability issues. This shouldn't be necessary. We recommend against bouncing EBS application servers regularly. We've done a lot of work with th 阅读全文
posted @ 2011-09-06 09:39 dbblog 阅读(401) 评论(0) 推荐(0)
摘要:检查Linux的java版本,系统自带版本为1.4.2[root@erpdemo Desktop]# java -versionjava version "1.4.2"gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-44)Copyright (C) 2006 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MER 阅读全文
posted @ 2011-09-06 09:39 dbblog 阅读(3074) 评论(0) 推荐(0)
摘要:Hint 是Oracle 提供的一种SQL语法,它允许用户在SQL语句中插入相关的语法,从而影响SQL的执行方式。因为Hint的特殊作用,所以对于开发人员不应该在代码中使用它,Hint 更像是Oracle提供给DBA用来分析问题的工具 。在SQL代码中使用Hint,可能导致非常严重的后果,因为数据库的数据是变化的,在某一时刻使用这个执行计划是最优的,在另一个时刻,却可能很差,这也是CBO 取代RBO的原因之一,规则是死的,而数据是时刻变化的,为了获得最正确的执行计划,只有知道表中数据的实际情况,通过计算各种执行计划的成本,则其最优,才是最科学的,这也是CBO的工作机制。 在SQL代码中加入Hi 阅读全文
posted @ 2011-09-05 17:05 dbblog 阅读(27437) 评论(2) 推荐(3)
摘要:开发人员说系统报错:ORA-01722 invalid number1. 代码里面执行了如下SQL语句: 1: select * from gl_code_combinations gcc where gcc.segment4=41030000; gl_code_combinations表里面的segment4字段是varchar2()类型字段,由于Oracle的字段类型隐式转换功能上面的SQL语句通常是可行的,查询的时候oracle解析该条件时,会首先to_char(mdn) 再和where segment4=41030000进行比较判断,如果能够确保segment4字段里面存放的全为数.. 阅读全文
posted @ 2011-09-05 15:38 dbblog 阅读(4038) 评论(1) 推荐(1)
摘要:昨晚,使用 FileZilla 的 SFTP 连接 Ubuntu Server 10.10 时碰到一个诡异错误:Filezilla client 日志信息 代码 状态: 正在连接 10.1.13.69... 响应: fzSftp started 命令: keyfile "E:\key\Bert_id_rsa.ppk"命令: open "tdhadoop@10.1.13.69" 22状态: Connected to 10.1.13.69错误: Connection closed by server with exitcode 128错误: 无法连接到服务器 阅读全文
posted @ 2011-09-05 15:37 dbblog 阅读(10638) 评论(1) 推荐(0)
摘要:I am pleased to announce our next ATG Live Webcast, scheduled for Thursday, 25-Aug-2011. The event is titled:我很高兴的告诉大家ATG LIVE直播将在2011-8-25 星期四如期开始,会议议题:EBS调优Tuning All Layers of E-Business SuiteThis one-hour webcast provides an overview of how Oracle E-Business Suite system administrators, DBAs, de 阅读全文
posted @ 2011-09-05 15:37 dbblog 阅读(334) 评论(0) 推荐(0)
摘要:SQL> select * from v$version where rownum=1; BANNER -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production SQL> create table t1 as select object_id id , object_name,owner from dba_objects; Table cr 阅读全文
posted @ 2011-09-05 15:36 dbblog 阅读(1549) 评论(0) 推荐(0)
摘要:之前一直都不是很清楚这个怎么在Nest Loop中指定驱动表(外部表) 和 内部表,经过了一些实验对这一部分有了一定的认识: 首先对于nest loop有两种机制: 内部表全表扫描和内部表索引扫描,9i开始对于内部表索引扫描的情况有存在两种方式: 内部表索引range scan & 内部表索引uniqu scan, 索引range scan这种方式可以减少大的嵌套循环连接中的逻辑IO,减少锁存,甚至物理IO, 这个过程称为Table Prefetching. 另外对于nest loop, 驱动表和内部表位置如下: 1) 两个表全表扫描 : NESTED LOOPS TABLE A... 阅读全文
posted @ 2011-09-05 15:22 dbblog 阅读(10724) 评论(0) 推荐(0)
摘要:检查Linux的java版本,系统自带版本为1.4.2[root@erpdemo Desktop]# java -versionjava version "1.4.2"gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-44)Copyright (C) 2006 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MER 阅读全文
posted @ 2011-09-05 15:20 dbblog 阅读(574) 评论(0) 推荐(0)
摘要:In this article I will try to explain some of the mysteries around the "Java Caching Framework," as this is a commonly misunderstood technology (which is probably due to it being well-hidden from the casual observers view).This article will be an introduction to the topic, rather than tryi 阅读全文
posted @ 2011-09-05 12:50 dbblog 阅读(542) 评论(0) 推荐(0)