Forum Replies Created

Viewing 15 posts - 4,471 through 4,485 (of 5,841 total)

  • RE: Track data change in a table.

    Oh, one more thing - be wary of using xp's in triggers. Better would be to put relevant data into a table that is asynchronously used to send the...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Track data change in a table.

    what error do you get? Have you checked various logs?

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: simple select view to retrive 40 lkh records taking 2 min

    mssdprasad04 (10/28/2009)


    Hi Sql Guru I tried with example which u gave but it is much time than what i already had can u give me those two possible

    solutions

    I am...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: simple select view to retrive 40 lkh records taking 2 min

    There really was no need for indexing information or the query plan. 🙂 The query as written clearly was doing 4 table scans and 4 associated joins. ...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: simple select view to retrive 40 lkh records taking 2 min

    If all your links to user_name are unique, this or something similar could work:

    SELECT CASE WHEN MU.USER_NAME = ET.Prvd_ID THEN 'abc'

    ...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Memory has been paged out/Page life expectance/High Disk Queue length

    1) checkdb is VERY IO intensive, so I would expect to see indications of IO/Memory pressure during it's execution

    2) There are MANY things that can interplay to cause memory to...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: simple select view to retrive 40 lkh records taking 2 min

    I would think that doing 4 table scans and 4 joins on a table with 40M rows WILL take some time. 🙂

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Partition Existing Table with Data

    Mark_Pratt (10/27/2009)


    You can also get a performance gain regarding backups and restores.

    If partitioned tables in your PRIMARY filegroup only hold 6 months of data, your filegroup backup may only take...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Partition Existing Table with Data

    SinisterPenguin (10/27/2009)


    OK - fair enough I stand corrected & I learned something 🙂

    Which is precisely why we are all here on the SQLServerCentral forum!! 😎

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Partition Existing Table with Data

    Performance will improve because of exactly what I stated: partition elimination. You can have queries that will now touch just a (perhaps tiny) fraction of the table instead...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Partition Existing Table with Data

    SinisterPenguin (10/27/2009)


    TheSQLGuru (10/27/2009)


    1) the first poster is incorrect. you CAN get performance increases from partitioning without multiple filegroups - sometimes vast improvements even. This would come from partition...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Actual Query Plan - Actual Row Count massively exceeds Est Row Count

    As Gail says, index column order is CRITICAL for most efficient querying. You need left-to-right hits on the columns or you can't do seeks.

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Auto Growth - Best Practices

    1) monitoring for a few days is meaningless for db growth considerations.

    2) you need to figure out how big each database will be over the course of 12...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Partition Existing Table with Data

    Oh, and one more thing - 10GB is NOT a large database. My guess is that there are MANY other things you should be doing first to improve your...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Partition Existing Table with Data

    1) the first poster is incorrect. you CAN get performance increases from partitioning without multiple filegroups - sometimes vast improvements even. This would come from partition elimination during...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

Viewing 15 posts - 4,471 through 4,485 (of 5,841 total)