I'm trying to understand the index FILLFACTOR parameter on a simple example. I have a table that is generally updated only once in ten days, but the update is quite heavy (requires 5-6 hours).
Now, I tend to drop the index on a column of the table, update the data and then create the index again with FILLFACTOR = 100.
Is that a good practice? I'm not sure about that because I don't understannd the FILLFACTOR concept in general. By default it's 90% and they say that this is needed to perform updates and insertions.
But I tried to create an index with FILLFACTOR = 100 and then update some row and add new one and it executed fine. But I have autovacuum turned off. Running ANALYZE, however required only 3secs.
So, how does the free space left by fillfactor work?
FILLFACTORparameter that is less than default can reduce amount random disk accesses if the table is being update/inserted. Couldn't you give some explanation or reference explaining that. So far, it seems as some magic to me. – St.Antario Oct 19 '15 at 14:13