Viewing 15 posts - 17,926 through 17,940 (of 19,564 total)
It might be trying to do a sort operation while you do that. What is your clustered index on?
it does seem pretty big - better than it was, but...
January 22, 2010 at 8:05 pm
Yes - should have dropped that index from the temp table first
January 22, 2010 at 7:30 pm
I also would agree that it looks to be a very efficient method of trending your database growth.
January 22, 2010 at 6:12 pm
GSquared (1/22/2010)
Right-click on the database in Management Studio, and select Reports, then select Schema...
January 22, 2010 at 6:00 pm
rambilla4 (1/22/2010)
So there is NO option like with NO_LOG in SQL Server while Rebuilding Indexes like we have in ORACLE?
No
Here is a link with a doc to download that...
January 22, 2010 at 5:55 pm
SQLPirate (1/22/2010)
Yes I agree but I recommend to eliminate the sys schema!
Oops, yeah that's also a remnant from our environmental needs. The information in our current version also contains servernames,...
January 22, 2010 at 5:45 pm
rambilla4 (1/22/2010)
thanks,log backups are happening from the Native Log shipping backup job
I would do that as a part of a manual process - or change them to always run every...
January 22, 2010 at 5:15 pm
i took the liberty to update the script a little bit to allow better sorting based on different columns, such as Data.
By changing the Data column to a BigInt and...
January 22, 2010 at 5:14 pm
SQLPirate (1/22/2010)
January 22, 2010 at 5:03 pm
Dugi (1/22/2010)
I vote for CTE to find the duplicates in a table!:w00t::cool::hehe:
I second that vote.
January 22, 2010 at 4:59 pm
rambilla4 (1/22/2010)
I agreed with Mohammed Sort in tempdb option will use space of tempdb
If I select the option Sort results in tempdb, the log size of 12GB of MyDB...
January 22, 2010 at 4:57 pm
lmu92 (1/22/2010)
CirquedeSQLeil (1/22/2010)
January 22, 2010 at 4:30 pm
For me there are a couple of points of interest. What is a fair and equitable split? Do you want the Client as a repeat client? If...
January 22, 2010 at 3:48 pm
Here is an alternative script for Table Size in a database
-- Create the temp table for further querying
CREATE TABLE #temp(
rec_idint IDENTITY (1, 1),
table_namevarchar(128),
nbr_of_rowsint,
data_spacedecimal(15,2),
index_spacedecimal(15,2),
total_sizedecimal(15,2),
percent_of_dbdecimal(15,12),
db_sizedecimal(15,2))
-- Get all tables, names, and sizes
EXEC sp_msforeachtable...
January 22, 2010 at 3:40 pm
Viewing 15 posts - 17,926 through 17,940 (of 19,564 total)