Re: Heroku console crashing

2010-08-02 Thread Mike
Wow, thanks, that sql console looks amazing! How come Heroku doesn't fold this into its official tools? Regarding using db:pull, maintenance, followed by db:push, that technique was extremely troublesome for me in the past, probably because my database is big, around 5 GB. When uploading on db:pus

Re: Heroku console crashing

2010-08-02 Thread Oren Teich
Also check out http://github.com/ddollar/heroku-sql-console On Mon, Aug 2, 2010 at 9:15 AM, Jonathan wrote: > Running database transactions through this remote console setup is > iffy...  It might work better to do a db:pull (ideally of just the > tables you want to change), do the database maint

Re: Heroku console crashing

2010-08-02 Thread Jonathan
Running database transactions through this remote console setup is iffy... It might work better to do a db:pull (ideally of just the tables you want to change), do the database maintenance locally, and then push the updated tables. You can put the site into maintenance mode while you do this, if

Re: Heroku console crashing

2010-08-01 Thread Oren Teich
That's how Heroku works - http://docs.heroku.com/performance#request-timeout. A console command is treated identically to a HTTP request. Oren On Sun, Aug 1, 2010 at 6:57 PM, Mike wrote: > Okay, actually fixed this, sort of, by updating my heroku gem. > > Now it now longer crashes and just quit

Re: Heroku console crashing

2010-08-01 Thread Mike
Okay, actually fixed this, sort of, by updating my heroku gem. Now it now longer crashes and just quits the console and tells me that it's timed out and I should run it as a rake task instead of from the console. Overall behavior seems to be the same still, with the request continuing to run on t

Heroku console crashing

2010-08-01 Thread Mike
I'm updating some data in my database, and running them through the Heroku console since we have no direct database access. I'm calling this like so: ActiveRecord::Base.connection.execute "MY SQL COMMAND;" The command takes about 5-10 minutes to run. Every time I run it, it's causing the console