锘??xml version="1.0" encoding="utf-8" standalone="yes"?>一本久久精品一区二区,欧美一区日韩一区,亚洲第一成人在线http://m.shnenglu.com/fwxjj/archive/2014/08/31/208188.html澶ч緳澶ч緳Sun, 31 Aug 2014 06:59:00 GMThttp://m.shnenglu.com/fwxjj/archive/2014/08/31/208188.htmlhttp://m.shnenglu.com/fwxjj/comments/208188.htmlhttp://m.shnenglu.com/fwxjj/archive/2014/08/31/208188.html#Feedback0http://m.shnenglu.com/fwxjj/comments/commentRss/208188.htmlhttp://m.shnenglu.com/fwxjj/services/trackbacks/208188.html鐢⊿tring鐨刪ashcode寰楀埌int綾誨瀷浣滀負(fù)涓婚敭銆傚叾瀹瀐ashcode閲嶅鐨勫彲鑳芥ц秴澶э紝涓嬮潰鏄痡ava鐨勭己鐪佺畻娉曪細(xì)
 public int hashCode() {
    
int h = hash;
    
if (h == 0{
        
int off = offset;
        
char val[] = value;
        
int len = count;

            
for (int i = 0; i < len; i++{
                h 
= 31*+ val[off++];
            }

            hash 
= h;
        }

        
return h;
    }
浣嗘槸浠涔堟儏鍐典笅浼?xì)閲嶅锛熶笅闈㈡槸娴嬭瘯浠g?




import java.util.HashMap;

public class Test {

    
static HashMap map = new HashMap();

    
private static char startChar = 'A';

    
private static char endChar = 'z';

    
private static int offset = endChar - startChar + 1;

    
private static int dup = 0;

    
public static void main(String[] args) {
        
int len = 3;
        
char[] chars = new char[len];
        tryBit(chars, len);
        System.
out.println((int)Math.pow(offset, len) + ":" + dup);
    }


    
private static void tryBit(char[] chars, int i) {
        
for (char j = startChar; j <= endChar; j++{
            chars[i 
- 1= j;
            
if (i > 1)
                tryBit(chars, i 
- 1);
            
else
                test(chars);
        }

    }


    
private static void test(char[] chars) {

        String str 
= new String(chars).replaceAll("[^a-zA-Z_]""").toUpperCase();// 195112:0
        
//String str = new String(chars).toLowerCase();//195112:6612
        
//String str = new String(chars).replaceAll("[^a-zA-Z_]","");//195112:122500
        
//String str = new String(chars);//195112:138510
        int hash = str.hashCode();
        
if (map.containsKey(hash)) {
            String s 
= (String) map.get(hash);
            
if (!s.equals(str)) {
                dup
++;
                System.
out.println(s + ":" + str);
            }

        }
 else {
            map.put(hash, str);
            
// System.out.println(str);
        }

    }

}


鍦ˋ-z鑼冨洿鍐呮湁鐗規(guī)畩瀛楃錛屼粠緇撴灉鐪嬶紝浠呬粎3浣嶉暱搴︾殑瀛楃涓詫細(xì)
涓嶅鐞嗭細(xì)銆138510嬈¢噸澶?
鍘繪帀瀛楁瘝鎰忓瀛楃錛氥122500嬈¢噸澶?
鎵鏈夊瓧絎﹁漿灝忓啓錛?612嬈¢噸澶?灝戜簡寰堝錛?
鍘繪帀瀛楁瘝鎰忓瀛楃錛屽茍涓旇漿灝忓啓錛氭病鏈夐噸澶嶏紒4浣嶅瓧絎︿覆涔熸病瑙侀噸澶?

涓嶉毦鐪嬪嚭錛?
1. 緙虹渷瀹炵幇涓鴻嫳鏂囧瓧姣嶄紭鍖?
2. 瀛楁瘝澶у皬鍐欏彲鑳藉鑷撮噸澶?

鍙兘錛?
闀垮瓧絎︿覆鍙兘hashcode閲嶅
涓枃瀛楃涓插拰鐗規(guī)畩瀛楃鍙兘hashcode閲嶅

娉細(xì)鐢變簬鏄?006騫寸殑浜嬶紝鎵浠ヤ笂闈㈠緱鍑虹殑鏁版嵁鏈夎銆傚彲鑷繁榪涜嫻嬭瘯銆俬ash鍐茬獊嬈℃暟澶уぇ鍑忓皯銆?/span>


澶ч緳 2014-08-31 14:59 鍙戣〃璇勮
]]>
TCP/IP鍗忚閫夐」鈥斺擳CP_KEEPALIVEhttp://m.shnenglu.com/fwxjj/archive/2014/08/18/208055.html澶ч緳澶ч緳Mon, 18 Aug 2014 09:41:00 GMThttp://m.shnenglu.com/fwxjj/archive/2014/08/18/208055.htmlhttp://m.shnenglu.com/fwxjj/comments/208055.htmlhttp://m.shnenglu.com/fwxjj/archive/2014/08/18/208055.html#Feedback0http://m.shnenglu.com/fwxjj/comments/commentRss/208055.htmlhttp://m.shnenglu.com/fwxjj/services/trackbacks/208055.html1銆並EEPALIVE浣滅敤

KEEPALIVE鏈哄埗錛屾槸TCP鍗忚瑙勫畾鐨凾CP灞傦紙闈炲簲鐢ㄥ眰涓氬姟浠g爜瀹炵幇鐨勶級媯嫻婽CP鏈鍒板鏂逛富鏈虹殑TCP榪炴帴鐨勮繛閫氭х殑琛屼負(fù)銆傞伩鍏嶆湇鍔″櫒鍦ㄥ鎴風(fēng)鍑虹幇鍚勭涓嶈壇鐘跺喌鏃舵棤娉曟劅鐭ワ紝鑰屾案榪滅瓑鍦ㄨ繖鏉CP榪炴帴涓娿?/p>

2銆並EEPALIVE浠g爜紺轟緥

璇ラ夐」鍙互璁劇疆榪欎釜媯嫻嬭涓虹殑緇嗚妭錛屽涓嬩唬鐮佹墍紺猴細(xì)

  1. int keepAlive = 1;    // 闈?鍊鹼紝寮鍚痥eepalive灞炴?  
  2. int keepIdle = 60;    // 濡傝榪炴帴鍦?0縐掑唴娌℃湁浠諱綍鏁版嵁寰鏉?鍒欒繘琛屾TCP灞傜殑鎺㈡祴   
  3. int keepInterval = 5; // 鎺㈡祴鍙戝寘闂撮殧涓?縐?  
  4. int keepCount = 3;        // 灝濊瘯鎺㈡祴鐨勬鏁?濡傛灉絎?嬈℃帰嫻嬪寘灝辨敹鍒板搷搴斾簡,鍒欏悗2嬈$殑涓嶅啀鍙?  
  5. setsockopt(sockfd, SOL_SOCKET, SO_KEEPALIVE, (void *)&keepAlive, sizeof(keepAlive));  
  6. setsockopt(sockfd, SOL_TCP, TCP_KEEPIDLE, (void*)&keepIdle, sizeof(keepIdle));  
  7. setsockopt(sockfd, SOL_TCP, TCP_KEEPINTVL, (void *)&keepInterval, sizeof(keepInterval));  
  8. setsockopt(sockfd, SOL_TCP, TCP_KEEPCNT, (void *)&keepCount, sizeof(keepCount));  

璁劇疆璇ラ夐」鍚庯紝濡傛灉60縐掑唴鍦ㄦ濂楁帴鍙f墍瀵瑰簲榪炴帴鐨勪換涓鏂瑰悜閮芥病鏈夋暟鎹氦鎹紝TCP灞傚氨鑷姩緇欏鏂瑰彂涓涓繚媧繪帰嫻嬪垎鑺?keepalive probe)銆傝繖鏄竴涓鏂瑰繀欏誨搷搴旂殑TCP鍒嗚妭銆傚畠浼?xì)瀵艰嚧浠ヤ笅涓壙U嶆儏鍐碉細(xì)
    瀵規(guī)柟鎺ユ敹涓鍒囨甯革細(xì)浠ユ湡鏈涚殑ACK鍝嶅簲銆?0縐掑悗錛孴CP灝嗛噸鏂板紑濮嬩笅涓杞帰嫻嬨?br />    瀵規(guī)柟宸插穿婧冧笖宸查噸鏂板惎鍔細(xì)浠ST鍝嶅簲銆傚鎺ュ彛鐨勫緟澶勭悊閿欒琚疆涓篍CONNRESET銆?br />    瀵規(guī)柟鏃犱換浣曞搷搴旓細(xì)姣斿瀹㈡埛绔偅杈瑰凡緇忔柇緗戯紝鎴栬呭鎴風(fēng)鐩存帴姝繪満銆備互璁懼畾鐨勬椂闂撮棿闅斿皾璇?嬈★紝鏃犲搷搴斿氨鏀懼純銆傚鎺ュ彛鐨勫緟澶勭悊閿欒琚疆涓篍TIMEOUT銆?/p>

3銆並EEPALIVE鑴氭湰璁劇疆

鍏ㄥ眬璁劇疆鍙洿鏀?etc/sysctl.conf,鍔犱笂:
net.ipv4.tcp_keepalive_intvl = 5
net.ipv4.tcp_keepalive_probes = 3
net.ipv4.tcp_keepalive_time = 60
鍦ㄧ▼搴忎腑琛ㄧ幇涓猴細(xì)
闃誨妯″瀷涓嬶紝褰揟CP灞傛嫻嬪埌瀵圭socket涓嶅啀鍙敤鏃訛紝鍐呮牳鏃犳硶涓誨姩閫氱煡搴旂敤灞傚嚭閿欙紝鍙湁搴旂敤灞備富鍔ㄨ皟鐢╮ead()鎴栬厀rite()榪欐牱鐨処O緋葷粺璋冪敤鏃訛紝鍐呮牳鎵嶄細(xì)鍒╃敤鍑洪敊鏉ラ氱煡搴旂敤灞傘?br />闈為樆濉炴ā鍨嬩笅錛宻elect鎴栬卐poll浼?xì)杩斿洖sockfd鍙,搴旂敤灞傚鍏惰繘琛岃鍙栨椂錛宺ead()浼?xì)鎶ラ敊銆?/p>


涓鐐圭粡楠岋細(xì)
瀹為檯涓婃垜浠湪鍋氭湇鍔″櫒紼嬪簭鐨勬椂鍊欙紝瀵瑰鎴風(fēng)鐨勪繚媧繪帰嫻嬪熀鏈笂涓嶄緷璧栦簬榪欎釜TCP灞傜殑keepalive鎺㈡祴鏈哄埗銆?br />鑰屾槸鎴戜滑鑷繁鍋氫竴濂楀簲鐢ㄥ眰鐨勮姹傚簲絳旀秷鎭紝鍦ㄥ簲鐢ㄥ眰瀹炵幇榪欐牱涓涓姛鑳姐?/p>

