The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Speeding up the ibm_db2 adapter

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Leon Katsnelson

Posts: 105
Nickname: db2onrails
Registered: Jun, 2006

Leon Katsnelson is a Program Director at the IBM Toronto Lab working on spreading the joy of DB2.
Speeding up the ibm_db2 adapter Posted: Aug 21, 2006 5:45 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Leon Katsnelson.
Original Post: Speeding up the ibm_db2 adapter
Feed Title: DB2 on Rails
Feed URL: http://db2onrails.com/blog/xml/rss/feed.xml
Feed Description: DB2 on Rails is a blog maintained by the IBM team working on DB2 enablement for Ruby on Rails.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Leon Katsnelson
Latest Posts From DB2 on Rails

Advertisement

If you would like to speed up the current 1.1 version of the adapter included in the Starter Toolkit for DB2 on Rails, you can replace the ‘tables’ and ‘colums’ methods from within the ibm_db2_adapter.rb file, with this code here.

This change will allow you to significantly boost your performance level when working with Rails and DB2. As you may note, the crucial change here relies on the fact that a slow driver call is replaced with ad hoc query to the SYSCAT.

Naturally this will be included with the next toolkit release, which will be out soon. ;-)

Read: Speeding up the ibm_db2 adapter

Topic: Finding primes with Rinda::TupleSpace Previous Topic   Next Topic Topic: Ruby 1.8.5 is Real Close, Here's Preview 4.

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use