Viewing 15 posts - 31 through 45 (of 2,566 total)
please post actual explain plan of the problematic query as well as the full sql statement (and of any views/functions used by it) so we can help.
August 28, 2024 at 1:48 pm
then you have a problem as this is never going to be a slow operation - a amount of downtime will always be required, how much is going to depend...
August 27, 2024 at 5:23 pm
likely the standard method of inserting into a new table with the column being calculated at that stage, and then one of 2 options
1 - truncate source table...
August 27, 2024 at 3:59 pm
if the IP returned in both local PC and problem SSIS server are the same then the server is able to get the DNS entry for the target - on...
August 27, 2024 at 2:32 pm
this likely a DNS issue - within the server where SSIS is running open a command line (RDP) or a xp_cmdshell, or even a custom SSIS package just for the...
August 27, 2024 at 1:27 pm
all those are not available to use within functions of views - so only within batch SQL or within a SP - and with regards to 3 - yes the...
August 22, 2024 at 2:51 pm
Attached is the SQL query plan.
There are two main queries. The first uses a date parameter and the second doesn't. The second query is much higher cost that the...
August 22, 2024 at 12:27 pm
use PlanExplorer to scramble the names - https://www.solarwinds.com/free-tools/plan-explorer
that will replace any object name (db, table, column) with object1, object2 and so on - but it will leave intact...
August 22, 2024 at 12:07 pm
can you give us the actual explain plan with both the 3 conditions and just 1 condition - as well as the definition of the view.
likely this is joining multiple...
August 22, 2024 at 11:21 am
This is the query with the plan (names have been changed):
DECLARE @DateColumn DATE = '2024-07-01';
DELETE s
FROM [Schema].TableName s
INNER JOIN #WorkingTable q
ON q.Column1...
August 22, 2024 at 10:18 am
dup post
August 20, 2024 at 8:19 pm
replace your code with
if ([string]::IsNullOrEmpty($OrgID) -eq $true)
{
write-host "Null found"
...
August 20, 2024 at 8:18 pm
I know you are after how to estimate X - that is not really a good way to go as there are way to many unknowns, and without looking at...
August 20, 2024 at 9:01 am
you said
Schema.TableName is partitioned by date. There are typically 30 million rows per date partition.
#WorkingTable contains 500k records. We receive a continual set of records throughout the day (60 million...
August 19, 2024 at 5:30 pm
as I said above you don't necessarily need a tool to generate data - it all depends on what your production data is and what can be copied down without...
August 19, 2024 at 4:02 pm
Viewing 15 posts - 31 through 45 (of 2,566 total)