Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)

  • RE: Need help diagnosing a problem

    Thanks for the suggestions everybody.

    I've rewritten the logging system to use an identity column and removed the code that identifies probable repeat records when inserting into the log.

    I still...

  • RE: Need help diagnosing a problem

    From what I've read, there's an overhead associated with checking for locks that you incur even if there aren't any.

    Adding NOLOCKS is supposed to skip that.

  • RE: Need help diagnosing a problem

    Grant Fritchey (12/22/2008)


    If you're not worried about data accuracy, why perform the read anyway?

    I meant that the data is updated so infrequently that I dont think the costs of record...

  • RE: Need help diagnosing a problem

    I'm not concerned about data accuracy in this system, so the NOLOCKs shouldnt be a problem. The main data is updated at infrequent intervals, and its not critical that it...

  • RE: Need help diagnosing a problem

    In terms of software, none.

    They're both windows 2003 servers, sql2005 sp2 etc

    Hardware is completely different, the development "server" is a high-spec PC, with nowhere near the power of the quadcore...

  • RE: Need help diagnosing a problem

    Sure.

    The log table looks like this;

    CREATE TABLE [dbo].[EventLog](

    [Id] [int] NOT NULL,

    [EventType] [varchar](10) NULL,

    [UserId] [int] NULL,

    [EventDate] [datetime] NULL,

    [AdditionalInfo] [varchar](200) NULL,

    [MediaId] [int] NULL,

    [TransactionId] [int] NULL,

    [OriginalMediaId] [int] NULL,

    [OtherTableName] [varchar](50) NULL,

    [OtherTableId] [int] NULL,

    [IPAddress] [varchar](15)...

  • RE: How can it be getting UTC dates wrong?

    So "yyyy-mm-dd hh:mm:ss" isnt universally recognised, but "yyyymmdd hh:mm:ss.nnn" is?

    Weird

    Also, when you say refer to the users language, I take it you mean the SQL Server user? I've looked at...

Viewing 7 posts - 1 through 7 (of 7 total)