澶ч緳 2014-08-18 17:41 鍙戣〃璇勮
]]>
haproxy+keepalived瀹炵幇楂樺彲鐢ㄨ礋杞藉潎琛?/title><link>http://m.shnenglu.com/fwxjj/archive/2014/08/15/208027.html</link><dc:creator>澶ч緳</dc:creator><author>澶ч緳</author><pubDate>Fri, 15 Aug 2014 08:15:00 GMT</pubDate><guid>http://m.shnenglu.com/fwxjj/archive/2014/08/15/208027.html</guid><wfw:comment>http://m.shnenglu.com/fwxjj/comments/208027.html</wfw:comment><comments>http://m.shnenglu.com/fwxjj/archive/2014/08/15/208027.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/fwxjj/comments/commentRss/208027.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/fwxjj/services/trackbacks/208027.html</trackback:ping><description><![CDATA[     鎽樿: 杞歡璐熻澆鍧囪 涓鑸氳繃涓ょ鏂瑰紡鏉ュ疄鐜幫細(xì)鍩轟簬鎿嶄綔緋葷粺鐨勮蔣璐熻澆瀹炵幇鍜屽熀浜庣涓夋柟搴旂敤鐨勮蔣璐熻澆瀹炵幇銆侺VS灝辨槸鍩轟簬Linux鎿嶄綔緋葷粺瀹炵幇鐨勪竴縐嶈蔣璐熻澆錛孒AProxy灝辨槸寮婧愮殑騫朵笖鍩轟簬絎笁搴旂敤瀹炵幇鐨勮蔣璐熻澆銆侶AProxy鐩告瘮LVS鐨勪嬌鐢ㄨ綆鍗曞緢澶氾紝鍔熻兘鏂歸潰涔熷緢涓板瘜銆傚綋 鍓嶏紝HAProxy鏀寔涓ょ涓昏鐨勪唬鐞嗘ā寮?"tcp"涔熷嵆4灞傦紙澶у鐢ㄤ簬閭歡鏈嶅姟鍣ㄣ佸唴閮ㄥ崗璁氫俊鏈嶅姟鍣ㄧ瓑錛夛紝鍜?灞傦紙HTTP錛夈傚湪4灞傛ā寮?涓嬶紝...  <a href='http://m.shnenglu.com/fwxjj/archive/2014/08/15/208027.html'>闃呰鍏ㄦ枃</a><img src ="http://m.shnenglu.com/fwxjj/aggbug/208027.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/fwxjj/" target="_blank">澶ч緳</a> 2014-08-15 16:15 <a href="http://m.shnenglu.com/fwxjj/archive/2014/08/15/208027.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>HAProxy璐熻澆鍧囪 鍣ㄧ殑瀹夎鍙?qiáng)閰嵕|?/title><link>http://m.shnenglu.com/fwxjj/archive/2014/08/15/208026.html</link><dc:creator>澶ч緳</dc:creator><author>澶ч緳</author><pubDate>Fri, 15 Aug 2014 07:52:00 GMT</pubDate><guid>http://m.shnenglu.com/fwxjj/archive/2014/08/15/208026.html</guid><wfw:comment>http://m.shnenglu.com/fwxjj/comments/208026.html</wfw:comment><comments>http://m.shnenglu.com/fwxjj/archive/2014/08/15/208026.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/fwxjj/comments/commentRss/208026.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/fwxjj/services/trackbacks/208026.html</trackback:ping><description><![CDATA[<div bgf8f8f8"="" style="background-color: #f8f8f8; width: 597px; padding-top: 12px; padding-right: 18px; padding-left: 18px; margin-top: 10px; border-top-color: #d8d9d9; border-right-color: #d8d9d9; border-left-color: #d8d9d9; border-top-width: 1px; border-right-width: 1px; border-left-width: 1px; border-style: solid solid none; color: #333333; font-family: 瀹嬩綋; font-size: 12px; line-height: 18px;"><div style="background-color: #ffffff; border: 1px dashed #73a0cf; line-height: 26px; padding: 8px 12px; background-position: initial initial; background-repeat: initial initial;"><p green"="" style="margin: 0px; padding: 0px; color: #006600; background-color: transparent; font-size: 14px;">杞歡璐熻澆鍧囪 涓鑸氳繃涓ょ鏂瑰紡鏉ュ疄鐜幫細(xì)鍩轟簬鎿嶄綔緋葷粺鐨勮蔣璐熻澆瀹炵幇鍜屽熀浜庣涓夋柟搴旂敤鐨勮蔣璐熻澆瀹炵幇銆侺VS灝辨槸鍩轟簬Linux鎿嶄綔緋葷粺瀹炵幇鐨勪竴縐嶈蔣璐熻澆錛孒AProxy灝辨槸寮婧愮殑騫朵笖鍩轟簬絎笁搴旂敤瀹炵幇鐨勮蔣璐熻澆銆?/p><p style="margin: 0px; padding: 0px; background-color: transparent;">AD錛?/p></div></div><div bgf8f8f8="" f14"="" style="background-color: #f8f8f8; padding-top: 12px; padding-right: 18px; padding-left: 18px; line-height: 28px; margin-bottom: 10px; position: relative; min-height: 500px; overflow: hidden; color: #333333; font-family: 瀹嬩綋;"><div class="hvzpftn" id="content"><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;"></p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">銆?1CTO.com 鐙鐗圭ǹ銆戣蔣浠惰礋杞藉潎琛′竴鑸氳繃涓ょ鏂瑰紡鏉ュ疄鐜幫細(xì)鍩轟簬鎿嶄綔緋葷粺鐨勮蔣璐熻澆瀹炵幇鍜屽熀浜庣涓夋柟搴旂敤鐨勮蔣璐熻澆瀹炵幇銆侺VS灝辨槸鍩轟簬Linux鎿嶄綔緋葷粺瀹炵幇鐨勪竴縐嶈蔣璐熻澆錛孒AProxy灝辨槸寮婧愮殑騫朵笖鍩轟簬絎笁搴旂敤瀹炵幇鐨勮蔣璐熻澆銆?/p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">HAProxy鐩告瘮LVS鐨勪嬌鐢ㄨ綆鍗曞緢澶氾紝鍔熻兘鏂歸潰涔熷緢涓板瘜銆傚綋 鍓嶏紝HAProxy鏀寔涓ょ涓昏鐨勪唬鐞嗘ā寮?"tcp"涔熷嵆4灞傦紙澶у鐢ㄤ簬閭歡鏈嶅姟鍣ㄣ佸唴閮ㄥ崗璁氫俊鏈嶅姟鍣ㄧ瓑錛夛紝鍜?灞傦紙HTTP錛夈傚湪4灞傛ā寮?涓嬶紝<strong><a target="_blank" style="color: #004276;">HAProxy</a></strong>浠呭湪瀹㈡埛绔拰鏈嶅姟鍣ㄤ箣闂磋漿鍙戝弻鍚戞祦閲忋?灞傛ā寮忎笅錛孒AProxy浼?xì)鍒嗘瀽鍗忚锛岒q朵笖鑳介氳繃鍏佽銆佹嫆緇濄佷氦鎹€佸鍔犮佷慨鏀規(guī)垨鑰呭垹闄よ姹?(request)鎴栬呭洖搴?response)閲屾寚瀹氬唴瀹規(guī)潵鎺у埗鍗忚錛岃繖縐嶆搷浣滆鍩轟簬鐗瑰畾瑙勫垯銆?/p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">鎴戠幇鍦ㄧ敤HAProxy涓昏鍦ㄤ簬瀹冩湁浠ヤ笅浼樼偣錛岃繖閲屾垜鎬葷粨涓嬶細(xì)</p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;"><strong>涓銆?/strong>鍏嶈垂寮婧愶紝紼沖畾鎬т篃鏄潪甯稿ソ錛岃繖涓彲閫氳繃鎴戝仛鐨勪竴浜涘皬欏圭洰鍙互鐪嬪嚭鏉ワ紝鍗旽aproxy涔熻窇寰椾笉閿欙紝紼沖畾鎬у彲浠ヤ笌LVS鐩稿緹庯紱</p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;"><strong>浜屻?/strong>鏍規(guī)嵁瀹樻柟鏂囨。錛孒AProxy鍙互璺戞弧10Gbps-New benchmark of HAProxy at 10 Gbps using Myricom's 10GbE NICs (Myri-10G PCI-Express)錛岃繖涓綔涓鴻蔣浠剁駭璐熻澆鍧囪 錛屼篃鏄瘮杈冩儕浜虹殑錛?/p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;"><strong>涓夈?/strong>HAProxy鍙互浣滀負(fù)MySQL銆侀偖浠舵垨鍏跺畠鐨勯潪web鐨?strong>璐熻澆鍧囪 </strong>錛屾垜浠父鐢ㄤ簬瀹冧綔涓篗ySQL(璇?璐熻澆鍧囪 錛?/p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;"><strong>鍥涖?/strong>鑷甫寮哄ぇ鐨勭洃鎺ф湇鍔″櫒鐘舵佺殑欏甸潰錛屽疄闄呯幆澧冧腑鎴戜滑緇撳悎Nagios榪涜閭歡鎴栫煭淇℃姤璀︼紝榪欎釜涔熸槸鎴戦潪甯稿枩嬈㈠畠鐨勫師鍥犱箣涓錛?/p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;"><strong>浜斻?/strong>HAProxy鏀寔铏氭嫙涓繪満銆?/p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">瀹為獙鐜涔熷緢綆鍗曪細(xì)</p><pre style="margin-top: 0px; padding: 0px; font-family: 'Courier New', monospace; font-size: 12px; width: 591.015625px; overflow: auto; background-color: #e6e6e6;">HAProxy  IP:192.168.4.192 Centos5.5-64bit<br style="clear: both; width: 0px; height: 0px;" />Web1 IP:192.168.4.45 Centos5.4-64bit<br style="clear: both; width: 0px; height: 0px;" />Web2 IP:192.168.21.45 FreeBSD8.0-64bit</pre><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">鍏蜂綋瀹夎鍙?qiáng)閰嵕|枃妗e涓嬶細(xì)</p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">涓銆丠AProxy鐨勪笅杞藉強(qiáng)瀹夎榪囩▼錛?/p><pre style="margin-top: 0px; padding: 0px; font-family: 'Courier New', monospace; font-size: 12px; width: 591.015625px; overflow: auto; background-color: #e6e6e6;">wget <span style="color: #0000ff;">http://haproxy.1wt.eu/download/1.3/src/haproxy-1.3.20.tar.gz<br style="clear: both; width: 0px; height: 0px;" /></span>make TARGET=linux26 prefix=/usr/local/haproxy install<br style="clear: both; width: 0px; height: 0px;" />cd /usr/local/haproxy<br style="clear: both; width: 0px; height: 0px;" />mkdir conf<br style="clear: both; width: 0px; height: 0px;" />cd conf<br style="clear: both; width: 0px; height: 0px;" />vim haproxy.conf</pre><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">鍐呭 濡備笅錛?/p><pre style="margin-top: 0px; padding: 0px; font-family: 'Courier New', monospace; font-size: 12px; width: 591.015625px; overflow: auto; background-color: #e6e6e6;"><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">global<br style="clear: both; width: 0px; height: 0px;" />        log 127.0.0.1   local0<br style="clear: both; width: 0px; height: 0px;" />        maxconn 4096<br style="clear: both; width: 0px; height: 0px;" />        chroot /usr/local/haproxy<br style="clear: both; width: 0px; height: 0px;" />        uid 501<br style="clear: both; width: 0px; height: 0px;" />        gid 501<br style="clear: both; width: 0px; height: 0px;" />        daemon<br style="clear: both; width: 0px; height: 0px;" />        nbproc 1<br style="clear: both; width: 0px; height: 0px;" />        pidfile /usr/local/haproxy/logs/haproxy.pid<br style="clear: both; width: 0px; height: 0px;" />        debug</p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">defaults<br style="clear: both; width: 0px; height: 0px;" />        log     127.0.0.1       local3<br style="clear: both; width: 0px; height: 0px;" />        mode    http<br style="clear: both; width: 0px; height: 0px;" />        option httplog<br style="clear: both; width: 0px; height: 0px;" />        option httpclose<br style="clear: both; width: 0px; height: 0px;" />        option dontlognull<br style="clear: both; width: 0px; height: 0px;" />        option forwardfor<br style="clear: both; width: 0px; height: 0px;" />        option redispatch<br style="clear: both; width: 0px; height: 0px;" />        retries 2<br style="clear: both; width: 0px; height: 0px;" />        maxconn 2000<br style="clear: both; width: 0px; height: 0px;" />        balance roundrobin<br style="clear: both; width: 0px; height: 0px;" />        stats   uri     /haproxy-stats<br style="clear: both; width: 0px; height: 0px;" />        contimeout      5000<br style="clear: both; width: 0px; height: 0px;" />        clitimeout      50000<br style="clear: both; width: 0px; height: 0px;" />        srvtimeout      50000</p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">listen web_proxy 192.168.4.192:80<br style="clear: both; width: 0px; height: 0px;" />        #option httpchk HEAD /index.php  HTTP/1.0<br style="clear: both; width: 0px; height: 0px;" />        server web1_192.168.21.45 192.168.21.45:80 cookie app1inst1 check inter 2000 rise 2 fall 5<br style="clear: both; width: 0px; height: 0px;" />        server web2_192.168.4.45  192.168.4.45:80 cookie app1inst2 check inter 2000 rise 2 fall 5</p></pre><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">閰嶇疆鏂囦歡鍒氫粠鏈嶅姟鍣ㄤ笂copy涓嬫潵鐨勶紝淇濊瘉鍙敤銆傝繖閲屾湁涓簨鎯呰鏄庝竴涓嬶紝鏈夋椂鍊欐垜浠繘鍏ラ〉闈?span style="color: #0000ff;">http://192.168.4.192/</span>灝變細(xì)鎶ュ涓嬮敊璇細(xì)</p><pre style="margin-top: 0px; padding: 0px; font-family: 'Courier New', monospace; font-size: 12px; width: 591.015625px; overflow: auto; background-color: #e6e6e6;"><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">503 Service UnavailableNo server is available to handle this request.</p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">option httpchk HEAD /check.txt HTTP/1.0</p></pre><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">姝ら棶棰樺嚭鍦ㄨ繖鍙ヨ瘽涓婇潰錛屽畠鐨勬剰鎬濇槸Haproxy浼?xì)鍒ゆ柇浣犵殑鍚庣web鐨勬牴涓婂瓨鍦╟heck.txt娌℃湁錛屼互姝や綔涓篽aproxy-status鐨勭洃鎺х姸鎬佷緷鎹紝灝嗗畠#鎺夊嵆鍙紱濡傛灉鏄敓浜х幆澧冿紝浣犲彲灝哻heck.txt鏀逛負(fù)index.jsp鎴杋ndex.php鍗沖彲錛?/p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">鍙﹀錛屽緩璁厤緗竴涓狧AProxy鐨勫惎鍔ㄣ佸叧闂侀噸鍚剼鏈紝鏀懼湪/etc/init.d涓嬶紝鎴戜滑鍦ㄥ鉤鏃剁殑宸ヤ綔涓簲璇ュ吇鎴愪竴涓範(fàn)鎯紝鏈嶅姟鍣ㄧ殑鍚姩鎴栭噸鍚簲璇ユ槸鏈綆鍗曠殑錛屼竾涓鍒頒簡鐢熶駭鐜涓嬪嚭閿欐椂錛屾垜浠彲浠ヤ互鏈蹇殑鏂瑰紡鍚姩錛屽鏋滀笉鐢ㄨ剼鏈殑璇濓紝鎴戜滑灝辮灝濊瘯浠ュ涓嬫柟寮忓惎鍔細(xì)</p><pre style="margin-top: 0px; padding: 0px; font-family: 'Courier New', monospace; font-size: 12px; width: 591.015625px; overflow: auto; background-color: #e6e6e6;">/usr/local/haproxy/sbin/haproxy -f /usr/local/haproxy/haproxy.cfg</pre><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">浠ヤ笅鑴氭湰鐢熸垚鍚庯紝鎴戜滑鐩存帴鍙互鐢?etc/init.d/haproxy  start鏉ュ惎鍔℉AProxy鏈嶅姟浜嗐?/p><pre style="margin-top: 0px; padding: 0px; font-family: 'Courier New', monospace; font-size: 12px; width: 591.015625px; overflow: auto; background-color: #e6e6e6;"><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">#!/bin/bash<br style="clear: both; width: 0px; height: 0px;" />BASE_DIR="/usr/local/haproxy"<br style="clear: both; width: 0px; height: 0px;" />ARGV="$@"</p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">start()<br style="clear: both; width: 0px; height: 0px;" />{<br style="clear: both; width: 0px; height: 0px;" />echo "START HAPoxy SERVERS"<br style="clear: both; width: 0px; height: 0px;" />$BASE_DIR/sbin/haproxy -f $BASE_DIR/conf/haproxy.cfg<br style="clear: both; width: 0px; height: 0px;" />}</p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">stop()<br style="clear: both; width: 0px; height: 0px;" />{<br style="clear: both; width: 0px; height: 0px;" />echo "STOP HAPoxy Listen"<br style="clear: both; width: 0px; height: 0px;" />kill -TTOU $(cat $BASE_DIR/logs/haproxy.pid)<br style="clear: both; width: 0px; height: 0px;" />echo "STOP HAPoxy process"<br style="clear: both; width: 0px; height: 0px;" />kill -USR1 $(cat $BASE_DIR/logs/haproxy.pid)<br style="clear: both; width: 0px; height: 0px;" />}<br style="clear: both; width: 0px; height: 0px;" />case $ARGV in</p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">start)<br style="clear: both; width: 0px; height: 0px;" />start<br style="clear: both; width: 0px; height: 0px;" />ERROR=$?<br style="clear: both; width: 0px; height: 0px;" />;;</p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">stop)<br style="clear: both; width: 0px; height: 0px;" />stop<br style="clear: both; width: 0px; height: 0px;" />ERROR=$?<br style="clear: both; width: 0px; height: 0px;" />;;</p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">restart)<br style="clear: both; width: 0px; height: 0px;" />stop<br style="clear: both; width: 0px; height: 0px;" />start<br style="clear: both; width: 0px; height: 0px;" />ERROR=$?<br style="clear: both; width: 0px; height: 0px;" />;;</p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">*)<br style="clear: both; width: 0px; height: 0px;" />echo "hactl.sh [start|restart|stop]"<br style="clear: both; width: 0px; height: 0px;" />esac<br style="clear: both; width: 0px; height: 0px;" />exit $ERROR</p></pre><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">鎴戜滑鍦‵irefox鎴朓E涓婅緭鍏?span style="color: #0000ff;">http://192.168.4.192</span>  灝卞彲浠ヨ疆璇㈢殑鐪嬪埌鍚庣鐨剋eb鐨勯〉闈簡錛屽彟澶栨垜浠彲浠ラ殢鏃剁洃鎺ч〉闈?span style="color: #0000ff;">http://192.168.4.192/haproxy-status/</span>錛屾晥鏋滃浘濡備笅錛?/p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;"><a target="_blank" style="color: #004276;"><img border="0" alt="鏁堟灉鍥? width="498" height="184" src="http://images.51cto.com/files/uploadimg/20110317/0939540.jpg" style="border: 0px;" /></a></p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">鍙﹀錛屽鏋滆鍋欻AProxy鐨勯珮鍙敤錛屾垜鎺ㄨ崘鐢℉AProxy+Keepalived錛岀綉涓婃垚鍔熺殑瀹変緥涔熸湁璁稿錛屽ぇ瀹跺彲浠oogel瀛︿範(fàn)涓嬶紝濡傛灉浣犲姝ょ瘒鏂囩珷鏈夌枒闂垨鍏跺畠錛屽笇鏈涢氳繃鎴戝湪51cto鐨勫崥瀹笌鎴戜氦嫻?a style="color: #004276;">http://andrewyu.blog.51cto.com</a>(鎶氱惔鐓厭)銆?/p><p style="margin: 10px 0px; padding: 0px; background-color: transparent; text-indent: 28px;">銆?1CTO.com鐙鐗圭ǹ錛岄潪緇忔巿鏉冭阿緇濊漿杞斤紒鍚堜綔濯掍綋杞澆璇鋒敞鏄庡師鏂囧嚭澶勫強(qiáng)鍑哄錛併?/p><div align="right">銆愯矗浠葷紪杈戯細(xì)<a href="mailto:tongyw@51cto.com" style="color: #004276; text-decoration: none;">浣熷獩寰?/a> TEL錛氾紙010錛?8476606銆?/div></div></div><img src ="http://m.shnenglu.com/fwxjj/aggbug/208026.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/fwxjj/" target="_blank">澶ч緳</a> 2014-08-15 15:52 <a href="http://m.shnenglu.com/fwxjj/archive/2014/08/15/208026.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>python fabric瀹炵幇榪滅▼鎿嶄綔鍜岄儴緗?-- 杞?/title><link>http://m.shnenglu.com/fwxjj/archive/2014/06/02/207174.html</link><dc:creator>澶ч緳</dc:creator><author>澶ч緳</author><pubDate>Mon, 02 Jun 2014 03:21:00 GMT</pubDate><guid>http://m.shnenglu.com/fwxjj/archive/2014/06/02/207174.html</guid><wfw:comment>http://m.shnenglu.com/fwxjj/comments/207174.html</wfw:comment><comments>http://m.shnenglu.com/fwxjj/archive/2014/06/02/207174.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/fwxjj/comments/commentRss/207174.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/fwxjj/services/trackbacks/207174.html</trackback:ping><description><![CDATA[     鎽樿: fabrictitle鏄紑鍙戯紝浣嗘槸鍚屾椂瑕佸共寮鍙戞祴璇曡繕鏈夎繍緇寸殑媧?(o(╯□╰)o)榪戞湡鎺ユ墜瓚婃潵瓚婂鐨勪笢瑗匡紝鍙戝竷鍜岃繍緇寸殑宸ヤ綔鐩稿綋鏈烘錛屽姞涓婇鐜囪繕铔珮錛屽鑷存椂闂存氮璐硅繕鏄紭鐐瑰銆備慨澶峛ug浠涔堢殑錛屾祴璇曪紝鎻愪氦鐗堟湰搴?2鍒嗛挓)錛宻sh鍒版祴璇曠幆澧僷ull閮ㄧ講錛?鍒嗛挓錛夛紝rsync鍒扮嚎涓婃満鍣ˋ,B,C,D,E錛?鍒嗛挓錛夛紝鍒嗗埆ssh鍒癆BCDE浜斿彴鏈哄櫒錛岄愪竴閲嶅惎(8-10鍒嗛挓)...  <a href='http://m.shnenglu.com/fwxjj/archive/2014/06/02/207174.html'>闃呰鍏ㄦ枃</a><img src ="http://m.shnenglu.com/fwxjj/aggbug/207174.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/fwxjj/" target="_blank">澶ч緳</a> 2014-06-02 11:21 <a href="http://m.shnenglu.com/fwxjj/archive/2014/06/02/207174.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>銆愯漿銆慞HP鏈夊叧璺ㄥ煙鐨勮姹俬eader("P3P: CP=CURa ADMa...)cookie -session瑙e喅鏂規(guī)硶http://m.shnenglu.com/fwxjj/archive/2013/12/29/205056.html澶ч緳澶ч緳Sun, 29 Dec 2013 06:23:00 GMThttp://m.shnenglu.com/fwxjj/archive/2013/12/29/205056.htmlhttp://m.shnenglu.com/fwxjj/comments/205056.htmlhttp://m.shnenglu.com/fwxjj/archive/2013/12/29/205056.html#Feedback0http://m.shnenglu.com/fwxjj/comments/commentRss/205056.htmlhttp://m.shnenglu.com/fwxjj/services/trackbacks/205056.html

