Rebuild clustered index online on specific partition

  • Can I rebuild clustered index ONLINE (MS SQL 2017 Developer Edition) for specific partition which is on partitioned table with different filegroups? Selected partition is on read_write filegroup, but there's read_only filegroup too.

    When I try:

    ALTER INDEX PK_INDEXNAME ON TABLE_NAME REBUILD PARTITION=6 WITH (ONLINE=ON)

    it gives me error:

    Msg 1924, Level 16, State 2, Line 35
    Filegroup 'SECONDARY' is read-only.

    I can rebuild index without any problems offline. I've found Microsoft Fix/Resolution page about the same problem on SQL 2014. But they fixed it on CU1.

  • This was removed by the editor as SPAM

  • Thanks for posting your issue and hopefully someone will answer soon.

    This is an automated bump to increase visibility of your question.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply