Centos5.9 安裝 64位 Oracle12c 筆記(2)

在本文檔中若無特特說明,centos控制台命令都以root使用者執行。接上文繼續4)修改系統資源參數:    # vim /etc/sysctl.conf   vim開啟sysctl.conf 添加如下內容:fs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmall = 2097152kernel.shmmax = 536870912kernel.shmmni = 4096kernel.sem = 250 3

oracle 11g RAC搭建 ASM儲存

問題1、節點1上面分配好的共用磁碟,在節點2上面只能看到一部分。解決:關閉節點1此步未驗證是否必須)。在節點2上面重新分配一次,開啟節點1就都可以看到了。問題2、安裝Oracle改變swap交換空間大小 1、檢查當前的分區情況:    [root@localhost]#free -m2、增加交換分區檔案及大小,如果要增加2G大小的交換分區,則命令寫法如下,其中的 count 等於想要的塊大小。    [root@localhost]# dd

mysql清空表語句 truncate和delete from 的區別

一、如果mysql表中有AUTO_INCREMENT欄位,在清空資料(delete from)後,AUTO_INCREMENT欄位不會自動初始化為0,而依然是從清空前的記錄後開始自增,需要手動初始化1、user_0初始狀態使用navicat工具查看)650) this.width=650;" src="http://www.bkjia.com/uploads/allimg/131229/21541U125-0.jpg" title="1.jpg" />2、在命令列下執行delete from

安裝scott樣本模式(Helloblock寫作)

安裝scott樣本模式Helloblock寫作)1、查看資料庫上是否有scott樣本模式:SQL> select username from dba_users;USERNAME------------------------------------------------------------SYSSYSTEMDBSNMPMGMT_VIEWSYSMANOUTLNLBACSYSWMSYSTSMSYSDIP當前資料庫上沒有scott使用者。2、安裝scott樣本模式SQL>

oracle 兩表關聯的update操作

create table a(  no number notnull,  name varchar(10) notnull,  loc varchar(10) notnull);  create table b(  no number notnull,  name varchar(10) notnull,  loc varchar(10) notnull);  insert into a values(10, 

oracle實用的查詢語句

1.當資料庫中的資料不小心刪除或者刪除之後想恢複,可以通過下面的語句查詢刪除之後限定時間之內的資料:注意使用管理員登入系統:select * from 表名 as of timestamp sysdate-1/12   //查詢兩個小時前的某表資料!既然兩小時以前的資料都得到了,繼續怎麼做,知道了吧。。如果drop了表,怎麼辦??見下面:drop table 表名;資料庫誤刪除表之後恢複:絕對ok,我就做過這樣的事情,汗)不過要記得刪除了哪些表名。flashback table 表名

oracle char nchar varchar varchar2 nvarchar2

帶n的都是unicode 編碼,字母,漢字都是2個位元組。char 固定長度。varchar 不固定長度。char和varchar區別:資料庫中的char型,用於儲存定長字串,效率比varchar要稍高,但是,佔用空間比varchar要多。比如,儲存字串“abc",對於CHAR (20),表示你儲存的字元將佔20個位元組(包括17個Null 字元),而同樣的VARCHAR2

Hadoop讀書筆記1-Meet Hadoop & Hadoop Filesystem

Chapter 1 Meet HadoopData is large, the transfer speed is not improved much. It's a long time to read all data from one single disk - writing is even more slow. The obvious way to reduce the time is read from multiple disk once.The first problem

<<連載>><<MariaDB cr

第十一章:使用資料處理函數 Like almost any other computer language, SQL supports the use of functions to manipulate data. Functions are operations usually performed on data, usually to facilitate conversion and manipulation.

今天發現mysql備份不正常,提示找不到mysql-5.1.57.socket

mysql 備份出錯,但是網站運行正常localhost:~# /usr/local/mysql/bin/mysqldump --lock-tables=FALSE -uroot -p webadb_com > /root/webabc.sqlEnter password: mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/tmp/mysql-5.1.57.sock' (2)

oracle 11g DG 搭建

搭建環境: centos 5.6 oracle 11g r2 primary: 192.168.8.132 str1.example.com str1 主庫sid primarystandby: 192.168.8.131 str2.example.com str2 備庫sid standbyoracle 11g 軟體安裝 http://yangcheng.blog.51cto.com/1388193/1209421

Mysql資料庫主從複製

1)*.登入mysql資料庫主伺服器,並給從伺服器設定授權使用者.#mysql-uroot -p123456 testmysql>grantall (slave) on *.* to user1_zc@192.168.10.2identified by “456”;ormysql>grantreplication (slave) on *.* user1_zc@192.168.10.2identified by “pass”;mysql>showgrants for user1

