r/SQLServer • • Nov 17 '16

[AMA] Microsoft SQL Server - 11/18

Hi Everyone!  

We're from the Microsoft SQL Server Engineering Team and we want you to ask us anything!  

We're posting this a bit early so you can start asking questions - feel free to start asking and we'll start answering Friday 11/18 at 9:30 PDT until 14:00 PDT. We'll have members from the Engineering teams participating in the AMA. This includes folks working on

  • SQL Server Features such as Columnstore, In-Memory OLTP, Row-Level Security, PolyBase, Stretch, or any of the features listed here.

  • Database Tools for Microsoft SQL Server and Azure SQL Database (SSMS, SSDT, SSRS, SSIS, SSAS, SSMA, SQLPS, CLI Tools)

  • Azure Portal for Azure SQL DB, Azure Elastic Database Pools or Azure Virtual Machines with SQL Server

  • R Services for predictive analytics, machine learning, and using scalable R packages with SQL Server technologies

  • Developing with SQL Server using the language of your choice (Examples. Node, Python, Java, etc.) or connecting your app to SQL Server using our drivers (ODBC, JDBC and open source drivers)

  • Migrating or Building Apps and Solutions with SQL Server and the resources we have available to help you get the most out of SQL Server.

  • [SQL Server on Linux] (https://www.microsoft.com/en-us/sql-server/sql-server-vnext-including-Linux)

  • [SQL Server 2016 Service Pack 1] (https://blogs.technet.microsoft.com/dataplatforminsider/2016/11/16/sql-server-2016-service-pack-1-generally-available/)

Here are some question ideas:

  • What’s new in SQL Server Service Pack 1 and SQL Server on Linux?

  • How does your team take the feedback from the community?

  • What tools would I use to migrate my database to SQL Server?

  • What’s a cool trick you don’t think most customers know about?

You can ask us anything about our public products or about the team. If there's a topic that's not listed above, ask it anyways! We'll do our best to answer it. We cannot comment on unreleased features and future plans, though :) Tweet at us with #SQLServer and follow @SQLServer to keep up to speed with what the SQL team is working on. After this AMA, you can also post questions here in reddit or tweet at us any time.

    Update@9:50 PST Hey Everyone! We are starting to answer the questions! Thanks for all the awesome questions so far. keep them coming! :)

    Update@2:15 PST Hey Everyone! Wow. Over 100 questions. Thanks for joining us today and participating in our SQL Server AMA! We're currently wrapping up the AMA, but we will do our best to answer the remaining questions. Going forward, the SQL Server Team will be more active on this subreddit. We're particularly excited to hear what you have to say about SQL Server v.Next!  

Also, tell us what you thought about this AMA Event by taking our survey: https://survey.microsoft.com/211438

67 Upvotes

386 comments sorted by

View all comments

Show parent comments

7

u/sunila-msft Nov 18 '16

(1) Yes, there was some work done there but my recollection is that we could not do 100% of all the checks needed. We do validate checksum as part of database backup. Have you considered using AlwaysON to give you High Availability as well as the ability to offload DBCC and other queries to secondary replica? (2) We are looking into investing in Replication technology. There have been few minor improvements in replication over last couple of releases.

1

u/BananaRepublican73 Nov 18 '16

Thank you for your reply. The issue with using AlwaysOn is exactly the one I raised in my second point. Offloading OLAP queries to a secondary is not an option if those queries rely on change tracking, which is not supported on a secondary replica; many of our OLAP queries do. Also, it's not immediately apparent whether a DBCC check on a replica would indicate a consistency issue on the secondary, or on the primary, which is exactly the same situation we're in now when we check a restored backup.

1

u/SonOfZork Nov 18 '16

Sparse limits, and ghost cleanup make this impractical in many scenarios. Manually managing snapshots and checking small numbers of tables can be problematic. And some tables can grow sufficiently large that you can never get a checktable done on them.

1

u/sunila-msft Nov 19 '16

Sorry, need some clarification. DBCC automatically creates a database snapshot in the background. So I am not clear when you say manually creating a snapshot or ghost cleanup make it impractical? Yes, DBCC on larger table will take longer. I am thinking if we could run DBCC by limiting resources consumed using resource governor? I need to look into that part but not sure if this is something acceptable to you?

1

u/SonOfZork Nov 21 '16

Sparse limitations and large tables make it impossible to run a DBCC on a live system (including AG secondary). There are some tables that are just too large to have it complete before the sparse file overflows and crashes the snapshot. This applies whether performing a manual snapshot, or the system created one. It's a major failing, which means that I can only ever run DBCC on a restore, which reduces my level of comfort somewhat.