Use ChatGPT to see multiple perspectives. An example: ORMs and database code
Kendra Little's Blog on SQL Server
by
1w ago
There’s a lot of hype, concern, and fear regarding generative AI lately. Tools like ChatGPT are so good at generating groups of words that it feels like magic– however, generative AI doesn’t have the ability to understand or verify the language it generates. For example, it’s been used to write news stories for CNET – but sometimes included facts that are just plain wrong. One positive use case of a generative AI tool like ChatGPT is to ask it to make a case for different perspectives than your own, and use this as a starting point to broaden your understanding – with the knowledge that we nee ..read more
Visit website
3 lessons learned about Azure SQL Database
Kendra Little's Blog on SQL Server
by
3w ago
Hosted cloud databases make a lot of administrative tasks easier, or take care of them for you altogether. But here are three things that I’ve found a little too easy to forget about Azure SQL Database. 1. “Service objective” means “compute size” When I think about service objectives, I tend to assume we’re talking about guaranteed uptime, often expressed in some number of 9’s. But Azure SQL Database has its own language. The best resource I know of to learn that language is the Azure SQL glossary of terms. The glossary defines service objective this way: Compute size (service objective) is ..read more
Visit website
New article on performance tuning with the missing indexes feature in SQL Server
Kendra Little's Blog on SQL Server
by
11M ago
We’ve just published a new article in the SQL docs, Tune nonclustered indexes with missing index suggestions . The article explains what the missing index feature is, limitations of the feature, and how to use missing index DMVs and missing index suggestions in Query Store to tune indexes. Why now? The missing indexes feature has been around in SQL Server since (looks at watch) SQL Server 2005. Seventeen years later, we’ve added a new article on using the feature. Why? Our partners in Microsoft Customer Service and Support let us know that we needed more guidance for customers in the documen ..read more
Visit website
Find query execution timeouts with Query Store
Kendra Little's Blog on SQL Server
by
11M ago
During a discussion of troubleshooting query timeouts in Azure SQL Database recently, I thought – hey, I wonder if you can find queries that timed out in Query Store? Turns out, you can. Query timeout essentials Here are some basics regarding query timeouts for SQL Server, Azure SQL Database, and Azure SQL Managed Instance: Execution timeouts are NOT set or enforced by the database engine. It is happy to wait for your query to run or for your transaction to be open for hours, days, or years, until you commit, cancel, or get disconnected. Timeouts are set by the calling application. If you don ..read more
Visit website
Index design guide updated: index types, B+ trees, and row locators, oh my
Kendra Little's Blog on SQL Server
by
1y ago
We’ve recently updated the SQL Server and Azure SQL index architecture and design guide. This article is an in-depth guide to indexing in databases using the SQL Server engine, including SQL Server, Azure SQL Database, Azure SQL Managed Instance, and Azure Synapse Analytics. Our recent update adds a table to categorize the types of indexes discussed in the article, clarifies B-trees vs B+ trees, and describes how row locators (aka “secret columns”) are used in nonclustered indexes. New table summarizing types of indexes The index architecture and design guide now opens with a table describing ..read more
Visit website
Workers vs. requests in Azure SQL Database
Kendra Little's Blog on SQL Server
by
1y ago
We now explicitly define ‘requests’ and ‘workers’ in the Azure SQL Database documentation, and we’ve cleaned up multiple places where we used to equate the two terms. In this post, I share the history of the two terms when it comes to Azure SQL Database, why the two were ever equated, and why things like this are tricky to change. What we changed The documentation for Azure SQL Database previously contained some statements which equate workers and requests. Notice that this heading equates workers and requests, but the paragraph talks only about worker limits: Sessions and workers (requests ..read more
Visit website
What I Learned While Writing 'Diagnose and troubleshoot high CPU in Azure SQL Database'
Kendra Little's Blog on SQL Server
by
1y ago
Writing helps me learn. In my job as a Content Developer, this is more true than ever: there’s a fantastic group of folks, both in the Database Docs team and in the Microsoft Data Platform engineering team, who review and contribute to content. I’ve just had the pleasure of publishing my first new article in the Microsoft Docs, Diagnose and troubleshoot high CPU on Azure SQL Database. This article isn’t really “mine” – anyone in the community can create a Pull Request to suggest changes, or others at Microsoft may take it in a different direction. But I got to handle the outlining, drafting ..read more
Visit website
Addressing the Rumors that I Have Been Removed from the MVP Program
Kendra Little's Blog on SQL Server
by
1y ago
I’d like to openly and honestly answer the rumors that I have been removed from the Microsoft MVP program. Firstly, it’s true I’ve started a new job at Microsoft. As of Monday, I am now a proud member of the Content Development team which brings you documentation on all things SQL Server and Azure SQL. I will be working with the product team, other Content Developers, and community contributors while focusing on Azure SQL Database. As a Microsoft employee, I’m no longer eligible to be a member of the MVP program. It’s been a privilege to be an MVP, but this was a job I couldn’t resist. I was n ..read more
Visit website
Gotchas with Deferred Name Resolution in SQL Server: Stored Procedures, Synonyms, Views, and Functions
Kendra Little's Blog on SQL Server
by
1y ago
Have you ever tried to create an object in SQL Server, but it failed due to a missing table, column, or other dependency? If so, you’ve hit a case where SQL Server doesn’t offer ‘deferred name resolution’. While these errors can be helpful when you’ve made a typo or accidentally used the wrong database, this can sometimes be a big hassle when you are… Deploying database code to set up a partial environment Deploying database code from version control to an empty database to ensure the code is valid In this post, I walk through common scenarios and test whether deferred name resolution works ..read more
Visit website
Learn Azure SQL with One Free Learning Path
Kendra Little's Blog on SQL Server
by
1y ago
Have you been meaning to learn about SQL Server in the Azure cloud, but never seem to get around to it? It’s easy to be overwhelmed and not know where to begin. I recommend you start with the Azure SQL Fundamentals Learning Path. I stepped through this training this week and WOW, this is an incredibly high quality free course, complete with hands-on exercises in an online sandbox. I wish I’d done this sooner! Top-notch quality I say this is a high quality training because the course explains both general concepts and is also full of specific, useful, current details about Azure SQL. Having wri ..read more
Visit website

Follow Kendra Little's Blog on SQL Server on Feedspot

Continue with Google
OR