显示标签为“Oracle”的博文。显示所有博文
显示标签为“Oracle”的博文。显示所有博文

5/23/2007

using SSD instead of platter disks

I believe in near future there will be a big change on the storage system। SSD will be the current. What would it bring to us DBers? here's a letter from oracle newsletter:

"Donald K.urleson"




Using tiny data buffers with solid-state disks

When using SSD instead of platter disks, the Oracle architecture changes radically, and we have two options:

Option 1: Large RAM data buffers, solid-state disk files (SSD)

In this option we have higher overhead within Oracle, as he tries to manage the heap to reduce I/O, which is now a negligible time expense (RAM-to-RAM data transfer is very fast).

Option 2: Small RAM data buffers with solid-state disk files (SSD)

In this option we force a read from SSD into a tiny data buffer. The overhead of the repeated loads is negligible, and we have spaced Oracle from having to manage a giant db_cache_size.

SSD has the same super-fast access speeds, plus it backs-up to disk without effecting performance (SSD has much higher I/O bandwidth than disk). Bandwidth is very important today, especially with the current plague of super-large disks. Disk bandwith is more important than RAM speed, which has been relatively "flat" for the past 30 years, while everything else (disk, network, CPU) sees radically improved speed every year.

Today, many Oracle database have shifted from being I/O bound (a 32-bit RAM constraint) to CPU bound (data buffer gets drive-up CPU consumption. This I/O shift led Oracle to make the great change to the cost-based SQL optimizer. Traditionally, the decision trees were built from estimated I/O costs, and this default change in 10g such that the SQL optimizer (the CBO) build his decision tree values based on estimated CPU costs. (This is why Oracle shops that are not 64-bit (I/O bound) will want to change the costing back to the earlier value of "_optimizer_cost_model"=io.

The only reason for having a data buffer cache is to reduce the probability of having to re-read the data block repeatedly from disk. When we have no more disk, the data buffer becomes redundant.

It would not surprise me if a future release of Oracle allowed for solid-state disks and removed the data buffer cache, but for now, the SSD block must be transferred into the data buffer to allow Oracle to manage the locks required for integrity and read consistency.

If we think of the data buffer as nothing more than a place for Oracle to set locks, then we can understand why a smaller data buffer has faster performance. If we have duplicitous RAM (once on the SSD and yet again in db_cache_size), then we see higher management overhead from Oracle:

Large data buffers take more time for standard management tasks (i.e. DBWR), and in many cases, smaller is better.

Read more about Oracle SSD tuning as this article continues:

http://oracle-tips.c.topica.com/maafS19abwE3mbIGPSxb/

3/25/2007

about DB2 HACMP/HADR/CAS VS. Oracle RAC

I like what Oracle RAC delivers, it's very appealing। ,But,You know, everything has its shortcomings, though sounds perfect।

"RAC provides transparent application failover for reads (if you use Transparent Application Failover and their thick JDBC client), but not for writes."।

DB2 CAS can avoid this by serving with buffering with SQL in CAS server and utilize two or more same databases... I know DB2 CAS will be very new to the majority, but it is. I think it's the real one(from IBM) can be compete to Oracle RAC. more, since CAS is seperated from databases, so it can be configured in various way. It also can support websphere HA.

3/24/2007

Oracle锁与DB2锁的比较

前几天,有个做BOSS的朋友问起这个问题,说DB2的锁机制用起来很不习惯。因为Oracle现在主要在操作型系统中应用比较多,对高并发度上要求很高。据我了解,在国内还没有在电信业务支撑系统上使用DB2数据库的,是不是DB2做不到高并发度呢?
我们就从锁出发,请大家各抒己见,比较一下两者的区别。:)

3/17/2007

吵吵吵,DB2 VS Oracle

http://blogs.ittoolbox.com/oracle/guide/archives/ibm-up-to-their-same-old-whining-and-inventing-their-own-truth-again-१४४९८
接着我前面提到过的那份竞争性文档, 两个大牛继续开战...

Oracle
Lewis Cunningham is an Oracle Ace, a soon-to-be author and a Database Architect for a Business Intelligence Software company in the airline, travel agency and travel related industries. He currently works as an architect designing and building large-scale analytical and BI databases using Oracle 10g.

IBM
Chris Eaton is a Senior Product Manager for DB2 at IBM primarily focused on planning and strategy for DB2 on Linux, UNIX and Windows। Chris has been working with DB2 on the LUW platforms for over 15 years. From customer support to development manager to Externals Architect and now as Product Manager for DB2, Chris has spent his career listening to customers and working to make DB2 a better product.

Oracle and Hyperion

http://www.oracle.com/hyperion/index.html

最近太封闭,这样的事情居然没注意... 从中立的立场来看,强赞Oracle这笔收购, 尤其是考虑到IBM和Hyperion已经合作了这么多年...

"On March 1, Oracle announced our plan to buy Hyperion, a leading provider of performance management software. The transaction extends Oracle's business intelligence capabilities to offer the most comprehensive system for enterprise performance management. We expect the transaction to close in April 2007, subject to regulatory and other approvals. Until the deal closes, each company will continue to operate independently, and it is business as usual."