Mysql bin-log日誌及資料恢複

一、 Mysqlbin-log 日誌1.開啟Mysqlbin-log 日誌#vi/etc/my.cnf[client]#password =your_passwordport =3306socket =/tmp/mysql.sockdefault-character-set-utf8.......[mysqld]port= 3306socket=

oracle 鎖機制

鎖:控制共用資源的並發訪問機制,防止衝突發生能保證資料的一致性,完整性,共用性--鎖的分類:1)行級鎖獨佔鎖定) oracle資料庫中,在使用insert ,update ,delete ,select ...for update的時候,預設已經上鎖2)表級鎖--示範:開啟多個視窗類比多個使用者--USERA:update dept set dname='DDDDD' WHERE deptno=50;並且未提交或者復原之前在另外一個視窗中 --使用 USERB:select * from

oracle 資料庫的建立

--建立資料資料表空間create tablespace mytablespacedatafile 'd:/mytablespace.dbf'Size 32mautoextend onmaxsize unlimited;--建立暫存資料表空間create temporary tablespace temptablespacetempfile 'd:/mytempspace.ldf'size 32mautoextend onmaxsize

利用Oracle VPD實現行級安全保護(一)

http://boylook.itpub.net/post/43144/520544 大家都知道,Oracle的鎖機制是行層級的,下面來看看Oracle的安全訪問機制: 安全的資料過濾,必須在基礎資料表的一層就完成,這樣使用者無論是通過視圖還是基礎資料表都無法繞過安全控制。而VPDvirtual private database)最根本的能力就是“會透明的過濾資料”,提供行級安全保護。

mysql 基本文法

MySQL->CREATE DATABASE dbname; 建立資料庫MySQL->CREATE TABLE tablename; 建立表MySQL->SHOW DATABASES; 顯示資料庫資訊,有那些可用的資料庫。MySQL->USE dbname; 選擇資料庫MySQL->SHOW TABLES; 顯示表資訊,有那些可用的表MySQL->DESCRIBE tablename; 顯示建立的表的資訊 本文出自 “IT民工漫步的日子”

利用Oracle VPD實現行級安全保護(二)

http://boylook.itpub.net/post/43144/520545 通過VPD策略的設定,David只能夠查看部門60和80的記錄。SQL> conn davidEnter password: Connected.SQL> select employee_id,salary,first_name from hr.employees;EMPLOYEE_ID SALARY FIRST_NAME----------- ---------- --------------

八、IO最佳化(5)使用檔案組

一、檔案與檔案組650) this.width=650;" title="檔案組.png" src="http://www.bkjia.com/uploads/allimg/131229/210HHa5-0.png" alt="111522649.png"

oracle資料庫匯入匯出命令!

Oracle資料匯入匯出imp/exp功能:Oracle資料匯入匯出imp/exp就相當與oracle資料還原與備份。大多情況都可以用Oracle資料匯入匯出完成資料的備份與還原不會造成資料的丟失)。Oracle有個好處,雖然你的電腦不是伺服器,但是你裝了oracle用戶端,並建立了串連通過NetConfigurationAssistant添加正確的服務命名,其實你可以想成是用戶端與伺服器端修了條路,然後資料就可以被拉過來了)這樣你可以把資料匯出到本地,雖然可能伺服器離你很遠。你同樣可以把dmp

總頁數: 978 1 .... 708 709 710 711 712 .... 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.