Forum Replies Created

Viewing 15 posts - 4,021 through 4,035 (of 49,571 total)

  • RE: Transaction Log Backup runs for 2 seconds does not Backup - Can't Shrink Log File

    Welsh Corgi (12/13/2015)


    The log was not truncated because records at the beginning of the log are pending replication or Change Data Capture. Ensure the Log Reader Agent or capture job...

  • RE: High Availability solution

    Gazareth (12/11/2015)


    Step 1. While management are still high on whatever drugs they're taking, ask for a pay rise. 😀

    This!

    2, 3 and 5 (mostly, though it'll be for all tables and...

  • RE: Scalar functions sudden slow down

    UDFs are slow. They run once per row. The optimiser cannot cost them properly. The problem is the UDF usage.

  • RE: Clustered Index Delete

    Nonclustered indexes are not rebuilt when the clustered index is rebuild.

  • RE: Normal locking threshold?

    I'd have recommended Jonathan's book, but doing so seems to be redundant. Chapter 1 and Chapter 6 mainly (I think 6 is blocking)

  • RE: Methods to copy a standby database

    feersum_endjinn (12/11/2015)


    It's possible they are doing a copy only backup every 24 hours to distribute via FTP while some other backup application does more frequent backups.

    No.

    A copy-only log backup doesn't...

  • RE: Trouble with SUM

    Then you're going to need to create a calendar table that has all months in it (and just columns related to the dates) and query that table LEFT JOIN to...

  • RE: Methods to copy a standby database

    Grant Fritchey (12/11/2015)


    Yikes.

    Why not simply keep the database unrecovered and continue to apply log files to it every day?

    Customer seems to want a read-write DB where the changes are discarded...

  • RE: Clustered Index Delete

    No. Why would there be?

    Would you really want an index rebuild that could take hours in the middle of a delete query's execution?

  • RE: Clustered Index Delete

    It's the operator which does the actual delete of the rows from the table. Looks like you have a cascading foreign key, so when you delete from the parent table,...

  • RE: Trouble with SUM

    Are there rows for november in your calendar table dbo.Filteredfs_carvelgmrcalendar?

  • RE: Log full due to 'ACTIVE_TRANSACTION'

    johnwalker10 (12/10/2015)


    First, I set up the database recovery model as SIMPLE

    Which will not do a thing in this situation, as the log is full due to an active transaction.

  • RE: Index

    Just based on those queries and no other:

    Index ON Article (websiteid, IsActive, startdate, enddate) include (isfeatured ,istopstory ,isbreakingnews ,islatestnews)

    Or, as an alternative, if the filter for IsActive is ALWAYS IsActive...

  • RE: Normal locking threshold?

    In a properly tuned OLTP database, it should be milliseconds. An analytics system would probably take longer-lasting locks because it's doing larger queries. It's not about normal, it's about whether...

  • RE: Deadlock issue with "x" lock trying to convert to "u" lock

    You can try that. It does mean that your invoicing will be serialised and so might run longer and be slower. If that's acceptable, give it a try.

Viewing 15 posts - 4,021 through 4,035 (of 49,571 total)