Forum Replies Created

Viewing 15 posts - 1 through 15 (of 108 total)

  • Reply To: Best Practice question

    Michael L John wrote:

    To expand upon this, and maybe provide some ideas that can ease your pain, here are some thoughts.  I had this same situation a while back. The difference was...

  • Reply To: Best Practice question

    The example is for a query called by the Customer List page of the web application.  It will execute 1000's of times a day.

  • Reply To: Performance Issue

    Execution plans are the same:  clustered Index Scan (Clustered) ; Cost: 100%

    Yep - same query, same result.  Just slower.

    Tomorrow p.m., we have a 2 hour maintenance window.  I will try...

  • Reply To: Single Instance vs Multiple Instances

    Sorry - but what is AG or WFC?

  • Reply To: Index Question

    Does the hash code compress the data?  Can you reverse out the sqlstatement from the hash result?

     

  • Reply To: Index Question

    Here are the Update, Insert and Delete triggers for one of the smaller tables in the database.

    ------------------------------------------------------------------------------------------
    ----- INSERT -----------------------------------------------------------------------------
    ------------------------------------------------------------------------------------------
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TRIGGER [dbo].[o_choice_Audit_Insert] ON...
  • Reply To: Index Question

    Hi.

    Here is an update.  I have ran the code above.  Here are the #'s  (mdf/ldf):

    Original size:  566,086,656 // 50,003,456

    After tableoption : same

    After Update:  935,619,456 // 584,126,656  (6 hours later)

    After Alter...

  • Reply To: Index Question

    Jeff,

    Wow.  Thank you for all of the above.  You are correct with the backup being huge because of the audit data.  I have a lot to think about.

    Thanks!

  • Reply To: Index Question

    Jeff,

    Would it help to split the table into 2.   One with all data except the varchar(max) and one with the same ID and the varchar(max) only?

    Mike

  • Reply To: Index Question

    Sorry about that -- I thought I had posted that #.  It is 6,957,805 records between 4000 & 8000.

     

    Mike

  • Reply To: Index Question

    This is the reason why I'm asking how many values in the SQLStatement table there are that fall in between the two numbers I provided.  It'll let us know for...

  • Reply To: Index Question

    Here is the code from when I tell SQL server to script the creation of it:

    SET ANSI_NULLS ON
    GO

    SET QUOTED_IDENTIFIER ON
    GO

    CREATE TABLE [dbo].[Audit](
    [AuditID] [bigint] IDENTITY(1,1) NOT NULL,
    [AuditDate] [datetime]...
  • RE: Speed issue question

    How would I check for network discrepancy/latency?  Also, why would the following happen:

    Use master  -- note: No table named product
    select * from xxx.dbo.product - 8 seconds

  • RE: Speed issue question

    Yes, my local machine is the server.  So the 4 seconds is getting the data on the same notebook where the data is stored and SQL is running.
    However, I...

  • RE: Using Queues

    I am trying to figure out queues.  Doing a batch of items doesn't solve the issue.  If my queue was a list of incoming orders and I have limited stock,...

Viewing 15 posts - 1 through 15 (of 108 total)