Tricks for tracking df application progress?

Posted by James Palmer on 13-Dec-2015 15:58

11.5.1 on Win 2012 R2. 

Colleague is applying a df to live. It's purely an index add to a large table. Is there any way we can track progress of this as it's taking an absolute age to apply. 

Thanks. 

All Replies

Posted by Rob Fitzpatrick on 13-Dec-2015 16:01

If you know how many records there are, from a recent dbanalys, compare that to the index creates in _IndexStat.

Posted by James Palmer on 13-Dec-2015 16:21

Unfortunately with the schema locked I can't get access to the database to read the _IndexStat table.

Posted by James Palmer on 13-Dec-2015 16:23

Ah I've found a promon screen with Index Creates.

Posted by James Palmer on 13-Dec-2015 16:27

Thanks for that Rob. Shows it's still working, and suggests it's almost there.

Posted by Thomas Mercer-Hursh on 13-Dec-2015 16:38

Given the time, I'll bet you are ready for it to be done!

Posted by James Palmer on 13-Dec-2015 16:42

Yup been running for 9 hours apparently.

Posted by Dmitri Levin on 14-Dec-2015 08:41

Since it is version 11.5 and if you have partitioning license you could have added index inactive and then rebuild it online. Then the question "How long?"  will be much less important.

Posted by James Palmer on 15-Dec-2015 09:20

Thanks Dmitri. We don't have a partitioning license, but we should still be adding the index inactive and building offline. This index too 20 minutes with that approach on a USB drive. We need to change our processes to do this.

Posted by cverbiest on 15-Dec-2015 09:36

I don't think you need partitioning license

It's not on progress.my.salesforce.com/.../P122980

and  neither progress.my.salesforce.com/.../P149661 nor progress.my.salesforce.com/.../Can-indexes-be-built-online-000060410 mention license requirements.

Posted by Rob Fitzpatrick on 15-Dec-2015 11:22

> I don't think you need partitioning license

He isn't referring to idxactivate, but rather a new capability with the Table Partitioning product that lets you do idxbuild online for partitioned tables.  Refer to proutil tpidxbuild qualifier in the docs for details.

This thread is closed