一些oracle基礎

來源:互聯網
上載者:User

標籤:

查詢所有使用者:select * from all_users;手動註冊監聽:alter system register;oracle密碼到期設定1,查詢select * from dba_profiles where profile=‘DEFAULT‘ and resource_name=‘PASSWORD_LIFE_TIME‘; 2,釋放保留ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED; 3,解鎖被鎖使用者 ALTER USER USER_NAME ACCOUNT UNLOCK; 4修改被鎖使用者密碼alter user newjw identified by newjw;  #ifconfigTYPE=Ethernet #網卡類型DEVICE=eth0 #網卡介面名稱ONBOOT=yes #系統啟動時是否自動載入BOOTPROTO=static #啟用地址協議 --static:靜態協議 --bootp協議 --dhcp協議IPADDR=192.168.1.11 #網卡IP地址NETMASK=255.255.255.0 #網卡網路地址GATEWAY=192.168.1.1 #網卡網關地址DNS1=10.203.104.41 #網卡DNS地址HWADDR=00:0C:29:13:5D:74 #網卡裝置MAC地址BROADCAST=192.168.1.255 #網卡廣播位址網卡介面關閉與啟用[[email protected] ~]# ifdown eth0 #關閉網路[[email protected] ~]# ifup eth0 #啟動網路 網路服務啟動與關閉方法一:[[email protected] ~]# service network stop #關閉網路服務[[email protected] ~]# service network start #啟動網路服務[[email protected] ~]# service network restart #重啟網路服務方法二:[[email protected] ~]# /etc/init.d/network stop[[email protected] ~]# /etc/init.d/network start[[email protected] ~]# /etc/init.d/network restart 1、單獨備份一個或多個使用者:D:>exp scott/tiger file=匯出檔案D:>exp system/manager owner=(使用者1,使用者2,…,使用者n) file=匯出檔案 單獨備份一個或多個表exp system/manager tables=(使用者1.表1,使用者2.表2) file=a.dmp cpio.gz檔案解壓方法下載了 10201_database_linux_x86_64.cpio.gz 檔案,解壓方法如下: 1. gunzip 10201_database_linux_x86_64.cpio.gz得到10201_database_linux_x86_64.cpio檔案 2. cpio -idmv <10201_database_linux_x86_64.cpio即可在目前的目錄下解壓出來 2.args=‘-J-server -Xms200m -Xmx1024m -Xloggc:./log/gc.log -XX:MaxNewSize=256m -XX:MaxPermSize=256m -Djava.awt.headless=true‘ (1)J-server -Xms200m -Xmx1024m 其中,-Xms200m 表示啟動時,初時記憶體大小,-Xmx1024m最大記憶體佔用大小。(2)-XX:MaxNewSize=256m -XX:MaxPermSize=256m 表示:記憶體的永久儲存地區的大小(3)-Djava.awt.headless=true 解決在linux/unix驗證碼圖片不能顯示的問題。

 

一些oracle基礎

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.