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

1

u/TheElusiveFox Nov 18 '16

Hi there, Why can't cdc run side by side with InMemory on the same database? is there a plan to allow this in the future? or do we just need to upgrade. (Currently running 2014 instances).

1

u/sunila-msft Nov 18 '16

are you looking to enable CDC on an In-Memory table or a database containing In-Memory tables but use on disk-based tables?

1

u/TheElusiveFox Nov 19 '16

cdc is already enabled on our database for some specific tables, we are looking to convert some (different tables) into In-Memory tables that would live side by side. We know we can do this by having the In-Memory tables live in a separate database, however we are hesitant to go that route for a number of maintenance reasons.

1

u/sunila-msft Nov 19 '16

Sorry, I did not understand the response fully. Are you saying that SQL Server does not support enabling CDC if there are one or more in-memory tables?

1

u/TheElusiveFox Nov 28 '16

I missed this response or I would have replied right away - that is exactly what I am saying.

https://msdn.microsoft.com/en-CA/library/dn133181.aspx search Change Data Capture - cdc and In Memory OLTP cannot be enabled at the same time on the same database. Simply trying at least in 2014 gives you an error and tells you to disable whichever one is enabled. I will admit I haven't tried on 2016 at least not since one of the early public releases...

1

u/josdebruijn Nov 18 '16

This is also not supported in SQL2016. The main reason is that CDC introduces DDL triggers, and In-Memory OLTP objects do not work with DDL. This would mean you could not perform any DDL on In-Memory OLTP objects once CDC is enabled on the DB. I don't have a timeline for this. Connect item with votes would help to prioritize.