Linux下配置和安裝MySQL

1、安裝MySQL需要下面兩個檔案:MySQL-server-5.0.26-0.i386.rpm   MySQL-client-5.0.26-0.i386.rpm為:http: //dev.mysql.com/downloads/mysql/5.0.html,開啟此網頁,下拉網頁找到“Red Hat Enterprise Linux 3 RPM (x86) downloads”項,找到“Server”和“Client

Oracle 11gR2 netca 無法啟動出錯解決

安裝Oracle軟體後,必須要先配置listener才能dbca建庫,但是netca卻報下面的錯誤。Oracle Net Services Configuration:## An unexpected error has been detected by HotSpot Virtual Machine:## SIGSEGV (0xb) at pc=0xa4bf5f4e, pid=11819, tid=3086902976## Java VM: Java HotSpot(TM) Client

Linux 中Oracle 10g RAC 關閉crs開機自啟動

linux 中在沒有對init.crs作修改的時候,在開機時總是會自動把的cluster 軟體和一起和系統起來.資料庫raclinux另外,也可以通過crs-stat -t查看,把沒有啟動的服務手工啟動[Oracle@rac1 ~]$ crs_stat -tName          

Oracle歸檔記錄檔(Archive Log file)

Show parameter recover     --查看歸檔記錄檔的存放路徑Alter database archive     --修改資料庫為歸檔模式Archive log list   /  SQL> select name,log_mode from v$database;  

Oracle 開啟autotrace功能

預設的Oracle的sqlplus是不能夠啟動執行分析計劃、統計執行效率的,啟動如下功能只需要幾步:1:通過sys使用者sysdba角色登陸2:建立autotrace 角色,執行如下指令碼  $ORACLE_HOME\RDBMS\ADMIN\tracetab.sql  在Oracle9i中需要運行$ORACLE_HOME\RDBMS\ADMIN\utlxplan.sql指令碼產生plan_table表; 

Redhat Enterprise Linux 5.4下安裝配置Oracle 11g R2

  1.Linux環境配置準備  環境:Linux:RedHat Enterprise 5.4,DB:Oracle 11g R2 X64,Oracle安裝到/home/oralce_11目錄下。  配置過程如下:(大部分是網上的內容,個人也是按照網上步驟來的)  1) 檢查基本需求(對於牛逼的伺服器來說,這個肯定是滿足要求的,可以跳過)  記憶體大小  grep MemTotal /proc/meminfo  交換分區大小  grep SwapTotal

Linux伺服器實現每天定時備份MySQL資料庫的shell指令碼

Linux伺服器利用系統crontab來定時執行備份檔案,按日期對備份結果進行儲存,達到備份的目的。  1、建立儲存備份檔案的路徑/mysqldata  #mkdir /mysqldata  2、建立/usr/sbin/bakmysql檔案  #vi /usr/sbin/bakmysql  輸入  rq=` date +%Y%m%d `  tar zcvf /mysqldata/mysql$rq.tar.gz /var/lib/mysql  或者寫成  rq=` date +%Y%m%d `  

Linux下修改Oracle資料庫的sid和dbname

有時我們需要修改資料庫的sid和dbname,除了使用rman進行備份恢複之外,也可以通過手工方式修改,主要由兩個主要過程完成:1、修改執行個體名(SID)2、修改資料庫名(dbname)下面示範將資料庫sid和dbname由orcl修改為cnhtm的過程:1、修改執行個體名(sid)1.1、檢查原來的資料庫執行個體名(sid)Oracle@oracle[/home/oracle]> echo $ORACLE_SIDorcloracle@oracle[/home/oracle]>

Oracle 11g R2 手動建庫(create database manually)

手動建立資料庫是DBA們經常遇到的情形,因為有些情況下無法提供GUI環境。實際上手動建庫,只要設定好了相關的參數或值,也是非常方便的。本文基於Oracle

Oracle之SQL最佳化顧問

Oracle之SQL最佳化顧問--授權grant administer any sql tuning set to scott;grant advisor to scott;grant create any sql profile to scott;grant alter any sql profile to scott;grant drop any sql profile to scott;--建立任務declaretuning_task_name

