PostgreSQL的 pg_hba.conf 檔案簡析最近試用PostgreSQL 9.04,將pg_hba.conf配置的一些心得分享。pg_hba.conf是用戶端認證設定檔,定義如何認證用戶端。下面是常用的pg_hba.conf配置:# TYPE DATABASE USER CIDR-ADDRESS METHOD# "local" is for Unix domain socket connections onlylocal &
Oracle帳戶口令強度策略限制Oracle帳戶口令強度策略限制1. 使用者口令要求包含字母、資料和特殊字元三種類型(1)建立密碼檢查函數CREATE OR REPLACE FUNCTION verify_function(username varchar2, password varchar2, old_password varchar2) RETURN boolean IS n boolean; m integer;
Oracle 中極易混淆的幾個 NAME 的分析和總結我們知道,Oracle中的各種NAME會在我們的各個設定檔中經常出現,大致有以下這些:在init.ora中有DB_NAME,INSTANCE_NAME,SERVICE_NAME配置DG的時候,為了區分主備庫,還要使用DB_UNIQUE_NAME在作業系統中需要配置環境變數,ORACLE_SID在listener.ora中有SID_NAME,GLOBAL_DBNAME在tnsname.ora中有SERVICE_NAME,SID,NET
一次ORA-28000: the account is locked使用者鎖定的問題排查,ora-28000locked今天同事反映一個問題,某個測試庫修改了密碼,並改了相關應用使用的密碼後,仍出現一會賬戶就被鎖住,報ORA-28000: the account is locked的錯誤。檢查過程:1. 查看資源限制生效參數SQL> show parameter resourceNAME
【BUG】Kewastunpackstats(): Bad Magic 1 (0x。。。。, 0),badmagicnumber Kewastunpackstats(): Bad Magic 1 (0x1108f7b87, 0) In Alert Logfile After Upgrading to 11.2.0.1Applies to:Oracle Server - Enterprise Edition - Version: 9.2.0.8 and later [Release: 9
【翻譯自mos文章】v$undostat視圖沒有按照每10分鐘進行更新,v$undostat只有1行(one rows),mosundostatv$undostat視圖沒有按照每10分鐘進行更新,v$undostat只有1行(one rows)參考原文:The V$UNDOSTAT view is not getting updated in every 10 minutes. (Doc ID 1206365.1)適用於:Oracle Server - Enterprise Edition -