Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Sql Server Table Partitioning

Sql Server Table Partitioning

Scheduled Pinned Locked Moved Database
questiondatabasesql-serversysadminhelp
10 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    countmein
    wrote on last edited by
    #1

    Hi, Good morning. Would you please shed some light on the question I have on partitioning a table? I have a table with a size of 1.2 GB with 3.7 million rows. My question is whether it is a candidate for partitioning it? I thank you in advance for your help. Have a nice day. Regards.

    B D L J 4 Replies Last reply
    0
    • C countmein

      Hi, Good morning. Would you please shed some light on the question I have on partitioning a table? I have a table with a size of 1.2 GB with 3.7 million rows. My question is whether it is a candidate for partitioning it? I thank you in advance for your help. Have a nice day. Regards.

      B Offline
      B Offline
      Blue_Boy
      wrote on last edited by
      #2

      What do you mean by partitioning a table? Filtering,sorting?


      I Love T-SQL "VB.NET is developed with C#.NET" If my post helps you kindly save my time by voting my post.

      L 1 Reply Last reply
      0
      • C countmein

        Hi, Good morning. Would you please shed some light on the question I have on partitioning a table? I have a table with a size of 1.2 GB with 3.7 million rows. My question is whether it is a candidate for partitioning it? I thank you in advance for your help. Have a nice day. Regards.

        D Offline
        D Offline
        David Mujica
        wrote on last edited by
        #3

        Read this article from Microsoft ... http://technet.microsoft.com/en-us/library/dd578580(SQL.100).aspx[^]

        C 1 Reply Last reply
        0
        • B Blue_Boy

          What do you mean by partitioning a table? Filtering,sorting?


          I Love T-SQL "VB.NET is developed with C#.NET" If my post helps you kindly save my time by voting my post.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Partitioning. Comes in horizontal and vertical flavors; the act of splitting a table over multiple files.

          Bastard Programmer from Hell :suss:

          1 Reply Last reply
          0
          • C countmein

            Hi, Good morning. Would you please shed some light on the question I have on partitioning a table? I have a table with a size of 1.2 GB with 3.7 million rows. My question is whether it is a candidate for partitioning it? I thank you in advance for your help. Have a nice day. Regards.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            countmein wrote:

            My question is whether it is a candidate for partitioning it?

            Yes, it is.

            Bastard Programmer from Hell :suss:

            C 1 Reply Last reply
            0
            • C countmein

              Hi, Good morning. Would you please shed some light on the question I have on partitioning a table? I have a table with a size of 1.2 GB with 3.7 million rows. My question is whether it is a candidate for partitioning it? I thank you in advance for your help. Have a nice day. Regards.

              J Offline
              J Offline
              Jorgen Andersson
              wrote on last edited by
              #6

              Do you have an obvious partitioning column?

              List of common misconceptions

              C 1 Reply Last reply
              0
              • J Jorgen Andersson

                Do you have an obvious partitioning column?

                List of common misconceptions

                C Offline
                C Offline
                countmein
                wrote on last edited by
                #7

                Thank you for your replies. Yes, I do have a column(primary key) that starts from 1 and automatically generated by adding 1.

                J 1 Reply Last reply
                0
                • D David Mujica

                  Read this article from Microsoft ... http://technet.microsoft.com/en-us/library/dd578580(SQL.100).aspx[^]

                  C Offline
                  C Offline
                  countmein
                  wrote on last edited by
                  #8

                  Thank you for your help.

                  1 Reply Last reply
                  0
                  • L Lost User

                    countmein wrote:

                    My question is whether it is a candidate for partitioning it?

                    Yes, it is.

                    Bastard Programmer from Hell :suss:

                    C Offline
                    C Offline
                    countmein
                    wrote on last edited by
                    #9

                    Thank you for your help.

                    1 Reply Last reply
                    0
                    • C countmein

                      Thank you for your replies. Yes, I do have a column(primary key) that starts from 1 and automatically generated by adding 1.

                      J Offline
                      J Offline
                      Jorgen Andersson
                      wrote on last edited by
                      #10

                      That's not really the best partitioning column. What you want is to partition the table so that queries is only fetching or inserting data to and from one partition at a time, if possible. For example, If you want to partition a sales table, the date column would normally be a good choice. Most updates, inserts and queries would be done on the current year partition.

                      List of common misconceptions

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups