oracle
1,EMP_EAST patition in EMPLOYEES for physical corruptionsD ANALYZE2,RESUMABLE TIMEOUT 60C not rectified within 60 sec.3,add or remove disk performance in ASMB, POWER,ASM_POWERLIMIT4,SGA MAXSIZE 14GA S...
创建DB的脚本 (windows,oracle10g)
admin/<dbname>/scripts位置[@more@]: mkdir C:oracleproduct10.1.0adminocp10gadump mkdir C:oracleproduct10.1.0adminocp10gbdump mkdir C:oracleproduct10.1.0adminocp10gcdump mkdir C:oracleproduct10.1.0adminocp10gdpdump mkdir C:oracleproduct10.1.0adminocp10gpfile mkdir C:oracleproduct10.1.0adminocp10gudump mkdir C:oracleproduct10.1.0OCPDBcfgtoollogsdbcaocp10g mkdir C:oracleproduct10.1.0OCPDBdatabase mkdir e:flash_recovery_area mkdir e:oradata set ORACLE_SID=ocp10g C:oracleproduct10.1.0
分布式版本控制工具 Mercurial 使用
浏览仓库历史:log 这些输出行的含义是这样的。 每一段描述一个特定的改变集。一个或几个文件的改变集合在一起形成一个逻辑单元,称为改变集。 在上面的例子中,我们可以看到该仓库 的历史包括了两个改变集。 changeset 标识了一个 改变集. 冒号前面的数字代表版本号; 它是一种标识改变集的本地缩写.只是在你的本地仓库中这个版本号才有意义. 冒号后面的那个很长的十六进制串是 ChangeSetID; 它是标识改变集的全局唯一标识符, 在所有包含这个改变集的仓库中都相同. 如果你正在和其他人讨论某个改变集,请使用
Great CSS Library
http://www.dynamicdrive.com/style/[@more@]http://www.dynamicdrive.com/style/csslibrary/item/css3_linear_gradients/
关联子查询 Correlated Subqueries
(1)外部查询得到一条记录并将其传入到内部查询。 (2)内部查询基于传入的值执行。 (3)内部查询从其结果中把值传回到外部查询,外部查询使用这些值来完成其处理。 [@more@]
ROLLUP CUBE
In addition to the regular aggregation results we expect from the GROUP BY clause, the ROLLUP extension produces group subtotals from right to left and a grand total. If "n" is the number of columns listed in the ROLLUP, there will be n+1 levels of subtotals.In addition to the subtotals generated by the ROLLUP extension, the CUBE extension will generate subtotals for all combinations of the dimensions specified. If "n" is the number of columns listed in the CUBE, there will b
Map all result column from TIBCO JDBC Query
tib:concat-sequence-format[@more@]http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tib="http://www.tibco.com/bw/xslt/custom-functions">
List all javascript events wired up on a page using jquery
(function($) {$.eventReport = function(selector, root) {var s = [];$(selector || '*', root).andSelf().each(function() {var e = $.data(this, 'events');if(!e) return;s.push(this.tagName);if(this.id) s.push('#', this.id);if(this.className) s.push('.', this.className);for(var p in e) s.push('n', p);s.push('nn');});return s.join('');}$.fn.eventReport = function(selector) {return $.eventReport(selector, this);}})(jQuery);[@more@]// all eventsalert($.eventReport());// just events on inputsalert($.event
Java编码测试
public class Hello { public static void main(String args[]) throws Exception{ // not crossplateform safe System.out.println(System.getProperty("file.encoding")); // jdk1.4 System.out.println( new java.io.OutputStreamWriter( new java.io.ByteArrayOutputStream()).getEncoding() ); // jdk1.5 System.out.println(java.nio.charset.Charset.defaultCharset().name()); } }[@more@]>java Hello Cp1252 Cp1252 windows-1252http://www.mindspring.com/~mgran
在Redhat 5.5 上安装 Oracle 10R2
1.使用的redhat安装DVD:rhel-server-5.5-i386-dvd.iso2.安装需要的安装包:3.伪装操作系统版本为Redhat4/etc/redhat-releaseRed Hat Enterprise Linux Server release 5.5 (Tikanga)改成Red Hat Enterprise Linux Server release 4.5 (Tikanga)4.其他的修改同redhat4的安装oracle的过程。[@more@]1.使用的redhat安装DVD:rhel-server-5.5-i386-dvd.iso2.安装需要的安装包:rpm -Uvh kernel-headers-2.6.18-194.el5.i386.rpmrpm -Uvh glibc-headers-2.5-49.i386.rpmrpm -Uvh glibc-devel-2.5-49.i386.rpmrpm -Uvh libgomp-4.4.0-6.el5.i38
ORACLE 环境变量
ORACLE_BASE OFA的ORACLE根目录 /u01/app/oracleORACLE_HOME Oracle软件的本目录 $ORACLE_BASE/product/10.2.0/db_1ORACLE_SID 实例名(最大8个字符)NLS_LANG American_America.ZHS16GBKORACLE_HOSTNAME ...
oracle的G
g是网格存储网格:ASM数据库网格:RAC应用网格:Oracle Stream网格控制:EM Grid Control
Oracle10G 的g
g就是网格。存储网格:ASM数据库网格:RAC应用网格:Application网格控制:EM Grid Control[@more@]