I have recently experienced a strange issue with one of our sql server staging databases, whereby the transaction log and log backups suddenly grew around a hundredfold in size, causing a disk space issue within the space of a couple of hours.
The server is SQL2019 and the database uses FULL logg...
Let me know if this is a stupid question, a Post-worthy question, or I'm just crazy. But does SQL Server ever re-write the actual query text of a query when it generates an execution plan? Particularly I'm seeing this around a reference to a temp table in a stored procedure. The StatementText in the plan shows a MAXDOP hint, and the procedure definitely doesn't use one.
Heh, I found a way to re-architect our SQL Server stack (infrastructurely) so that the same licensing costs we were already paying, for the most part, stay the same and we end up with unlimited Enterprise instances. So that's coolio.
Btw, that's interesting that the MAXDOP 1 limit is exposed in the statement text. I would've figured it would've been a more lower level lever that Microsoft would've kept hidden from the developers eyes.
@ErikReasonableRatesDarling yuppers. License the entire OSE and get real dedicated cores for our SQL Server instances instead of sharing with other non-SQL Server servers, and only getting vCores, all for the same licensing costs. Win-win.
In my experience with data, unless measures are taken, ETL processes update a lot of rows to sync targets with sources. In most cases, there is no change. To keep syncing as light as possible, we come up with tricks to reduce the scope of updates. Is there a way for a table to take care of this a...
@PaulWhite Yea, Erik is right, Operating System Environment. In the context of SQL Server licensing, I guess it's a generic enough term to mean you can choose to license your SQL Server instance within the environment of the VM's OS (if you're using virtualization) or at the entire server / cluster / host level instead. At least that's the gist of what my dolphin-sized brain comprehends.
standard edition is per vm, but you only have to pay for cores assigned to the vm. enterprise edition you license all of the vm host cores, and can have as many instances running on it as you want.
from there it largely becomes a game of resource distribution
@ErikReasonableRatesDarling I think you have the option to license all of the host cores or just the VM, with Enterprise Edition. But I could be mistaken, the licensing docs I read a few months ago have already gone out my brain.
@ErikReasonableRatesDarling Yea, we were previously mashing up application servers with the SQL Servers on the same host, and sharing vCores, and all that fun stuff. No mas.
@J.D. Now, imagine if you will, some nice 6th gen Xeons with tons of memory and TB of local gen 5 NVMe, hitting 100's of GB/sec throughput with latency under 1ms.
Imagine it at a fraction of the cost of a SAN
and a fraction of a fraction of a fraction of cloud
I don't even understand how cloud is an option for anybody. I was looking at the top end of the Gen Purpose tier in Azure recently and the IOPs those drives pump out are like 1/5 of an SSD I can go pickup at BestBuy today. That was their best in the Gen Purpose tier, like wtf.