原创 HttpSslModule

Synopsis This module enables HTTPS support. It supports checking client certificates with two limitations: it's not

原创 使用cookiecutter創建pyramid項目

在創建的虛擬環境中安裝cookiecutter $VENV/bin/pip install cookiecutter $ $ENV/bin/cookiecutter gh:Pylons/pyramid-cookiecutte

原创 Warning: License for package Android SDK Build-Tools 28.0.3 not accepted解決辦法

Launching lib/main.dart on sdk gphone x86 in debug mode... Running Gradle task 'assembleDebug'... Checking the lice

原创 Waiting for another flutter command to release the startup lock解決辦法

在Android Stuido運行main.drt提示“Waiting for another flutter command to release the startup lock” $ flutter devices Wait

原创 mac 安裝 luasocket

mac lua版本已經升級到5.3,通過luarocks install luasocket一直失敗,無法安裝,於是選擇手工安裝 1.下載並編譯安裝luasocket安裝包 $git clone https://github.com/d

原创 rman清除過期歸檔日誌

1.手動刪除歸檔日誌 使用rm或find方式刪除,通過此方式刪除後,在rman下通過crosscheck archivelog all 校驗歸檔是否失效。如下: 1 2 3 rm -rf arch_*.ar

原创 mysql explain(轉)

Mysql Explain 詳解 一.語法 explain < table_name > 例如: explain select * from t3 where id=3952602; 二.explain輸出解釋 +----+-

原创 Redis安裝配置

安裝redis 1 2 3 4 5 6 [root@mysql01 redis]# tar -zxvf redis-2.8.8.tar.gz [root@mysql01 redis]#mv  re

原创 ERROR 1286 (42000): Unknown table engine ‘InnoDB’

在對mysql庫進行導出表結構時,發現報錯: mysqldump:Got Error: 1286: Unknown table engine 'InnoDB? when using LOCK TABLES 1

原创 kettle install on linux

[root@etl data-integration]# ./spoon.sh /root/di/data-integration # # A fatal error has been detected

原创 ANALYZE TABLE 表後,數據庫大量查詢狀態變成 Waiting for table flush

          一次在處理慢查詢時,對錶做了分析,ANALYZE TABLE ,之後不久,應用反應數據庫查詢很慢,通過 show full processlit;查看 發現與該表相關的大量查詢狀態均變成了Waiting for tab

原创 cx_Oracle安裝

已經先通過 anaconda 安裝 了Python 2.7 (不想一個包一個包的安裝 ,追求效率) 由於需要監控oracle數據庫相關信息,打算通過python連接Oralce,採用cx_oracle方法 通過官方下載http://www

原创 ogg複製配置

1.將ogg安裝包傳至服務器目錄,以oracle用戶解壓(例:ORACLE_BASE目錄下) 2.增加Oracle系統環境變量  LD_LIBRARY_PATH=/opt/app/oracle/product/11.2.0/dbhom

原创 mysql的一次誤rm -rf 刪除恢復

今天研發報測試環境數據庫空間不夠,發現被mysql binlog佔滿了,於是對mysql的binlog進行刪除,由於操作太快把當前正在用的binlog給刪除了,刪除後,立即保護現場,沒有對數據庫做任何操作,於是開始了恢復。 首先通過 ls

原创 使用 DBMS_PARALLEL_EXECUTE 更新大表

Oracle 11g 中新功能 DBMS_PARALLEL_EXECUTE 包可以使你在並行增量更新一個大表的數據,兩個高層次的步驟是: Group sets of rows in the table into smaller