<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>防伪防窜会员积分全面升级-高可靠电码电话防伪短信防伪海量图形类防伪</title>
	<atom:link href="http://www.86800.net/feed" rel="self" type="application/rss+xml" />
	<link>http://www.86800.net</link>
	<description></description>
	<lastBuildDate>Mon, 01 Aug 2011 01:49:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ORACLE ,EBS,Siebel,独立物流条码防伪积分系统 设计 概要</title>
		<link>http://www.86800.net/3g/1349.html</link>
		<comments>http://www.86800.net/3g/1349.html#comments</comments>
		<pubDate>Mon, 01 Aug 2011 01:48:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[其他]]></category>

		<guid isPermaLink="false">http://www.86800.net/?p=1349</guid>
		<description><![CDATA[独立物流系统 设计 概要
订单 数据 全部 缓存 到本地MYSQL
老物流发货段 处理成 我们自己 物流 发货日报,以及物流跟踪形式
守护进程 : 回写 Ibm 数据库,交 由  IBM 和 澳优 处理 这事情
积分 编码 查询
1: 核对数据 库bianm 核对签名,核对后对应产品,
2: 核对已被查询 走老的 old check
3: 取出sku 发送 sku 给 Siebel crm,取回积分防伪结果
4: 本地缓存 sku ,销售类型,门店点,
5: 守护进程 : 转为 IBM 销售接口表 具体事务处理 ,非实时 .
现在 守护进程 任务 比较多
1: 取 YS物流编码,
2: 写入WX 格式 [...]]]></description>
			<content:encoded><![CDATA[<p>独立物流系统 设计 概要</p>
<p>订单 数据 全部 缓存 到本地MYSQL</p>
<p>老物流发货段 处理成 我们自己 物流 发货日报,以及物流跟踪形式</p>
<p>守护进程 : 回写 Ibm 数据库,交 由  IBM 和 澳优 处理 这事情</p>
<p>积分 编码 查询<br />
1: 核对数据 库bianm 核对签名,核对后对应产品,<br />
2: 核对已被查询 走老的 old check<br />
3: 取出sku 发送 sku 给 <span><em>Siebel </em></span>crm,取回积分防伪结果<br />
4: 本地缓存 sku ,销售类型,门店点,<br />
5: 守护进程 : 转为 IBM 销售接口表 具体事务处理 ,非实时 .</p>
<p>现在 守护进程 任务 比较多<br />
1: 取 YS物流编码,<br />
2: 写入WX 格式 _serial _case, bianma 3个表<br />
3: 取回订单交易表,交采集器处理<br />
4: 回写订单交易单数量信息</p>
]]></content:encoded>
			<wfw:commentRss>http://www.86800.net/3g/1349.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>海量防伪积分数据库优化设计</title>
		<link>http://www.86800.net/3g/1348.html</link>
		<comments>http://www.86800.net/3g/1348.html#comments</comments>
		<pubDate>Sat, 26 Feb 2011 02:57:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[其他]]></category>

		<guid isPermaLink="false">http://www.86800.net/3g/1348.html</guid>
		<description><![CDATA[不要在列上进行运算
   1. select * from users where YEAR(adddate)]]></description>
			<content:encoded><![CDATA[<p>不要在列上进行运算</p>
<p>   1. select * from users where YEAR(adddate)<2007;  </p>
<p>将在每个行上进行运算，这将导致索引失效而进行全表扫描，因此我们可以改成</p>
<p>   1. select * from users where adddate<‘2007-01-01’;  </p>
<p>不使用NOT IN和<>操作</p>
<p>以上，就对其中MySQL索引类型进行了介绍。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.86800.net/3g/1348.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>积分系统使用oauth单点登录</title>
		<link>http://www.86800.net/3g/1344.html</link>
		<comments>http://www.86800.net/3g/1344.html#comments</comments>
		<pubDate>Mon, 07 Feb 2011 02:50:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[其他]]></category>

		<guid isPermaLink="false">http://www.86800.net/3g/1344.html</guid>
		<description><![CDATA[OAuth是什么？
OAuth是一个开放的认证协议，让你可以在防伪积分会员系统使用 新浪微博和google 登录认证。
OAuth有什么用？为什么要使用OAuth？
网络开放是一个不变的趋势，那么不可避免的会有各种网络服务间分享内容的需要。
举个我们身边国内的例子吧：比如人人网想要调用QQ邮箱的联系人列表，现在的方法是你需要在人人网输入你的QQ号，QQ密码才能调用，虽然网站上可能都自谓“不保留QQ用户名密码”，但是大家信吗？
OAuth就是为了解决这个问题而诞生的，用户访问第三方资源，不再需要网站提交你的用户名，密码。这样好处自己是安全，而且不会泄露你的隐私给不信任的一方。
OAuth原理
OAuth中有三方：一，用户；二，Consumer（不知杂翻译，类似上面的 twitterfeed 角色）；三，服务提供商（如上例的twitter角色）。
一，Consumer 向 服务提供商 申请接入权限
可得到：Consumer Key，Consumer Secret。twitter申请oauth的话，在 setting &#8211; connection &#8211; developer 里面申请。 同时给出三个访问网址：
1. request_token_url = &#8216;http://twitter.com/oauth/request_token&#8217;
2. access_token_url = &#8216;http://twitter.com/oauth/access_token&#8217;
3. authorize_url = &#8216;http://twitter.com/oauth/authorize&#8217;
二，当Consumer接到用户请求想要访问第三方资源（如twitter）的时候
Consumer需要先取得 请求另牌（Request Token）。网址为上面的 request_token_url，参数为：
1. oauth_consumer_key：Consumer Key
2. oauth_signature_method：签名加密方法
3. oauth_signature：加密的签名 （这个下面细说）
4. oauth_timestamp：UNIX时间戳
5. oauth_nonce：一个随机的混淆字符串，随机生成一个。
6. oauth_version：OAuth版本，可选，如果设置的话，一定设置为 1.0
7. oauth_callback：返回网址链接。
8. 及其它服务提供商定义的参数
这样 Consumer就取得了 请求另牌（包括另牌名 oauth_token，另牌密钥 oauth_token_secret。
三，浏览器自动转向服务提供商的网站：
网址为 authorize_url?oauth_token=请求另牌名
四，用户同意 Consumer访问 服务提供商资源
那么会自动转回上面的 oauth_callback 里定义的网址。同时加上 oauth_token （就是请求另牌），及 oauth_verifier（验证码）。
五，现在总可以开始请求资源了吧？
NO。现在还需要再向 服务提供商 请求 访问另牌（Access [...]]]></description>
			<content:encoded><![CDATA[<p>OAuth是什么？</p>
<p>OAuth是一个开放的认证协议，让你可以在防伪积分会员系统使用 新浪微博和google 登录认证。</p>
<p>OAuth有什么用？为什么要使用OAuth？</p>
<p>网络开放是一个不变的趋势，那么不可避免的会有各种网络服务间分享内容的需要。</p>
<p>举个我们身边国内的例子吧：比如人人网想要调用QQ邮箱的联系人列表，现在的方法是你需要在人人网输入你的QQ号，QQ密码才能调用，虽然网站上可能都自谓“不保留QQ用户名密码”，但是大家信吗？</p>
<p>OAuth就是为了解决这个问题而诞生的，用户访问第三方资源，不再需要网站提交你的用户名，密码。这样好处自己是安全，而且不会泄露你的隐私给不信任的一方。</p>
<p>OAuth原理</p>
<p>OAuth中有三方：一，用户；二，Consumer（不知杂翻译，类似上面的 twitterfeed 角色）；三，服务提供商（如上例的twitter角色）。</p>
<p>一，Consumer 向 服务提供商 申请接入权限</p>
<p>可得到：Consumer Key，Consumer Secret。twitter申请oauth的话，在 setting &#8211; connection &#8211; developer 里面申请。 同时给出三个访问网址：</p>
<p>1. request_token_url = &#8216;http://twitter.com/oauth/request_token&#8217;<br />
2. access_token_url = &#8216;http://twitter.com/oauth/access_token&#8217;<br />
3. authorize_url = &#8216;http://twitter.com/oauth/authorize&#8217;</p>
<p>二，当Consumer接到用户请求想要访问第三方资源（如twitter）的时候</p>
<p>Consumer需要先取得 请求另牌（Request Token）。网址为上面的 request_token_url，参数为：</p>
<p>1. oauth_consumer_key：Consumer Key<br />
2. oauth_signature_method：签名加密方法<br />
3. oauth_signature：加密的签名 （这个下面细说）<br />
4. oauth_timestamp：UNIX时间戳<br />
5. oauth_nonce：一个随机的混淆字符串，随机生成一个。<br />
6. oauth_version：OAuth版本，可选，如果设置的话，一定设置为 1.0<br />
7. oauth_callback：返回网址链接。<br />
8. 及其它服务提供商定义的参数</p>
<p>这样 Consumer就取得了 请求另牌（包括另牌名 oauth_token，另牌密钥 oauth_token_secret。</p>
<p>三，浏览器自动转向服务提供商的网站：</p>
<p>网址为 authorize_url?oauth_token=请求另牌名</p>
<p>四，用户同意 Consumer访问 服务提供商资源</p>
<p>那么会自动转回上面的 oauth_callback 里定义的网址。同时加上 oauth_token （就是请求另牌），及 oauth_verifier（验证码）。</p>
<p>五，现在总可以开始请求资源了吧？</p>
<p>NO。现在还需要再向 服务提供商 请求 访问另牌（Access Token）。网址为上面的 access_token_url，参数为：</p>
<p>1. oauth_consumer_key：Consumer Key<br />
2. oauth_token：上面取得的 请求另牌的名<br />
3. oauth_signature_method：签名加密方法<br />
4. oauth_signature：加密的签名 （这个下面细说）<br />
5. oauth_timestamp：UNIX时间戳<br />
6. oauth_nonce：一个随机的混淆字符串，随机生成一个。<br />
7. oauth_version：OAuth版本，可选，如果设置的话，一定设置为 1.0<br />
8. oauth_verifier：上面返回的验证码。<br />
9. 请求 访问另牌的时候，不能加其它参数。</p>
<p>这样就可以取得 访问另牌（包括Access Token 及 Access Token Secret）。这个就是需要保存在 Consumer上面的信息（没有你的真实用户名，密码，安全吧！）</p>
<p>六，取得 访问另牌 后，</p>
<p>Consumer就可以作为用户的身份访问 服务提供商上被保护的资源了。提交的参数如下：</p>
<p>1. oauth_consumer_key：Consumer Key<br />
2. oauth_token：访问另牌<br />
3. oauth_signature_method：签名加密方法<br />
4. oauth_signature：加密的签名 （这个下面细说）<br />
5. oauth_timestamp：UNIX时间戳<br />
6. oauth_nonce：一个随机的混淆字符串，随机生成一个。<br />
7. oauth_version：OAuth版本，可选，如果设置的话，一定设置为 1.0<br />
8. 及其它服务提供商定义的参数</p>
<p>OAuth安全机制是如何实现的？</p>
<p>OAuth 使用的签名加密方法有 HMAC-SHA1,RSA-SHA1 （可以自定义）。拿 HMAC-SHA1 来说吧，HMAC-SHA1这种加密码方法，可以使用 私钥 来加密 要在网络上传输的数据，而这个私钥只有 Consumer及服务提供商知道，试图攻击的人即使得到传输在网络上的字符串，没有 私钥 也是白搭。</p>
<p>私钥是：consumer secret&amp;token secret  （哈两个密码加一起）</p>
<p>要加密的字符串是：除 oauth_signature 外的其它要传输的数据。按参数名字符排列，如果一样，则按 内容排。如：domain=kejibo.com&amp;oauth_consumer_key=XYZ&amp; word=welcome&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.</p>
<p>前面提的加密里面都是固定的字符串，那么攻击者岂不是直接可以偷取使用吗？</p>
<p>不，oauth_timestamp，oauth_nonce。这两个是变化的。而且服务器会验证一个 nonce（混淆码）是否已经被使用。</p>
<p>那么这样攻击者就无法自已生成 签名，或者偷你的签名来使用了。</p>
<p>本文系原创，转换请注明链接，谢谢！</p>
<p><a href="http://kejibo.com/oauth/">http://kejibo.com/oauth/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.86800.net/3g/1344.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL分区性能测试</title>
		<link>http://www.86800.net/3g/1342.html</link>
		<comments>http://www.86800.net/3g/1342.html#comments</comments>
		<pubDate>Sun, 06 Feb 2011 07:03:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[其他]]></category>

		<guid isPermaLink="false">http://www.86800.net/3g/1342.html</guid>
		<description><![CDATA[MySQL分区性能测试
By 成江东, on 八月 31st, 2010
一，测试服务器配置：
Cpu: 2*4核Intel(R) Xeon(R) E5405 @ 2.00GHz
内存：4G
存储：36块1T的7.2K的SATA组成raid0。使用其中的1T
Mysql版本：5.1.45-community-log MySQL Community Server (GPL)
二，建测试表：
Myisam不分区不分表，单表10亿数据量：
create table biguser
(
   ID                   bigint not null auto_increment comment ‘自增ID’,
   Username         [...]]]></description>
			<content:encoded><![CDATA[<p>MySQL分区性能测试<br />
By 成江东, on 八月 31st, 2010</p>
<p>一，测试服务器配置：</p>
<p>Cpu: 2*4核Intel(R) Xeon(R) E5405 @ 2.00GHz</p>
<p>内存：4G</p>
<p>存储：36块1T的7.2K的SATA组成raid0。使用其中的1T</p>
<p>Mysql版本：5.1.45-community-log MySQL Community Server (GPL)</p>
<p>二，建测试表：</p>
<p>Myisam不分区不分表，单表10亿数据量：</p>
<p>create table biguser</p>
<p>(</p>
<p>   ID                   bigint not null auto_increment comment ‘自增ID’,</p>
<p>   Username             varchar(30) not null comment ‘用户名’,</p>
<p>   sex                  tinyint not null comment ‘性别’,</p>
<p>   birthday             datetime not null comment ‘生日’,</p>
<p>   email                varchar(50) not null comment ‘邮箱’,</p>
<p>   tel                  int not null comment ‘手机’,</p>
<p>   intro                varchar(255) not null comment ‘个人简介’,</p>
<p>   primary key (ID)</p>
<p>)</p>
<p>type = MYISAM</p>
<p>default charset=utf8;</p>
<p>Myisam不分区，分10个表，单表1亿数据量：</p>
<p>create table user01</p>
<p>(</p>
<p>   ID                   bigint not null auto_increment comment ‘自增ID’,</p>
<p>   Username             varchar(30) not null comment ‘用户名’,</p>
<p>   sex                  tinyint not null comment ‘性别’,</p>
<p>   birthday             datetime not null comment ‘生日’,</p>
<p>   email                varchar(50) not null comment ‘邮箱’,</p>
<p>   tel                  int not null comment ‘手机’,</p>
<p>   intro                varchar(255) not null comment ‘个人简介’,</p>
<p>   primary key (ID)</p>
<p>)</p>
<p>type = MYISAM</p>
<p>default charset=utf8;</p>
<p>*一共10个表,user01,user02,…,user10</p>
<p>Myisam用id进行hash分区，分10个区，每个分区1亿数据：</p>
<p>create table puser</p>
<p>(</p>
<p>   ID                   bigint not null auto_increment comment ‘自增ID’,</p>
<p>   Username             varchar(30) not null comment ‘用户名’,</p>
<p>   sex                  tinyint not null comment ‘性别’,</p>
<p>   birthday             datetime not null comment ‘生日’,</p>
<p>   email                varchar(50) not null comment ‘邮箱’,</p>
<p>   tel                  int not null comment ‘手机’,</p>
<p>   intro                varchar(255) not null comment ‘个人简介’,</p>
<p>   primary key (ID)</p>
<p>)</p>
<p>type = MYISAM</p>
<p>default charset=utf8</p>
<p>partition by hash(ID)</p>
<p>partitions 10;  </p>
<p>Innodb用id进行hash分区，分10个区，每个分区1亿数据：</p>
<p>create table iuser</p>
<p>(</p>
<p>   ID                   bigint not null auto_increment comment ‘自增ID’,</p>
<p>   Username             varchar(30) not null comment ‘用户名’,</p>
<p>   sex                  tinyint not null comment ‘性别’,</p>
<p>   birthday             datetime not null comment ‘生日’,</p>
<p>   email                varchar(50) not null comment ‘邮箱’,</p>
<p>   tel                  int not null comment ‘手机’,</p>
<p>   intro                varchar(255) not null comment ‘个人简介’,</p>
<p>   primary key (ID)</p>
<p>)</p>
<p>type = Innodb</p>
<p>default charset=utf8</p>
<p>partition by hash(ID)</p>
<p>partitions 10;</p>
<p>Innodb不分区不分表，单表10亿数据量：</p>
<p>create table ibiguser</p>
<p>(</p>
<p>   ID                   bigint not null auto_increment comment ‘自增ID’,</p>
<p>   Username             varchar(30) not null comment ‘用户名’,</p>
<p>   sex                  tinyint not null comment ‘性别’,</p>
<p>   birthday             datetime not null comment ‘生日’,</p>
<p>   email                varchar(50) not null comment ‘邮箱’,</p>
<p>   tel                  int not null comment ‘手机’,</p>
<p>   intro                varchar(255) not null comment ‘个人简介’,</p>
<p>   primary key (ID)</p>
<p>)</p>
<p>type = Innodb</p>
<p>default charset=utf8;</p>
<p>三，数据生成</p>
<p>利用power design生成100万不重复的数据的基础表，然后将此表数据用mysqlslap工具重复插入到目标表，可以快速生成海量数量表。最终数据文件大小都在170G左右(分表情况单表17G数据文件)</p>
<p>插入100万记录到目标表的性能如下</p>
<p>单位（秒）：<br />
Myisam不分区 	Myisam分区 	Innodb不分区 	Innodb分区<br />
10.514 	9.114 	16.258 	16.893</p>
<p>可见非并发的大量数据插入myisam分区性能最佳，myisam不分区次之，innodb分区较差。</p>
<p>四，压力测试</p>
<p>利用mysql5.1自带的压力测试工具mysqlslap对以上四种情况进行了压力测试，测试结果如下(单位：秒)：<br />
　 	myisam<br />
未分区 	myisam<br />
分区 	Myisam<br />
分表 	Innodb<br />
未分区 	innodb<br />
分区<br />
100连续随机查询 	4.55 	4.11 	5.389 	4.445 	5.893<br />
　 	　 	　 	　 	　 	　<br />
并发50随机查询 	0.052 	0.049 	0.075 	0.07 	0.038<br />
并发100随机查询 	0.071 	0.078 	0.11 	0.088 	0.055<br />
并发250随机查询 	0.137 	0.153 	0.239 	0.175 	0.124<br />
并发500随机查询 	0.266 	0.273 	0.447 	0.283 	0.24<br />
并发1000随机查询 	0.5 	0.533 	0.849 	0.485 	0.46<br />
　 	　 	　 	　 	　 	　<br />
并发50随机插入 	0.037 	0.03 	0.04 	0.042 	0.025<br />
并发100随机插入 	0.071 	0.06 	0.057 	0.06 	0.049<br />
并发250随机插入 	0.179 	0.159 	0.144 	0.135 	0.132<br />
并发500随机插入 	0.384 	0.327 	0.332 	0.248 	0.25<br />
并发1000随机插入 	0.82 	0.73 	0.737 	0.542 	0.526<br />
　 	　 	　 	　 	　 	　<br />
并发50随机删除 	1.204 	1.536 	0.196 	0.041 	0.039<br />
并发100随机删除 	2.333 	2.945 	0.362 	0.062 	0.063<br />
并发250随机删除 	5.568 	5.718 	0.831 	0.14 	0.173<br />
并发500随机删除 	9.663 	9.705 	1.42 	0.275 	0.308<br />
并发1000随机删除 	19.877 	17.254 	2.655 	0.589 	0.634<br />
　 	　 	　 	　 	　 	　<br />
并发50随机更新 	1.008 	0.887 	0.298 	0.044 	0.046<br />
并发100随机更新 	1.789 	1.688 	0.533 	0.064 	0.062<br />
并发250随机更新 	4.291 	3.986 	1.029 	0.134 	0.145<br />
并发500随机更新 	8.357 	7.872 	1.783 	0.306 	0.288<br />
并发1000随机更新 	15.963 	15.126 	3.33 	0.575 	0.563</p>
<p>*运行了一个100条语句的批查询，看非并发情况下的查询效率，查询语句见附一。</p>
<p>*利用存储过程进行一个hash处理，去对不同的表进行数据操作，见附二。</p>
<p>五，结论：</p>
<p>一，在高并发情况下，innodb的分区表的增，删，改，查的性能都优于myisam引擘，特别是在高并发删除和更新的场合下，两者相差可以达到20-30倍。</p>
<p>二，myisam的分区表(10个分区)和未分区表的性能相差不大，略优于未分区表。</p>
<p>三，myisam分区表(10个分区)的插入性能与分表(10个表)差不多，但查询性能要好30%左右。但删除与更新的性能分表要远远好于分区。</p>
<p>四，innodb分区表和未分区表查询和插入在低并发下，相差40%。但在并发性不断增加的情况下，性能相差不大。删除和更新性能则一直相近。<br />
附一：</p>
<p>select sql_no_cache * from biguser where id=       14988469         ;</p>
<p>select sql_no_cache * from biguser where id=       57611709         ;</p>
<p>select sql_no_cache * from biguser where id=       88737417         ;</p>
<p>select sql_no_cache * from biguser where id=       5487431  ;</p>
<p>select sql_no_cache * from biguser where id=       75912772         ;</p>
<p>select sql_no_cache * from biguser where id=       39680341         ;</p>
<p>select sql_no_cache * from biguser where id=       33444232         ;</p>
<p>select sql_no_cache * from biguser where id=       53937959         ;</p>
<p>select sql_no_cache * from biguser where id=       29031225         ;</p>
<p>select sql_no_cache * from biguser where id=       1256108  ;</p>
<p>select sql_no_cache * from biguser where id=       25314369         ;</p>
<p>select sql_no_cache * from biguser where id=       24296361         ;</p>
<p>select sql_no_cache * from biguser where id=       65966713         ;</p>
<p>select sql_no_cache * from biguser where id=       14395018         ;</p>
<p>select sql_no_cache * from biguser where id=       69197350         ;</p>
<p>select sql_no_cache * from biguser where id=       90962562         ;</p>
<p>select sql_no_cache * from biguser where id=       67908690         ;</p>
<p>select sql_no_cache * from biguser where id=       34352967         ;</p>
<p>select sql_no_cache * from biguser where id=       76458078         ;</p>
<p>select sql_no_cache * from biguser where id=       9986401  ;</p>
<p>select sql_no_cache * from biguser where id=       92969693         ;</p>
<p>select sql_no_cache * from biguser where id=       21688034         ;</p>
<p>select sql_no_cache * from biguser where id=       23534033         ;</p>
<p>select sql_no_cache * from biguser where id=       49682571         ;</p>
<p>select sql_no_cache * from biguser where id=       70230582         ;</p>
<p>select sql_no_cache * from biguser where id=       23174504         ;</p>
<p>select sql_no_cache * from biguser where id=       54671332         ;</p>
<p>select sql_no_cache * from biguser where id=       60255403         ;</p>
<p>select sql_no_cache * from biguser where id=       33064209         ;</p>
<p>select sql_no_cache * from biguser where id=       30657185         ;</p>
<p>select sql_no_cache * from biguser where id=       98478707         ;</p>
<p>select sql_no_cache * from biguser where id=       27247625         ;</p>
<p>select sql_no_cache * from biguser where id=       20287058         ;</p>
<p>select sql_no_cache * from biguser where id=       67371577         ;</p>
<p>select sql_no_cache * from biguser where id=       18519687         ;</p>
<p>select sql_no_cache * from biguser where id=       55236080         ;</p>
<p>select sql_no_cache * from biguser where id=       21413273         ;</p>
<p>select sql_no_cache * from biguser where id=       2928926  ;</p>
<p>select sql_no_cache * from biguser where id=       82738229         ;</p>
<p>select sql_no_cache * from biguser where id=       47525876         ;</p>
<p>select sql_no_cache * from biguser where id=       19732304         ;</p>
<p>select sql_no_cache * from biguser where id=       63153463         ;</p>
<p>select sql_no_cache * from biguser where id=       1685048  ;</p>
<p>select sql_no_cache * from biguser where id=       4675229  ;</p>
<p>select sql_no_cache * from biguser where id=       14525956         ;</p>
<p>select sql_no_cache * from biguser where id=       86972953         ;</p>
<p>select sql_no_cache * from biguser where id=       21576455         ;</p>
<p>select sql_no_cache * from biguser where id=       5341705  ;</p>
<p>select sql_no_cache * from biguser where id=       66182739         ;</p>
<p>select sql_no_cache * from biguser where id=       54662774         ;</p>
<p>select sql_no_cache * from biguser where id=       59012070         ;</p>
<p>select sql_no_cache * from biguser where id=       52293127         ;</p>
<p>select sql_no_cache * from biguser where id=       29983640         ;</p>
<p>select sql_no_cache * from biguser where id=       21078779         ;</p>
<p>select sql_no_cache * from biguser where id=       14937593         ;</p>
<p>select sql_no_cache * from biguser where id=       17458594         ;</p>
<p>select sql_no_cache * from biguser where id=       7928885  ;</p>
<p>select sql_no_cache * from biguser where id=       73174679         ;</p>
<p>select sql_no_cache * from biguser where id=       21741457         ;</p>
<p>select sql_no_cache * from biguser where id=       86001336         ;</p>
<p>select sql_no_cache * from biguser where id=       52555158         ;</p>
<p>select sql_no_cache * from biguser where id=       23325556         ;</p>
<p>select sql_no_cache * from biguser where id=       63580254         ;</p>
<p>select sql_no_cache * from biguser where id=       83699681         ;</p>
<p>select sql_no_cache * from biguser where id=       10742003         ;</p>
<p>select sql_no_cache * from biguser where id=       81051582         ;</p>
<p>select sql_no_cache * from biguser where id=       45963004         ;</p>
<p>select sql_no_cache * from biguser where id=       95947261         ;</p>
<p>select sql_no_cache * from biguser where id=       19606015         ;</p>
<p>select sql_no_cache * from biguser where id=       24078829         ;</p>
<p>select sql_no_cache * from biguser where id=       676655     ;</p>
<p>select sql_no_cache * from biguser where id=       30713754         ;</p>
<p>select sql_no_cache * from biguser where id=       29905848         ;</p>
<p>select sql_no_cache * from biguser where id=       99763851         ;</p>
<p>select sql_no_cache * from biguser where id=       1495837  ;</p>
<p>select sql_no_cache * from biguser where id=       71316631         ;</p>
<p>select sql_no_cache * from biguser where id=       88798686         ;</p>
<p>select sql_no_cache * from biguser where id=       94214594         ;</p>
<p>select sql_no_cache * from biguser where id=       54310537         ;</p>
<p>select sql_no_cache * from biguser where id=       81828596         ;</p>
<p>select sql_no_cache * from biguser where id=       89927714         ;</p>
<p>select sql_no_cache * from biguser where id=       72684768         ;</p>
<p>select sql_no_cache * from biguser where id=       50764835         ;</p>
<p>select sql_no_cache * from biguser where id=       50720945         ;</p>
<p>select sql_no_cache * from biguser where id=       63690819         ;</p>
<p>select sql_no_cache * from biguser where id=       14890423         ;</p>
<p>select sql_no_cache * from biguser where id=       94762181         ;</p>
<p>select sql_no_cache * from biguser where id=       45487268         ;</p>
<p>select sql_no_cache * from biguser where id=       50795204         ;</p>
<p>select sql_no_cache * from biguser where id=       43415976         ;</p>
<p>select sql_no_cache * from biguser where id=       44953453         ;</p>
<p>select sql_no_cache * from biguser where id=       83626479         ;</p>
<p>select sql_no_cache * from biguser where id=       42730160         ;</p>
<p>select sql_no_cache * from biguser where id=       15229715         ;</p>
<p>select sql_no_cache * from biguser where id=       22058075         ;</p>
<p>select sql_no_cache * from biguser where id=       35277893         ;</p>
<p>select sql_no_cache * from biguser where id=       90205735         ;</p>
<p>select sql_no_cache * from biguser where id=       12501310         ;</p>
<p>select sql_no_cache * from biguser where id=       24653162         ;</p>
<p>select sql_no_cache * from biguser where id=       34248456         ;</p>
<p>附二：</p>
<p>use nopart ;</p>
<p>drop procedure p_hash_select;</p>
<p>delimiter //</p>
<p>create procedure p_hash_select(vid bigint)</p>
<p>begin</p>
<p>set @i=mod(vid,10);</p>
<p>if @i=1 then</p>
<p>  select * from user01 where;</p>
<p>end if;</p>
<p>if @i=2 then</p>
<p>  select * from user02 where;</p>
<p>end if;</p>
<p>if @i=3 then</p>
<p>  select * from user03 where;</p>
<p>end if;</p>
<p>if @i=4 then</p>
<p>  select * from user04 where;</p>
<p>end if;</p>
<p>if @i=5 then</p>
<p>  select * from user05 where;</p>
<p>end if;</p>
<p>if @i=6 then</p>
<p>  select * from user06 where;</p>
<p>end if;</p>
<p>if @i=7 then</p>
<p>  select * from user07 where;</p>
<p>end if;</p>
<p>if @i=8 then</p>
<p>  select * from user08 where;</p>
<p>end if;</p>
<p>if @i=9 then</p>
<p>  select * from user09 where;</p>
<p>end if;</p>
<p>if @i=0 then</p>
<p>  select * from user10 where;</p>
<p>end if;</p>
<p>end//</p>
<p>delimiter ;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.86800.net/3g/1342.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>防伪海量数据库设计注意事项</title>
		<link>http://www.86800.net/3g/1340.html</link>
		<comments>http://www.86800.net/3g/1340.html#comments</comments>
		<pubDate>Sun, 06 Feb 2011 04:44:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[定制开发]]></category>

		<guid isPermaLink="false">http://www.86800.net/?p=1340</guid>
		<description><![CDATA[For any Unicode character set, operations performed using the _general_ci collation are faster than those for the _unicode_ci collation.  For example, comparisons for the utf8_general_ci  collation are faster,  but slightly less correct, than comparisons for utf8_unicode_ci. The  reason for this is that utf8_unicode_ci supports mappings such as  expansions; that is, [...]]]></description>
			<content:encoded><![CDATA[<p>For any Unicode character set, <strong>operations performed using the _general_ci collation are faster than those for the _unicode_ci collation</strong>.  For example, comparisons for the utf8_general_ci  collation are faster,  but slightly less correct, than comparisons for utf8_unicode_ci. The  reason for this is that utf8_unicode_ci supports mappings such as  expansions; that is, when one character compares as equal to  combinations of other characters. For example, in German and some other  languages “ß” is equal to “ss”. utf8_unicode_ci also supports  contractions and ignorable characters. utf8_general_ci  is a legacy  collation that does not support expansions, contractions, or ignorable  characters. It can make only one-to-one comparisons between characters.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.86800.net/3g/1340.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>insert INSERT&#8230; IGNORE 语法防窜货分店价格体系</title>
		<link>http://www.86800.net/3g/1339.html</link>
		<comments>http://www.86800.net/3g/1339.html#comments</comments>
		<pubDate>Fri, 15 Oct 2010 07:55:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[其他]]></category>

		<guid isPermaLink="false">http://www.86800.net/3g/1339.html</guid>
		<description><![CDATA[You can use INSERT&#8230; IGNORE syntax if you want to take no action when there&#8217;s a duplicate record.
You can use REPLACE INTO syntax if you want to overwrite an old record with a new one with the same key.
Or, you can use INSERT&#8230; ON DUPLICATE KEY UPDATE syntax if you want to perform an update [...]]]></description>
			<content:encoded><![CDATA[<p>You can use INSERT&#8230; IGNORE syntax if you want to take no action when there&#8217;s a duplicate record.</p>
<p>You can use REPLACE INTO syntax if you want to overwrite an old record with a new one with the same key.</p>
<p>Or, you can use INSERT&#8230; ON DUPLICATE KEY UPDATE syntax if you want to perform an update to the record instead when you encounter a duplicate.</p>
<p>Edit: Thought I&#8217;d add some examples.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.86800.net/3g/1339.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>英文版防伪查询系统返回语言设置</title>
		<link>http://www.86800.net/3g/1337.html</link>
		<comments>http://www.86800.net/3g/1337.html#comments</comments>
		<pubDate>Fri, 15 Oct 2010 00:42:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[手机防伪]]></category>
		<category><![CDATA[短信防伪]]></category>
		<category><![CDATA[维护日志]]></category>
		<category><![CDATA[防伪]]></category>
		<category><![CDATA[counterfeiting]]></category>

		<guid isPermaLink="false">http://www.86800.net/3g/1337.html</guid>
		<description><![CDATA[英文防伪查询留言
统一后的查询留言如下：
第二次查询及后续查询：
谨防假冒！该产品已被查询2次,查询首次查询时间为:
Beware of imitations! This product has been queried for 7 times, the time of first query is 2008-10-10 10:00:35.
防伪码长度错误，请重新输入则为:
Length of security code error, please re-enter.
防伪码错误，谨防假冒:
Security code error, and guard against counterfeiting
]]></description>
			<content:encoded><![CDATA[<p>英文防伪查询留言</p>
<p>统一后的查询留言如下：</p>
<p>第二次查询及后续查询：<br />
谨防假冒！该产品已被查询2次,查询首次查询时间为:<br />
Beware of imitations! This product has been queried for 7 times, the time of first query is 2008-10-10 10:00:35.</p>
<p>防伪码长度错误，请重新输入则为:<br />
Length of security code error, please re-enter.</p>
<p>防伪码错误，谨防假冒:<br />
Security code error, and guard against counterfeiting</p>
]]></content:encoded>
			<wfw:commentRss>http://www.86800.net/3g/1337.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>合肥浪金防伪数据库导入备忘</title>
		<link>http://www.86800.net/3g/1334.html</link>
		<comments>http://www.86800.net/3g/1334.html#comments</comments>
		<pubDate>Mon, 04 Oct 2010 00:48:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[电码防伪]]></category>
		<category><![CDATA[维护日志]]></category>
		<category><![CDATA[防伪]]></category>

		<guid isPermaLink="false">http://www.86800.net/?p=1334</guid>
		<description><![CDATA[合肥浪金的防伪物流升级备忘如下:
1:密码格式 : 头部共6位  123 位 为 批号  456位 为企业代号 ( 这种数据完全可以导入我们的防伪系统海量存储版本数据 )
导入 工作计时 为 2000万 每 天(产品 不多全部手工 导入重新登记)
]]></description>
			<content:encoded><![CDATA[<p>合肥浪金的防伪物流升级备忘如下:</p>
<p>1:密码格式 : 头部共6位  123 位 为 批号  456位 为企业代号 ( 这种数据完全可以导入我们的防伪系统海量存储版本数据 )</p>
<p>导入 工作计时 为 2000万 每 天(产品 不多全部手工 导入重新登记)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.86800.net/3g/1334.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>防伪防窜货系统数据库备份工具包基本概念</title>
		<link>http://www.86800.net/3g/1329.html</link>
		<comments>http://www.86800.net/3g/1329.html#comments</comments>
		<pubDate>Mon, 04 Oct 2010 00:40:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[其他]]></category>
		<category><![CDATA[教学文档]]></category>
		<category><![CDATA[防伪数据库备份]]></category>
		<category><![CDATA[高可靠防伪系统]]></category>

		<guid isPermaLink="false">http://www.86800.net/3g/1329.html</guid>
		<description><![CDATA[明鉴防伪集团版 ,红版,物流DRP独立版,积分独立版增量备份和差异备份的区别：
明鉴提供的三种备份种类：完全备份、差异备份、增量备份。
完全备份：
备份全部选中的文件夹，并不依赖文件的存档属性来确定备份那些文件。（在备份过程中，任何现有的标记都被清除，每个文件都被标记为已备份，换言之，清除存档属性）。
差异备份：
差异备份是针对完全备份：备份上一次的完全备份后发生变化的所有文件。（差异备份过程中，只备份有标记的那些选中的文件和文件夹。它不清除标记，既：备份后不标记为已备份文件，换言之，不清除存档属性）。
增量备份：
增量备份是针对于上一次备份（无论是哪种备份）：备份上一次备份后，所有发生变化的文件。（增量备份过程中，只备份有标记的选中的文件和文件夹，它清除标记，既：备份后标记文件，换言之，清除存档属性。）
不同备份类型可以存在一定组合，参考示例如下：
完全备份和差异备份：
在星期一进行完全备份，在星期二至星期五进行差异备份。如果在星期五数据被破坏了，则你只需要还原星期一完全的备份和星期四的差异备份。这种策略备份数据需要较少的时间，但还原数据使用较少的时间。
完全备份和增量备份：
在星期一进行完全备份，在星期二至星期五进行增量备份。如果在星期五数据被破坏了，则你需要还原星期一正常的备份和从星期二至星期五的所有增量备份。这种策略备份数据需要较少的时间，但还原数据使用较多的时间。
]]></description>
			<content:encoded><![CDATA[<p>明鉴防伪集团版 ,红版,物流DRP独立版,积分独立版增量备份和差异备份的区别：</p>
<p>明鉴提供的三种备份种类：完全备份、差异备份、增量备份。</p>
<p>完全备份：</p>
<p>备份全部选中的文件夹，并不依赖文件的存档属性来确定备份那些文件。（在备份过程中，任何现有的标记都被清除，每个文件都被标记为已备份，换言之，清除存档属性）。</p>
<p>差异备份：</p>
<p>差异备份是针对完全备份：备份上一次的完全备份后发生变化的所有文件。（差异备份过程中，只备份有标记的那些选中的文件和文件夹。它不清除标记，既：备份后不标记为已备份文件，换言之，不清除存档属性）。</p>
<p>增量备份：</p>
<p>增量备份是针对于上一次备份（无论是哪种备份）：备份上一次备份后，所有发生变化的文件。（增量备份过程中，只备份有标记的选中的文件和文件夹，它清除标记，既：备份后标记文件，换言之，清除存档属性。）</p>
<p>不同备份类型可以存在一定组合，参考示例如下：</p>
<p>完全备份和差异备份：</p>
<p>在星期一进行完全备份，在星期二至星期五进行差异备份。如果在星期五数据被破坏了，则你只需要还原星期一完全的备份和星期四的差异备份。这种策略备份数据需要较少的时间，但还原数据使用较少的时间。</p>
<p>完全备份和增量备份：</p>
<p>在星期一进行完全备份，在星期二至星期五进行增量备份。如果在星期五数据被破坏了，则你需要还原星期一正常的备份和从星期二至星期五的所有增量备份。这种策略备份数据需要较少的时间，但还原数据使用较多的时间。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.86800.net/3g/1329.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tq315维护备忘</title>
		<link>http://www.86800.net/3g/1326.html</link>
		<comments>http://www.86800.net/3g/1326.html#comments</comments>
		<pubDate>Wed, 08 Sep 2010 10:41:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[其他]]></category>
		<category><![CDATA[海量存储防伪数据库]]></category>

		<guid isPermaLink="false">http://www.86800.net/3g/1326.html</guid>
		<description><![CDATA[防伪密码数据库用的 是 bb  防伪服务器 web 目录 是2www
$fangweiweburl50 = &#8220;http://localhost/encfwjituan/0qd86/qd315_webservice.php&#8221;;
这里是海量存储防伪数据库 存储是密码数据
 http://localhost/encfwjituan/dump 是密码导入数据
]]></description>
			<content:encoded><![CDATA[<p>防伪密码数据库用的 是 bb  防伪服务器 web 目录 是2www</p>
<p>$fangweiweburl50 = &#8220;http://localhost/encfwjituan/0qd86/qd315_webservice.php&#8221;;<br />
这里是海量存储防伪数据库 存储是密码数据</p>
<p> http://localhost/encfwjituan/dump 是密码导入数据</p>
]]></content:encoded>
			<wfw:commentRss>http://www.86800.net/3g/1326.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

