- 博客(123)
- 收藏
- 关注
原创 awk按照多个分隔符进行分割 |paste
我们知道awk可以进行类似于cut之类的操作,如一个文件data如下zhc-123|zhanghongchangfirst-99|zhanghongchang-100|zhang如果我们awk -F ‘-’ ‘{print $1;}’ data会打印出zhchongchangfirsthongchang...
2017-06-21 10:06:14
531
原创 storm
shared by 方萧最下面spark系列http://blog.youkuaiyun.com/jthink_/article/details/38853573阿里巴巴大数据之路https://mp.weixin.qq.com/s?__biz=MzIyMzM3MzcyMg==&mid=2247483727&idx=8&sn=358715f4e7892fcb27c3d2083d4a46...
2016-07-06 20:20:33
160
原创 SGA 数据缓冲池 共享池
首先,这两个都是属于Oracle SGA(系统全局区,System Global Area)中的内存区域,SGA简单的说就是Oracle从系统内存中划出去自用的内存区域。数据库缓冲池:学名数据库缓冲区缓存(Database Buffer Cache),oralce不直接对数据文件中的数据进行操作,都是先拿到这里然后再进行处理,处理完之后也不直接写回磁盘,以便接下来继续会用到,通过减少I/O...
2015-10-27 13:55:20
766
原创 Lesson 9
Lesson 9 CapitalCapital: Making Work More Productive第9课资本:使工作更具生产力Teaching Objectives:1. To teach how using physical capital in the production process increases productivity.2. To teach bow tech...
2015-08-05 00:23:32
166
原创 Lesson 8
Lesson 8 Specialization and Division of Labor Specialization and Division of Labor: Making Production More Efficient Teaching第8课专业化和劳动分工使得生产更高效的教学:劳动的专业化与分工Efficient Teaching Objectives:1. To ...
2015-08-05 00:12:09
224
原创 Economic - lesson 7
Lesson 7 MoneyMoney: Making Trade EasierTeaching Objectives:1. To teach that the use of money as a medium of exchange is more efficient than barter because money reduces the cost of trade.Economic...
2015-08-04 23:55:10
184
原创 java声明式事务
声明式事务代理http://uule.iteye.com/blog/893890http://blog.youkuaiyun.com/z69183787/article/details/8222103http://blog.youkuaiyun.com/liushuijinger/article/details/17364413 SSH学习多百度查查资料---------------...
2015-07-05 20:25:46
437
原创 Tomcat三大核心
三大部分 WEb容器: 处理 html, js, css等 静态页面catalina: servlet容器, 根据不同的请求来调用不同的servletJasper : jsp引擎, jsp编译。tomcat 默认是-xms 218M, -xmx256M其内部还是比较复杂的,多看看 《tomcat深入浅出》http://book.douban.com/subject/10...
2015-07-05 19:22:18
505
原创 Oracle tablespace partition Move
Oracle的Move操作 move一个表到另外一个表空间时,索引不会跟着一起move,而且会失效。(LOB类型例外) 表move,我们分为: *普通表move *分区表move *LONG,LOB大字段类型move来进行测试和说明。 索引的move,我们通过rebuild来实现 一:move普通表、索引基本语法: a...
2015-05-04 16:14:30
321
原创 to_char. round
很不错 四舍五入 又可以固定format 00000999.999 select to_char('10','999999.99')/2 from dual ; ==5--储存形式为10,数字方式计算。round , 0-->0 0.3-->0.3 0.333-->0.33to_char('0','9999.00') ...
2015-01-02 15:39:54
144
原创 sqlplus心得
[color=red]sqlplus $1/$2 @/tmp/EDOMASK/CDSTCK/MAPRG/drop_maprg_cd_s14_ins2014bk.sql[/color][b]一,登陆方式:[/b]1. C: >sqlplus username/password 如:普通用户登录 sqlplus scott/tigerC: >sqlplus username/p...
2014-12-08 18:23:25
176
原创 SQL的四种语言:DDL、DML、DCL、TCL
1. DDL(Data Definition Language)数据库定义语言statements are used to define the database structure or schema。用于定义数据库的三级结构,包括外模式、概念模式、内模式及其相互之间的映像,定义数据的完整性、安全控制等约束。DDL不需要commit。DDL的操作包含:CREATEALTE...
2014-12-08 15:45:25
160
原创 麻痹的线程,老子一定搞懂你
【通过继承Thread】 一个Thread对象只能创建一个线程,即使它调用多次的.start()也会只运行一个的线程。 【看下面的代码 & 输出结果】 1 package Test; 2 3 class CTest extends Thread { 4 private int tickte = 20; 5 6 public v...
2014-12-03 18:50:29
129
原创 create table ,data limit check
EXEC pkg_dwh_common_proc.stpr_dwh_drop_tbl('tbl_maprg_pp_vst_usr_maint_u', 'N');CREATE TABLE tbl_maprg_pp_vst_usr_maint_u( month number(6,0) unique NOT NULL, --整数 txn_amt ...
2014-11-14 16:19:58
131
原创 drop command in Procedure
EXEC pkg_dwh_common_proc.stpr_dwh_drop_tbl('tbl_maprg_pp_usr_main_tmp', 'N');create table tbl_maprg_pp_usr_main_tmp tablespace &5as select * from tbl_maprg_pp_vst_usr_maint_u where 1=2 ;...
2014-11-13 14:15:43
174
原创 Exchange Table, Index Type. Partition Add , Drop
CREATE INDEX idx_maprg_pp_pnlty_u_4 ON tbl_maprg_pp_pnlty_u(cup_crd_no) local( partition idx_maprg_pp_pnlty_u_4_201208 ,partition idx_maprg_pp_pnlty_u_4_201404 ,partition idx_maprg_pp_pnl...
2014-10-22 18:06:54
146
原创 VBA MASKING
-----all are maskingFunction HUBNO(v1)Dim Lcntr As LongDim temp_char1 As LongDim temp_char2 As StringIf v1 = "" ThenHUBNO = ""ElseFor Lcntr = 1 To Len(v1) ...
2014-10-22 18:06:35
103
原创 case of PP
Case Scenario Example)Current Month End Version/Batch Date: 31 August 2014 BatchCase ID RMB Card Status PP Card Status PP Card Expiry Date Check for Penalty? PP Validity Period (for spending...
2014-08-08 20:19:51
110
原创 多表查询,很多很乱,不过很有用,挑着看吧
http://www.cnblogs.com/mchina/archive/2012/09/07/2651568.htmlOracle笔记(六) 多表查询 本次预计讲解的知识点1、 多表查询的操作、限制、笛卡尔积的问题;2、 统计函数及分组统计的操作;3、 子查询的操作,并且结合限定查询、数据排序、多表查询、统计查询一起完成各个复杂查询的操作;一...
2014-08-07 11:46:32
121
原创 where > group by > having , execute priority
having子句与where有相似之处但也有区别,都是设定条件的语句。在查询过程中聚合语句(sum,min,max,avg,count)要比having子句优先执行.而where子句在查询过程中执行优先级别优先于聚合语句(sum,min,max,avg,count)。简单说来:where子句:select sum(num) as rmb from order where id>10/...
2014-08-07 11:29:56
96
原创 RMB Card PP MI Report Business Case Scenario Queries
Dear all, Please find the following business case scenarios for user clarification. Please revise/add cases as necessary. Current Date: 31 August 2014 Batch Case No.RMB Card...
2014-08-04 19:44:08
144
原创 get the 3 months before date
#!/bin/sh#year=`date +%y`month=`date + %m`day=`date +%d`if [ $month -le 3 ]then month= expr $month - 3 + 12 year= expr $year - 1else month= expr $month - 3fiecho $y...
2014-07-25 18:00:24
100
原创 prioroty pass
Version:0.9 StartHtml: 105 EndHtml: 17764 StartFragment: 334 EndFragment: 17732 <!--BeginFragment-->In order to enhance the competitiveness of RMB Diamond Commercial Card as a high-end card...
2014-07-17 19:41:42
177
原创 Business of HASE Priority Pass
Value of PP Card FlagDescriptionNIL(CD: Default value)§No PP card application, ie no PP card issuance/embossing/packing (it is a default value of this flag).NEW...
2014-07-16 18:11:50
162
原创 substr in Oracle,PHP,Javascript
PHP - 函数:substr()若 start 为负数,则从字符串尾端算起。若可省略的参数 length 存在,但为负数,则表示取到倒数第 length 个字符。使用范例 <?echo substr("abcdef", 1, 3);...www.t086.com/code/php/... 2008-06-24 - 百度快照 - 评价oracle中怎...
2014-07-16 10:02:15
121
原创 Xcopy / VBS操作文件夹
Xcopy参数介绍 DOS批处理命令,永远是不朽的命令,不仅功能强大,同时,速度也是最快的!但是,很多新手学习计算机,都已经遗忘了本不该忘记的批处理命令。 我们不可数典忘祖,该学习的还是要学习,不该忘记的还是不能忘记,尤其是DOS批处理命令,在开发软件或项目的时候,都离不开这些基本的原始的命令。本文,我们来学习Xcopy的参数及实例 一、Xcopy参数介绍 命令格式:XCOPY...
2014-07-14 15:15:44
778
原创 XMLTextWriter BOM
我写的一个关于xml text reader的,比较乱。。。其实很简单。。。特此讲一下微软自己定义的BOM=Byte Order Mark, 本来我是用 msxml generate xml file .. but it cannot contain BOM in it . and user requried BOM , should I change to XMLTextWriter俗...
2014-07-11 18:19:04
167
原创 Create XML Using the MSXML Object Library
' This procedure creates XML document' and saves it to disk.' Requires msxml.dll (Go to Project --> References and' and choose Microsoft XML version 2.0, or whatever the' current version you have...
2014-07-08 16:37:33
152
原创 java bing fa
Table of Contents1 什么是并发问题。 2 java中synchronized的用法 3 Java中的锁与排队上厕所。 4 何时释放锁? 5 Lock的使用 6 利用管道进行线程间通信 7 阻塞队列 8 使用Executors、Executor、ExecutorService、ThreadPoolExecutor 9 并发流程控...
2014-07-02 16:55:55
84
原创 Senior Software Engineer , PM , interview test
?高级搜索1、 类、对象的概念?2、 简述抽象?3、 接口与抽象类?4、内部类(InnerClass)?5、访问修饰符限制?6、Static 关键字的使用?7、final 关键字?8、abstract 关键字?9、native 关键字?10、synchronized 关键字?11、运行时异常与一般异常有何异同?12、编程题: 写一个 Singleton 出来。13、分类列举服务器和组件技术?1...
2014-07-02 11:26:13
301
原创 For the past of life
For the past of 2014, for the past of life. believe or not , accept or not, 28 years has past and now I'm still looks like a young man . No mature, no gf , sperated with my family , al...
2014-07-02 10:44:38
146
原创 给hadoop新手的一封信
copied from other's blog.与君们共勉!---------------------丫的发现那么多人看了我的博客,没一个给评论的,难道你们的菊花都被棒子给堵住了? ------------------------------------ 晚上整理邮箱,找到了一封之前网友的关于hadoop学习的来信以及我的回信,我想应该对初学者会有帮助,就贴出来给大家...
2014-07-01 14:48:01
133
原创 很好的一篇博文,以后要经常看 Mapreduce
copied from : http://www.cnblogs.com/sharpxiajun/p/3151395.html作者很不错!可惜图挂掉了。。。 ------我已经出离愤怒了,太多人看我博客不评论。。真想诅咒你们的菊花今晚都被蟑螂钻进去,然后凤姐用针线把你们菊花给缝死。。 我是不是太残忍了。。--------- 开始聊mapreduc...
2014-07-01 14:47:45
91
原创 在百度搜索"2012世界末日"所展现的地震效果的源代码
恩, need to search 下。应该属于Web 前端。 http://www.cnblogs.com/sharpxiajun/archive/2012/04/25/2469992.html
2014-07-01 14:47:31
84
原创 特效 css
javascript笔记:拷贝出腾讯微博关于London2012奥运会的拉绳开关的网页特效 奥运会正在进行中,各大网站都因为这盛会有所改版或者是拿出了自己的新的页面特效。其中最牛叉的还是谷歌,如下图: 可以用键盘控制的小游戏,看看它的源码:<div id="hplogo" tabindex="0" dir="ltr" aria-label="跨栏" ...
2014-07-01 14:47:17
142
原创 hadoop知识点分类
本来我想注明出处的,可是那个博主的头像实在让我恶心,用了古惑仔那谁,郑伊健的照片,看了想吐。。操,真反胃。-------------------------1. Hadoop 是什么?Hadoop 是一种使用 Java 编写的分布式计算平台。它吸收了 Google 文件系统和 MapReduce 等产品的特性。详情参见 HadoopMapReduce。2. Hadoop 运...
2014-07-01 14:46:54
168
原创 Hadoop生态系统
本文所属图书 > Hadoop技术内幕:深入解析Hadoop Common和HDFS架构设计与实现原理Hadoop技术内幕共两册,分别从源代码的角度对Common+HDFS和MapReduce的架构设计与实现原理进行了极为详细的分析。本书由腾讯数据平台的资深Hadoop专家、X-RIME的作者亲自执笔,对Common和HDFS的源代码进行了分析... 立即去当当网订购...
2014-06-24 14:32:08
143
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人