Open Storage S7000 with Exadata? a good fit ETL/ELT operations.
I have worked on Exadata V2 performance projects with [URL="http://kevinclosson.wordpress.com"]Kevin Closson[/URL] for nearly a year now and have had the opportunity to evaluate multiple methods of loading data into a data warehouse. The most common, and by far the fastest method, involves the use of “External Tables”. External tables allow the user to define a table object made up of text files that live on a file system. * Using External Tables allows for standard SQL parallel query operations to be used to load data into permanent database tables.
SQL> alter session enable parallel dml ;SQL> insert /*+ APPEND */ into mytable select * from ext_tab ;With the size and power of Exadata, businesses are creating larger and larger data warehouses. There will often be dozens of machines that collect and stage data for ingest by the data warehouse.* So this means the staging area for these flat-files must be huge, real fast, and accessible from multiple networks.
[B][B]What options are available for staging input files?
With Exadata V2, or any RAC environment, flat-file data has to be present on all nodes in order to fully utilize parallel query.* The natural first choice with Exadata V2 is to use DBFS.
DBFS comes with Exadata and allows for easy clustering across all Exadata database nodes.* The real data store for DBFS are database tables residing on a tablespace within the database machine.* The DBFS client program is then used to mount the DBFS filesystem such that they appear to the Linux user to be just another file system.* This allows for file system data to be managed just like any other database while using the full power of Exadata.* DBFS is quite fast and works well for housing external tables, but it does cut down on the storage available for the data warehouse.* Also, since DBFS is simply a client on an Exadata database node, it uses CPU resources on the database machine to initially transfer or create the flat files.
[B]Open Storage S7000 a natural staging area for Exadata[/B]
If you want to extend the amount of storage to stage data for your warehouse, then the [URL="http://www.oracle.com/us/products/servers-storage/storage/open-storage/031680.htm"]S7000[/URL] is an excellent choice.* The S7000 can stage files off traditional networks using 1gigE and 10gigE connections.* This allows for multiple machines to seamlessly connect to the S7000 in-order to stage data for ingest.* This activity has no effect on the Exadata users since the S7000 is a self contained storage server – unlike DBFS that uses CPU cycles from the database grid to manage and store the flat-file data.
Once the data is on the S7000, we can use IPoIB and connect directly into the high-bandwidth Infiniband network that is part of Exadata V2.* This allows the S7000 to be positioned neatly between Exadata and the traditional gigE networks.
[B]what about performance?[/B]
As part of a larger project, I was able to run a quick test.* I had the following:
[LIST][*]S7410 with 12 drives[*]128 x 1GB files on a share[*]8 db nodes active (x4170) with the share mounted on all nodes.[/LIST]I created an external table across all the files and performed two tests:
[LIST=1][*][B]Select count(*). [/B]SQL> select count(*) from ext_tab;[*][B]Insert as Select “IAS”[/B]SQL> alter session enable parallel dml ;SQL> insert /*+APPEND */ into mytable select * from ext_tab;[/LIST]Both when querying and loading data with “IAS”, I was able to get [B]1.2GB/sec[/B] throughput as I saw with my earlier [URL="http://glennfawcett.wordpress.com/2009/12/17/kernel-nfs-fights-back-oracle-throughput-matches-direct-nfs-with-latest-solaris-improvements/"]tests[/URL] with S7000 and 10gigE.* That is over [B]4TB/hr[/B] with just one head node for the S7410.* With a clustered configuration and multiple mount points, the load rate could be increased even further.
The Sun Open Storage S7410 server is an excellent choice for managing file system data.* With the ability to connect to multiple networks, it is a perfect fit to stage data for ingestion in Exadata environments as well.
Filed under: [URL="http://glennfawcett.wordpress.com/category/exadata/"]Exadata[/URL], [URL="http://glennfawcett.wordpress.com/category/oracle/"]Oracle[/URL], [URL="http://glennfawcett.wordpress.com/category/storage/"]Storage[/URL] [URL="http://feeds.wordpress.com/1.0/gocomments/glennfawcett.wordpress.com/194/"][IMG]http://feeds.wordpress.com/1.0/comments/glennfawcett.wordpress.com/194/[/IMG][/URL] [URL="http://feeds.wordpress.com/1.0/godelicious/glennfawcett.wordpress.com/194/"][IMG]http://feeds.wordpress.com/1.0/delicious/glennfawcett.wordpress.com/194/[/IMG][/URL] [URL="http://feeds.wordpress.com/1.0/gostumble/glennfawcett.wordpress.com/194/"][IMG]http://feeds.wordpress.com/1.0/stumble/glennfawcett.wordpress.com/194/[/IMG][/URL] [URL="http://feeds.wordpress.com/1.0/godigg/glennfawcett.wordpress.com/194/"][IMG]http://feeds.wordpress.com/1.0/digg/glennfawcett.wordpress.com/194/[/IMG][/URL] [URL="http://feeds.wordpress.com/1.0/goreddit/glennfawcett.wordpress.com/194/"][IMG]http://feeds.wordpress.com/1.0/reddit/glennfawcett.wordpress.com/194/[/IMG][/URL] [IMG]http://stats.wordpress.com/b.gif?host=glennfawcett.wordpress.com&blog=10292244&post=194&subd=glennfawcett&ref=&feed=1[/IMG]
[url=http://glennfawcett.wordpress.com/2010/06/08/open-storage-s7000-with-exadata-a-good-fit-etlelt-operations/]Read More about [Open Storage S7000 with Exadata? a good fit ETL/ELT operations....[/url]