Any idea why this command takes upwards of 15 minutes to complete?
run "cd #{release_path} && ORACLE_HOME=/home/oracle
RAILS_ENV=production rake db:migrate"
When running it against my local Postgres it completes in a few
seconds or so. Running it against my local Oracle XE takes only
slightly longer. But running it with capistrano over ssh is taking
years away from my life. :(
Thanks,
--
Greg Donald
http://destiney.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
Hi Greg How big is your production database? If you ssh in and run the command by hand is it still slow? If you are changing an existing table against a running app it may be waiting for a lock - this happens with MySQL too. HTH Greg Donald wrote:> Any idea why this command takes upwards of 15 minutes to complete? > > run "cd #{release_path} && ORACLE_HOME=/home/oracle > RAILS_ENV=production rake db:migrate" > > When running it against my local Postgres it completes in a few > seconds or so. Running it against my local Oracle XE takes only > slightly longer. But running it with capistrano over ssh is taking > years away from my life. :( > > > Thanks, > > > -- > Greg Donald > http://destiney.com/--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---