Viewing 15 posts - 7,996 through 8,010 (of 49,571 total)
Deletes always take locks. That cannot be avoided.
Delete in batches if there are a lot of rows, that keeps the lock duration down and reduces the chance of a lock...
August 27, 2014 at 1:04 am
What you may be able to do is:
Rename the damaged DB
Restore a clean backup as the original name (this lets users work)
Carefully sync over the data missing from the restored...
August 27, 2014 at 12:50 am
jharting (8/26/2014)
Thanks for your clarity, is a single page restore an option ?
Without log backups, no.
To do a single page restore, there must be log backups covering the time between...
August 27, 2014 at 12:42 am
Dante Garcia (8/26/2014)
I have a development database in SQL 2012 in which I had been working till the license expired today. I have no back up of this database.
Licence...
August 26, 2014 at 3:01 pm
Restore from backup. That's not repairable.
I would hope, that for the heart of your accounting, you have log backups. Assuming that you do, restore the clean full backup WITH NORECOVERY,...
August 26, 2014 at 2:59 pm
UncleBoris (8/26/2014)
August 26, 2014 at 2:54 pm
ShorePatrol (8/26/2014)
TABLE SIZE FRAG%
table2 3312K 97% ...
August 26, 2014 at 11:04 am
ramana3327 (8/25/2014)
Is any point am I missing?
Yes. That you can't partition across databases, and partitioning across filegroups will involve time consuming maintenance to move files to slower storage and that...
August 26, 2014 at 10:54 am
Eirikur Eiriksson (8/26/2014)
... 10 byte row property bitmat etc..
?????
You mean the row header, column and data size entries and offset bytes (which add up to 10 bytes in total)?
August 26, 2014 at 7:42 am
Very small tables often don't show change on rebuild, and it's pointless trying to rebuild them. Often not worthwhile rebuilding indexes under a few hundred pages.
August 26, 2014 at 7:41 am
The length from sp_help just shows the max byte size of the column, not the extra 2 bytes needed for a variable length column. Therefore the 60 bytes.
However,
Nvarchar(n) length is...
August 26, 2014 at 6:36 am
Couple things first...
The concat function was only added to SQL Server in 2012. Are you using SQL Server 2012?
The error you mention (int64) is not a SQL error. How are...
August 26, 2014 at 3:20 am
SQL doesn't automatically reduce the file sizes. Unless autoshrink is on (very bad idea) or manual shrinks are done, there's nothing that will reduce the size of the files.
Bear in...
August 26, 2014 at 3:17 am
You can't have more than one TempDB per instance.
If you mean files, 4 files is fine to start with. Add more and spread across volumes if you see allocation contention...
August 26, 2014 at 2:43 am
I will repeat what I said earlier
GilaMonster (8/25/2014)
August 26, 2014 at 12:58 am
Viewing 15 posts - 7,996 through 8,010 (of 49,571 total)