Forum Replies Created

Viewing 15 posts - 36,346 through 36,360 (of 49,552 total)

  • RE: Attaching mdf and ldf for SQL 2000 compatible DB - nasty error

    Operating system error 5 is Access Denied. It means that the SQL Server service account does not have full permission on the directory or the SQL Server Service account does...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Fact Table Partitioning

    Please don't cross post. It just wastes peoples time and fragments replies.

    No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic801495-391-1.aspx

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Optimization job/logs

    Are you talking about the transaction logs?

    Try backing the tran logs up more often than once a day. Try switching the DB to bulk-logged recovery for the duration of the...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Speedup big database - MSSQL 2005

    Eric1208 (10/11/2009)


    I receive a 150GB (maybe more) flat file from customer regularly. And It will take me 2 or 3 days to import into DB.

    2-3 days to import 150GB?...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: How to restore only the data file and not the log file

    imSQrLy (10/10/2009)


    I am trying to help the client and do not have 230 GB available to me and nor do they.

    Tell the client that if they can buy a 250GB...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: How do I know if this query's performance can be improved?

    Jody F Powlette (10/10/2009)


    There are only so many ways to slice the data though. Is it possible using some other tools or add-ons to pre-cache those results and store them...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: How do I know if this query's performance can be improved?

    Please post execution plan, as per http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

    There's no way you'll get an index seek with this query. There's no filter condition. A scan is about the best you'll get and...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Speedup big database - MSSQL 2005

    JDixon-385826 (10/10/2009)


    Also when you do a SELECT COUNT(*) you are scanning the whole table so changing the indexes around will not help

    Count(*) will scan the smallest (most efficient) index that...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Speedup big database - MSSQL 2005

    Lowell (10/10/2009)


    sidenote to get a count much faster than select count(*) :

    DBCC UPDATEUSAGE (0) WITH COUNT_ROWS, NO_INFOMSGS

    SELECT OBJECT_NAME(ID) AS TableName, [Rows]

    FROM dbo.SysIndexes

    ...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Speedup big database - MSSQL 2005

    Why on earth do you have a table with 400+ columns?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: help me

    WayneS (10/9/2009)


    FYI, you're missing the ";" in front of the "WITH i_copied_this_from_the_internet_CTE AS"

    He's not. Look at the statement preceding the CTE. It's terminated with a ;

    The requirement for a CTE...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Investing In Your Career

    Manie Verster (10/9/2009)


    I am glad to say that it looks like the banks in South Africa goes out of their way to help people develop.

    Some yes, some no. Bear...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Knowing what user killed a process through the transaction log

    oscar_otrebla (10/9/2009)


    It has happened sometimes that someone has been killing processes to get more speed on his/her queries and thus scripts that had been running for hours are just stopped...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Which one is better for Production

    parthi-783546 (10/9/2009)


    Hi

    Can any one tell which one is better in production

    1)Log shipping

    2)Replication

    3)Mirroring

    ...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: database gor corrupted what to do

    Krasavita (10/9/2009)


    By looking at my results by DBCC page how do you see there is a problem????

    Someone who knows the page structure really, really well (like Paul does) can look...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 36,346 through 36,360 (of 49,552 total)