Viewing 15 posts - 1 through 15 (of 1,226 total)
Thank you, this is helpful information. If the data values of a column are more evenly distributed then the idea is that the three plans will be similar if not...
September 19, 2025 at 4:39 am
You posted "After you create the Availability Group, SQL Server automatically adds two additional system databases—SQLAG-2022_master and SQLAG-2022_msdb". However, in the picture the new system databases are not in the...
September 1, 2025 at 8:52 am
Here is an illustration of the basic commands, from here you can learn what each means. You probably will only need to use a few.
August 29, 2025 at 7:51 pm
Thank you for the informative article. I think a diagram of the work flow would provide a better understanding.
August 29, 2025 at 7:43 pm
I would guess the answer lies in upgrading the design of the database so less of the values you are after need to be calculated with an inner select that...
August 14, 2025 at 7:21 pm
It would be good to see the actual SELECT from that table. As mentioned before there could be function(s) there. Another possibility is a cartersian join.
August 14, 2025 at 7:16 pm
"The maintenance installation script that creates all of the stored procedures is over 9000 lines. I am not going to spend the hours reviewing that "
I dont review the 9000 lines...
August 14, 2025 at 5:18 am
Thank you for taking the time to experiment and share your findings. This is important to note. I wonder though, if you would temporary switch the recovery_model to bulk_insert ,...
July 21, 2025 at 5:14 am
"determine whether the query optimizer chose to use a primary key index"
The execution plan will definitely provide that information. However so would sys.dm_db_index_usage_stats in controlled cases where you know...
July 10, 2025 at 7:18 am
The functions look quite standard. I could port these from SQL Server (not sure about the agg function though).
July 10, 2025 at 7:01 am
"Data Integrity:
Is data transferred reliably?
Are full and incremental loads supported?
Finally, does the tool validate post-migration data for consistency?"
June 21, 2025 at 12:10 am
I may be mistaken as I have not tested this out
INSERT INTO @Hierarchy
SELECT
h.ID
, h.ParentID
, h.Name
, @Level + 1
FROM
HierarchyBig h
INNER JOIN @Hierarchy t
ON h.ParentID = t.ID;
For this and the temp table,...
May 25, 2025 at 10:24 pm
I notice you didnt post the query. Are you doing any SORT operations anywhere ?
May 15, 2025 at 7:41 pm
ISNULL(d.DepartmentValidTo, DATEADD(d, 1, SYSDATETIME()))
A function in the ON clause can cause indexes to not be used. Can you tell from your newer execution plan after the index was created?
You could...
May 15, 2025 at 7:35 pm
In your design you can create a batch history table. Then whatever script you run to insert into the tables from the data that only comes in twice weekly, add...
May 15, 2025 at 7:26 pm
Viewing 15 posts - 1 through 15 (of 1,226 total)