值得注意的地方1.find / -name uuid-ossp.so搜尋看看時候存在如果不存在。點擊這裡下載uuid-1.6.1.tar.gz並安裝。注意。./configure安裝就好。這個時候在/usr/local/lib會存在uuid-ossp.so檔案2.安裝postgresql.的時候 如果報錯。checking for uuid_export in -lossp-uuid... nochecking for uuid_export in -luuid... noconfigure:
1,建立表create table CJ_JT_NSRCPDMDY(ID VARCHAR2(40) not null primary key, CPBH VARCHAR2(80) not null,NSRBH VARCHAR2(80) not null,BZ VARCHAR2(80));2,測試資料insert into
Oracle函數(把每個單詞首個字母變為大寫)NLS_INITCAP(x[,y])【功能】返回字串並將字串的第一個字母變為大寫,其它字母小寫;【參數】x字元型運算式【參數】Nls_param可選,查詢資料級的NLS設定:select * from nls_database_parameters;例如:指定排序的方式(nls_sort=) 。nls_sort=SCHINESE_RADICAL_M(部首、筆畫)
sqlplus / as sysdba>select total.tablespace_name,round(total.MB,2) as Total_MB,round(total.MB-free.MB, 2) as Used_MB,round((1-free.MB/total.MB)*100, 2) as Used_Pct from (select tablespace_name, sum(bytes)/1024/1024 as MB from dba_free_space group
有些事情,只有當長時間壓力測試的時候,才能暴露出來。MongoDB叢集用了幾個月了,但是當寫了一個長時間啟動並執行壓力測試程式後,幾天時間, primary server不能啟動。查看MongoDB日誌發現錯誤資訊:Fri Nov 29 10:49:13.182 [initandlisten] ERROR: Insufficient free space for journal filesFri Nov 29 10:49:13.182 [initandlisten] Please make
使用rowid類比資料庫壞塊修複過程:一、Rowid定義(官網)A globally unique address for a row in a database.Oracle Database uses a rowid to uniquely identify a row. Internally, the rowid is a structure that holds information that the database needs to access a row. A rowid
Oracle 11g RAC 中幾個重要參數的解釋par num describ-------------------------------------------------------------------------_lm_lms 2number of background gcs server processes to start_lm_lms_waittime 3default wait time for lms