I believe I've installed the Windows native(C) bindings for MySQL by
executing 'gem install mysql' and choosing the '1. mysql 2.7.3
(mswin32)' option. However, I'm not sure how to tell if Rails is making
use of this.
I am able to execute "require 'mysql.so'" in irb, so I think the C
bindings are installed properly. However, I expected to see a
difference in performance for my fixture load and I did not. Is there a
definitive way I can tell if these bindings are being used?
I believe I've installed the Windows native(C) bindings for MySQL by
executing 'gem install mysql' and choosing the '1. mysql 2.7.3
(mswin32)' option. However, I'm not sure how to tell if Rails is
making
use of this.
I am able to execute "require 'mysql.so'" in irb, so I think the C
bindings are installed properly. However, I expected to see a
difference in performance for my fixture load and I did not. Is
there a
definitive way I can tell if these bindings are being used?
rails prints a warning message when it uses the pure ruby ones. If you
wanted to be really sure I suppose you could just remove the ruby one
(activerecord/lib/active_record/vendor/mysql.rb). I think performance
differences would be more noticeable when returning large result sets.