Forum Replies Created

Viewing 15 posts - 5,626 through 5,640 (of 5,842 total)

  • RE: Query suddenly runs slowly

    tempDB is a good unexplored avenue here actually. MS recommmends one file per CPU for tempdb, preferably on separate I/O systems. Fragmentation could be an issue here too...

  • RE: Query suddenly runs slowly

    Unfortunately all of this stuff about drives and files only gets to the heart of improving overall performance. Your specific issue of having a poor query performance all of...

  • RE: Query suddenly runs slowly

    I advise my clients that when they create a new production database they size it to hold the estimated total data volume (including indexes) for 12-18 months of data plus...

  • RE: Query suddenly runs slowly

    Prior to disk defrag, you should shut down all sql server services. Just for giggles, did you size all the files initially to some appropriately large value with an...

  • RE: Slow writing query

    Mark, you didn't answer my second question about whether the order of the rows matters. If I move these rows into another table for processing, can I order them...

  • RE: Slow writing query

    is there an identity key on this table, or is what you show the entire table definition? also, does the initial order of the rows need to remain intact?...

  • RE: Query suddenly runs slowly

    A few possibilities:

    1) The amount of data in the tables has grown such that different query plans become 'least costly'. This can result in DRASTICALLY different query plans and...

  • RE: How integrated are execution plans with hardware?

    I would certainly try recompile first. There are probably very few situations where this won't routinely result in the optimal query. Plus having a query plan developed for...

  • RE: How integrated are execution plans with hardware?

    I wasn't aware that you could "disable parameter sniffing". Do you mean use WITH RECOMPILE on the sprocs perhaps?

    Also, the user stated that the exact same data...

  • RE: How integrated are execution plans with hardware?

    1) You didn't explicitly mention if the SQL Server was the EXACT same version (sp and hotfixes).

    2) While doing your development, you should have made your test platform as similar...

  • RE: How can I improve this SQL query

    select

    distinct 'CONV 1' as Conveyour,

    info as Error,

    (select top 1 substring(timecreated, 0, 7) from log b where a.info = b.info order by timecreated asc) as Date,

    (select count(*)...

  • RE: looking for Performance Tool

    If by analyzing profiles he can identify the actual calls that are causing performance problems then the OP can (hopefully) easily grep through the source code to find where the...

  • RE: Where statement Joins vs join statement joins

    Be VERY careful with where you put your "WHERE" clause components when doing JOINs. With OUTER joins you can get vastly different results depending on whether the AND is...

  • RE: Where statement Joins vs join statement joins

    The most important thing about the 'old' syntax is that it will not be supported in the future per Microsoft. The *= and =* is already unsupported in SQL...

  • RE: Istall package missing for component removal.

    Management Studio is a GUI for connecting to database servers. There is a link to it in the Start Menu folder that was created when you installed SQL Server....

Viewing 15 posts - 5,626 through 5,640 (of 5,842 total)