瀵逛簬IE鏉ヨ(榛樿瀹夊叏綰у埆涓?錛?strong>iframe銆乮mg銆乴ink絳夋爣絳?/strong>閮芥槸鍙彂閫乻ession cookie錛堝張鍙?絎竴鏂筩ookie錛夛紝鎷︽埅鏈湴cookie鍙戦侊紙鍙堝彨絎笁鏂筩ookie錛夈傚綋榪欎簺鏍囩璺ㄥ煙寮曠敤涓涓〉闈紝瀹為檯涓婃槸鍙戣搗浜嗕竴嬈ET璇鋒眰銆?/p>

鍦╬hp鏂囦歡澶撮儴鍔?header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"')

鎴栬呭姞 header("P3P: CP=CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR");
濡傛灉榪欎釜璺ㄥ煙鐨勮姹?/strong>錛孒TTP榪斿洖澶翠腑甯︽湁Set-Cookie 錛?閭d箞榪欎釜cookie瀵規(guī)祻瑙堝櫒鏉ヨ錛屽疄闄呬笂鏄棤鏁堢殑銆?br />
鐪嬪涓嬫祴璇?br />
鍋囪鏈?www.a.com    涓?www.b.com 涓や釜鍩?br />
鍦?www.b.com 涓婃湁涓涓〉闈紝鍏朵腑鍖呭惈涓涓寚鍚?www.a.com 鐨刬frame

http://www.b.com/test.html 鐨勫唴瀹逛負(fù)錛?br />----------------------------------------------------------------------

<iframe width=300 height=300 src="http://www.a.com/test.php" ></iframe>

----------------------------------------------------------------------


http://www.a.com/test.php 鏄竴涓 a.com 鍩熻緗?cookie鐨勯〉闈紝鍏跺唴瀹逛負(fù)錛?br />----------------------------------------------------------------------

<?php

header("Set-Cookie: test=axis; domain=.a.com; path=/");

?>

<script>
    alert(document.cookie);
</script>

----------------------------------------------------------------------


姝ゆ椂鎴戜滑璇鋒眰 http://www.b.com/test.html , 浠栧寘鍚竴涓猧frame錛屼細(xì)鍘昏法鍩熻姹?www.a.com/test.php 錛岃php欏甸潰浼?xì)灏濊?set-cookie

絎竴嬈¤姹傦紝 test.php 浼?set-cookie錛屾墍浠ユ祻瑙堝櫒浼?xì)鏀跺堫C竴涓猚ookie銆?br />
濡傛灉 set-cookie 鎴愬姛錛屽啀嬈¤姹傝欏甸潰錛屾祻瑙堝櫒搴旇浼?sent 鍒氭墠 recieve 鍒扮殑cookie銆傚彲鏄敱浜庡墠闈㈣鐨勮法鍩熼檺鍒訛紝鍦↖E閲岀殑iframe鏍囩鏄?set-cookie涓嶆垚鍔熺殑錛屾墍浠ユ棤娉晄ent鍒氭墠鏀跺埌鐨刢ookie銆?榪欓噷鏃犺鏄?session cookie 榪樻槸鏈湴cookie閮芥槸涓鏍楓?/strong>


鍙互鐪嬪埌錛岀浜屾鍙戝寘錛岃繕鏄病鑳絪ent鍑哄幓cookie


浣嗘槸榪欑鎯呭喌鍦ㄥ姞鍏ヤ簡P3P header 鍚庝細(xì)鏀瑰彉銆?br />
P3P header鍏佽璺ㄥ煙璁塊棶闅愮鏁版嵁錛屼粠鑰屽彲浠ヨ法鍩焥et-cookie鎴愬姛

鎴戜滑淇敼 www.a.com/test.php 涓?br />----------------------------------------------------------------------

<?php

header("P3P: CP=CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR");

header("Set-Cookie: test=axis; expires=Sun, 23-Dec-2018 08:13:02 GMT; domain=.a.com; path=/");

?>

<script>
    alert(document.cookie);
</script>

----------------------------------------------------------------------

鍐嶆璁塊棶涓ゆ涓婇潰鐨勬祴璇曡繃紼?br />
鍙互鐪嬪埌絎簩涓寘宸茬粡鍙戦佸嚭浜嗘敹鍒扮殑cookie

鑰屾垜浠啓鐨刯avascript涔熻兘澶熷脊鍑篶ookie浜嗐?br />

鍊煎緱娉ㄦ剰鐨勬槸錛?strong>P3P header鍙渶瑕佽緗竴嬈?/strong>錛岃繖鏍瘋窡鍦ㄨ繖涓狿3P header鍚庨潰鐨勬墍鏈?set-cookie錛岄兘鍙互璺ㄥ煙璁塊棶浜嗐備篃灝辨槸璇? 琚玃3P header璁劇疆榪囦竴嬈″悗錛屼箣鍚庣殑璇鋒眰涓嶅啀闇瑕丳3P header錛屼篃鑳藉鍦╥frame閲岃法鍩熷彂閫佽繖浜沜ookie銆?/strong>

浣嗘槸濡傛灉鐢?set-cookie 鍘繪敼鍙樿緗ソ鐨刢ookie錛屽垯涓嶅啀鍏鋒湁榪欑璺ㄥ煙璁塊棶鐗規(guī)с?br />

P3P header 榪樻湁涓涓壒鐐瑰氨鏄?strong>鍚屼竴涓寘閲?/strong>鍙兘璁劇疆涓嬈★紝鍚庨潰鐨凱3P Header涓嶄細(xì)瑕嗙洊鍓嶉潰鐨凱3P header錛屾祻瑙堝櫒鍙絎竴涓?br />
P3P 鏄?The Platform for Privacy Preferences 鐨勭畝縐?br />
鏇村鍏蜂綋鐨勫唴瀹瑰彲浠ュ弬闃?strong>W3C
鐨勬爣鍑?http://www.w3.org/TR/P3P/

鍦ㄨ繖閲岋紝鎴戜滑鐪嬪埌鐨勫緢涔辯殑 P3P header閲岀殑涓滆タ錛岄兘涓嶇煡閬撴槸浠涔堜貢涓冨叓緋熺殑絳栫暐鍐呭錛屽疄闄呬笂榪欐槸涓浜涚畝鍐?br />
姣斿 涓婇潰鐢ㄥ埌鐨?br />
P3P: CP=CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR

CP 鏄?Compact Policy 鐨勭畝鍐?br />
CURa 涓?CUR 鏄?<current/> 鐨勭畝鍐欙紝 a 鏄?always 鐨勭畝鍐?br />
褰撶劧P3P header涔熷彲浠ョ洿鎺?寮曠敤涓涓?xml 絳栫暐鏂囦歡

姣斿榪欎箞鍐?br />HTTP/1.1 200 OK
P3P: policyref="http://catalog.example.com/P3P/PolicyReferences.xml"
Content-Type: text/html
Content-Length: 7413
Server: CC-Galaxy/1.3.18浣跨敤P3P鐨勬柟娉曡繕鏈夊緢澶氾紝榪欓噷涓嶄竴涓鍒椾婦浜嗐?br />

鏈鍚庯紝鍒╃敤P3P Header 鐨勮繖縐嶇壒鎬э紝鍦ㄥ疄闄呮敾鍑諱腑錛岃繕鏄彲浠ュ埄鐢ㄤ竴涓嬬殑銆?br />
姣斿鍒╃敤CRLF鎻掑叆涓涓狿3P header鍚庯紝鏀瑰彉涓涓湰鍦癱ookie鐨勫鹼紝璇ookie鍦ㄤ箣鍚庣殑榪囩▼涓彲浠ヨiframe寮曠敤鍒幫紝涔熻浼?xì)鍙戠敓涓浜涘緢濂囧鐨勪簨鎯呫?br />
鍏蜂綋浼?xì)鍙樻垚浠涔堟牱鎴戜篃涓嶇煡閬擄紝姣曠珶web搴旂敤瀹夊叏鍜岀幆澧冪殑鍏崇郴鏄秺鏉ヨ秺绱у瘑浜嗐?/div>

