linux教程

什麼是NAT

NAT Net Address Trancelate 是將局域網裡的內部地址(如192.168.0.x)轉換成公網(Internet)上合法的IP地址(如202.202.12.11),以使內部地址能像有公網地址的主機一樣上網。這個優於代理伺服器,能做直接訪問外部IP地址, 但NAT

Table Compression

Consider Using Table Compression disk space, reduces memory use in the database buffer cache, and can significantly speed query execution during reads. C

調優集物件

************************************************************ 1.新建調優集物件 ************************************************************     ---授權  

oracle標量子查詢簡介和表連線改寫

源自http://www.dbaxiaoyu.com/archives/2113 Oracle允許在select子句中包含單行子查詢,這個也就是oracle的標量子查詢,標量子查詢有點類似於外連線,當使用到外連線時我們可以靈活的將其轉化為標量子查詢。 SQL> create table t1 as

DBMS_REDEFINITION用法

D)  DBMS_REDEFINITION example 1 : /*非分割槽表自定義為分割槽表,同時增加欄位  */ This example illustrates online redefinition of the previously created table hr.admin_em

Oracle謂詞推入

Oracle謂詞推入:所謂推入,是把庫表中判斷的條件推入進檢視中進行判斷。後續不再對庫表進行篩選。 建立檢視 create table hao1 as select object_id ,object_name from dba_objects ; create table hao2

MERGE 與NO_MERGE

19. /*+ MERGE(TABLE) */     能夠對檢視的各個查詢進行相應的合併.     例如:     SELECT /*+ MERGE(V) */ A.EMP_NO,A.EMP_NAM,B.DPT_NO FROM BSEMPMS A (SELET DPT_NO     ,AVG

分割槽表與索引的管理

取自: Oracle® Database VLDB and Partitioning Guide 11g Release 2 (11.2) E25523-01 Global Range Partitioned Indexes 由於最高的分割槽有maxvalue分割槽邊界,所以 Maintena

函式索引--DETERMINISTIC

函式索引--DETERMINISTIC To create a function-based index, in addition to the prerequisites for creating a conventional index, if the index is based on us

keepalive

keepalived使用指令碼檢測 好像只有在你啟動keepalived程序時那一下才會呼叫指令碼 後面執行中 當埠起來或者DOWN都不會呼叫 你設定的指令碼 global_defs {   router_id redis_node1 } vrrp_script chk_redis {    scri

innobackupex單表增量備份與恢復

--export --include=xiongq.b 單表增量備份    innobackupex   --defaults-file=/data/3306/my.cnf --user=root --password=root --export --include=xiongq.b --so

2.8129930496216