匯入資料IMP-00058 ORA-00904

將源庫分區表資料移轉到曆史庫中碰到IMP-00058 ORA-00904錯誤,具體操作及解決如下:$imp\'/ as sysdba\' STATISTICS=NONEDATA_ONLY=y file=/backup/wxlun20130911.dmplog=/backup/wxlun20130911.implog fromuser=wxlun touser=wxlun_his buffer=5400000Import: Release 11.2.0.3.0 - Production on

ORA-17047問題解決

最近Standby壞掉,重新作之後,主庫報如下錯誤PING[ARC0]: Heartbeat failed to connect to standby 'standby'. Error is 16047.在網上找到他人的處理方法,成功解決問題。解決方式如下:ALTER SYSTEM SET log_archive_config='NODG_CONFIG' SCOPE=MEMORY;ALTER SYSTEM SET log_archive_dest_2='service=standby

資料泵expdp中query的使用及注意事項

在用資料泵匯出資料的時候,有時候我們需要按條件過濾掉一些不需要匯出的資料,這時候就需要用到參數query。下面是一個簡單使用query的小例子,在這個例子中我們也可以看出資料泵的一個缺陷,就是query參數和estimate參數是衝突的,當我們使用query參數的時候,資料泵estimate資料量會忽略query參數的過濾,使的estimate值異常。  expdp systemparfile=bi_20131203.parExport: Release11.2.0.3.0

ORA-01555超長的Query Duration時間

ORA-01555超長的Query Duration時間現象:Alert日誌報ORA-01555錯誤,但讓人感到不可思議的是超長的Query Duration(1382909202 sec)。Mon Oct 28 05:26:42 2013ORA-01555 caused by SQL statement below (Query Duration=1382909202 sec, SCN: 0x0011.0514ee8f):Mon Oct 28 05:26:42 2013ANALYZE

expdp時ORA-00955: name is already used by an existing object

今天執行一條expdp語句時,報錯如下:ORA-31626: job does not existORA-31633: unable to create master table "NEW.GWJOB"ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95ORA-06512: at "SYS.KUPV$FT", line 1020ORA-00955: name is already used by an existing

CentOS 6.2上原始碼編譯安裝MySQL-5.6.10以及MySQL-5.5.34

CentOS 6.2上原始碼編譯安裝MySQL-5.6.10以及MySQL-5.5.341.Mysql5.6.10安裝一.必要軟體:yum -y install gcc gcc-c++  autoconf automake  bison  ncurses-devel libtool-ltdl-devel* cmake make 二.編譯安裝[root@localhost src]#groupadd mysql[root@localhost src]#

drop使用者hang住解決思路

今天在drop一個使用者的是時候hang住了,開始沒有在意,結果過了1個小時還沒有刪除完,這個使用者中的對象並不是很多而且也不大,於是去看了下alert日誌,結果發現如下的資訊:ORA-00060: Deadlock detected. More info in file /u01/app/Oracle/diag/rdbms/tlgdb/tlgdb/trace/tlgdb_ora_14577.trc.ORA-00060: Deadlock detected. More info in file

Oracle 壞塊處理指令碼

Oracle 壞塊處理指令碼Applies to:Oracle Database - Enterprise Edition - Version 8.1.7.0 to 12.1.0.1.0 [Release 8.1.7 to 12.1]Information in this document applies to any platform.GoalThe purpose of this plsql script is to create a new table based on a table

Oracle處理資料(DML+DDL+DCL)+事務

SQL> /*SQL> SQL語句SQL> 1. DML語句(Data Manipulation Language 資料操作語言): insert update delete selectSQL> 2. DDL語句(Data Definition Language 資料定義語言 (Data Definition Language)): create/alter/drop/truncate tableSQL>       

在Oracle 11g中用看Oracle的共用記憶體段---------IPCS

很早之前,在一次講課了,用了命令ipcs,發現Oracle的共用內段好小,如下:oracle@mydb ~]$ ipcs -a------ Shared Memory Segments --------key        shmid      owner      perms      bytes      nattch  &

總頁數: 978 1 .... 412 413 414 415 416 .... 978 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.