Forum Replies Created

Viewing 15 posts - 301 through 315 (of 1,170 total)

  • RE: Query performance extremely poor

    JoshDBGuy (7/29/2015)


    Igor Micev (7/29/2015)


    JoshDBGuy (7/29/2015)


    Igor Micev (7/29/2015)


    Hi All,

    Thanks for replying.

    Issue is resolved.

    The ssd disk has been going working worse and worse. Its response time has been changing in the last...

    Igor Micev

  • RE: Query performance extremely poor

    JoshDBGuy (7/29/2015)


    Igor Micev (7/29/2015)


    Hi All,

    Thanks for replying.

    Issue is resolved.

    The ssd disk has been going working worse and worse. Its response time has been changing in the last couple of weeks...

    Igor Micev

  • RE: Query performance extremely poor

    Grant Fritchey (7/28/2015)


    If the disk has gone bad, that should have shown up in the wait statistics. You didn't see any changes tehre at all?

    Exactly that. I later saw that...

    Igor Micev

  • RE: Query performance extremely poor

    Hi All,

    Thanks for replying.

    Issue is resolved.

    The ssd disk has been going working worse and worse. Its response time has been changing in the last couple of weeks having increments.

    Today...

    Igor Micev

  • RE: Query performance extremely poor

    GilaMonster (7/28/2015)


    What's changed?

    Compare query plans from before and now, see what's different. Compare your wait stats baseline to what you see now, see where the waits have increased.

    I did all...

    Igor Micev

  • RE: multiple instance on a SQL server

    sqlfriends (7/24/2015)


    Anyone installs multiple instances on a SQL server either virtual or physical?

    All my company's SQL server currently only have single default instance.

    I know we can install named instance besides...

    Igor Micev

  • RE: Getting duplicate data when connecting to another table.

    Try with this code in the WHERE clause

    where

    (up.UserId = @UserId or up.UserId = @SenderId)

    and

    up.IsProfilePic = 1

    and

    ...

    Igor Micev

  • RE: Performance Issues using DELETE

    SimonH (7/6/2015)


    Igor,

    I've not used delete on cascade.

    Looking into it this might work.

    I was under the impression this only worked if you had joins in your delete statement.

    Would I add this...

    Igor Micev

  • RE: Performance Issues using DELETE

    SimonH (7/6/2015)


    Igor Micev (7/6/2015)


    Is the table's PK a foreign key in other tables. Are some foreign keys using the CASCADE-ing?

    What about triggers?

    You can always perform the deletion in batches, let's...

    Igor Micev

  • RE: Performance Issues using DELETE

    Is the table's PK a foreign key in other tables. Are some foreign keys using the CASCADE-ing?

    What about triggers?

    You can always perform the deletion in batches, let's say each batch...

    Igor Micev

  • RE: integer lengths (II)

    Good discovery. Thanks.

    Igor Micev

  • RE: Issues with SQL Server 2008R2 Clustered Install on Server 2012

    Did you check the iSCSI initiator for the disks? Once we had to re-initiate in order to continue.

    Igor Micev

  • RE: JSON (SQL2016 CTP2)

    Nice question. Good to know the difference in modes for JSON and XML.

    This is first QotD touching SQL 2016.

    Igor Micev

  • RE: Disabling Indexes

    Great question! Thanks.

    Igor Micev

  • RE: Find Table dependency in SQL

    SELECT

    d.referenced_entity_name,

    o.type_desc,

    object_schema_name(d.referencing_id) As ReferencingSchema,

    object_name(d.referencing_id) AS ReferencingObject

    FROM sys.sql_expression_dependencies d

    INNER JOIN sys.objects o ON d.referenced_id=o.object_id

    LEFT OUTER JOIN sys.columns colz ON o.object_id = colz.object_id

    ...

    Igor Micev

Viewing 15 posts - 301 through 315 (of 1,170 total)