Viewing 15 posts - 4,606 through 4,620 (of 59,069 total)
If you add the clustering before you add the data, make sure that you use WITH(TABLOCK) on the INSERT INTO statement to help take advantage of "Minimal Logging", which is...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 21, 2021 at 6:38 pm
Oh no. You've miss understood a bit. I wouldn't force a GUID out of row.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 21, 2021 at 3:56 pm
I'm not sure that I follow you regarding the comments column. The Comments column is a varchar(100). That the UpdatedBy column is a huge source of fragmentation is not...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 21, 2021 at 2:50 pm
Thanks for this case. Very interesting solution!
Sounds like a typical generic post as a precursor to SPAM. "Santa is watching"!
--Jeff Moden
Change is inevitable... Change for the better is not.
September 21, 2021 at 1:58 pm
It's just an INSERT for C.R.U.D. I suspect that the inset is sometimes being blocked or failing DRI (FK's) or some other constraint and it's simply not being reported. The...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 21, 2021 at 1:54 pm
I Have created table along with trigger but the problem is its logging all system events. I want only the users accounts who are logging into the database (DataMap)
Step...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2021 at 11:19 pm
I would not move a comments column to its own table. That requires two tables and the comments table is going to frag like crazy just as it would if...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2021 at 8:45 pm
Here's another one, by Jack Worthen. It's a bit more to the point.
Here's a "leader" article on the subject from MS.
I'm finding all of this via Google. You...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2021 at 5:18 am
Here's a link about things that you can to do with login triggers and the like. One of the things is to audit logins.
https://www.sqlshack.com/an-overview-of-logon-triggers-in-sql-server/
Note that if you're doing this...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2021 at 5:08 am
I have this task to find all SPs, FNs, and VWs where particular string occurs in definition of the object. In 300 databases in a huge server.
How do you...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2021 at 4:56 am
Unless this is a prelude to SPAM, your post is a bit contradictory. You say you read a job description and also say that that it matches your abilities and...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 19, 2021 at 12:10 am
Thanks for the feedback, Dave.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2021 at 11:54 pm
Just as an update, please see the following presentation where I destroy the myth of Random GUID Fragmentation and pretty much waste what people have been using as supposed "Best...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2021 at 2:24 am
At $7K per core for such a license and the number of cores you have, you should spend a relatively tiny bit more and get yourself up to 512GB of...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 17, 2021 at 8:26 pm
Spot on, Grant. Especially with only 12GB of RAM available.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 17, 2021 at 8:16 pm
Viewing 15 posts - 4,606 through 4,620 (of 59,069 total)