我們先看一下這個報錯日誌:InnoDB: Warning: a long semaphore wait:--Thread 140593224754944 has waited at btr0cur.c line 528 for 241.00 seconds the semaphore:X-lock on RW-latch at 0x7fd9142bfcc8 created in file dict0dict.c line 1838a writer (thread id 1405705260213
由於希望測試一個DG問題,所以在Vmware上搭建測試環境,primary和standby放在同一台主機上。 搭建過程就不贅述,但是在最後,遇到了一些問題,這裡記錄一下,以備後續查閱。 ----搭建過程中的一些命令----- 1. backup database format '/tmp/bk_%U';2. backup current controlfile for standby format '/tmp/stdbyctl.bkp';3. catalog
常用指令碼備份自動設定msmtp,使用mail發郵件 #!/bin/bash SRC=/usr/local/src cd $SRC #install msmtp client # if your want support TLS/SSL,install openssl-devel # yum install -y&nb
使使用者在資料表空間有寫的quota 使用者在資料表空間上建表、插入資料這些基本操作,有時也會報ORA-01950: no privileges on tablespace 'SYSTEM' ,那麼,此時該怎麼做呢?9i的庫,對使用者自己的default tablespace,或者其他的tablespace,也需要授quota,不然也會報ORA-01950: no privileges on tablespace 'SYSTEM';
二、改善SQL語句 很多人不知道SQL語句在SQL SERVER中是如何執行的,他們擔心自己所寫的SQL語句會被SQL SERVER誤解。比如:select * from table1 where name=zhangsan and tID > 10000 和執行:select * from table1&nbs
The Hidden Costs of INSERT EXEC INSERT and EXEC: relational brothers in arms, helping you get your data and then put it somewhere. But like all brothers, their relationship has its ups and downs and sometimes you need to look just below the surface