query_sql_server_product_ver.sql
/*
SERVERPROPERTY(propertyname )
*/
SELECT SERVERPROPERTY('ProductVersion') N'版本編號',
SERVERPROPERTY('ProductLevel') N'版本層級',
SERVERPROPERTY('edition')N'版別',
@@VERSION N'SQL Server 的版本、處理器架構、建置日期和作業系統'
query_sql_server_product_ver.sql
/*
SERVERPROPERTY(propertyname )
*/
SELECT SERVERPROPERTY('ProductVersion') N'版本編號',
SERVERPROPERTY('ProductLevel') N'版本層級',
SERVERPROPERTY('edition')N'版別',
@@VERSION N'SQL Server 的版本、處理器架構、建置日期和作業系統'
學習目標
•Install、create、administer Oracle Database 10g (企業版)
•為應用程式configure資料庫、創建使用者、定義storage structures和設置安全性
•Monitor資料庫
•實施備份和恢復策略
•在資料庫和文件檔之間移動資料
•Explain the Oracle Database 10g architecture
學習順序
1. 簡介
2. Installation
3. DB Creation
4. Instance (實例)
5. Storage
6. Users
7. Schema
8. Data & Concurrency
9. Undo
10. Security
11. Network
12. Proactive Maintenance(主動維護)
13. Performance
14. Backup & Recovery Concepts
15. Backup
16. Recovery
17. Flashback
18. Moving Data
啟動ORACLE:
SQL> STARTUP NOMOUNT
SQL> STARTUP MOUNT
or
SQL> ALTER DATABASE MOUNT;
SQL> STARTUP
Or
SQL> ALTER DATABASE OPEN;
SQL> STARTUP RESTRICT
--
SQL> alter system enable restricted session;
--
SQL> alter system disable restricted session;
startup |
[oracle@dyora01 ~]$ sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jan 21 07:04:30 2002
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect / as sysdba Connected. SQL> shutdown immediate Database closed. Database dismounted. ORACLE instance shut down. SQL> startup nomount ORACLE instance started.
Total System Global Area 356515840 bytes Fixed Size 1219376 bytes Variable Size 100664528 bytes Database Buffers 247463936 bytes Redo Buffers 7168000 bytes SQL> alter database mount;
Database altered.
SQL> alter database open;
Database altered.
SQL> shutdown immediate Database closed. Database dismounted. ORACLE instance shut down. SQL> startup mount ORACLE instance started.
Total System Global Area 356515840 bytes Fixed Size 1219376 bytes Variable Size 100664528 bytes Database Buffers 247463936 bytes Redo Buffers 7168000 bytes Database mounted. SQL> startup ORA-01081: cannot start already-running ORACLE - shut it down first SQL> shutdown immediate ORA-01109: database not open
Database dismounted. ORACLE instance shut down. SQL> startup ORACLE instance started.
Total System Global Area 356515840 bytes Fixed Size 1219376 bytes Variable Size 100664528 bytes Database Buffers 247463936 bytes Redo Buffers 7168000 bytes Database mounted. Database opened. SQL> |
延伸內容
Problems during Oracle Startup
ORACLE資料庫的關閉:
同理 Oracle 11g 也代表使用了 Grid Computing
<script type="text/javascript"><!--
google_ad_client = "pub-09194002021xxxxx";
google_ad_width = 125;
google_ad_height = 125;
google_ad_format = "125x125_as";
google_ad_type = "text_image";
//2006-12-27: club, diving, scuba
google_ad_channel = "0642876578+6711664441+02033xxxxx";
google_color_border = "66B5FF";
google_color_bg = "E6E6E6";
google_color_link = "0066CC";
google_color_text = "66B5FF";
google_color_url = "3D81EE";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
The format of the line for the parameter google_ad_format is incorrect. Line 5: google_ad_format = 125x125_as;
the line in the code is:
google_ad_format = "125x125_as";
<script type="text/javascript"><!--
google_ad_client = "ca-pub-09194002021xxxxx";
/* ckc */
google_ad_slot = "26010xxxxx";
google_ad_width = 200;
google_ad_height = 200;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>