Viewing 15 posts - 31 through 45 (of 131 total)
I didn't know of the new persisting sample percent feature. Thanks for that info. I found a query that shows the date statistics were updated and days since last update. ...
March 19, 2021 at 2:32 pm
I may not have had to rebuild them, but doing a full sample on the statistics definitely fixed the slowness.
Should I have to do a full sample on...
December 10, 2020 at 1:27 pm
I may not have had to rebuild them, but doing a full sample on the statistics definitely fixed the slowness.
Should I have to do a full sample on the statistics...
December 8, 2020 at 2:34 am
I found that i can add:
@StatisticsSample = 100 ,
to the script. I run this script on Fridays at 10PM. Is there any reason I shouldn't set the...
December 7, 2020 at 10:50 pm
I finally found what i was doing that had sped up the query. I rebuilt the index manually. Normally, my indexing is done by Ola Hallengren's maintenance scripts, but it...
December 7, 2020 at 10:35 pm
Now I'm really confused. The problem seems to have come back. It's taking 4 to 5 seconds again. If I remove the TOP 1 part it returns 32 rows. When...
December 7, 2020 at 9:19 pm
Oddly enough, rebuilding the indexes on the wspkg and wspkglin tables fixed the issue.
December 7, 2020 at 8:41 pm
If the value passed matches the histogram for 66,000 rows, wouldn't the estimate be high not low. Again, I'm stupid on this, so sorry if I'm not asking the wrong...
July 9, 2020 at 8:48 pm
Again. Thanks for the help. I don't understand why the estimate is so low. There's a big difference between 1200 rows and 66,000 rows. It causes a problem when displaying...
July 9, 2020 at 7:28 pm
I did a statistics up date with FULLSCAN, so the statistics should be good. Can you elaborate on recompiling or picking a different plan for the lower row counts?
July 9, 2020 at 6:07 pm
These are the queries i ran. Is this correct?
SELECT ddsp.last_updated
FROM sys.dm_db_stats_properties(OBJECT_ID('dbo.gbkmut'), 19) AS ddsp;
SELECT *
FROM sys.dm_db_stats_histogram(OBJECT_ID('dbo.gbkmut'), 19) AS ddsh;
The stats last updated: 2020-07-08 15:58:45.7233333
Histogram is attached.
July 9, 2020 at 3:35 pm
Thanks for in info. That helps greatly. Which system databases can i restore? I would assume i can't restore the 2012 system databases to the 2016 server. Is there any...
February 18, 2020 at 2:56 pm
Also. If your parsing EDI docs for an ERP you should look for an EDI system that already has templates built to import the data in the format your ERP...
October 20, 2019 at 5:38 pm
I do EDI for work. You should look for a solution that can parse the docs for you. We use datamasons. Trying to build a solution to parse all of...
October 20, 2019 at 5:35 pm
Viewing 15 posts - 31 through 45 (of 131 total)