Viewing 15 posts - 166 through 180 (of 748 total)
Is there a reason the app team can't tell you which columns are unused?
You could use server-side trace or extended events to log executions over a period long enough to...
March 6, 2023 at 6:37 pm
Actual execution plan (obfuscated as needed) could help. Part of an image is of limited value.
What are the actual outputs?
Are there scalar or multi-statement table-valued functions involved?
The costs pictured are...
March 6, 2023 at 2:13 pm
You probably could/should simplify SiteType to not be organization specific -- e.g.,
Then it doesn't need OrgTypeID.
March 2, 2023 at 3:29 pm
Sample data would help, but it appear that relationships to UserOrgType & UserOrgSiteType are wrong.
userOrgTable should probably have:
March 2, 2023 at 3:26 pm
There's not much optimization you can do for selecting all rows and columns from a table -- best optimization is to return fewer columns is you don't really need all.
The...
February 28, 2023 at 3:25 pm
What type of values are used in ROWID_LOCK?
Are they numeric strings? alphanumeric?
Are they ordered or random?
February 27, 2023 at 9:31 pm
Are you actually seeing performance issues as a result of page splits?
February 27, 2023 at 9:03 pm
Is this related to/a continuation of https://www.sqlservercentral.com/forums/topic/pagesplits-question?
Why don't you have a clustered index?
What column(s) are used in the where clause for doing deletes?
February 27, 2023 at 8:59 pm
You also need to rebalance your tempdb files -- they should all be the same size. This will, unfortunately, require restarting SQL Server service.
e.g.,
ALTER DATABASE tempdb
MODIFY FILE (Name=tempdev, size =...
February 23, 2023 at 8:03 pm
You post data by providing tested/working insert scripts that insert test data into the relevant tables for which you have provided DDL scripts.
That has been mentioned before -- e.g., https://www.sqlservercentral.com/forums/topic/dimensional-table-and-stored-procedure#post-4145269
February 23, 2023 at 2:10 pm
member_number is a bigint in [localgroupmembershiprostercsv__$], & MemberNumber is only an int in @Temp & Members? Are any of the member #s larger than an int & possibly truncated (which...
February 22, 2023 at 8:38 pm
Sounds like a prelude to spam.
February 20, 2023 at 8:59 am
Despite the name, I'm not aware of that being a Microsoft system stored procedure.
Can you provide the relevant body of the stored procedure (obfuscated for security if necessary)?
The error means...
February 20, 2023 at 8:51 am
You can't alter an existing computed column -- it has to be dropped & re-added.
February 17, 2023 at 6:32 pm
Not much to go on. Is the data relational? What database system is it stored in? Do you intend to move it to the same database system? To a self-managed...
February 13, 2023 at 5:11 pm
Viewing 15 posts - 166 through 180 (of 748 total)