<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[快跑专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/fastrunner2003</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; fastrunner2003]]></copyright><item><title><![CDATA[MySql存储过程：保留每月末数据及最新一版数据]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/125290584</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/125290584</guid><author>fastrunner2003</author><pubDate>Wed, 15 Jun 2022 09:24:23 +0800</pubDate><description><![CDATA[mysql存储过程实现保留历史数据]]></description><category></category></item><item><title><![CDATA[Spark SQL是如何选择join策略的？]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/124983577</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/124983577</guid><author>fastrunner2003</author><pubDate>Thu, 26 May 2022 14:08:14 +0800</pubDate><description><![CDATA[前言
我们都知道，Spark SQL主要有三种实现join的策略，分别是Broadcast hash join、Shuffle hash join、Sort merge join，在之前写的这篇文章里已经做过了简要的介绍。不过笔者还没说过Catalyst是依据什么样的规则来选择join策略的，本文来简单补个漏。

Catalyst在由优化的逻辑计划生成物理计划的过程中，会根据org.apache.spark.sql.execution.SparkStrategies类中JoinSelection对象提供的规]]></description><category></category></item><item><title><![CDATA[HBase入门：查询中常用的Filter总结]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/124824353</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/124824353</guid><author>fastrunner2003</author><pubDate>Tue, 17 May 2022 16:27:42 +0800</pubDate><description><![CDATA[简介：
    根据技术调研的过程可以明显的体会到hbase的存储方式和数据库的存储有着明显的区别，查询的方式也有着很大不同，HBase主要是通过这种filter来对数据进行筛选。同时对于数据的体量较大（10亿级别以上的数据数据量），检索和修改的场景较多时是比较适合使用hbase。

  HBase过滤器可以根据分为：列簇与列类型过滤器，行键过滤器，其他过滤器

HBase Filter 概览
查询hbase支持的filter 列表
hbase(main):015:0&gt; show_fil...]]></description><category></category></item><item><title><![CDATA[MySQL的存储过程]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/124729258</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/124729258</guid><author>fastrunner2003</author><pubDate>Thu, 12 May 2022 13:33:28 +0800</pubDate><description><![CDATA[概念
MySQL5.0版本开始支持存储过程,存储过程就是一组SQL语句集,功能强大,可以实现一些比较复杂的逻辑功能,类似于JAVA语言中的方法,存储过就是数据库SQL与层层面的代码封装与重用

特性
1.有输入输出参数,可以声明变量,有if/else/case/while等控制语句,通过编写存储过程,可以实现复杂的逻辑功能

2.函数的普通特性:模块化,封装,代码复用

3.速度快,只有首次执行需要经过编译和优化步骤,后续被调用可以直接执行,省去以上步骤

格式
创建存储过程


-- 创建存储过程
del]]></description><category></category></item><item><title><![CDATA[Kubernetes 0-1 Pod中的livenessProbe和readinessProbe解读]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/123676828</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/123676828</guid><author>fastrunner2003</author><pubDate>Mon, 18 Apr 2022 15:00:03 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[hive 动态分区参数设置]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/124244752</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/124244752</guid><author>fastrunner2003</author><pubDate>Mon, 18 Apr 2022 11:07:15 +0800</pubDate><description><![CDATA[使用Hive动态分区需要注意设定以下参数：

1.是否开启动态分区功能，默认false关闭。
默认值：false

hive.exec.dynamic.partition =false
使用动态分区时候，该参数必须设置成true;

hive.exec.dynamic.partition =true
2.动态分区的模式:
默认值：strict

hive.exec.dynamic.partition.mode = strict
1
动态分区的模式为strict，表示必须指定至少一个分区为静态分区，
n...]]></description><category></category></item><item><title><![CDATA[Spark本地测试要点]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/124193150</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/124193150</guid><author>fastrunner2003</author><pubDate>Fri, 15 Apr 2022 14:03:21 +0800</pubDate><description><![CDATA[1.hive元数据访问地址，一般走thrift协议

System.setProperty("hive.metastore.uris","thrift://ip:9083")

2.hive数据访问目录，HDFS协议路径

System.setProperty("spark.sql.warehouse.dir","hdfs://ip:8020/user/hive/warehouse")

3.本地模式，流处理必须是2个及以上线程

System.setProperty("spark.master","loc]]></description><category></category></item><item><title><![CDATA[SpringMVC 类内部的RequestMapping注解能否被继承？]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/124148400</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/124148400</guid><author>fastrunner2003</author><pubDate>Wed, 13 Apr 2022 15:00:32 +0800</pubDate><description><![CDATA[首先注意标题，说的是类内部的注解

结论是：

不能，但是子类却可以享有父类中该注解带来的效果。



看了一下这个：http://elf8848.iteye.com/blog/1621392

自己也试了一下，发现子类如果覆盖父类的方法，确实不能继承被覆盖方法的注解。



但是试了一下spring的注解，即便该注解没有被继承到子类上，子类同样能享有这个注解带来的效果，这可能和spring的注解扫描和bean加载机制有关，有时间看看源码吧，这里先记一下。

以下是实验时写的代码：



父类：




p]]></description><category></category></item><item><title><![CDATA[MySQL下bin-log的三种模式（ROW、Statement、Mixed）]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/124019970</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/124019970</guid><author>fastrunner2003</author><pubDate>Thu, 07 Apr 2022 16:28:08 +0800</pubDate><description><![CDATA[MySQL的bin-log日志备份有三种模式，分别是：ROW、Statement、Mixed

一、Row
基于行的复制(row-based replication,RBR)

日志中会记录成每一行数据被修改成的形式，然后在slave端再对相同的数据进行修改，只记录要修改的数据，只有value，不会有sql多表关联的情况。

优点：在row模式下，bin-log中可以不记录执行的sql语句的上下文相关信息，仅仅需要记录哪一条记录被修改了，修改成什么信样了，所以row的日志内容会非常清楚的记录下每一行数据修改]]></description><category></category></item><item><title><![CDATA[进程和线程、协程的区别]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/123851653</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/123851653</guid><author>fastrunner2003</author><pubDate>Wed, 30 Mar 2022 17:17:18 +0800</pubDate><description><![CDATA[现在多进程多线程已经是老生常谈了，协程也在最近几年流行起来。python中有协程库gevent，py web框架tornado中也用了gevent封装好的协程。本文主要介绍进程、线程和协程三者之间的区别。

一、概念

　　1、进程

进程是具有一定独立功能的程序关于某个数据集合上的一次运行活动,进程是系统进行资源分配和调度的一个独立单位。每个进程都有自己的独立内存空间，不同进程通过进程间通信来通信。由于进程比较重量，占据独立的内存，所以上下文进程间的切换开销（栈、寄存器、虚拟内存、文件句柄等）比较大，但相]]></description><category></category></item><item><title><![CDATA[深入理解spark－两种调度模式FIFO，FAIR模式]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/123812580</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/123812580</guid><author>fastrunner2003</author><pubDate>Tue, 29 Mar 2022 09:38:07 +0800</pubDate><description><![CDATA[前面我们应知道了一个任务提交会由DAG拆分为job，stage，task，最后提交给TaskScheduler，在提交taskscheduler中会根据master初始化taskscheduler和schedulerbackend两个类，并且初始化一个调度池；

1.调度池比较#

根据mode初始化调度池pool




def initialize(backend: SchedulerBackend) {
    this.backend = backend
    // temporarily se.]]></description><category></category></item><item><title><![CDATA[Hive教程之metastore的三种模式]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/123701921</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/123701921</guid><author>fastrunner2003</author><pubDate>Thu, 24 Mar 2022 08:53:33 +0800</pubDate><description><![CDATA[Hive中metastore（元数据存储）的三种方式：

内嵌Derby方式
	Local方式
	Remote方式
[一]、内嵌Derby方式

这个是Hive默认的启动模式，一般用于单元测试，这种存储方式有一个缺点：在同一时间只能有一个进程连接使用数据库。

hive-site.xml中jdbc URL、驱动、用户名、密码等的配置信息如下：











XHTML




			1

			2

			3

			4

			5

			6

			7

			8

			9

			10

.]]></description><category></category></item><item><title><![CDATA[SAP数据量大分批处理]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/123677679</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/123677679</guid><author>fastrunner2003</author><pubDate>Wed, 23 Mar 2022 09:30:48 +0800</pubDate><description><![CDATA[“打开游标
OPEN CURSOR WITH HOLD gv_cursor for
 select *
 from (table_name)
 where ...
“分批
Do
 FETCH NEXT CURSOR gv_cursor INTO TABLE (gt_table) PACKAGE SIZE 100.
  IF sy-subrc &lt;&gt; 0.
   EXIT.
ENDIF.
“do some thing
….
Enddo.
“关闭
close gv_cursor...]]></description><category></category></item><item><title><![CDATA[如何突破Z表4030长度限制]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/123677601</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/123677601</guid><author>fastrunner2003</author><pubDate>Wed, 23 Mar 2022 09:28:47 +0800</pubDate><description><![CDATA[1.尽可能精准定义表字段长度，不要过多冗余长度。
2.字段多可以分表存储，主键保持相同，然后把表关联起来组成一个视图，提供查询
3.创建附加结构以扩大表长度
4.列转行方式解决，一个大字段分多行存储在另一张表里

...]]></description><category></category></item><item><title><![CDATA[scala实现word count]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/123677369</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/123677369</guid><author>fastrunner2003</author><pubDate>Wed, 23 Mar 2022 09:18:29 +0800</pubDate><description><![CDATA[val strList = List(
   "java scala",
   "hello java",
   "hello scala from java",
   "hello spark from scala",
   "hello world");
 
  implicit val ord = Ordering[Int].reverse

  val resultMap = strList.flatMap(words =&gt; words.sp...]]></description><category></category></item><item><title><![CDATA[java socket编程样例]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/123677011</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/123677011</guid><author>fastrunner2003</author><pubDate>Wed, 23 Mar 2022 09:09:13 +0800</pubDate><description><![CDATA[第一步：建立服务端处理线程

public class ServerThread extends Thread {
 Socket sk = null;

 public ServerThread(Socket sk) {
  this.sk = sk;
 }
 public void run() {
  try {
   PrintWriter wtr = new PrintWriter(this.sk.getOutputStream());
   BufferedRead...]]></description><category></category></item><item><title><![CDATA[停止websphere进程的脚本]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/1495080</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/1495080</guid><author>fastrunner2003</author><pubDate>Wed, 23 Mar 2022 08:51:20 +0800</pubDate><description><![CDATA[ps -ef|grep java|grep WebSphere > /tmp/was.tmpps -ef|grep java|grep WebSphere|awk {print $2} > /tmp/was.killfor i in `cat /tmp/was.kill`dokill -9 $idone]]></description><category></category></item><item><title><![CDATA[websphere全局安全性LDAP用户和群组节点分离]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/6695465</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/6695465</guid><author>fastrunner2003</author><pubDate>Wed, 17 Aug 2011 16:47:59 +0800</pubDate><description><![CDATA[WebSphere Application Server启用LDAP全局安全性后，用户和群组默认的搜索起始节点都是baseDN。
可以通过设置LDAP自定义属性来为群组指定别的起始节点，这个属性是com.ibm.websphere.security.ldap.groupBase]]></description><category></category></item><item><title><![CDATA[加速 lucene 的搜索速度 ImproveSearchingSpeed]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/4441137</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/4441137</guid><author>fastrunner2003</author><pubDate>Thu, 13 Aug 2009 10:17:00 +0800</pubDate><description><![CDATA[* Be sure you really need to speed things up.Many of the ideas here are simple to try, but others will necessarily add some complexity to your application. So be sure your searching speed is indeed ]]></description><category></category></item><item><title><![CDATA[DB2 常用命令]]></title><link>https://blog.youkuaiyun.com/fastrunner2003/article/details/4101079</link><guid>https://blog.youkuaiyun.com/fastrunner2003/article/details/4101079</guid><author>fastrunner2003</author><pubDate>Wed, 22 Apr 2009 17:24:00 +0800</pubDate><description><![CDATA[DB2 系统命令         dasauto － 自动启动 DB2 管理服务器          dascrt － 创建 DB2 管理服务器          dasdrop － 除去 DB2 管理服务器          dasmigr － 迁移 DB2 管理服务器          dasupdt － 更新 DB2 管理服务器          db2_deinstall － 卸载 DB2]]></description><category></category></item></channel></rss>