Forum Replies Created

Viewing 15 posts - 17,926 through 17,940 (of 19,564 total)

  • RE: Why is My Transaction Log So Big

    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...

  • RE: Why is My Transaction Log So Big

    Yes - should have dropped that index from the temp table first

  • RE: disk size

    I also would agree that it looks to be a very efficient method of trending your database growth.

  • RE: SQL Scripts - How to run and get results

    GSquared (1/22/2010)


    There's a report you can get on schema changes. Deleting a table is a schema change.

    Right-click on the database in Management Studio, and select Reports, then select Schema...

  • RE: Log file size issue in Log shipping in SQL Server 2005

    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...

  • RE: Database Research

    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,...

  • RE: Log file size issue in Log shipping in SQL Server 2005

    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...

  • RE: Database Research

    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...

  • RE: Database Research

    SQLPirate (1/22/2010)


    Using sp_mstablespace won't give you any unused space that the table is holding and sp_msforeachtable won't return internal tables. We were having issues pinpointing our space discrepancies, which were...

  • RE: Database Research

    Dugi (1/22/2010)


    I vote for CTE to find the duplicates in a table!

    :w00t::cool::hehe:

    I second that vote.

  • RE: Log file size issue in Log shipping in SQL Server 2005

    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...

  • RE: Contracting: REFUND FOR REWORK?

    lmu92 (1/22/2010)


    CirquedeSQLeil (1/22/2010)


    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?...

  • RE: Contracting: REFUND FOR REWORK?

    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...

  • RE: Database Research

    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...

  • RE: Are the posted questions getting worse?

    LOL

Viewing 15 posts - 17,926 through 17,940 (of 19,564 total)