ssslinppp

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 28 下一页

2016年12月15日

摘要: 创建数据库create database if not exists `mytestdb` default charset=utf8;use mytestdb;说明:如果使用utf8字符集,则数据库和数据表创建时,都应该指定默认的字符集;创建数据表create table if not exists `t_user`( `userid` int(11) not null , `userNa... 阅读全文
posted @ 2016-12-15 15:00 ssslinppp 阅读(1544) 评论(0) 推荐(0) 编辑

2016年12月14日

摘要: myisam引擎介绍存储结构:MyISAM每张表被存放在三个文件:frm:表格定义;MYD(MYData):数据文件;MYI(MYIndex):索引文件; 存储空间:MyISAM可被压缩,存储空间较小; 可移植性、备份及恢复:由于MyISAM的数据是以文件的形式存储,所以在跨平台的数据转移中会很方便。在备份和恢复时可单独针对某个表进行操作。 压缩工具介绍 myisampack:是一个压缩使用My... 阅读全文
posted @ 2016-12-14 15:02 ssslinppp 阅读(1962) 评论(0) 推荐(0) 编辑

摘要: 概述对于mysql和Infobright等数据库,information_schema数据库中的表都是只读的,不能进行更新、删除和插入等操作,也不能加触发器,因为它们实际只是一个视图,不是基本表,没有关联的文件。information_schema.tables存储了数据表的元数据信息,下面对常用的字段进行介绍:table_schema: 记录数据库名;table_name: 记录数据表名;eng... 阅读全文
posted @ 2016-12-14 11:36 ssslinppp 阅读(39281) 评论(0) 推荐(0) 编辑

2016年12月6日

摘要: 创建数据表语句数据表数据对上述数据进行TopN排名select severity,sum(count) as sum from widgt_23 where insertTstamp>='2016-12-05 17:40:00' and insertTstamp='2016-12-05 17:40:00' and insertTstamp<='2016-12-05 18:00:00' and se... 阅读全文
posted @ 2016-12-06 16:32 ssslinppp 阅读(998) 评论(0) 推荐(0) 编辑

2016年12月2日

摘要: 主要介绍了Calendar类的使用输出* 时间格式化 * 当前时间:2016-12-02 16:46:27.079 * * 转换:String-->Date-->Calendar * 设置时间(方式1):2014-08-01 09:18:34.123 * 设置时间(方式2):2016-12-01 19:08:54.123 * * ----YEAR-MONTH---- * YEAR:2016 *... 阅读全文
posted @ 2016-12-02 16:52 ssslinppp 阅读(1351) 评论(0) 推荐(0) 编辑

2016年12月1日

摘要: 主要介绍了:消息格式化的基本使用;格式化:匹配数字;格式化:匹配日期;格式化:匹配时间;格式化:多次匹配;MessageFormat用来格式化一个消息,通常是一个字符串。MessageFormat模式的主要部分:下面是详细配置:示例程序package com.sssppp.Format;import java.text.MessageFormat;import java.util.Arrays;i... 阅读全文
posted @ 2016-12-01 17:19 ssslinppp 阅读(4571) 评论(0) 推荐(0) 编辑

摘要: 格式化包括如下内容:基本用法金钱格式;科学计数法;百分比计数法;嵌入文本;package com.sssppp.NumberFormat;import java.text.DecimalFormat;public class DecimalFormatExample { public static void main(String arg[]) { double piD=3.1415926; ... 阅读全文
posted @ 2016-12-01 16:25 ssslinppp 阅读(6405) 评论(0) 推荐(0) 编辑

2016年11月16日

摘要: 在initrd目录下,查找包含“Loading virtio.ko”的所有文件cd initrdfind . | xargs grep "Loading virtio.ko"若是想显示行号,可以如下:find . | xargs grep -n "Loading virtio.ko"vi init来自为知笔记(Wiz) 阅读全文
posted @ 2016-11-16 10:29 ssslinppp 阅读(900) 评论(0) 推荐(0) 编辑

2016年10月25日

摘要: 仓库的位置为:C:\xxx\SVNRepo\MyCommonUtils MyStudyProject SVN仓库备份.bat'参考连接:http://www.uml.org.cn/pzgl/201405235.asp'备份svnadmin dump C:\xxx\SVNRepo\MyCommonUtils > C:\xxx\Backup\dumpFile-MyCommonUtils-2016-10... 阅读全文
posted @ 2016-10-25 14:45 ssslinppp 阅读(915) 评论(0) 推荐(0) 编辑

2016年10月19日

摘要: 安装和配置OozieOozie用于Hadoop的工作流配置;参考链接:《Install and Configure Apache Oozie Workflow Scheduler for CDH 4.X on RHEL/CentOS 6/5》http://www.tecmint.com/install-apache-oozie-for-cdh-in-centos/ (亲测可用)《How to ... 阅读全文
posted @ 2016-10-19 15:47 ssslinppp 阅读(3021) 评论(0) 推荐(0) 编辑

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 28 下一页