Geoff Patterson

My feedback

  1. 6 votes
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)

      We’ll send you updates on this idea

      0 comments  ·  SQL Server » Bugs  ·  Flag idea as inappropriate…  ·  Admin →
      Geoff Patterson shared this idea  · 
    • 2 votes
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)

        We’ll send you updates on this idea

        0 comments  ·  SQL Server » Bugs  ·  Flag idea as inappropriate…  ·  Admin →
        Geoff Patterson shared this idea  · 
      • 3 votes
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)

          We’ll send you updates on this idea

          2 comments  ·  SQL Server » Bugs  ·  Flag idea as inappropriate…  ·  Admin →

          Upvotes: 125

          <=-=Aug 10 2007 9:17PM=-=>

          Hi Microsoft, please confirm this optimizer problem by running the scripts, it is self evident and can be optimised significantly better.

          Eg. For a minimum, the optimal plan is to obtain the minimum for each partition using the index and then taking the minimum of all the (partition) results. The same principle can apply to maximum, and for Top N over an index …

          The plan should stand out as optimal, because the number of reads over the index is very small, and there will be one set of page reads (usually only one page) for each partition…. you can use the assumption that the number of partitions is significantly smaller than the number of rows (or even count the number of partitions), to estimate the cost (page reads) – which comes out at about N pages where N is the number of partitions.…

          Geoff Patterson supported this idea  · 
        • 11 votes
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            Signed in as (Sign out)

            We’ll send you updates on this idea

            0 comments  ·  SQL Server » Bugs  ·  Flag idea as inappropriate…  ·  Admin →
            Geoff Patterson supported this idea  · 
          • 3 votes
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)

              We’ll send you updates on this idea

              0 comments  ·  SQL Server » Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
              Geoff Patterson supported this idea  · 
            • 8 votes
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)

                We’ll send you updates on this idea

                1 comment  ·  SQL Server » Bugs  ·  Flag idea as inappropriate…  ·  Admin →
                Geoff Patterson supported this idea  · 
              • 8 votes
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  Signed in as (Sign out)

                  We’ll send you updates on this idea

                  0 comments  ·  SQL Server » Bugs  ·  Flag idea as inappropriate…  ·  Admin →
                  Geoff Patterson shared this idea  · 
                • 12 votes
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    Signed in as (Sign out)

                    We’ll send you updates on this idea

                    0 comments  ·  SQL Server » Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                    Geoff Patterson supported this idea  · 
                  • 6 votes
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      Signed in as (Sign out)

                      We’ll send you updates on this idea

                      0 comments  ·  SQL Server » Bugs  ·  Flag idea as inappropriate…  ·  Admin →
                      Geoff Patterson supported this idea  · 
                    • 17 votes
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        Signed in as (Sign out)

                        We’ll send you updates on this idea

                        2 comments  ·  SQL Server » Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

                        Upvotes: 47

                        <=-=Jul 3 2014 10:03AM=-=>

                        This would definitely be a good build. I walked through an initial investigation of clustered columnstore on one of our data sets, and the number of reads was reduced by about 80% for some queries in the workload once I started paying careful attention to segments and loading data in a single-threaded manner to optimize segment elimination. However, this results in slower loading of data, and it would be great to be able to create columnstore indexes in order for segment elimination.

                        Having an optional ORDER BY clause for the columnstore initial creation, removing the need to first create a clustered index in order to control order and allowing parallelism without breaking order, would be particularly powerful.

                        <=-=Jul 3 2014 10:30AM=-=>

                        Neugebauer: thanks. you identified the issue correctly. This is something we are actively looking. One question
                        (1) once the index is build, the…

                        Geoff Patterson supported this idea  · 
                      • 9 votes
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          Signed in as (Sign out)

                          We’ll send you updates on this idea

                          under review  ·  3 comments  ·  SQL Server » Bugs  ·  Flag idea as inappropriate…  ·  Admin →
                          Geoff Patterson commented  · 

                          We hit a similar problem with OPENJSON, Erik. Both your reproduction and ours appear to be fixed in the current private preview of vNext. Paul's reproduction still hits the intra-query deadlock, however.

                          Geoff Patterson supported this idea  · 
                        • 16 votes
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            Signed in as (Sign out)

                            We’ll send you updates on this idea

                            1 comment  ·  SQL Server » Bugs  ·  Flag idea as inappropriate…  ·  Admin →
                            Geoff Patterson supported this idea  · 
                          • 331 votes
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              Signed in as (Sign out)

                              We’ll send you updates on this idea

                              15 comments  ·  SQL Server » Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                              Geoff Patterson supported this idea  · 
                            • 8 votes
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                Signed in as (Sign out)

                                We’ll send you updates on this idea

                                under review  ·  0 comments  ·  SQL Server » Bugs  ·  Flag idea as inappropriate…  ·  Admin →
                                Geoff Patterson supported this idea  · 
                              • 19 votes
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  Signed in as (Sign out)

                                  We’ll send you updates on this idea

                                  under review  ·  0 comments  ·  SQL Server » Bugs  ·  Flag idea as inappropriate…  ·  Admin →
                                  Geoff Patterson supported this idea  · 
                                • 70 votes
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    Signed in as (Sign out)

                                    We’ll send you updates on this idea

                                    4 comments  ·  SQL Server » Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

                                    Object Explorer doesn’t populate the entire tree in memory, unlike visual studio’s solution explorer. It wouldn’t know if database “MyDatabase” existed until you expanded the Databases node.
                                    There are third party plugins that provide this type of functionality, I believe, by downloading a bunch of data in the background and exposing a search.

                                    Geoff Patterson supported this idea  · 
                                  • 43 votes
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      Signed in as (Sign out)

                                      We’ll send you updates on this idea

                                      under review  ·  0 comments  ·  SQL Server » Bugs  ·  Flag idea as inappropriate…  ·  Admin →
                                      Geoff Patterson supported this idea  · 
                                    • 97 votes
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        Signed in as (Sign out)

                                        We’ll send you updates on this idea

                                        1 comment  ·  SQL Server » Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

                                        Upvotes: 278

                                        <=-=Feb 1 2008 7:18PM=-=>

                                        Thanks for the valuable suggestion.

                                        This seems more like adding the sequence support which we’re seriously considering for the next major release.

                                        Meanwhile, would using identity column help?

                                        <=-=Feb 2 2008 2:11AM=-=>

                                        It does not seem that you understood the request. This definitely has nothing to do with
                                        IDENTITY. I am less versed about sequences, but I don’t think they will cut it either. If you think
                                        it does, maybe you could provide an example? Take this problem: For the Orders table in
                                        Northwind, write a query that lists the number of orders for all days in 1997. The result set should
                                        include all 365 days, and list zero for days without a number.

                                        This is a typical problem where you need a table of of numbers (or dates). While it’s easy to
                                        create such a table, I argue in this request that…

                                        Geoff Patterson supported this idea  · 
                                      • 28 votes
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          Signed in as (Sign out)

                                          We’ll send you updates on this idea

                                          under review  ·  1 comment  ·  SQL Server » Bugs  ·  Flag idea as inappropriate…  ·  Admin →
                                          Geoff Patterson supported this idea  · 
                                        • 290 votes
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            Signed in as (Sign out)

                                            We’ll send you updates on this idea

                                            9 comments  ·  SQL Server » Suggestions  ·  Flag idea as inappropriate…  ·  Admin →
                                            Geoff Patterson supported this idea  · 
                                          ← Previous 1

                                          Feedback and Knowledge Base