亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? manual_porting.html

?? MySQL參考手冊(cè)中文版
?? HTML
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
you should report the bug to <a href="mailto:mysql@lists.mysql.com">mysql@lists.mysql.com</a>. 
Links to mail archives are available at the online <a href="http://www.mysql.com/doc.html"><strong>MySQL</strong> 
documentation page</a>. </p>

<p>If you get corrupted tables or if <code>mysqld</code> always fails after some update 
commands, you can test if this bug is reproducible by doing the following: 

<ul>
  <li>Stop the mysqld daemon (with <code>mysqladmin shutdown</code>) </li>
  <li>Check all tables with <code>myisamchk -s database/*.MYI</code>. Repair any wrong tables 
    with <code>myisamchk -r database/table.MYI</code>. </li>
  <li>Start <code>mysqld</code> with <code>--log-update</code> </li>
  <li>When you have got a crashed table, stop the <code>mysqld server</code>. </li>
  <li>Restore the backup. </li>
  <li>Restart the <code>mysqld</code> server <strong>without</strong> <code>--log-update</code> 
  </li>
  <li>Re-execute the commands with <code>mysql &lt; update-log</code>. The update log is saved 
    in the <strong>MySQL</strong> database directory with the name <code>your-hostname.#</code>. 
  </li>
  <li>If the tables are now again corrupted, you have found reproducible bug in the <code>ISAM</code> 
    code! FTP the tables and the update log to <a href="ftp://www.mysql.com/pub/mysql/secret">ftp://www.mysql.com/pub/mysql/secret</a> 
    and we will fix this as soon as possible! </li>
</ul>

<p>The command <code>mysqladmin debug</code> will dump some information about locks in 
use, used memory and query usage to the mysql log file. This may help solve some problems. 
This command also provides some useful information even if you haven't compiled <strong>MySQL</strong> 
for debugging! </p>

<p>If the problem is that some tables are getting slower and slower you should try to 
optimize the table with <code>OPTIMIZE TABLE</code> or <code>myisamchk</code>. See section 
<a href="manual_Maintenance.html#Maintenance">13 Maintaining a MySQL installation</a>. You 
should also check the slow queries with <code>EXPLAIN</code>. </p>

<p>You should also read the OS-specific section in this manual for problems that may be 
unique to your environment. See section <a
href="manual_Installing.html#Source_install_system_issues">4.11 System-specific issues</a>. 
</p>

<p><a name="IDX839"></a><a name="IDX840"></a><a name="IDX841"></a><a name="IDX842"></a>If 
you are using the Perl <code>DBI</code> interface, you can turn on debugging information 
by using the <code>trace</code> method or by setting the <code>DBI_TRACE</code> 
environment variable. See section <a href="manual_Clients.html#Perl_DBI_Class">20.5.2 The <code>DBI</code> 
interface</a>. </p>

<h2><a href="manual_toc.html#Debugging_client" name="Debugging_client">G.2 Debugging a 
MySQL client</a></h2>

<p>To be able to debug a <strong>MySQL</strong> client with the integrated debug package, 
you should configure <strong>MySQL</strong> with <code>--with-debug</code>. See section <a
href="manual_Installing.html#configure_options">4.7.3 Typical <code>configure</code> 
options</a>. </p>

<p><a name="IDX843"></a><a name="IDX844"></a>Before running a client, you should set the <code>MYSQL_DEBUG</code> 
environment variable: </p>

<pre>shell&gt; MYSQL_DEBUG=d:t:O,/tmp/client.trace
shell&gt; export MYSQL_DEBUG
</pre>

<p>This causes clients to generate a trace file in <tt>`/tmp/client.trace'</tt>. </p>

<p>If you have problems with your own client code, you should attempt to connect to the 
server and run your query using a client that is known to work. Do this by running <code>mysql</code> 
in debugging mode (assuming you have compiled <strong>MySQL</strong> with debugging on): </p>

<pre>shell&gt; mysql --debug=d:t:O,/tmp/client.trace
</pre>

<p>This will provide useful information in case you mail a bug report. See section <a
href="manual_Questions.html#Bug_reports">2.3 How to report bugs or problems</a>. </p>

<p>If your client crashes at some 'legal' looking code, you should check that your <tt>`mysql.h'</tt> 
include file matches your mysql library file. A very common mistake is to use an old <tt>`mysql.h'</tt> 
file from an old <strong>MySQL</strong> installation with new <strong>MySQL</strong> 
library. </p>

<h2><a href="manual_toc.html#RTS-threads" name="RTS-threads">G.3 Comments about RTS 
threads</a></h2>

<p>I have tried to use the RTS thread packages with <strong>MySQL</strong> but stumbled on 
the following problems: </p>

<p>They use old version of a lot of POSIX calls and it is very tedious to make wrappers 
for all functions. I am inclined to think that it would be easier to change the thread 
libraries to the newest POSIX specification. </p>

<p>Some wrappers are already written. See <tt>`mysys/my_pthread.c'</tt> for more info. </p>

<p>At least the following should be changed: </p>

<p><code>pthread_get_specific</code> should use one argument. <code>sigwait</code> should 
take two arguments. A lot of functions (at least <code>pthread_cond_wait</code>, <code>pthread_cond_timedwait</code>) 
should return the error code on error. Now they return -1 and set <code>errno</code>. </p>

<p>Another problem is that user-level threads use the <code>ALRM</code> signal and this 
aborts a lot of functions (<code>read</code>, <code>write</code>, <code>open</code>...). <strong>MySQL</strong> 
should do a retry on interrupt on all of these but it is not that easy to verify it. </p>

<p>The biggest unsolved problem is the following: </p>

<p>To get thread-level alarms I changed <tt>`mysys/thr_alarm.c'</tt> to wait between 
alarms with <code>pthread_cond_timedwait()</code>, but this aborts with error <code>EINTR</code>. 
I tried to debug the thread library as to why this happens, but couldn't find any easy 
solution. </p>

<p>If someone wants to try <strong>MySQL</strong> with RTS threads I suggest the 
following: 

<ul>
  <li>Change functions <strong>MySQL</strong> uses from the thread library to POSIX. This 
    shouldn't take that long. </li>
  <li>Compile all libraries with the <code>-DHAVE_rts_threads</code>. </li>
  <li>Compile <code>thr_alarm</code>. </li>
  <li>If there are some small differences in the implementation, they may be fixed by changing 
    <tt>`my_pthread.h'</tt> and <tt>`my_pthread.c'</tt>. </li>
  <li>Run <code>thr_alarm</code>. If it runs without any ``warning'', ``error'' or aborted 
    messages, you are on the right track. Here follows a successful run on Solaris: <pre>Main thread: 1
Tread 0 (5) started
Thread: 5  Waiting
process_alarm
Tread 1 (6) started
Thread: 6  Waiting
process_alarm
process_alarm
thread_alarm
Thread: 6  Slept for 1 (1) sec
Thread: 6  Waiting
process_alarm
process_alarm
thread_alarm
Thread: 6  Slept for 2 (2) sec
Thread: 6  Simulation of no alarm needed
Thread: 6  Slept for 0 (3) sec
Thread: 6  Waiting
process_alarm
process_alarm
thread_alarm
Thread: 6  Slept for 4 (4) sec
Thread: 6  Waiting
process_alarm
thread_alarm
Thread: 5  Slept for 10 (10) sec
Thread: 5  Waiting
process_alarm
process_alarm
thread_alarm
Thread: 6  Slept for 5 (5) sec
Thread: 6  Waiting
process_alarm
process_alarm

...
thread_alarm
Thread: 5  Slept for 0 (1) sec
end
</pre>
  </li>
</ul>

<h2><a href="manual_toc.html#Thread_packages" name="Thread_packages">G.4 Differences 
between different thread packages</a></h2>

<p><strong>MySQL</strong> is very dependent on the thread package used. So when choosing a 
good platform for <strong>MySQL</strong>, the thread package is very important. </p>

<p>There are at least three types of thread packages: 

<ul>
  <li>User threads in a single process. Thread switching is managed with alarms and the 
    threads library manages all non-thread-safe functions with locks. Read, write and select 
    operations are usually managed with a thread-specific select that switches to another 
    thread if the running threads have to wait for data. If the user thread packages are 
    integrated in the standard libs (FreeBSD and BSDI threads) the thread package requires 
    less overhead than thread packages that have to map all unsafe calls (MIT-pthreads, FSU 
    Pthreads and RTS threads). In some environments (for example, SCO), all system calls are 
    thread-safe so the mapping can be done very easily (FSU Pthreads on SCO). Downside: All 
    mapped calls take a little time and it's quite tricky to be able to handle all situations. 
    There are usually also some system calls that are not handled by the thread package (like 
    MIT-pthreads and sockets). Thread scheduling isn't always optimal. </li>
  <li>User threads in separate processes. Thread switching is done by the kernel and all data 
    are shared between threads. The thread package manages the standard thread calls to allow 
    sharing data between threads. LinuxThreads is using this method. Downside: Lots of 
    processes. Thread creating is slow. If one thread dies the rest are usually left hanging 
    and you must kill them all before restarting. Thread switching is somewhat expensive. </li>
  <li>Kernel threads. Thread switching is handled by the thread library or the kernel and is 
    very fast. Everything is done in one process, but on some systems, <code>ps</code> may 
    show the different threads. If one thread aborts the whole process aborts. Most system 
    calls are thread-safe and should require very little overhead. Solaris, HP-UX, AIX and 
    OSF1 have kernel threads. </li>
</ul>

<p>In some systems kernel threads are managed by integrating user level threads in the 
system libraries. In such cases, the thread switching can only be done by the thread 
library and the kernel isn't really ``thread aware''. </p>

<hr>

<p>Go to the <a href="manual_Introduction.html">first</a>, <a href="manual_TODO.html">previous</a>, 
<a href="manual_Regexp.html">next</a>, <a href="manual_Concept_Index.html">last</a> 
section, <a href="manual_toc.html">table of contents</a>. </p>
</body>
</html>

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久国产三级精品| 国产毛片一区二区| 国产欧美一区二区精品秋霞影院| 在线免费av一区| 麻豆国产精品视频| 亚洲另类春色国产| 亚洲国产精品精华液ab| 欧美成人bangbros| 欧美精品日日鲁夜夜添| 91蝌蚪国产九色| 国产精品影视网| 日日欢夜夜爽一区| 一二三区精品福利视频| 亚洲国产激情av| 精品美女在线播放| 欧美精品在欧美一区二区少妇| av在线一区二区三区| 激情六月婷婷久久| 日韩精品乱码av一区二区| 亚洲欧美欧美一区二区三区| 国产日韩欧美激情| 精品福利一二区| 欧美一区在线视频| 欧美熟乱第一页| 欧美综合色免费| 91久久精品日日躁夜夜躁欧美| 不卡的av在线| 成人妖精视频yjsp地址| 国产一区二区三区四| 激情综合色播激情啊| 日韩**一区毛片| 午夜久久久久久| 亚洲r级在线视频| 亚洲一二三区在线观看| 亚洲伦理在线免费看| 亚洲色图欧洲色图| 亚洲男同1069视频| 亚洲美女在线一区| 亚洲欧美另类综合偷拍| 亚洲美女电影在线| 亚洲伦在线观看| 亚洲图片有声小说| 午夜精品福利视频网站| 亚洲成人一区二区在线观看| 性欧美疯狂xxxxbbbb| 午夜av一区二区| 日韩高清国产一区在线| 日本成人在线一区| 久久不见久久见免费视频1| 激情文学综合丁香| 高清免费成人av| 99精品欧美一区二区三区小说 | 亚洲成人中文在线| 午夜精品久久久久久不卡8050| 午夜精品视频在线观看| 日韩av中文字幕一区二区| 天天综合网 天天综合色| 蜜桃视频在线观看一区| 国产精品性做久久久久久| 99久久精品国产导航| 欧美日韩中字一区| 日韩欧美在线123| 国产精品女主播av| 一区二区三区四区不卡在线 | 国产亚洲一区二区三区在线观看| 久久久精品一品道一区| 中文字幕中文字幕中文字幕亚洲无线| 日韩一区有码在线| 午夜精品一区二区三区三上悠亚| 韩国成人精品a∨在线观看| 成人午夜碰碰视频| 欧美视频完全免费看| 欧美本精品男人aⅴ天堂| 国产亚洲一区字幕| 亚洲国产成人高清精品| 国内精品伊人久久久久av一坑| 成人午夜视频在线观看| 欧美视频在线一区二区三区| 日韩欧美激情四射| 国产精品久久久久三级| 五月天中文字幕一区二区| 国产电影一区二区三区| 欧美亚洲丝袜传媒另类| 2021中文字幕一区亚洲| 亚洲一区二区精品久久av| 经典三级在线一区| 在线欧美日韩国产| 国产亚洲精久久久久久| 午夜久久久影院| 99亚偷拍自图区亚洲| 日韩精品一区二| 亚洲品质自拍视频| 国产精品99久| 日韩视频一区二区| 一区二区三区日韩欧美| 国产福利一区在线| 日韩欧美国产综合| 亚洲综合图片区| www.66久久| 国产色91在线| 日本不卡123| 欧美亚洲日本国产| 成人欧美一区二区三区黑人麻豆 | 精品一区二区三区免费| 91久久人澡人人添人人爽欧美| 久久久久97国产精华液好用吗| 亚洲风情在线资源站| 成人丝袜视频网| 精品国产凹凸成av人网站| 亚洲激情自拍视频| 成人国产视频在线观看| 久久亚洲精品国产精品紫薇| 日本亚洲三级在线| 欧美视频精品在线观看| 悠悠色在线精品| 91啪在线观看| 中文字幕制服丝袜成人av| 国产精品一区专区| 日韩精品一区二区三区在线播放 | 精品写真视频在线观看| 欧美一区午夜视频在线观看| 亚洲国产另类av| 91在线视频在线| 国产精品乱人伦一区二区| 国产一区二区三区免费看| 精品捆绑美女sm三区| 久色婷婷小香蕉久久| 日韩一区二区精品在线观看| 日韩电影在线免费| 5858s免费视频成人| 午夜精品福利一区二区三区av| 欧美日韩一二区| 日韩专区欧美专区| 欧美一区二区视频免费观看| 日韩精品成人一区二区在线| 欧美日韩一本到| 日本不卡视频在线| 日韩精品一区二区三区在线播放| 久久精品国产在热久久| 精品久久国产字幕高潮| 狠狠色综合日日| 久久久久青草大香线综合精品| 国产乱一区二区| 国产精品久久久久一区二区三区| 99久久久免费精品国产一区二区| 亚洲乱码国产乱码精品精的特点| 91精品办公室少妇高潮对白| 亚洲第一久久影院| 欧美一级免费大片| 国产精品一区二区无线| 中文字幕一区二区三区不卡| 在线免费视频一区二区| 日韩国产在线观看一区| 日韩亚洲欧美一区二区三区| 国内成+人亚洲+欧美+综合在线| 久久精品亚洲精品国产欧美| 91丨九色丨尤物| 亚洲最新在线观看| 91精品国产免费久久综合| 国产又黄又大久久| 国产精品成人免费在线| 欧美老肥妇做.爰bbww| 免费三级欧美电影| 国产欧美精品日韩区二区麻豆天美| av电影一区二区| 污片在线观看一区二区| 久久丝袜美腿综合| 色综合天天综合网天天狠天天| 日韩高清一区二区| 国产日韩欧美精品在线| 欧美三级三级三级| 精品影视av免费| 亚洲色图清纯唯美| 日韩欧美一区中文| 99久久婷婷国产综合精品| 日韩成人一区二区| 中文字幕免费在线观看视频一区| 色婷婷精品大在线视频 | 国产成人免费av在线| 一区二区免费视频| 精品国产乱码久久久久久1区2区 | 欧美高清hd18日本| 国产精品1024久久| 午夜激情综合网| 国产欧美精品日韩区二区麻豆天美| 欧美影院午夜播放| 国产成人久久精品77777最新版本| 亚洲国产毛片aaaaa无费看| 国产亚洲短视频| 欧美精品在线观看一区二区| 99视频精品免费视频| 裸体健美xxxx欧美裸体表演| 一区二区三区欧美| 久久精品网站免费观看| 欧美一级艳片视频免费观看| 91在线视频播放| 国产伦精品一区二区三区免费 | 成人av午夜电影| 另类小说色综合网站| 一区二区理论电影在线观看|