database cluster - PostgreSQL - Clustering never completes - long key? -


i having problems clustering table key consists of 1 char(23) field , 2 timestamp fields. char(23) field contains alpha-numeric values. clustering operation never finishes. have let run 24 hours , still did not finish.

has run kind of problem before? theory reason long key field makes sense? have dealt larger tables not have long keys , have been able perform db operations on them without problem. makes me think might have size of key in case.

cluster rewrites table must wait on locks. possible never getting lock needs. why setting varchar(64000)? why not unrestricted varchar? , how big index?

if size problem has based on index size not key size. don't know effect of toasted key attributes on cluster because these moved extended storage. toast might complicate cluster , have never heard of clustering on toasted attribute. wouldn't make sense so. toasting necessary attribute more 4k in size.

a better option create index values without possibly toasted value, , cluster on that. should give close you'd otherwise.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -