Viewing 15 posts - 121 through 135 (of 6,036 total)
Clustered index scans should definitely be adversely affected by masses of empty space in pages from deleted rows, since the scan will have to read lots more pages than...
May 2, 2021 at 9:29 am
Could you try
WHERE [AccountNumber] = CONVERT(varchar(10), @AN)
?
April 30, 2021 at 7:59 am
When you plan to rebuild/reorganise an index you need to answer the main question:
What happens next?
Massive DELETEs on the table imply that there are as massive INSERTs.
What happens to the...
April 30, 2021 at 2:10 am
LibreOffice is not expensive at all
April 29, 2021 at 9:52 pm
How massive are your DELETEs?
Probably it would be easier to copy the remaining part of data to a new table (exact copy of the old one) and then drop old...
April 28, 2021 at 9:27 pm
It's actually another way around.
Bigger code structured into many nested stored procedures containing smaller chunks of the code will almost certainly give better performance.
Beginning with the compilation stage: long code...
April 27, 2021 at 2:16 am
Did you try to pass the parameter not via a literal constant but by a VARCHAR variable?
April 27, 2021 at 1:36 am
When you search by a value in non-indexed column what can you see in the query plan?
It's "Table scan" for HEAPs, and "Clustered Index Scan" for clustered tables.
does it make...
April 19, 2021 at 1:27 am
Data pages make up a clustering key. No data page exists outside a clustering key.
if any data in a table with a clustering key is updated then some part of...
April 18, 2021 at 11:02 pm
Then it would be more efficient to copy the data to remain in the table to a newly created table of the same structure, delete the old table and rename...
April 18, 2021 at 2:31 am
How significant is the part of the data you want to delete?
5%, half, 90%?
April 17, 2021 at 2:04 am
3) Make sure you update only values which have actually changed.
April 15, 2021 at 8:41 pm
When choosing a plan optimiser has to estimate the data sets coming out of each of the objects (tables, views, functions) joined in the query.
it uses indexes, statistics, to get...
April 14, 2021 at 12:47 pm
That's how it does not work.
It would work if the reality would match the assumptions used for the model.
If the reality does not match the assumptions then the model does...
April 14, 2021 at 4:16 am
These are the tasks we need to do:
For each user, determine their country based on the IP address
Fail on the first step. No point of going any further.
Almost every browser...
April 14, 2021 at 2:50 am
Viewing 15 posts - 121 through 135 (of 6,036 total)