switch operation in data partitioning

  • How switch operation works in data partitioning internally.is it logical or physical operation.can it be done online.

  • It's a logical operation, which makes it so fast.

    More info:

    How To Decide if You Should Use Table Partitioning[/url]

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • can you please explain what is logical operation in switching.Is it an online operation.

  • What do you mean exactly by 'online operation'? What do you categorise as a 'logical operation' and a 'physical operation'?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • What I meant that does data physically move when we do switch operation.How switch operation work I wnated to know.can we do it when database is online???;-)

  • Well, you can't do any operations at all to an offline database, so yes, you can switch with the database online (no other way)

    No, the rows are not physically moved.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 6 posts - 1 through 5 (of 5 total)

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