澶ч緳 2013-12-29 14:23 鍙戣〃璇勮
]]>
鎻愰珮鏁版嵁鏇存柊鏁堢巼(UPDATE/INSERT) --- 杞?/title><link>http://m.shnenglu.com/fwxjj/archive/2013/12/10/204702.html</link><dc:creator>澶ч緳</dc:creator><author>澶ч緳</author><pubDate>Tue, 10 Dec 2013 11:27:00 GMT</pubDate><guid>http://m.shnenglu.com/fwxjj/archive/2013/12/10/204702.html</guid><wfw:comment>http://m.shnenglu.com/fwxjj/comments/204702.html</wfw:comment><comments>http://m.shnenglu.com/fwxjj/archive/2013/12/10/204702.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/fwxjj/comments/commentRss/204702.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/fwxjj/services/trackbacks/204702.html</trackback:ping><description><![CDATA[<div><div class="hvzpftn" id="blog_content"> <p>鏈夊縐嶆柟娉曞彲浠ユ彁楂樻洿鏂扮殑鏁堢巼.<br />綆鍗曡鏉ワ細(xì)<br />錛戙佹殏鍋滅儲寮曪紝鏇存柊鍚庢仮澶?閬垮厤鍦ㄦ洿鏂扮殑榪囩▼涓秹鍙?qiáng)鍒扮储寮曠殑閲嶅?<br />錛掋佹壒閲忔洿鏂幫紝姣忔洿鏂頒竴浜涜褰曞悗鍙?qiáng)鏃稑q涜鎻愪氦鍔ㄤ綔.閬垮厤澶ч噺鍗犵敤鍥炴粴孌靛拰鎴栦復(fù)鏃惰〃絀洪棿.<br />錛撱佸垱寤轟竴涓存椂鐨勫ぇ鐨勮〃絀洪棿鐢ㄦ潵搴斿榪欎簺鏇存柊鍔ㄤ綔錛?br />=========================================================================涓嶅悓鐪嬫硶<br />濡傛灉UPDATE鐨勬槸绱㈠紩瀛楁錛屽氨浼?xì)娑夊強(qiáng)鍒扮储寮曠殑閲嶅缓锛屾殏鍋滅储寮曚笉浼?xì)鎻愰珮澶氬皯鐨勯熷害錛屽弽鑰屾湁鍙兘闄嶄綆UPDATE閫熷害錛?br />鍥犱負(fù)鍦ㄦ洿鏂版槸绱㈠紩鍙互鎻愰珮鏁版嵁鐨勬煡璇㈤熷害錛岄噸寤虹儲寮曞紩璧風(fēng)殑閫熷害闄嶄綆褰卞搷涓嶅ぇ銆?/p> <p>ORACLE浼樺寲淇敼鍙傛暟鏈澶氫篃鍙兘鎶婃ц兘鎻愰珮15%錛屽ぇ閮ㄥ垎閮芥槸<a target="_self"><span style="text-decoration: underline;"><strong>SQL</strong></span></a>璇彞鐨勪紭鍖栵紒</p> <p><br />=========================================================================涓嶅悓浣嶇疆<br />update鎬諱綋鏉ヨ姣攊nsert瑕佹參  <br />鍑犵偣寤鴻錛?nbsp; <br />  1銆佸鏋滄洿鏂扮殑鏁版嵁閲忔帴榪戞暣涓〃錛屽氨涓嶅簲璇ヤ嬌鐢╥ndex鑰屽簲璇ラ噰鐢ㄥ叏琛ㄦ壂鎻?nbsp; <br />  2銆佸噺灝戜笉蹇呰鐨刬ndex錛屽洜涓簎pdate琛ㄩ氬父闇瑕乽pdate index  <br />  3銆佸鏋滀綘鐨勬湇鍔″櫒鏈夊涓猚pu錛岄噰鐢╬arellel hint錛屽彲浠ュぇ騫呭害鐨勬彁楂樻晥鐜?nbsp; <br />   <br />  鍓嶅勾鎴戜篃閬囧埌綾諱技鐨勯棶棰橈紝300涓囩邯褰曠殑涓涓〃錛屾瘡澶╄鍏ㄨ〃鏇存柊20嬈″乏鍙籌紝鏈鍒濋氳繃cursor澶氳繘紼嬶紙18涓繘紼嬶級鏇存柊錛岃楁椂30鍒嗛挓錛?br />  鍚庢潵閲囩敤full+parallel   hint錛岃楁椂闄嶄綆鍒?鍒嗛挓宸﹀彸銆傛湇鍔″櫒鏄痠bm   rs6000   s590錛?8涓狢PU錛?4GB鍐呭瓨銆?nbsp; <br /> <br />  鍙﹀錛屽緩琛ㄧ殑鍙傛暟闈炲父閲嶈錛屽浜庢洿鏂伴潪甯擱綣佺殑琛紝寤鴻鍔犲ぇPCTFREE鐨勫鹼紝浠ヤ繚璇佹暟鎹潡涓湁瓚沖鐨勭┖闂寸敤浜嶶PDATE錛?br />  浠庤岄檷浣嶤HAINED_ROWS銆?nbsp;</p> <p><br />=========================================================================涓嶅悓浣嶇疆<br />濡傛灉鏈夎凍澶燙PU浠ュ強(qiáng)I/O 鐨勮┍....<br />ALTER SESSION ENABLE PARALLEL DML;</p> <p>INSERT /*+ PARALLEL(tableA, 2) */<br />INTO tableA NOLOGGING<br />SELECT * FROM tableB;</p> <p>鐣朵腑鐨?2 鏄灝戝嬮茬▼鍚屾檪鍩瘋. 鍙噳涓嶅悓鎯呮硜鍔犳笡. </p> <p><br />=========================================================================涓嶅悓浣嶇疆<br />2姣旇緝鍙鐨勬柟娉?br />鏂規(guī)硶涓錛氫嬌鐢╫racle涓寘鍚湪娉ㄩ噴涓殑鎻愮ず淇℃伅<br />insert /*+append*/ into ...nologing<br />select * from ...</p> <p>鏂規(guī)硶浜岋細(xì)浣跨敤鎵歸噺鎷瘋礉鏂規(guī)硶<br />set arraysize 20<br />set copycommit 5000<br />copy from<a href="mailto:username/password@oracle_name">username/password@oracle_name</a>append table_name1<br />using select * from table_name2;</p> <p>瀹為檯鏁堟灉錛屾柟娉曚竴瑕佹瘮鏂規(guī)硶浜岄熷害榪樿蹇簺</p> <p>/*+append */ nologging 鐨勬柟娉曚笉閿?<br />bulk insert濂藉儚闇瑕佸唴瀹硅凍澶熷ぇ鎵嶅彲浠?</p> <p>=========================================================================涓嶅悓浣嶇疆<br />set autocommit 100;----------姣忎竴鐧炬潯璁板綍鎻愪氦涓嬈?br />set transaction use rollback segment RBS1;<br />      INSERT INTO table1 NOLOGGING<br />         SELECT * FROM table2;<br />     commit;</p> <p>鏀瑰彉琛ㄧ殑瀛樺偍絳栫暐錛?br />ALTER TABLE aaaa1<br />    PCTFREE 30<br />    PCTUSED 60;<br />---------榪欎袱涓肩浉鍔犺灝忎簬100錛屾妸PCTFREE鎼炲ぇ錛孭CTUSED鎼炲皬錛屽彲鑳戒細(xì)蹇竴鐐?/p> <p>=========================================================================涓嶅悓浣嶇疆<br />鍐嶆彁渚涗竴縐嶆柟娉曪紝淇烘浘緇忕敤榪囩殑錛?br />alter session set sort_area_size=100000000;<br />insert into tableb select * from tablea;<br />commit;</p> <p><br />=========================================================================鎬葷粨<br />鎻愰珮鏇存柊閫熷害鎬葷粨錛?br />錛戙佹殏鍋滅儲寮曪紝鏇存柊鍚庢仮澶?閬垮厤鍦ㄦ洿鏂扮殑榪囩▼涓秹鍙?qiáng)鍒扮储寮曠殑閲嶅?<br />    緙虹偣錛?br />        濡傛灉UPDATE鐨勬槸绱㈠紩瀛楁錛屽氨浼?xì)娑夊強(qiáng)鍒扮储寮曠殑閲嶅缓锛屾殏鍋滅储寮曚笉浼?xì)鎻愰珮澶氬皯鐨勯熷害錛屽弽鑰屾湁鍙兘闄嶄綆UPDATE閫熷害銆?br />        濡傛灉琛ㄦ瘮杈冨簽澶э紝鍋滅儲寮曞悗閲嶉敭闇瑕佽姳姣旇緝闀跨殑鏃墮棿<br />    浼樼偣錛?br />        濡傛灉鏇存柊鐨勬暟鎹噺鎺ヨ繎鏁翠釜琛紝姝ゆ柟娉曟瘮杈冨ソ銆?br />       <br />錛掋佹壒閲忔洿鏂幫紝姣忔洿鏂頒竴浜涜褰曞悗鍙?qiáng)鏃稑q涜鎻愪氦鍔ㄤ綔.閬垮厤澶ч噺鍗犵敤鍥炴粴孌靛拰鎴栦復(fù)鏃惰〃絀洪棿.<br />錛撱佸垱寤轟竴涓存椂鐨勫ぇ鐨勮〃絀洪棿鐢ㄦ潵搴斿榪欎簺鏇存柊鍔ㄤ綔錛?br />錛斻佸鏋滀綘鐨勬湇鍔″櫒鏈夊涓猚pu錛岄噰鐢╬arellel hint錛屽彲浠ュぇ騫呭害鐨勬彁楂樻晥鐜?br />    ALTER SESSION ENABLE PARALLEL DML;</p> <p>    INSERT /*+ PARALLEL(tableA, 2) */INTO tableA NOLOGGING<br />       SELECT * FROM tableB;<br />    鐣朵腑鐨?2 鏄灝戝嬮茬▼鍚屾檪鍩瘋. 鍙噳涓嶅悓鎯呮硜鍔犳笡. </p> <p>錛曘佸緩琛ㄧ殑鍙傛暟闈炲父閲嶈錛屽浜庢洿鏂伴潪甯擱綣佺殑琛紝寤鴻鍔犲ぇPCTFREE鐨勫鹼紝浠ヤ繚璇佹暟鎹潡涓湁瓚沖鐨勭┖闂寸敤浜嶶PDATE錛屼粠鑰岄檷浣嶤HAINED_ROWS<br />    ALTER TABLE aaaa1<br />       PCTFREE 30<br />       PCTUSED 60;<br />    ---------榪欎袱涓肩浉鍔犺灝忎簬100錛屾妸PCTFREE鎼炲ぇ錛孭CTUSED鎼炲皬錛屽彲鑳戒細(xì)蹇竴鐐?/p> <p>錛栥乷racle鎻愮ず鍙?qiáng)鎵归噺鎷疯?br />    鏂規(guī)硶涓錛氫嬌鐢╫racle涓寘鍚湪娉ㄩ噴涓殑鎻愮ず淇℃伅<br />        insert /*+append*/ into ...nologing<br />           select * from ...</p> <p>    鏂規(guī)硶浜岋細(xì)浣跨敤鎵歸噺鎷瘋礉鏂規(guī)硶<br />        set arraysize 20<br />        set copycommit 5000<br />        copy from<a href="mailto:username/password@oracle_name">username/password@oracle_name</a>append table_name1<br />        using select * from table_name2;</p> <p>    瀹為檯鏁堟灉錛屾柟娉曚竴瑕佹瘮鏂規(guī)硶浜岄熷害榪樿蹇簺</p> <p>錛椼佸姞澶ф帓搴忕紦鍐插尯<br />    alter session set sort_area_size=100000000;<br />    insert into tableb select * from tablea;<br />    commit;</p> </div></div><img src ="http://m.shnenglu.com/fwxjj/aggbug/204702.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/fwxjj/" target="_blank">澶ч緳</a> 2013-12-10 19:27 <a href="http://m.shnenglu.com/fwxjj/archive/2013/12/10/204702.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>銆怉ndroid妗嗘灦榪涢樁銆?0銆椼慣hinkAndroid娉ㄨВ鏈哄埗 --- 杞?/title><link>http://m.shnenglu.com/fwxjj/archive/2013/12/10/204701.html</link><dc:creator>澶ч緳</dc:creator><author>澶ч緳</author><pubDate>Tue, 10 Dec 2013 11:20:00 GMT</pubDate><guid>http://m.shnenglu.com/fwxjj/archive/2013/12/10/204701.html</guid><wfw:comment>http://m.shnenglu.com/fwxjj/comments/204701.html</wfw:comment><comments>http://m.shnenglu.com/fwxjj/archive/2013/12/10/204701.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/fwxjj/comments/commentRss/204701.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/fwxjj/services/trackbacks/204701.html</trackback:ping><description><![CDATA[<div><p style="color:#362e2b; line-height:25.98958396911621px"><span style="font-weight:bold">鐢變簬欏圭洰闇瑕侊紝寮濮嬬爺絀禩hinkAndroid銆?/span></p> <p style="color:#362e2b; line-height:25.98958396911621px"><span style="font-weight:bold">涓漢璁や負(fù)璇ユ鏋剁殑娉ㄨВ鏈哄埗鍗佸垎鏂伴錛屾墍浠ュ厛鐮旂┒榪欎釜錛岄『渚垮涔?fàn)涓?Java 鐨刟nnotation銆?/span></p> <p><strong>綺楃暐鐨勭湅浜嗙湅錛岃鏈哄埗鍦˙aseActivity涓垵濮嬪寲銆傝孊aseActivity鏄墍鏈堿ctivity鐨勫熀綾匯?/strong></p> <p><strong>瀵笲aseActivity榪涜浜嗕唬鐮佸墫紱伙紝鍙戠幇鍦˙aseActivity涓湪onCreate鍑芥暟閲屽惎鍔ㄦ敞瑙f満鍒躲?/strong></p> <ul><li>棣栧厛娉ㄥ叆甯冨眬璧勬簮錛堢粦瀹歭ayout甯冨眬錛?/li><li>鍏舵娉ㄥ叆鎴愬憳璧勬簮錛堢粦瀹氱粍浠惰祫婧愶級</li><li>鐒跺悗娉ㄥ叆鎴愬憳鍙橀噺錛堝垵濮嬪寲鏅氬彉閲忥級</li></ul> <p>鏆傛椂鍏堟悶娓呮絎簩涓紝鎬庝箞緇戝畾緇勪歡璧勬簮鐨勶細(xì)</p> <p><strong>鎴戝啓浜嗕釜灝廳emo錛孧yAnno</strong></p> <ul><li><img src="http://blog.csdn.net/mkrcpp/article/details/13509051" alt="" /><img src="http://img.blog.csdn.net/20131029160827031" alt="" /></li></ul> <p><strong>InjectView.java</strong></p> <div bg_java"=""><ol start="1"><li><span>package com.myanno;  </span></li><li>  </li><li><span>import java.lang.annotation.ElementType;  </span></li><li><span>import java.lang.annotation.Retention;  </span></li><li><span>import java.lang.annotation.RetentionPolicy;  </span></li><li><span>import java.lang.annotation.Target;  </span></li><li>  </li><li>  </li><li><span>/** </span></li><li><span> * 鑷畾涔夋敞瑙o紝鑾峰彇璧勬簮ID </span></li><li><span> * @浣跨敤鏂規(guī)硶 </span></li><li><span> *              @InjectView(id = R.id.settingIv) </span></li><li><span> *              private ImageView imgSetting;  </span></li><li><span> *  </span></li><li><span> * @author      michael.mao@sosino.com </span></li><li><span> * @date        2013-10-29 </span></li><li><span> * @description @Retention: 瀹氫箟娉ㄨВ鐨勪繚鐣欑瓥鐣?nbsp;</span></li><li><span> *              @Retention(RetentionPolicy.SOURCE)  //娉ㄨВ浠呭瓨鍦ㄤ簬婧愮爜涓紝鍦╟lass瀛楄妭鐮佹枃浠朵腑涓嶅寘鍚?nbsp;</span></li><li><span> *              @Retention(RetentionPolicy.CLASS)   //榛樿鐨勪繚鐣欑瓥鐣ワ紝娉ㄨВ浼?xì)鍦╟lass瀛楄妭鐮佹枃浠朵腑瀛樺湪錛屼絾榪愯鏃舵棤娉曡幏寰楋紝 </span></li><li><span> *              @Retention(RetentionPolicy.RUNTIME) //娉ㄨВ浼?xì)鍦╟lass瀛楄妭鐮佹枃浠朵腑瀛樺湪錛屽湪榪愯鏃跺彲浠ラ氳繃鍙嶅皠鑾峰彇鍒?nbsp;</span></li><li><span> *              @Inherited                          //璇存槑瀛愮被鍙互緇ф壙鐖剁被涓殑璇ユ敞瑙?nbsp;</span></li><li><span> * </span></li><li><span> *              @Target(ElementType.TYPE)           //鎺ュ彛銆佺被銆佹灇涓俱佹敞瑙?nbsp;</span></li><li><span> *              @Target(ElementType.FIELD)          //瀛楁銆佹灇涓劇殑甯擱噺 </span></li><li><span> *              @Target(ElementType.METHOD)         //鏂規(guī)硶 </span></li><li><span> *              @Target(ElementType.PARAMETER)      //鏂規(guī)硶鍙傛暟 </span></li><li><span> *              @Target(ElementType.CONSTRUCTOR)    //鏋勯犲嚱鏁?nbsp;</span></li><li><span> *              @Target(ElementType.LOCAL_VARIABLE) //灞閮ㄥ彉閲?nbsp;</span></li><li><span> *              @Target(ElementType.ANNOTATION_TYPE)//娉ㄨВ </span></li><li><span> *              @Target(ElementType.PACKAGE)        //鍖?nbsp;   </span></li><li><span> */  </span></li><li>  </li><li><span>@Target(ElementType.FIELD)  </span></li><li><span>@Retention(RetentionPolicy.RUNTIME)  </span></li><li><span>public @interface InjectView  </span></li><li>{  </li><li>    <span>/** View鐨処D */  </span></li><li>    <span>public int id() default -1;  </span></li><li>}  </li></ol></div> <br /> <strong>MainActivity.java</strong> <div bg_java"=""><ol start="1"><li><span>package com.myanno;  </span></li><li>  </li><li><span>import java.lang.reflect.Field;  </span></li><li>  </li><li><span>import android.app.Activity;  </span></li><li><span>import android.os.Bundle;  </span></li><li><span>import android.util.Log;  </span></li><li><span>import android.view.View;  </span></li><li><span>import android.widget.ImageView;  </span></li><li><span>import android.widget.TextView;  </span></li><li>  </li><li><span>public class MainActivity extends Activity {  </span></li><li>  </li><li>    <span>/** 娉ㄨВ緇戝畾UI鍏冪礌 */  </span></li><li>    <span>@InjectView(id=R.id.myimgview)  </span></li><li>    ImageView myimageview;  </li><li>      </li><li>    <span>@InjectView(id=R.id.mytext)  </span></li><li>    TextView mytext;  </li><li>  </li><li>    <span>@Override  </span></li><li>    <span>protected void onCreate(Bundle savedInstanceState) {  </span></li><li>        <span>super.onCreate(savedInstanceState);  </span></li><li>        setContentView(R.layout.activity_main);  </li><li>          </li><li>        <span>//鍒濆鍖栨敞瑙g粦瀹氱殑鎴愬憳鍙橀噺  </span></li><li>        injectView(<span>this);  </span></li><li>          </li><li>        <span>//鐩存帴浣跨敤UI鍏冪礌  </span></li><li>        mytext.setText(<span>"Text0");  </span></li><li>        myimageview.setImageResource(R.drawable.junny);  </li><li>    }  </li><li>      </li><li>    <span>/** 瀹炰緥鍖朄InjectView 娉ㄨВ鐨勬垚鍛?/  </span></li><li>    <span>public void injectView(Activity activity)  </span></li><li>    {  </li><li>        Field[] fields = activity.getClass().getDeclaredFields();<span>//寰楀埌Activity涓殑鎵鏈夊畾涔夌殑瀛楁  </span></li><li>        <span>if (fields != null && fields.length > 0)  </span></li><li>        {  </li><li>            <span>for (Field field : fields)  </span></li><li>            {  </li><li>                <span>if (field.isAnnotationPresent(InjectView.class))//鏂規(guī)硶榪斿洖true錛屽鏋滄寚瀹氱被鍨嬬殑娉ㄨВ瀛樺湪浜庢鍏冪礌涓?nbsp; </span></li><li>                {  </li><li>                    Log.i(<span>"Field", field.toString());  </span></li><li>                      </li><li>                    InjectView mInjectView = field.getAnnotation(InjectView.<span>class); //鑾峰緱璇ユ垚鍛樼殑annotation  </span></li><li>                    <span>int viewId = mInjectView.id();  //鑾峰緱璇ユ敞瑙g殑id  </span></li><li>                    View view=activity.findViewById(viewId);<span>//鑾峰緱ID涓簐iewID鐨勭粍浠跺璞?nbsp; </span></li><li>                      </li><li>                    Log.i(<span>"Field", String.valueOf(viewId));  </span></li><li>                    Log.i(<span>"Field", view.getClass().toString());  </span></li><li>                      </li><li>                    <span>try  </span></li><li>                    {  </li><li>                        field.setAccessible(<span>true);//璁劇疆綾葷殑縐佹湁鎴愬憳鍙橀噺鍙互琚闂?nbsp; </span></li><li>                        field.set(activity, view);<span>//field.set(object,value)===object.fieldValue = value  </span></li><li>                    } <span>catch (Exception e) { e.printStackTrace();}  </span></li><li>                }  </li><li>                <span>else  </span></li><li>                    Log.i(<span>"Field", "璇ュ瓧孌墊病鏈夎娉ㄨВ");  </span></li><li>            }  </li><li>        }  </li><li>    }  </li><li>}  </li></ol></div> <br /> <strong>甯冨眬鏂囦歡 activity_main.xml</strong> <div bg_html"=""><ol start="1"><li><span><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"  </span></li><li>    <span>xmlns:tools="http://schemas.android.com/tools"  </span></li><li>    <span>android:layout_width="match_parent"  </span></li><li>    <span>android:layout_height="match_parent"  </span></li><li>    <span>android:background="#000000"  </span></li><li>    <span>android:orientation="vertical"  </span></li><li>    <span>tools:ignore="ContentDescription" >  </span></li><li>    <span><ImageView  </span></li><li>        <span>android:id="@+id/myimgview"  </span></li><li>        <span>android:layout_width="wrap_content"  </span></li><li>        <span>android:layout_height="wrap_content"  </span></li><li>        <span>android:layout_gravity="center"/>  </span></li><li>    <span><TextView  </span></li><li>        <span>android:id="@+id/mytext"  </span></li><li>        <span>android:layout_width="match_parent"  </span></li><li>        <span>android:layout_height="0dp"  </span></li><li>        <span>android:layout_weight="1"  </span></li><li>        <span>android:gravity="center"  </span></li><li>        <span>android:background="@android:color/darker_gray"  </span></li><li>        <span>android:textSize="30sp" />  </span></li><li><span></LinearLayout>  </span></li></ol></div> <br /> <strong>瀹為獙緇撴灉</strong> <ul><li><img src="http://img.blog.csdn.net/20131029160835046" alt="" height="427" width="240" /><br /> </li></ul> <p><span style="color:#009900"><strong>鍗蟲敞鍏ユ垚鍔熶簡</strong></span> <img alt="澶х瑧" src="http://static.blog.csdn.net/xheditor/xheditor_emot/default/laugh.gif" /></p> <p><br /> </p> <p>闇瑕佽涓嬫垜閬囧埌鐨勯棶棰橈紝鍦ㄤ互涓婄殑鍩虹涓婏紝濡傛灉灝嗗竷灞鏂囦歡閲岀殑TextView 鍜孖mageView涓や釜甯冨眬鎹釜浣嶇疆錛岃繖鏃跺欏啀榪愯涓嬶紝浼?xì)鍑虹幇绌烘寚閽堝紓甯搞?/p> <p>灝哃og鍚戜笂緲諱細(xì)鍙戠幇涓涓鍛?/p> <ul><li><img src="http://blog.csdn.net/mkrcpp/article/details/13509051" alt="" /><img src="http://img.blog.csdn.net/20131029160840859" alt="" /></li></ul> <p>鍗抽潪娉?strong><span style="color:#ff0000">鍙傛暟寮傚父</span></strong></p> <p>瀹氫綅鍒拌繖涓琛?/p> <div bg_java"=""><ol start="1"><li><span>field.set(activity, view);  </span></li></ol></div> <br /> 閫氳繃瑙傚療Log鎵撳嵃鐨勬棩蹇? <ul><li><img src="http://blog.csdn.net/mkrcpp/article/details/13509051" alt="" /><img src="http://img.blog.csdn.net/20131029160851984" alt="" /></li></ul> <p>鍙戠幇<strong><u>絎竴浜岃</u></strong>鏄鐨勶紝鍗寵幏寰楁敞瑙g殑<span style="color:#ff0000"><strong>綾誨瀷鍜孖D(ImageView 2131230720)</strong></span>閮芥槸姝g‘鐨勶紝浣嗘槸閫氳繃findViewById鑾峰彇view鐨勬椂鍊欙紝Log<strong><u>絎笁琛?/u></strong>鏄劇ず鐨?strong><span style="color:#ff0000">鍗存槸TextView銆?/span></strong></p> <p>鐧炬濅笉寰楀叾瑙o紝鏈鍚庢棤璧栦箣涓嬶紝娓呯悊涓涓嬮」鐩紝鎼炲畾銆?/p> <p>鎴戜笉鐭ラ亾鏄庝箞鍥炰簨錛屾殏涓旀帹嫻嬩負(fù)璧勬簮緙撳瓨鍚с?/p></div><img src ="http://m.shnenglu.com/fwxjj/aggbug/204701.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/fwxjj/" target="_blank">澶ч緳</a> 2013-12-10 19:20 <a href="http://m.shnenglu.com/fwxjj/archive/2013/12/10/204701.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title> 鎻愰珮鏁版嵁鏇存柊鏁堢巼(UPDATE/INSERT) --- 杞?/title><link>http://m.shnenglu.com/fwxjj/archive/2013/12/04/204579.html</link><dc:creator>澶ч緳</dc:creator><author>澶ч緳</author><pubDate>Wed, 04 Dec 2013 03:39:00 GMT</pubDate><guid>http://m.shnenglu.com/fwxjj/archive/2013/12/04/204579.html</guid><wfw:comment>http://m.shnenglu.com/fwxjj/comments/204579.html</wfw:comment><comments>http://m.shnenglu.com/fwxjj/archive/2013/12/04/204579.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/fwxjj/comments/commentRss/204579.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/fwxjj/services/trackbacks/204579.html</trackback:ping><description><![CDATA[<div><div class="hvzpftn" id="blog_content"> <p>鏈夊縐嶆柟娉曞彲浠ユ彁楂樻洿鏂扮殑鏁堢巼.<br />綆鍗曡鏉ワ細(xì)<br />錛戙佹殏鍋滅儲寮曪紝鏇存柊鍚庢仮澶?閬垮厤鍦ㄦ洿鏂扮殑榪囩▼涓秹鍙?qiáng)鍒扮储寮曠殑閲嶅?<br />錛掋佹壒閲忔洿鏂幫紝姣忔洿鏂頒竴浜涜褰曞悗鍙?qiáng)鏃稑q涜鎻愪氦鍔ㄤ綔.閬垮厤澶ч噺鍗犵敤鍥炴粴孌靛拰鎴栦復(fù)鏃惰〃絀洪棿.<br />錛撱佸垱寤轟竴涓存椂鐨勫ぇ鐨勮〃絀洪棿鐢ㄦ潵搴斿榪欎簺鏇存柊鍔ㄤ綔錛?br />=========================================================================涓嶅悓鐪嬫硶<br />濡傛灉UPDATE鐨勬槸绱㈠紩瀛楁錛屽氨浼?xì)娑夊強(qiáng)鍒扮储寮曠殑閲嶅缓锛屾殏鍋滅储寮曚笉浼?xì)鎻愰珮澶氬皯鐨勯熷害錛屽弽鑰屾湁鍙兘闄嶄綆UPDATE閫熷害錛?br />鍥犱負(fù)鍦ㄦ洿鏂版槸绱㈠紩鍙互鎻愰珮鏁版嵁鐨勬煡璇㈤熷害錛岄噸寤虹儲寮曞紩璧風(fēng)殑閫熷害闄嶄綆褰卞搷涓嶅ぇ銆?/p> <p>ORACLE浼樺寲淇敼鍙傛暟鏈澶氫篃鍙兘鎶婃ц兘鎻愰珮15%錛屽ぇ閮ㄥ垎閮芥槸<a target="_self"><span style="text-decoration: underline;"><strong>SQL</strong></span></a>璇彞鐨勪紭鍖栵紒</p> <p><br />=========================================================================涓嶅悓浣嶇疆<br />update鎬諱綋鏉ヨ姣攊nsert瑕佹參  <br />鍑犵偣寤鴻錛?nbsp; <br />  1銆佸鏋滄洿鏂扮殑鏁版嵁閲忔帴榪戞暣涓〃錛屽氨涓嶅簲璇ヤ嬌鐢╥ndex鑰屽簲璇ラ噰鐢ㄥ叏琛ㄦ壂鎻?nbsp; <br />  2銆佸噺灝戜笉蹇呰鐨刬ndex錛屽洜涓簎pdate琛ㄩ氬父闇瑕乽pdate index  <br />  3銆佸鏋滀綘鐨勬湇鍔″櫒鏈夊涓猚pu錛岄噰鐢╬arellel hint錛屽彲浠ュぇ騫呭害鐨勬彁楂樻晥鐜?nbsp; <br />   <br />  鍓嶅勾鎴戜篃閬囧埌綾諱技鐨勯棶棰橈紝300涓囩邯褰曠殑涓涓〃錛屾瘡澶╄鍏ㄨ〃鏇存柊20嬈″乏鍙籌紝鏈鍒濋氳繃cursor澶氳繘紼嬶紙18涓繘紼嬶級鏇存柊錛岃楁椂30鍒嗛挓錛?br />  鍚庢潵閲囩敤full+parallel   hint錛岃楁椂闄嶄綆鍒?鍒嗛挓宸﹀彸銆傛湇鍔″櫒鏄痠bm   rs6000   s590錛?8涓狢PU錛?4GB鍐呭瓨銆?nbsp; <br /> <br />  鍙﹀錛屽緩琛ㄧ殑鍙傛暟闈炲父閲嶈錛屽浜庢洿鏂伴潪甯擱綣佺殑琛紝寤鴻鍔犲ぇPCTFREE鐨勫鹼紝浠ヤ繚璇佹暟鎹潡涓湁瓚沖鐨勭┖闂寸敤浜嶶PDATE錛?br />  浠庤岄檷浣嶤HAINED_ROWS銆?nbsp;</p> <p><br />=========================================================================涓嶅悓浣嶇疆<br />濡傛灉鏈夎凍澶燙PU浠ュ強(qiáng)I/O 鐨勮┍....<br />ALTER SESSION ENABLE PARALLEL DML;</p> <p>INSERT /*+ PARALLEL(tableA, 2) */<br />INTO tableA NOLOGGING<br />SELECT * FROM tableB;</p> <p>鐣朵腑鐨?2 鏄灝戝嬮茬▼鍚屾檪鍩瘋. 鍙噳涓嶅悓鎯呮硜鍔犳笡. </p> <p><br />=========================================================================涓嶅悓浣嶇疆<br />2姣旇緝鍙鐨勬柟娉?br />鏂規(guī)硶涓錛氫嬌鐢╫racle涓寘鍚湪娉ㄩ噴涓殑鎻愮ず淇℃伅<br />insert /*+append*/ into ...nologing<br />select * from ...</p> <p>鏂規(guī)硶浜岋細(xì)浣跨敤鎵歸噺鎷瘋礉鏂規(guī)硶<br />set arraysize 20<br />set copycommit 5000<br />copy from<a href="mailto:username/password@oracle_name">username/password@oracle_name</a>append table_name1<br />using select * from table_name2;</p> <p>瀹為檯鏁堟灉錛屾柟娉曚竴瑕佹瘮鏂規(guī)硶浜岄熷害榪樿蹇簺</p> <p>/*+append */ nologging 鐨勬柟娉曚笉閿?<br />bulk insert濂藉儚闇瑕佸唴瀹硅凍澶熷ぇ鎵嶅彲浠?</p> <p>=========================================================================涓嶅悓浣嶇疆<br />set autocommit 100;----------姣忎竴鐧炬潯璁板綍鎻愪氦涓嬈?br />set transaction use rollback segment RBS1;<br />      INSERT INTO table1 NOLOGGING<br />         SELECT * FROM table2;<br />     commit;</p> <p>鏀瑰彉琛ㄧ殑瀛樺偍絳栫暐錛?br />ALTER TABLE aaaa1<br />    PCTFREE 30<br />    PCTUSED 60;<br />---------榪欎袱涓肩浉鍔犺灝忎簬100錛屾妸PCTFREE鎼炲ぇ錛孭CTUSED鎼炲皬錛屽彲鑳戒細(xì)蹇竴鐐?/p> <p>=========================================================================涓嶅悓浣嶇疆<br />鍐嶆彁渚涗竴縐嶆柟娉曪紝淇烘浘緇忕敤榪囩殑錛?br />alter session set sort_area_size=100000000;<br />insert into tableb select * from tablea;<br />commit;</p> <p><br />=========================================================================鎬葷粨<br />鎻愰珮鏇存柊閫熷害鎬葷粨錛?br />錛戙佹殏鍋滅儲寮曪紝鏇存柊鍚庢仮澶?閬垮厤鍦ㄦ洿鏂扮殑榪囩▼涓秹鍙?qiáng)鍒扮储寮曠殑閲嶅?<br />    緙虹偣錛?br />        濡傛灉UPDATE鐨勬槸绱㈠紩瀛楁錛屽氨浼?xì)娑夊強(qiáng)鍒扮储寮曠殑閲嶅缓锛屾殏鍋滅储寮曚笉浼?xì)鎻愰珮澶氬皯鐨勯熷害錛屽弽鑰屾湁鍙兘闄嶄綆UPDATE閫熷害銆?br />        濡傛灉琛ㄦ瘮杈冨簽澶э紝鍋滅儲寮曞悗閲嶉敭闇瑕佽姳姣旇緝闀跨殑鏃墮棿<br />    浼樼偣錛?br />        濡傛灉鏇存柊鐨勬暟鎹噺鎺ヨ繎鏁翠釜琛紝姝ゆ柟娉曟瘮杈冨ソ銆?br />       <br />錛掋佹壒閲忔洿鏂幫紝姣忔洿鏂頒竴浜涜褰曞悗鍙?qiáng)鏃稑q涜鎻愪氦鍔ㄤ綔.閬垮厤澶ч噺鍗犵敤鍥炴粴孌靛拰鎴栦復(fù)鏃惰〃絀洪棿.<br />錛撱佸垱寤轟竴涓存椂鐨勫ぇ鐨勮〃絀洪棿鐢ㄦ潵搴斿榪欎簺鏇存柊鍔ㄤ綔錛?br />錛斻佸鏋滀綘鐨勬湇鍔″櫒鏈夊涓猚pu錛岄噰鐢╬arellel hint錛屽彲浠ュぇ騫呭害鐨勬彁楂樻晥鐜?br />    ALTER SESSION ENABLE PARALLEL DML;</p> <p>    INSERT /*+ PARALLEL(tableA, 2) */INTO tableA NOLOGGING<br />       SELECT * FROM tableB;<br />    鐣朵腑鐨?2 鏄灝戝嬮茬▼鍚屾檪鍩瘋. 鍙噳涓嶅悓鎯呮硜鍔犳笡. </p> <p>錛曘佸緩琛ㄧ殑鍙傛暟闈炲父閲嶈錛屽浜庢洿鏂伴潪甯擱綣佺殑琛紝寤鴻鍔犲ぇPCTFREE鐨勫鹼紝浠ヤ繚璇佹暟鎹潡涓湁瓚沖鐨勭┖闂寸敤浜嶶PDATE錛屼粠鑰岄檷浣嶤HAINED_ROWS<br />    ALTER TABLE aaaa1<br />       PCTFREE 30<br />       PCTUSED 60;<br />    ---------榪欎袱涓肩浉鍔犺灝忎簬100錛屾妸PCTFREE鎼炲ぇ錛孭CTUSED鎼炲皬錛屽彲鑳戒細(xì)蹇竴鐐?/p> <p>錛栥乷racle鎻愮ず鍙?qiáng)鎵归噺鎷疯?br />    鏂規(guī)硶涓錛氫嬌鐢╫racle涓寘鍚湪娉ㄩ噴涓殑鎻愮ず淇℃伅<br />        insert /*+append*/ into ...nologing<br />           select * from ...</p> <p>    鏂規(guī)硶浜岋細(xì)浣跨敤鎵歸噺鎷瘋礉鏂規(guī)硶<br />        set arraysize 20<br />        set copycommit 5000<br />        copy from<a href="mailto:username/password@oracle_name">username/password@oracle_name</a>append table_name1<br />        using select * from table_name2;</p> <p>    瀹為檯鏁堟灉錛屾柟娉曚竴瑕佹瘮鏂規(guī)硶浜岄熷害榪樿蹇簺</p> <p>錛椼佸姞澶ф帓搴忕紦鍐插尯<br />    alter session set sort_area_size=100000000;<br />    insert into tableb select * from tablea;<br />    commit;</p> </div></div><img src ="http://m.shnenglu.com/fwxjj/aggbug/204579.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/fwxjj/" target="_blank">澶ч緳</a> 2013-12-04 11:39 <a href="http://m.shnenglu.com/fwxjj/archive/2013/12/04/204579.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <a href="http://m.shnenglu.com/">青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品</a> <div style="position:fixed;left:-9000px;top:-9000px;"><font id="pjuwb"></font><button id="pjuwb"><pre id="pjuwb"></pre></button><sub id="pjuwb"></sub><tbody id="pjuwb"><var id="pjuwb"><address id="pjuwb"></address></var></tbody><listing id="pjuwb"><label id="pjuwb"><strong id="pjuwb"></strong></label></listing><wbr id="pjuwb"><small id="pjuwb"><tbody id="pjuwb"></tbody></small></wbr><ins id="pjuwb"><xmp id="pjuwb"></xmp></ins><style id="pjuwb"></style><label id="pjuwb"><em id="pjuwb"><li id="pjuwb"></li></em></label><samp id="pjuwb"></samp><menu id="pjuwb"><input id="pjuwb"></input></menu><pre id="pjuwb"><tbody id="pjuwb"><tfoot id="pjuwb"><button id="pjuwb"></button></tfoot></tbody></pre><form id="pjuwb"></form><i id="pjuwb"><style id="pjuwb"><label id="pjuwb"><sup id="pjuwb"></sup></label></style></i><li id="pjuwb"><table id="pjuwb"><abbr id="pjuwb"></abbr></table></li><video id="pjuwb"></video><dfn id="pjuwb"></dfn><progress id="pjuwb"></progress><strong id="pjuwb"></strong><mark id="pjuwb"></mark><em id="pjuwb"></em><tbody id="pjuwb"><p id="pjuwb"><strike id="pjuwb"><acronym id="pjuwb"></acronym></strike></p></tbody><option id="pjuwb"></option><strike id="pjuwb"></strike><u id="pjuwb"></u><td id="pjuwb"><center id="pjuwb"><tr id="pjuwb"></tr></center></td><em id="pjuwb"><mark id="pjuwb"><em id="pjuwb"><tt id="pjuwb"></tt></em></mark></em><strong id="pjuwb"></strong><wbr id="pjuwb"></wbr><s id="pjuwb"></s><strong id="pjuwb"></strong><legend id="pjuwb"></legend><nav id="pjuwb"></nav><dl id="pjuwb"><th id="pjuwb"><dl id="pjuwb"></dl></th></dl><noframes id="pjuwb"><ins id="pjuwb"></ins></noframes><font id="pjuwb"></font><strike id="pjuwb"><i id="pjuwb"><style id="pjuwb"><label id="pjuwb"></label></style></i></strike><output id="pjuwb"></output><thead id="pjuwb"><pre id="pjuwb"></pre></thead><source id="pjuwb"></source><menuitem id="pjuwb"><wbr id="pjuwb"></wbr></menuitem><pre id="pjuwb"><span id="pjuwb"><pre id="pjuwb"><big id="pjuwb"></big></pre></span></pre><cite id="pjuwb"><fieldset id="pjuwb"><s id="pjuwb"><rt id="pjuwb"></rt></s></fieldset></cite><big id="pjuwb"><progress id="pjuwb"><big id="pjuwb"></big></progress></big><samp id="pjuwb"><delect id="pjuwb"></delect></samp><dl id="pjuwb"></dl><strike id="pjuwb"><nav id="pjuwb"><dl id="pjuwb"><strong id="pjuwb"></strong></dl></nav></strike><tbody id="pjuwb"><b id="pjuwb"><optgroup id="pjuwb"><rp id="pjuwb"></rp></optgroup></b></tbody><em id="pjuwb"></em><xmp id="pjuwb"><blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote></xmp> <i id="pjuwb"><abbr id="pjuwb"><i id="pjuwb"><abbr id="pjuwb"></abbr></i></abbr></i><center id="pjuwb"><acronym id="pjuwb"><center id="pjuwb"></center></acronym></center><pre id="pjuwb"></pre><ul id="pjuwb"><thead id="pjuwb"></thead></ul><blockquote id="pjuwb"><pre id="pjuwb"><sup id="pjuwb"></sup></pre></blockquote><acronym id="pjuwb"></acronym><big id="pjuwb"><s id="pjuwb"></s></big><th id="pjuwb"></th><th id="pjuwb"></th><tbody id="pjuwb"></tbody><thead id="pjuwb"><strike id="pjuwb"></strike></thead><th id="pjuwb"><dl id="pjuwb"><wbr id="pjuwb"></wbr></dl></th><dl id="pjuwb"><strong id="pjuwb"></strong></dl><abbr id="pjuwb"><noframes id="pjuwb"><noscript id="pjuwb"></noscript></noframes></abbr><td id="pjuwb"><ol id="pjuwb"></ol></td><li id="pjuwb"><noscript id="pjuwb"><abbr id="pjuwb"></abbr></noscript></li><small id="pjuwb"><bdo id="pjuwb"><nav id="pjuwb"></nav></bdo></small><style id="pjuwb"></style><optgroup id="pjuwb"><table id="pjuwb"></table></optgroup><center id="pjuwb"><tr id="pjuwb"><dfn id="pjuwb"></dfn></tr></center><th id="pjuwb"></th><u id="pjuwb"></u><tfoot id="pjuwb"><legend id="pjuwb"><i id="pjuwb"></i></legend></tfoot><mark id="pjuwb"></mark><meter id="pjuwb"></meter><nav id="pjuwb"></nav><acronym id="pjuwb"><pre id="pjuwb"><acronym id="pjuwb"><ul id="pjuwb"></ul></acronym></pre></acronym><acronym id="pjuwb"><pre id="pjuwb"><acronym id="pjuwb"><ul id="pjuwb"></ul></acronym></pre></acronym><nobr id="pjuwb"></nobr><sub id="pjuwb"><th id="pjuwb"><menuitem id="pjuwb"><wbr id="pjuwb"></wbr></menuitem></th></sub><thead id="pjuwb"><sub id="pjuwb"></sub></thead><ul id="pjuwb"><address id="pjuwb"><menuitem id="pjuwb"><meter id="pjuwb"></meter></menuitem></address></ul><dfn id="pjuwb"></dfn><pre id="pjuwb"></pre><input id="pjuwb"><cite id="pjuwb"><fieldset id="pjuwb"></fieldset></cite></input><u id="pjuwb"><form id="pjuwb"><u id="pjuwb"></u></form></u><kbd id="pjuwb"><em id="pjuwb"><mark id="pjuwb"></mark></em></kbd><tr id="pjuwb"></tr><del id="pjuwb"><form id="pjuwb"><address id="pjuwb"></address></form></del><tfoot id="pjuwb"><legend id="pjuwb"><ol id="pjuwb"><dl id="pjuwb"></dl></ol></legend></tfoot><menu id="pjuwb"><nobr id="pjuwb"><th id="pjuwb"><nobr id="pjuwb"></nobr></th></nobr></menu><fieldset id="pjuwb"></fieldset><pre id="pjuwb"><blockquote id="pjuwb"><samp id="pjuwb"></samp></blockquote></pre><xmp id="pjuwb"><sup id="pjuwb"><pre id="pjuwb"></pre></sup></xmp><span id="pjuwb"><progress id="pjuwb"></progress></span><font id="pjuwb"></font><var id="pjuwb"><abbr id="pjuwb"></abbr></var><strong id="pjuwb"><label id="pjuwb"><i id="pjuwb"><legend id="pjuwb"></legend></i></label></strong><tr id="pjuwb"><em id="pjuwb"><em id="pjuwb"><output id="pjuwb"></output></em></em></tr><thead id="pjuwb"><strike id="pjuwb"></strike></thead> <acronym id="pjuwb"></acronym><i id="pjuwb"></i><tt id="pjuwb"></tt><rt id="pjuwb"><source id="pjuwb"><rt id="pjuwb"></rt></source></rt><strike id="pjuwb"><acronym id="pjuwb"></acronym></strike><del id="pjuwb"></del><font id="pjuwb"><output id="pjuwb"><ins id="pjuwb"><output id="pjuwb"></output></ins></output></font><kbd id="pjuwb"><tr id="pjuwb"><kbd id="pjuwb"></kbd></tr></kbd><pre id="pjuwb"><sup id="pjuwb"><delect id="pjuwb"><samp id="pjuwb"></samp></delect></sup></pre><samp id="pjuwb"></samp><track id="pjuwb"></track><tr id="pjuwb"></tr><center id="pjuwb"></center><fieldset id="pjuwb"></fieldset><i id="pjuwb"></i><td id="pjuwb"></td><rt id="pjuwb"></rt><object id="pjuwb"></object><pre id="pjuwb"><progress id="pjuwb"><sub id="pjuwb"><thead id="pjuwb"></thead></sub></progress></pre><kbd id="pjuwb"><tr id="pjuwb"><option id="pjuwb"></option></tr></kbd><output id="pjuwb"><ins id="pjuwb"></ins></output><ol id="pjuwb"></ol><source id="pjuwb"></source><strong id="pjuwb"></strong><ruby id="pjuwb"></ruby><sub id="pjuwb"><meter id="pjuwb"><menuitem id="pjuwb"><meter id="pjuwb"></meter></menuitem></meter></sub><pre id="pjuwb"></pre><center id="pjuwb"></center><tr id="pjuwb"><tbody id="pjuwb"><xmp id="pjuwb"><dd id="pjuwb"></dd></xmp></tbody></tr><video id="pjuwb"></video><pre id="pjuwb"></pre><form id="pjuwb"><optgroup id="pjuwb"></optgroup></form><samp id="pjuwb"></samp><kbd id="pjuwb"></kbd><strong id="pjuwb"><option id="pjuwb"></option></strong><object id="pjuwb"></object><abbr id="pjuwb"><noframes id="pjuwb"><abbr id="pjuwb"></abbr></noframes></abbr><ul id="pjuwb"><del id="pjuwb"><button id="pjuwb"><pre id="pjuwb"></pre></button></del></ul><abbr id="pjuwb"></abbr><strong id="pjuwb"><code id="pjuwb"><strong id="pjuwb"></strong></code></strong><option id="pjuwb"></option><optgroup id="pjuwb"><bdo id="pjuwb"><code id="pjuwb"></code></bdo></optgroup><mark id="pjuwb"><em id="pjuwb"><font id="pjuwb"></font></em></mark><acronym id="pjuwb"><code id="pjuwb"></code></acronym><dl id="pjuwb"></dl><em id="pjuwb"></em><object id="pjuwb"><input id="pjuwb"><object id="pjuwb"></object></input></object><output id="pjuwb"><dd id="pjuwb"></dd></output><option id="pjuwb"><button id="pjuwb"><option id="pjuwb"></option></button></option><small id="pjuwb"></small></div> <a href="http://3b6f.com" target="_blank">午夜国产精品视频免费体验区</a>| <a href="http://yxtczx.com" target="_blank">午夜在线视频一区二区区别</a>| <a href="http://aass22.com" target="_blank">亚洲日本va午夜在线电影</a>| <a href="http://163263.com" target="_blank">久久精品一区二区国产</a>| <a href="http://wwwhhh396.com" target="_blank">免费国产一区二区</a>| <a href="http://www57669.com" target="_blank">亚洲在线免费</a>| <a href="http://92ebook.com" target="_blank">99精品国产一区二区青青牛奶</a>| <a href="http://jldianda.com" target="_blank">欧美日韩国产成人精品</a>| <a href="http://j88866.com" target="_blank">亚洲欧美制服另类日韩</a>| <a href="http://400206.com" target="_blank">99re8这里有精品热视频免费</a>| <a href="http://www-440450.com" target="_blank">久久精品综合</a>| <a href="http://www-kkjj88.com" target="_blank">亚洲欧美一区二区在线观看</a>| <a href="http://8004006.com" target="_blank">麻豆成人精品</a>| <a href="http://lcqrsj.com" target="_blank">一区二区三区视频在线</a>| <a href="http://456dv.com" target="_blank">欧美成人首页</a>| <a href="http://72nnnn.com" target="_blank">久久成人羞羞网站</a>| <a href="http://www-44899.com" target="_blank">亚洲欧美视频一区二区三区</a>| <a href="http://www-13413.com" target="_blank">亚洲欧美日韩综合aⅴ视频</a>| <a href="http://5566kan.com" target="_blank">午夜精品一区二区三区四区 </a>| <a href="http://erodasy.com" target="_blank">欧美日韩午夜剧场</a>| <a href="http://jav69me.com" target="_blank">久久婷婷蜜乳一本欲蜜臀</a>| <a href="http://chaoxibg.com" target="_blank">亚洲无吗在线</a>| <a href="http://poqsoft.com" target="_blank">一级成人国产</a>| <a href="http://tianxiantxtv.com" target="_blank">欧美在线免费观看</a>| <a href="http://www-26333com.com" target="_blank">午夜精品一区二区三区电影天堂</a>| <a href="http://bandycup.com" target="_blank">亚洲人成在线播放网站岛国</a>| <a href="http://win-mdk.com" target="_blank">日韩亚洲欧美高清</a>| <a href="http://xtgoldsky.com" target="_blank">欧美一区二区三区免费观看</a>| <a href="http://syfeichi.com" target="_blank">一区二区欧美日韩视频</a>| <a href="http://www78778.com" target="_blank">欧美亚洲视频在线观看</a>| <a href="http://580388.com" target="_blank">欧美激情第五页</a>| <a href="http://q731.com" target="_blank">欧美激情视频网站</a>| <a href="http://jiazhuangma.com" target="_blank">男女精品网站</a>| <a href="http://xxxcalls.com" target="_blank">欧美黄色网络</a>| <a href="http://szjyf668.com" target="_blank">国产欧美精品</a>| <a href="http://phdy999.com" target="_blank">国产精品青草久久</a>| <a href="http://7345jj.com" target="_blank">国产精品成人在线观看</a>| <a href="http://7115866.com" target="_blank">国产精品美女久久久</a>| <a href="http://xian369.com" target="_blank">国产精品国产三级国产普通话蜜臀 </a>| <a href="http://ttmitch.com" target="_blank">免费久久精品视频</a>| <a href="http://tp112.com" target="_blank">亚洲综合大片69999</a>| <a href="http://yujiaosanye.com" target="_blank">亚洲美女一区</a>| <a href="http://chaoxibg.com" target="_blank">日韩视频在线观看免费</a>| <a href="http://njhuike.com" target="_blank">欧美亚洲综合在线</a>| <a href="http://www66617.com" target="_blank">亚洲精品影院</a>| <a href="http://5657hh.com" target="_blank">午夜精品999</a>| <a href="http://highfivewe.com" target="_blank">欧美日韩黄色大片</a>| <a href="http://216667.com" target="_blank">亚洲人成久久</a>| <a href="http://7345jj.com" target="_blank">亚洲欧美日韩国产一区</a>| <a href="http://cnc800.com" target="_blank">篠田优中文在线播放第一区</a>| <a href="http://193youwu.com" target="_blank">亚洲国产精品一区二区久</a>| <a href="http://jnjpsm.com" target="_blank">欧美成人按摩</a>| <a href="http://122332.com" target="_blank">亚洲精品久久久蜜桃 </a>| <a href="http://868482.com" target="_blank">亚洲激情中文1区</a>| <a href="http://www36633.com" target="_blank">亚洲美女网站</a>| <a href="http://51shoudian.com" target="_blank">免费视频一区二区三区在线观看</a>| <a href="http://9238479.com" target="_blank">国产精品自在在线</a>| <a href="http://6k7a.com" target="_blank">亚洲国产另类 国产精品国产免费</a>| <a href="http://jldianda.com" target="_blank">亚洲三级影院</a>| <a href="http://ekuyun.com" target="_blank">亚洲男人av电影</a>| <a href="http://1392266.com" target="_blank">亚洲美女网站</a>| <a href="http://shruhan.com" target="_blank">欧美日韩精品在线</a>| <a href="http://278263.com" target="_blank">亚洲午夜精品在线</a>| <a href="http://xvideoav99.com" target="_blank">久久精品免视看</a>| <a href="http://xhs015.com" target="_blank">亚洲福利久久</a>| <a href="http://fsxinruiph.com" target="_blank">在线综合亚洲</a>| <a href="http://jizz16.com" target="_blank">久久这里有精品15一区二区三区 </a>| <a href="http://seo8138.com" target="_blank">噜噜噜91成人网</a>| <a href="http://5b6c.com" target="_blank">一区二区三区在线观看欧美 </a>| <a href="http://193youwu.com" target="_blank">国产亚洲二区</a>| <a href="http://www57669.com" target="_blank">国产精品毛片大码女人</a>| <a href="http://jiujiire.com" target="_blank">中日韩高清电影网</a>| <a href="http://41818c.com" target="_blank">久久色中文字幕</a>| <a href="http://xjj733.com" target="_blank">亚洲精品影院在线观看</a>| <a href="http://www-8617.com" target="_blank">欧美日韩成人一区二区三区</a>| <a href="http://ahqdlq.com" target="_blank">亚洲精品影视在线观看</a>| <a href="http://7269003.com" target="_blank">亚洲精品国偷自产在线99热</a>| <a href="http://8eeeccc.com" target="_blank">欧美日韩国产成人高清视频</a>| <a href="http://www-37277.com" target="_blank">亚洲欧美一区二区三区在线</a>| <a href="http://www8xvi.com" target="_blank">午夜久久电影网</a>| <a href="http://win-mdk.com" target="_blank">在线观看欧美亚洲</a>| <a href="http://feiniao168.com" target="_blank">欧美在线不卡视频</a>| <a href="http://8xfore.com" target="_blank">亚洲免费观看视频</a>| <a href="http://4r6b.com" target="_blank">国产精品日韩在线</a>| <a href="http://755795.com" target="_blank">美女视频黄 久久</a>| <a href="http://www888x.com" target="_blank">欧美美女操人视频</a>| <a href="http://xilxx.com" target="_blank">亚洲剧情一区二区</a>| <a href="http://bosengame.com" target="_blank">日韩视频一区二区在线观看 </a>| <a href="http://8558585.com" target="_blank">夜夜狂射影院欧美极品</a>| <a href="http://asanny.com" target="_blank">欧美大片在线观看一区</a>| <a href="http://shiselol.com" target="_blank">免费在线国产精品</a>| <a href="http://www381818.com" target="_blank">亚洲影院高清在线</a>| <a href="http://91keshi.com" target="_blank">欧美中文在线观看国产</a>| <a href="http://8331651.com" target="_blank">免费成人你懂的</a>| <a href="http://18cgh.com" target="_blank">中文日韩电影网站</a>| <a href="http://3344xo.com" target="_blank">久久成人免费日本黄色</a>| <a href="http://3dpasion.com" target="_blank">欧美日韩在线电影</a>| <a href="http://www18889.com" target="_blank">久久成人国产</a>| <a href="http://dmzjz.com" target="_blank">欧美91福利在线观看</a>| <a href="http://2jjzz.com" target="_blank">亚洲视频中文</a>| <a href="http://mathck.com" target="_blank">久久野战av</a>| <a href="http://sxhrdyb.com" target="_blank">亚洲欧美亚洲</a>| <a href="http://85181890.com" target="_blank">美女网站在线免费欧美精品</a>| <a href="http://miaoxp.com" target="_blank">亚洲一区二区三区免费观看 </a>| <a href="http://by33336.com" target="_blank">国产精品亚洲综合</a>| <a href="http://sdmsjd.com" target="_blank">亚洲电影第1页</a>| <a href="http://jobmrleehxx.com" target="_blank">国产精品专区h在线观看</a>| <a href="http://1515t.com" target="_blank">亚洲电影有码</a>| <a href="http://9927tv.com" target="_blank">国产一区二区观看</a>| <a href="http://av0333.com" target="_blank">9i看片成人免费高清</a>| <a href="http://seyuav4.com" target="_blank">激情五月***国产精品</a>| <a href="http://teloregen.com" target="_blank">日韩亚洲欧美高清</a>| <a href="http://www-733999.com" target="_blank">91久久夜色精品国产网站</a>| <a href="http://6633kj.com" target="_blank">欧美亚洲日本网站</a>| <a href="http://vipaqdx29.com" target="_blank">亚洲午夜性刺激影院</a>| <a href="http://buyiker.com" target="_blank">免费成人av资源网</a>| <a href="http://0855123.com" target="_blank">裸体一区二区三区</a>| <a href="http://4008305555.com" target="_blank">欧美gay视频</a>| <a href="http://613by.com" target="_blank">久久久蜜桃一区二区人</a>| <a href="http://19zet.com" target="_blank">国产精品人人爽人人做我的可爱</a>| <a href="http://www5909.com" target="_blank">欧美va天堂在线</a>| <a href="http://taoseav8.com" target="_blank">国产一区激情</a>| <a href="http://98tangav.com" target="_blank">亚洲高清毛片</a>| <a href="http://916969.com" target="_blank">激情欧美一区二区</a>| <a href="http://gzxyh88.com" target="_blank">亚洲一区二区三区色</a>| <a href="http://785448.com" target="_blank">国产日韩专区</a>| <a href="http://xxxyyy168.com" target="_blank">亚洲图中文字幕</a>| <a href="http://226600b.com" target="_blank">一本大道久久a久久综合婷婷 </a>| <a href="http://hjaa7.com" target="_blank">国产伦理一区</a>| <a href="http://48655aa.com" target="_blank">亚洲图片欧洲图片日韩av</a>| <a href="http://yw1998.com" target="_blank">亚洲精品中文字</a>| <a href="http://99hhbb.com" target="_blank">欧美不卡在线</a>| <a href="http://p35cc.com" target="_blank">亚洲男女自偷自拍</a>| <a href="http://haoa009.com" target="_blank">欧美日韩免费一区二区三区视频</a>| <a href="http://ttzbdl.com" target="_blank">亚洲福利视频网</a>| <a href="http://8x29ft.com" target="_blank">亚洲欧洲精品一区二区精品久久久 </a>| <a href="http://56x6.com" target="_blank">欧美三区在线观看</a>| <a href="http://www-69669.com" target="_blank">欧美在线91</a>| <a href="http://tongrenyaoye.com" target="_blank">国产精品成人免费精品自在线观看</a>| <a href="http://e7w2.com" target="_blank">亚洲电影免费观看高清完整版</a>| <a href="http://2061856.com" target="_blank">在线观看欧美成人</a>| <a href="http://mengmujia.com" target="_blank">欧美a级片网</a>| <a href="http://989766.com" target="_blank">亚洲国产精品小视频</a>| <a href="http://www284tv.com" target="_blank">亚洲乱码国产乱码精品精98午夜</a>| <a href="http://488f.com" target="_blank">欧美大成色www永久网站婷</a>| <a href="http://339505.com" target="_blank">亚洲大胆在线</a>| <a href="http://710557.com" target="_blank">一区二区欧美亚洲</a>| <a href="http://ww245434.com" target="_blank">久久青草久久</a>| <a href="http://92ebook.com" target="_blank">欧美高清一区</a>| <a href="http://taominze.com" target="_blank">99在线精品免费视频九九视</a>| <a href="http://erodasy.com" target="_blank">欧美日韩亚洲在线</a>| <a href="http://sapronlee.com" target="_blank">亚洲视频在线二区</a>| <a href="http://tjpzgs.com" target="_blank">久久se精品一区二区</a>| <a href="http://erodasy.com" target="_blank">亚洲综合另类</a>| <a href="http://119773.com" target="_blank">久久综合九色</a>| <a href="http://sishengnv.com" target="_blank">国产精品视频yy9099</a>| <a href="http://woaigougou.com" target="_blank">午夜精品免费在线</a>| <a href="http://balqueen.com" target="_blank">久久久久久久久久码影片</a>| <a href="http://036762.com" target="_blank">精品成人在线观看</a>| <a href="http://www-798009.com" target="_blank">农村妇女精品</a>| <a href="http://winkwink333.com" target="_blank">在线午夜精品</a>| <a href="http://7282789.com" target="_blank">老司机aⅴ在线精品导航</a>| <a href="http://1zz8903.com" target="_blank">亚洲国产高清一区二区三区</a>| <a href="http://baoyou118.com" target="_blank">欧美一区二区啪啪</a>| <a href="http://91ymz.com" target="_blank">欧美大片在线观看一区</a>| <a href="http://www18998.com" target="_blank">99在线|亚洲一区二区</a>| <a href="http://www44552.com" target="_blank">国产精品久久91</a>| <a href="http://www9797abc.com" target="_blank">欧美一区网站</a>| <a href="http://r6r4.com" target="_blank">亚洲国产综合视频在线观看</a>| <a href="http://9952222.com" target="_blank">亚洲欧美激情一区</a>| <a href="http://794278.com" target="_blank">精品99视频</a>| <a href="http://baoxiniao666.com" target="_blank">欧美日韩专区</a>| <a href="http://bbbbyb.com" target="_blank">久久久综合网站</a>| <a href="http://aaddgg66.com" target="_blank">久久亚洲春色中文字幕</a>| <a href="http://www311pi.com" target="_blank">亚洲国产日韩综合一区</a>| <a href="http://caosee.com" target="_blank">欧美日韩亚洲一区二</a>| <a href="http://yashikeji.com" target="_blank">久久精品成人欧美大片古装</a>| <a href="http://quintostdio.com" target="_blank">亚洲破处大片</a>| <a href="http://66669801.com" target="_blank">久久久青草青青国产亚洲免观</a>| <a href="http://www99mmnn.com" target="_blank">亚洲美女中文字幕</a>| <a href="http://avtt0.com" target="_blank">国产一区二区你懂的</a>| <a href="http://432dm.com" target="_blank">欧美国产高清</a>| <a href="http://sihu1515hh.com" target="_blank">久久精品99国产精品酒店日本</a>| <a href="http://ff9222.com" target="_blank">99国产精品久久久久久久成人热</a>| <a href="http://ategpu.com" target="_blank">久久9热精品视频</a>| <a href="http://11b29.com" target="_blank">一本色道久久综合亚洲精品不卡</a>| <a href="http://583775.com" target="_blank">国产视频久久久久</a>| <a href="http://118936.com" target="_blank">欧美日本不卡</a>| <a href="http://baluka-tw.com" target="_blank">狼人天天伊人久久</a>| <a href="http://97seee.com" target="_blank">亚洲欧美日韩国产综合</a>| <a href="http://674446.com" target="_blank">亚洲人www</a>| <a href="http://ooonefteprompellets.com" target="_blank">久久综合色88</a>| <a href="http://www33444.com" target="_blank">久久国产精品免费一区</a>| <a href="http://njggmy.com" target="_blank">亚洲一区成人</a>| <a href="http://551753.com" target="_blank">9色精品在线</a>| <a href="http://033232.com" target="_blank">亚洲精品资源美女情侣酒店</a>| <a href="http://xshgwy.com" target="_blank">伊人久久综合</a>| <a href="http://556626.com" target="_blank">激情综合电影网</a>| <a href="http://wwwcao88.com" target="_blank">国产一区二区精品在线观看</a>| <a href="http://5cok.com" target="_blank">国产精品青草久久</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>