0

I am optimizing Postgres with Ruby on Rails. For last few days I am finding that my site is loading slowly. Application is using different queries with join of 3-4 tables to fetch the data.

Could you help me what I need to do to improve the performance of the application at database level?

1
  • Your question is quite generic, so I wouldn't hope for really helpful answers. Personally I got a lot from reading the two books "Enterprise Rails" and "PostgreSQL 9.0 High Performance". Commented Nov 1, 2013 at 13:57

1 Answer 1

1

Have a look here. You need to capture and look at all the activity and go from there. The link below provides a open source tool to do that.

http://dalibo.github.io/pgbadger/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.