本文寫道最後的時候,我才發現ZRM for MySQL的一個致命問題,就我目前的理解和測試來看,它恢複資料的時候是採取覆蓋的方式,舉個例子,假定某台資料庫伺服器上有兩個資料庫test1,test2,你備份了這兩個資料庫,某一天,test2資料庫裡的某一個表壞了,那麼它無法做到僅僅只是恢複損壞的表,甚至無法做到僅僅恢複test2,而是直接把test1,test2都恢複。那這絕對是一個噩夢。但願我目前的理解是錯誤的,只是我實在找不到控制恢複粒度的地方。下面的文字就當閑著無聊看看吧。Zmanda
The VM for Linux prefers system cache over application memory. What does this mean? The best way I can explain is by example.Imagine you have 32 GB of RAMMySQL is set to take 20 GB of RAM for a process based buffer and up to 6M for the various
MySQL中空格與Null 字元串查詢時混淆的問題在MySQL中,對於一項屬性為字串類型的域Element,如果其值為空白字串或者是空格,在查詢時可能會出問題執行Java代碼select * from table where Element='' 或者是 Java代碼select * from table where Element=' '的結果是一樣的,在查詢時不區分Null 字元串與空格。如果想實現精確尋找,即查詢實際是空格的項,或者實際是Null
利用mysql內建內建函數:INET_ATON(expr)Given the dotted-quad representation of a network address as a string, returns an integer that represents the numeric value of the address. Addresses may be 4- or 8-byte addresses.mysql> SELECT INET_ATON('209.207.224.4
解決Oracle啟動監聽時錯誤一、TNS-12547:TNS-12547: TNS:lost contactTNS-12560: TNS:protocol adapter errorTNS-00517: Lost contactLinux Error: 104: Connection reset by peer發現/etc/hosts中並沒有127.0.0.1 localhost.修改/etc/hosts,修改後如下$ cat /etc/hosts# Do not remove the
filter這個詞總讓人很費解,它下一級可以掛 一個子節點,二個子節點,三個子節點...。掛一個子節點意思過濾,如對全表進行掃描後,按照條件過濾,丟棄不滿足條件的資料。掛二個子節點類似是nest loop。掛三個子節點類似1和2做nest loop,結果集再與3做nest loop(這個是我推測的)。SQL> set linesize 300SQL> set timing onSQL> set autotrace traceonlySQL> SELECT