Closed Bug 841905 Opened 13 years ago Closed 13 years ago

ANALYZE runs for master02 db post failover/restart

Categories

(Socorro :: Database, task)

x86_64
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: selenamarie, Assigned: selenamarie)

Details

Attachments

(4 files)

Tables need ANALYZE data in order to get good planner estimates. These values get reset when the database is brought up from a replica. I'm scheduling some ANALYZEing for the weekend to make queries happier.
Attached file Analyze script
Installed cron to run analyze on partitioned tables tomorrow: [postgres@tp-socorro01-master02 ~]$ crontab -l 0 0 * * 6 /var/lib/pgsql/bin/analyze_partitioned.sh /var/lib/pgsql/bin/partitioned-tables-test 1 > /var/lib/pgsql/analyze.log 2>&1
Status: NEW → ASSIGNED
Went well! Only took about 15 minutes.
Assignee: nobody → sdeckelmann
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: