Hive快捷查询:不启用Mapreduce job启用Fetch task
摘要:启用MapReduce Job是会消耗系统开销的。对于这个问题,从Hive0.10.0版本开始,对于简单的不需要聚合的类似SELECT <col> from <table> LIMIT n语句,不需要起MapReduce job,直接通过Fetch task获取数据
阅读全文
posted @
2017-04-27 09:29
凌度
阅读(254)
推荐(0) 编辑
GPU
摘要:import tensorflow as tf a = tf.constant([1.0,2.0,3.0,4.0,5.0,6.0],shape=[2,3],name='a') b = tf.constant([1.0,2.0,3.0,4.0,5.0,6.0],shape=[3,2],name='b') c = tf.matmul(a,b) sess = tf.Session(confi...
阅读全文
posted @
2017-04-13 12:02
凌度
阅读(195)
推荐(0) 编辑
oracle补齐日期
摘要:生成日期列表 范例:生成日期和补全某天充值数据
阅读全文
posted @
2017-04-13 11:14
凌度
阅读(909)
推荐(0) 编辑
mysql-proxy
摘要:yum -y install mysql-proxy #mysql-proxy?--daemon?--log-level=debug?--log-file=/var/log/mysql-proxy.log?-P?10.254.157.xxx:3310(本机内网IP,端口自己随意设置)?--proxy-backend-addresses=10.137.192.xxx:3306(rds内网IP) ...
阅读全文
posted @
2017-04-11 16:27
凌度
阅读(254)
推荐(0) 编辑