关于Oracle表空间创建时间的探究
自己手动创建一个测试的表空间名字为testSQLcreatetablespacetestdatafile/u01/app/oracle/oradata/orcl/test01.dbfsize10M;Tablespacecreat..
自己手动创建一个测试的表空间名字为test
如何查看oracle表空间的创建时间呢?
查看下数据库当前的时间
通过以上查询可以看出,test1表空间是我刚刚创建的,美国服务器,可数据库也是刚才安装上的,虽然默认的表空间如system表空间等,应该创建时间也都是今天,但是为什么都是2005年06月30日?
如何查看数据库版本呢?
可以看出我的数据库版本是Oracle 10g,10.2.0.1.0版本,那么这些会与表空间的时间有什么关系呢?
查看一下Oracle各个版本的发行时间和版本特性简介的英文资料不难看出:Oracle 10g Release 2 (10.2.0)正式发布时间是2005年09月,而我的数据库是10.2.0.1.0版本,表空间的创建时间是2005年8月15日,服务器空间,也就是Oracle发布10gR2版本的日期之前,应该是产品生产包装完后再正式发布销售的!不然发布了有人买,没东西卖哈~原来默认表空间的创建时间是这样来的。我在Oracle11gR2上测试也是这样,大家不妨可以试试哦~
以下是Oracle各个版本的发行时间和版本特性简介:
1979年的夏季,RSI(Oracle公司的前身,Relational Software,Inc)发布了Oracle第二版。
1983年3月,RSI发布了Oracle第三版。从现在起Oracle产品有了一个关键的特性--可移植性。
1984年10月,Oracle(RSI更名为Oracle)发布了第4版产品。这一版增加了读一致性这个重要特性。
1985年,Oracle发布了5.0版。这个版本是Oracle数据库较为稳定的版本。并实现了C/S模式工作。
1986年,Oracle发布了5.1版。该版本开始支持分布式查询。
1988年,Oracle发布了第6版。该版本中引入了行级锁特性,同时还引入了联机热备份功能。
1992年6月,虚拟主机,Oracle发布了第7版。该版本增加了包括分布式事务处理功能、用于应用程序开发的新工具及安全性方法等功能。
1997年6月,Oracle第8版发布。Oracle8支持面向对象的开发及新的多媒体应用。
1998年9月,Oracle公司正式发布Oracle 8i。正是因为该版本对Internet的支持,所以,在版本号之后,添加了标识i。
2001年6月,Oracle发布了Oracle 9i。
2003年9月,Oracle发布了Oracle 10g。这一版的最大特性就是加入了网格计算的功能,因此版本号之后的标识使用了字母g,代表Grid--网格。
2007年7月11日,Oracle发布了Oracle 11g。Oracle 11g实现了信息生命周期管(Information Lifecycle Management)等多项创新。
英文介绍:
Oracle 2 - 1979
First public release
Basic SQL functionality, queries and joins
CONNECT BY queries
Written in pdp-11 assembly language, ran on vax/vms in compatibility mode
Oracle 3 - 1981
Atomic execution of SQL statements and transactions (COMMIT and ROLLBACK of transactions)
Nonblocking queries (no more read locks)
Re-written in the C-programming language
Oracle 4 - 1984
Read consistency
First interoperability between PC and database server
Database ported to several platforms
Oracle 5.1 - 1986
Distributed queries
Oracle 5.0 - 1985
Supporting for the Client-Server model - PC's can access the DB on remote host
Oracle 6.2
Oracle Parallel Server Option (later renamed to Real Application Clusters)
Oracle 6.1
There was never an Oracle 6.1 production release. However, a 6.1 version was made available to selected beta customers running on clustered hardware. Apparently the database was so busy checking block status's between the machines that it killed the systems it ran on.
Oracle 6 - July 1988
OLTP performance enhancements
Row-level locking
On-line database backups (alter tablespace begin/end backup)
New Procedural Option (TPO) - PL/SQL in the database (*)
B*Tree indexes implemented
Rollback Segments introduced
Concept of tablespaces introduced
(*) Functions, Procedures, Packages and Triggers were not available until Oracle 7.
Oracle 7.3 - February 1996
Partitioned Views
Bitmapped Indexes
Asynchronous read ahead for table scans
Standby Database
Deferred transaction recovery on instance startup
Updatable Join Views (with restrictions)
SQL*DBA no longer shipped.
Index rebuilds
db_verify utility introduced
Context Option
Spatial Data Option
Tablespaces changes - Coalesce, Temporary/ Permanent,
Trigger compilation, debug
Unlimited extents on STORAGE clause.
Some init.ora parameters modifiable - TIMED_STATISTICS
Hash Joins, Antijoins
Histograms
Dependencies
Oracle Trace
Advanced Replication Object Groups
PL/SQL - UTL_FILE
Oracle 7.2 - May 1995
Resizable, autoextend data files
Shrink Rollback Segments manually
Create table, index UNRECOVERABLE
Subquery in FROM clause (Inline view)
PL/SQL wrapper
PL/SQL Cursor variables
Checksums - DB_BLOCK_CHECKSUM, LOG_BLOCK_CHECKSUM
Parallel Create Table As (CTAS)
Job Queues - DBMS_JOB
DBMS_SPACE and DBMS_APPLICATION_INFO packages
Sorting Improvements - SORT_DIRECT_WRITES
Oracle 7.1 - May 1994
ANSI/ISO SQL92 Entry Level
Oracle Advanced Replication - Symmetric Data replication
Snapshot Refresh Groups
Parallel Recovery
Dynamic SQL - DBMS_SQL
Parallel Query Options - query, index creation, data loading
Server Manager introduced
Read Only tablespaces
Oracle 7.0 - June 1992
Database Integrity Constraints (primary keys, foreign keys, check constraints, default values)
Stored procedures and functions, procedure packages
Database Triggers
View compilation
User defined SQL functions
Role based security
Multiple Redo members - mirrored online redo log files
Resource Limits - Profiles
Much enhanced Auditing
Enhanced Distributed database functionality: INSERTS, UPDATES, DELETES, 2PC
Incomplete database recovery (e.g. SCN based recovery)
Cost Based Optimizer
TRUNCATE tables
Datatype changes (i.e VARCHAR2, CHAR, VARCHAR)
SQL*Net v2, MTS
Checkpoint process (CKPT)
Data replication - Snapshots
Oracle 8 - 1997
Object Relational database (ORDBMS) features
Object types (not just date, character, number as in v7)
SQL3 standard
Call external procedures
LOB >1 per table
Partitioned Tables and Indexes (new partitioning option)
partitions in multiple tablespaces
export/import individual partitions
Online/offline, backup/recover individual partitions
merge/balance partitions
Advanced Queuing for message handling
Many performance improvements to SQL/PLSQL/OCI making more efficient use of CPU/Memory. V7 limits extended (e.g. 1000 columns/table, 4000 bytes VARCHAR2)
Parallel DML statements (UPDATE and DELETE)
Connection Pooling (uses the physical connection for idle users and transparently re-establishes the connection when needed) to support more concurrent users.
Improved "STAR" Query optimizer
Integrated Distributed Lock Manager in Oracle PS (as opposed to Operating system DLM in v7).
Performance improvements in OPS - global V$ views introduced across all instances, transparent failover to a new node
Data Cartridges introduced on database (e.g. image, video, context, time, spatial)
Backup/Recovery improvements - Tablespace point in time recovery, incremental backups, parallel backup/recovery. Recovery manager introduced (see RMAN)
Security Server introduced for central user administration. User password expiry, password profiles, allow custom password scheme. Privileged database links (no need for password to be stored)
Fast Refresh for complex snapshots, parallel replication, PL/SQL replication code moved in to Oracle kernel. Replication manager introduced.
Index Organized tables (IOTs)
Deferred integrity constraint checking (deferred until end of transaction instead of end of statement).
SQL*Net replaced by Net8
Reverse Key indexes
Any VIEW updateable (INSTEAD OF triggers on views)
New ROWID format
Oracle 8i (8.1.7) - August 2000
Static HTTP server included (Apache)
JVM Accelerator to improve performance of Java code
Java Server Pages (JSP) engine
MemStat - A new utility for analyzing Java Memory footprints
OIS - Oracle Integration Server introduced.
PLSQL Gateway introduced for deploying PL/SQL based solutions on the Web
Enterprise Manager Enhancements - including new HTML based reporting and Advanced Replication functionality included.
New Database Character Set Migration utility included.
Oracle 8i (8.1.6) - November 1999
PL/SQL Server Pages (PSP's)
DBA Studio Introduced
Statspack - used for performance monitoring (much better that UTLBSTAT/UTLESTAT)
Many new SQL analytical functions like lag, lead and rank
ALTER FREELISTS command (previously done by DROP/CREATE TABLE)
Checksums always ON for SYSTEM tablespace allowing many possible corruptions to be fixed before writing to disk (DB_BLOCK_CHECKING).
XML Parser for Java
New PL/SQL encrypt/decrypt package introduced
JServer Accelerator (Native Java compiler for each platform), Java programs can run as machine code, not interpreted as with 8.1.5
Native support for Java2
New CASE statement in SQL similar to the Decode() function
New SQL*Plus command line options: sqlplus -MARKUP [HTML...] and -RESTRICT
User and Schemas separated
CURSOR_SHARING parameter - optimize SHARED POOL for applications that do not use bind variables
Numerous Performance Enhancements
Oracle 8i (8.1.5) - February 1999
Fast Start recovery - Checkpoint rate auto-adjusted to meet roll forward criteria
Reorganize indexes/index only tables which users accessing data - Online index rebuilds
Log Miner introduced - Allows on-line or archived redo logs to be viewed via SQL
OPS Cache Fusion introduced avoiding disk I/O during cross-node communication
Advanced Queueing improvements (security, performance, OO4O support
User Security Improvements - more centralisation, single enterprise user, users/roles across multiple databases.
Virtual Private Database (VPD)
Integrated JavaVM (called Aurora) in the database kernel allowing one to execute Java stored procedures
Integrated support for EJB (Enterprise JavaBeans)
JSQL: a specification for Java-based SQL database statements
Integrated Object Request Broker for standard CORBA communications between applications and the database
Oracle iFS (Internet File System)
Resource Management using priorities - resource classes
Hash partitioning and Composite partitioning
New partitioning features: merge partitions into one, updatable partition keys (allow movement of rows between partitions), can use LOBS in partitioned tables
Single table hash clusters
SQL*Loader direct load API
Copy optimizer statistics across databases to ensure same access paths across different environments.
Standby Database - Auto shipping and application of redo logs. Read Only queries on standby database allowed.
Enterprise Manager v2 delivered - completely rewritten in Java
NLS - Euro Symbol supported
Analyze tables in parallel.
Temporary tables supported (Tables that will be truncated at the end of a transaction or session).
Net8 support for SSL, HTTP, HOP protocols
Transportable tablespaces, copy tablespaces with datafiles between databases
Locally managed tablespaces - automatic sizing of extents, elimination of tablespace fragmentation, tablespace information managed in tablespace (i.e moved from data dictionary) improving tablespace reliability
Drop column on table (finally!!!!!)
DBMS_DEBUG PL/SQL package, DBMS_SQL replaced by new EXECUTE IMMEDIATE statement
Progress Monitor to track long running DML, DDL
Function based indexes - NLS, case insensitive, descending, based on user defined function, etc.
Index key compression: duplicate keys are combined to save space
Oracle 9i Release 2 (9.2.0) - May 2002
Locally Managed SYSTEM tablespaces
Oracle Streams - new data sharing/replication feature (can potentially replace Oracle Advance Replication and Standby Databases)
XML DB (Oracle is now a standards compliant XML database)
Data segment compression (compress keys in tables - only when loading data)
Cluster file system for Windows and Linux (raw devices are no longer required).
Create logical standby databases with Data Guard
Java JDK 1.3 used inside the database (JVM)
Oracle Data Guard Enhancements (SQL Apply mode - logical copy of primary database, automatic failover
Security Improvements - Default Install Accounts locked, VPD on synonyms, AES, Migrate Users to Directory
Oracle 9i Release 1 (9.0.1) - June 2001
Traditional Rollback Segments (RBS) are still available, but can be replaced with automated System Managed Undo (SMU). Using SMU, Oracle will create it's own "Rollback Segments" and size them automatically without any DBA involvement.
Flashback query (dbms_flashback.enable) - one can query data as it looked at some point in the past. This feature will allow users to correct wrongly committed transactions without contacting the DBA to do a database restore.
Use Oracle Ultra Search for searching databases, file systems, etc. The UltraSearch crawler fetch data and hand it to Oracle Text to be indexed.
Oracle Nameserver is still available, but deprecate in favour of LDAP Naming (using the Oracle Internet Directory Server). A nameserver proxy is provided for backwards compatibility as pre-8i client cannot resolve names from an LDAP server.
Oracle Parallel Server's (OPS) scalability was improved - now called Real Application Clusters (RAC). Full Cache Fusion implemented. Any application can scale in a database cluster. Applications doesn't need to be cluster aware anymore.
The Oracle Standby DB feature renamed to Oracle Data Guard. New Logical Standby databases replay SQL on standby site allowing the database to be used for normal read write operations. The Data Guard Broker allows single step fail-over when disaster strikes.
Scrolling cursor support. Oracle9i allows fetching backwards in a result set.
Dynamic Memory Management - Buffer Pools and shared pool can be resized on-the-fly. This eliminates the need to restart the database each time parameter changes were made.
On-line table and index reorganization.
VI (Virtual Interface) protocol support, an alternative to TCP/IP, available for use with Oracle Net (SQL*Net). VI provides fast communications between components in a cluster.
Build in XML Developers Kit (XDK). New data types for XML (XMLType), URI's, etc. XML integrated with AQ.
Cost Based Optimizer now also consider memory and CPU, not only disk access cost as before.
PL/SQL programs can be natively compiled to binaries.
Deep data protection - fine grained security and auditing. Put security on DB level. SQL access do not mean unrestricted access.
Resumable backups and statements - suspend statement instead of rolling back immediately.
List partitioning - partitioning on a list of values.
ETL (eXtract, transformation, load) Operations - with external tables and pipelining.
Oracle OLAP - Express functionality included in the DB.
Data Mining - Oracle Darwin's features included in the DB.
Oracle 10g Release 1 (10.1.0) - January 2004
Grid computing - an extension of the clustering feature (Real Application Clusters)
Manageability improvements (self-tuning features)
Performance and scalability improvements
Automated Storage Management (ASM)
Automatic Workload Repository (AWR)
Automatic Database Diagnostic Monitor (ADDM)
Flashback operations available on row, transaction, table or database level
Ability to UNDROP a table using a recycle bin
Ability to rename tablespaces
Ability to transport tablespaces across machine types (E.g Windows to Unix)
New 'drop database' statement
New database scheduler - DBMS_SCHEDULER
DBMS_FILE_TRANSFER Package
Support for bigfile tablespaces that are up to 8 Exabytes in size
Datapump - faster data movement with expdp and impdp
SYSAUX tablespace has been introduced
NID utility has been introduced to change the database name and/or id.
Oracle 10g Release 2 (10.2.0) - September 2005
Transparent Data Encryption
Async COMMITs
The CONNECT ROLE can now only connect (CREATE privs removed)
Passwords for DB Links are encrypted
New asmcmd utility for managing ASM storage
Support for regular expressions in SQL and PL/SQL
Oracle 11g - September 2009
New options: Oracle RAC One Node, solution for consolidating less mission critical databases on the grid with most of the redundancy and availability provided by RAC. An Omotion utility is provided to migrate One Node instances to other nodes in the cluster without any downtime to the application.
New features:
Some of the new features include:
Improved data compression ratios (up to 20x).
Ability to upgrade database applications while users remain online.
New ease-of-use features that make Grid computing more accessible.
Automation of key systems management activities.
希望大家留言提出自己的见解,共同讨论,谢谢!
本文出自 “老徐的私房菜” 博客,谢绝转载!

熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

Video Face Swap
使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

熱工具

記事本++7.3.1
好用且免費的程式碼編輯器

SublimeText3漢化版
中文版,非常好用

禪工作室 13.0.1
強大的PHP整合開發環境

Dreamweaver CS6
視覺化網頁開發工具

SublimeText3 Mac版
神級程式碼編輯軟體(SublimeText3)

oracle查看表屬於哪個表空間的方法:1、使用「SELECT」語句,並透過指定表名來查找指定表所屬的表空間;2、使用Oracle提供的資料庫管理工具來查看表所屬的表空間,這些工具通常提供了圖形介面,使得操作更加直覺和方便;3、在SQL*Plus中,可以透過輸入「DESCRIBEyour_table_name;」命令來查看表所屬的表空間。

如何使用PDO連接到Oracle資料庫概述:PDO(PHPDataObjects)是PHP中一個操作資料庫的擴充庫,它提供了一個統一的API來存取多種類型的資料庫。在本文中,我們將討論如何使用PDO連接到Oracle資料庫,並執行一些常見的資料庫操作。步驟:安裝Oracle資料庫驅動擴充功能在使用PDO連接Oracle資料庫之前,我們需要安裝對應的Oracl

oracle只取一條重複的數據的步驟:1、使用SELECT語句結合GROUP BY和HAVING子句來查找重複數據;2、使用ROWID刪除重複數據,可以確保刪除的是精確的重複數據記錄,或者使用「ROW_NUMBER ()」函數刪除重複數據,這將刪除每組重複資料中的除了第一筆記錄之外的其他記錄;3、使用「select count(*) from」語句傳回刪除記錄數確保結果。

如何使用PHP擴充PDO連接Oracle資料庫導語:PHP是一種非常流行的伺服器端程式語言,而Oracle是一款常用的關係型資料庫管理系統。本文將介紹如何使用PHP擴充PDO(PHPDataObjects)來連接Oracle資料庫。一、安裝PDO_OCI擴充要連接Oracle資料庫,首先需要安裝PDO_OCI擴充。以下是安裝PDO_OCI擴充的步驟:確保

實作PHP和Oracle資料庫的資料匯入在Web開發中,使用PHP作為伺服器端腳本語言可以方便地操作資料庫。 Oracle資料庫作為一種常見的關聯式資料庫管理系統,具備強大的資料儲存與處理能力。本文將介紹如何使用PHP將資料匯入Oracle資料庫中,並給出對應的程式碼範例。首先,我們需要確保已經安裝了PHP和Oracle資料庫,並且已經配置了PHP對Orac

oracle資料庫需要jdk,原因是:1、使用特定的軟體或功能時需要包含在JDK中的其他軟體或函式庫;2、需要安裝Java JDK才能在Oracle資料庫中執行Java程式;3、JDK提供了開發和編譯Java應用程式的功能;4、滿足Oracle對Java函數的要求,以幫助實現和實現特定功能。

oracle查詢表空間大小步驟:1.使用資料庫管理員帳號登入Oracle資料庫;2、使用「SELECT」語句來查看空間清單;3、查詢表空間大小有3種方法:使用dbms_utility包查詢、使用dba_segments視圖查詢、使用dba_data_files檢視查詢;4、使用「DBMS_OUTPUT.PUT_LINE」函數或其他顯示結果的方法來顯示查詢結果。

如何有效率地使用PHP和Oracle資料庫的連接池引言:在開發PHP應用程式時,使用資料庫是不可或缺的一部分。而在與Oracle資料庫互動時,連接池的使用對於提高應用程式的效能和效率至關重要。本文將介紹如何在PHP中有效地使用Oracle資料庫連接池,並提供對應的程式碼範例。一、連接池的概念及優勢連接池是一種管理資料庫連接的技術,它透過事先創建一批連接並維護一個
