Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9280999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T18:00:43+00:00 2026-06-18T18:00:43+00:00

I have a PostgreSQL 9.1 db running on Amazon EC2/EBS. The database has started

  • 0

I have a PostgreSQL 9.1 db running on Amazon EC2/EBS. The database has started to slow down. We have one table with 1m records that appears to be slowing everything down. When looking at the Postgres config we noticed the autovacuum setting was commented out.

What’s the right way to approach this problem? Should autovacuum be set to on? Should we have some cron that autovacuums on a set interval? How does one know if a database should be vacuumed?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T18:00:44+00:00Added an answer on June 18, 2026 at 6:00 pm
    1. Turn autovacuum on
    2. Run, from psql: VACUUM VERBOSE ANALYZE the table. And read the output.

    Generally speaking – you want autovacuum on, and occasionally you might want to run VACUUM manually, if you’ll notice anything wrong.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two PostgreSQL 9 servers running on Amazon EC2. One is the master,
I have postgres database running on Amazon EC2 instance. I have few tablespaces created
I have one postgresql table where I store some stories from different sites. At
Background: I have a PostgreSQL (v8.3) database that is heavily optimized for OLTP. I
I have a table I'm working on that has around 3 million tuples. It
I've created an Amazon EC2 AMI running CentOS Linux 5.5 and PostgreSQL 8.4. I'd
our Amazon EBS backed instance has slowed down considerably (maybe shifted physical host?). I've
I currently have a PostgreSQL database, because one of the pieces of software we're
I have a java app and postgresql database to go with it that is
I have a table in PostgreSQL that I need read into memory. It is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.