WEFV2626EFCEYYYB15VEF

 

內容簡介

  Description

  Career Paths: University Studies is a new educational resource for university students who want to improve their English communication in a campus environment. Incorporating career-specific vocabulary and contexts, each unit offers step-by-step instruction that immerses students in the four key language components: reading, listening, speaking and writing. Career Paths: University Studies addresses topics including applications, class registration, tuition and fees, withdrawals, and housing.

  The series is organized into three levels of difficulty and offers over 400 vocabulary terms and phrases. Every unit includes a test of reading comprehension, vocabulary, and listening skills, and leads students through written and oral production.

  Included Features: •A variety of realistic reading passages
  •Career-specific dialogues
  •45 reading and listening comprehension checks
  •Over 400 vocabulary terms and phrases
  •Guided speaking and writing exercises
  •Complete glossary of terms and phrases

  The Teacher’s Guide contains detailed lesson plans, a full answer key and audio scripts.
  The audio CDs contain all recorded material.

詳細資料

  • ISBN:9781471545498
  • 規格:平裝 / 120頁 / 20.9 x 29.5 x 0.6 cm / 普通級 / 全彩印刷 / 初版
  • 出版地:台灣
  • 本書分類:> >
  • 本書分類:> >

 

 

這是學習筆記的第 2207 篇文章 讀完需要 9分鐘 速讀僅需7分鐘 今天同事問了一個關於DML的優化問題,SQL是一條Insert語句: insert into crash_extend_bak select a.extend_id,a.crash_id,a.system_log,a.user_log,a.crash_stack,b.java_stack_map from crash_extend a where a.crash_id in (select b.crash_id from crash_record_bak b where a.crash_id=b.crash_id) 執行的時候拋出了下面的錯誤: ERROR 1197 (HY000): Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage; increase this mysqld variable and try again 看起來這個操作的代價比較高,導致binlog都承載不了這樣大的一個事務。 看到這裡,我的大體思路已經有了,首先是定位數據量,然後是定位瓶頸。 其中表crash_extend 的數據量為200萬左右,大小為1G左右,crash_record_bak 的數據量遠大於200萬,表的存儲容量在70G左右,具體的數量暫未知。 所以按照這些基本信息,我們來梳理基本的邏輯就有眉目了,輸出結果是以crash_extend 的為準,而且crash_extend 的extend_id的欄位會和crash_record_bak的欄位 crash_id進行匹配。 所以我先拆解了邏輯, 查看crash_extend的數據量。 | 2130620 | 所以基本能夠確定整個查詢的量級。 然後我去掉了crash_record_bak的欄位(該欄位為json類型)進行查詢: select a.extend_id,a.crash_id,a.system_log,a.user_log,a.crash_stackfrom crash_extend a,crash_record_bak b where a.crash_id=b.crash_id; 耗時在3分鐘左右。 然後寫入數據: insert into crash_extend_bak(extend_id,crash_id,system_log,user_log,crash_sta ck)select a.extend_id,a.crash_id,a.system_log,a.user_log,a.crash_stackfrom crash_extend a,crash_record_bak b where a.crash_id=b.crash_id; Query OK, 2106507 rows affected (4 min 50.77 sec) 這個過程耗時為5分鐘左右。 接下來定位瓶頸的部分,對json欄位進行更新。 改造為: update crash_extend_bak a set a.java_stack_map=(select java_stack_map from cr ash_record_bak b where a.crash_id=b.crash_id) where extend_id between xxxx and xxxx; Query OK, 8867 rows affected (7.47 sec) 經過測試,基本是1萬條左右的效率是比較穩定的,所以拆解一下就可以保證基本的效率了。 可以看到一條Insert語句經過拆解和定位,可以拆解為多條語句進行優化和改進。 QQ群號:763628645 QQ群二維碼如下, 添加請註明:姓名+地區+職位,否則不予通過 訂閱我的微信公眾號「楊建榮的學習筆記」,第一時間免費收到文章更新。別忘了

 

 

WEFV2626EFCEYYYB15VEF

 

 

 

文章來源取自於:

 

 

壹讀 https://read01.com/oAngOeD.html

博客來 https://www.books.com.tw/exep/assp.php/888words/products/0010753652

如有侵權,請來信告知,我們會立刻下架。

DMCA:dmca(at)kubonews.com

聯絡我們:contact(at)kubonews.com


豐原男生髮型推薦的髮廊專業剪髮推薦髮廊潭子結構護髮學生染髮推薦髮廊后里不經意微捲髮推薦染髮髮廊台中西屯毛躁髮質改善推薦染髮店
東勢自然捲毛燥有漂過修改髮型推薦髮廊推薦染髮髮廊 台中東區韓男卷髮推薦髮廊 歐美感挑染推薦台中染髮推薦大遠百附近油頭的露額側分髮型學生染髮推薦髮廊 龍井髮根不好剪專業染髮燙髮髮廊 霧面質感台中染髮推薦台中北區髮廊推薦推薦染髮店 台中東區不顯老的髮型專業剪髮推薦髮廊 水波紋燙台中燙髮推薦龍井微卷髮型修改推薦髮廊 台中北區法式劉海推薦髮型設計工作室 復古捲台中燙髮推薦

arrow
arrow
    全站熱搜

    這邊優惠比較多 發表在 痞客邦 留言(0) 人氣()