Re: What did I do wrong?

From: Aaron Bertrand [MVP] (aaron_at_TRASHaspfaq.com)
Date: 05/09/04

  • Next message: Greg Shaw: "resetting IDENTITY after CREATE TABLE"
    Date: Sun, 9 May 2004 16:01:49 -0400
    
    

    Maybe when you decided to reboot it was still rebuilding the table for your
    change?

    FWIW, I *ALWAYS* enter DML statements in Query Analyzer when trying to
    change a table, rather than allow the GUI. I *ALWAYS* test the changes on a
    test environment (with just as much data, where practical) before
    interrupting the live environment based on the advice of a "guru". And I
    *ALWAYS* dig a little deeper before trying to 'resolve' the issue by
    rebooting.

    -- 
    Aaron Bertrand
    SQL Server MVP
    http://www.aspfaq.com/
    "graham" <grahamblandford@rogers.com> wrote in message 
    news:qZunc.2645$n7P1.2236@twister01.bloor.is.net.cable.rogers.com...
    > Hi All,
    >
    > Wonder if anyone can shed some light on a problem that arose on Friday, 
    > that
    > I am still in shell-shock from..
    >
    > SQL2000 on W2Kserver.
    >
    > On Thursday evening, I performed what I thought was a much-needed
    > modification on our database - specifically, I have a 7.5million record
    > 'prospect' table, that had been deisgned using BIGINT columns where 
    > various
    > keys resided... including the primary key. E.g. ID, PROVINCE_STATE_ID,
    > SALESPERSON_ID.. etc.. were all BIGINT. I was given some advice from a
    > 'guru' that the BIGINT was overkill and that I should see quite an
    > improvement in performance if I changed them to INT.
    >
    > Anyway, on Thursday evening, using the SQL EM, I changed the columns to 
    > int.
    > clicked save, I got the warning messaged as expected indicating that I may
    > lose data...  and off it went..
    >
    > On Friday morning I returned to the EM and everythign appeared to have 
    > been
    > completed.
    >
    > However, the system ran to a standstill - I had blocking left, right and
    > centre, timeouts, the lot. We rebooted the server physically twice - whioh
    > was no mean feat in asking over 100 users to holdfire... all with little
    > success.. finally making it to 5pm.. with little or no answer as to why 
    > this
    > happened, or whether it will continue.
    >
    > I received some advice to 'UPDATE STATISTICS' on the offending table, and
    > also 'sp_recompile' .
    >
    > So here I sit on a Sunday afternoon, blindly deleteing and recreating
    > indexes for the offending table and (just to be safe) tables 'linked' to 
    > the
    > offending table, without really knowing whether I am making the situation
    > better, worse or having no impact.
    >
    > Does anyone have any ideas as to what caused this issue and/or what I can 
    > do
    > to rectify the problem.
    >
    > Any advice would be greatly appreciated.
    >
    > Thanks In Advance,
    > Graham Blandford
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    > 
    

  • Next message: Greg Shaw: "resetting IDENTITY after CREATE TABLE"

    Relevant Pages

    • What did I do wrong?
      ... that had been deisgned using BIGINT columns where various ... Anyway, on Thursday evening, using the SQL EM, I changed the columns to int. ... I received some advice to 'UPDATE STATISTICS' on the offending table, ... indexes for the offending table and tables 'linked' to the ...
      (microsoft.public.sqlserver.server)
    • What did I do wrong?
      ... that had been deisgned using BIGINT columns where various ... Anyway, on Thursday evening, using the SQL EM, I changed the columns to int. ... I received some advice to 'UPDATE STATISTICS' on the offending table, ... indexes for the offending table and tables 'linked' to the ...
      (microsoft.public.sqlserver)
    • Re: What did I do wrong?
      ... Maybe when you decided to reboot it was still rebuilding the table for your ... interrupting the live environment based on the advice of a "guru". ... were all BIGINT. ... > indexes for the offending table and tables 'linked' to ...
      (microsoft.public.sqlserver.server)
    • Re: Page file and VM problems
      ... I did what you adviced below (looked for the temppf.sys file in safe mode, ... tried to follow your last advice and contact DELL. ... You may need to reboot into Safe Mode to do ... >> Manager\Memory Management ...
      (microsoft.public.windowsxp.general)
    • Re: Simple Clockable Decoder Chip
      ... *designing* them with such total, aggressive disregard to reliability, ... Well I'd hardly post entire threads here looking for advice if I was ... If the microcontroller were to reboot, then the LED matrix would be in ...
      (comp.arch.embedded)

    Loading