使用者的最大串連數查看該使用者的最大串連數select profile from dba_users where username='APP_TEST';select * from dba_profiles where profile='PF_APP_TEST' and resource_name='SESSIONS_PER_USER';查看該使用者當前的串連數select count(*) from v$session where username='
原庫確定資料檔案,記錄檔,tempfile 檔案資訊select group#,status,type, member from v$logfile;col name format a65select file#,name,bytes/1024/1024 MB from v$datafile;select name from v$controlfile;1.建立執行個體oradim (命令列下包含多種可選項,可自行選擇)oradim -new -sid
在Linux中配置hugepage可以提高oracle的效能,減少oracle sga的頁交換,類似於aix中的lagepage。為什麼 使用大頁?LINUX記憶體的預設塊大小是4K如果SGA為:128Gselect 128*1024*1024/4 from dual;33554432個(三千多萬),select 128*1024/2 from dual;
可以使用10046 event來跟蹤[oracle@ggos ~]$ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.4.0 Production on Fri Dec 20 19:48:00 2013Copyright (c) 1982, 2013, Oracle. All rights reserved.Connected to an idle instance.SQL> startup mountORACLE instance
標籤:oracle1、preusers.sh指令碼#!/bin/bash#Purpose:Create 6 groups named ‘oinstall‘,‘dba‘,‘asmadmin‘,‘asmdba‘,‘asmoper‘,‘oper‘, plus 2 users named ‘oracle‘,‘grid‘.#Also setting the Environment#var