依如下範例測試,不知是否表示sql server執行了table exclusive lock
執行順序
ConnA 04,05,06,07
ConnB 02 --> lock 無執行結果
ConnA 08,09
ConnB --> 因ConnA Commit,ConnB 回傳執行update的結果,被Trigger機制拒絕異動!
http://neo_lin_42.blog.ithome.com.tw/post/620/6287
2009年9月24日 星期四
2009年9月17日 星期四
溫故卻無知新--唉!這就是工作.....<4>
設定內部DNS,誤將mail server ip 指向 smtp-gw的效果
From: <SMTP_GW@office.mobile.com.tw>
Date: Thu, Sep 17, 2009 at 6:01 PM
Subject: Returned mail
To: iidp00u@gmail.com
--- The message cannot be delivered to the following address. ---
support@taxi123.tw Address loop detected. Service will not connect to itself.
Date: Thu, Sep 17, 2009 at 6:01 PM
Subject: Returned mail
To: iidp00u@gmail.com
--- The message cannot be delivered to the following address. ---
support@taxi123.tw Address loop detected. Service will not connect to itself.
溫故卻無知新--唉!這就是工作.....<3>
忘了設定內部DNS,SMTP-GW找不到mail server 的效果
From: <SMTP_GW@office.mobile.com.tw>
Date: Thu, Sep 17, 2009 at 5:55 PM
Subject: Returned mail
To: iidp00u@gmail.com
--- The message cannot be delivered to the following address. ---
support@taxi123.tw Remote host not found.
Date: Thu, Sep 17, 2009 at 5:55 PM
Subject: Returned mail
To: iidp00u@gmail.com
--- The message cannot be delivered to the following address. ---
support@taxi123.tw Remote host not found.
溫故卻無知新--唉!這就是工作.....<2>
忘了設定SMTP-GW要處理taxi123.tw網域的效果
From: Mail Delivery Subsystem <mailer-daemon@googlemail.com>
Date: Thu, Sep 17, 2009 at 5:37 PM
Subject: Delivery Status Notification (Failure)
To: iidp00u@gmail.com
This is an automatically generated Delivery Status Notification
Delivery to the following recipient failed permanently:
support@taxi123.tw
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 support@taxi123.tw ...Relaying denied (state 14).
Date: Thu, Sep 17, 2009 at 5:37 PM
Subject: Delivery Status Notification (Failure)
To: iidp00u@gmail.com
This is an automatically generated Delivery Status Notification
Delivery to the following recipient failed permanently:
support@taxi123.tw
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 support@taxi123.tw ...Relaying denied (state 14).
溫故卻無知新--唉!這就是工作.....<1>
忘了設定外部DNS的A,MX Record的效果
From: Mail Delivery Subsystem <mailer-daemon@googlemail.com>
From: Mail Delivery Subsystem <mailer-daemon@googlemail.com>
Date: Thu, Sep 17, 2009 at 5:30 PM
Subject: Delivery Status Notification (Failure)
To: iidp00u@gmail.com
This is an automatically generated Delivery Status Notification
Delivery to the following recipient failed permanently:
support@taxi123.tw
Technical details of permanent failure:
DNS Error: DNS server returned answer with no data
Subject: Delivery Status Notification (Failure)
To: iidp00u@gmail.com
This is an automatically generated Delivery Status Notification
Delivery to the following recipient failed permanently:
support@taxi123.tw
Technical details of permanent failure:
DNS Error: DNS server returned answer with no data
2009年9月11日 星期五
DFL-210 CLI SET IP ADDRESS
DFL-210:/> set Address IP4Address InterfaceAddresses/lannet address=192.168.4.0/
2009年9月10日 星期四
OUTLOOK 2000 信件檔超過2GB,無法存取或開啟
OUTLOOK 2000 信件檔超過2GB,無法存取或開啟
指派給:
是否已經核對?否
核對者:
核對日期:2009-09-10 08:17:34
常見問答分類:
參考微軟官網,搜尋關鍵字「超大PST和OST檔案的裁工具」 兩工具如下:
根據文件,指出更新程式可避免Outlook允許.pst檔超過2GB的最大容量。
其它官網資訊:
|
2009年9月9日 星期三
看似相同的查詢式,查詢效率大不同
直想不出好的文句來述敘此現象的原由,粗操的說..
「經過convert後的資料,其排列的順序不見得和原資料型態相同,此失去索引提供的好處。」,也因此,查詢效率大不同!
另外,convert,確實也產生了不少的查詢成本。
總歸一句,
<1> 不要企圖將被搜尋資料欄位,將其轉換型別來等同於查詢式的條件。
<2> 而是要將查詢式的條件轉換,使其等同於欄位定義的資料型別。
2009年9月8日 星期二
SQL SERVER TRANSACTION 交易機制
| Update 同1筆資料列,同1個欄位 | |
Connection A | Connection B | |
<1> | Begin Tran | |
<2> | Select | |
<3> | | Begin Tran |
<4> | | Select |
<5> | | Update (Success) |
<6> | Update (未執行) | |
<7> | | Commit Tran |
<8> | Update (Success) | |
<9> | Commit Tran | |
| ※ 在未指定任何參數的情況下,select 並不會造成「鎖定」,而是在update時,才會造成以「資料列鎖定」。 ※ 當先執行update的connection,完成commit 或 rollback的同時,另一connection 的 update才得以繼續執行! ※ |
訂閱:
文章 (Atom)