Forum Replies Created

Viewing 15 posts - 18,976 through 18,990 (of 49,552 total)

  • RE: Are SQL views efficient?

    pwallis (4/19/2012)


    The developer is indicating that it is in executing the CREATE VIEW using the SQL statement that takes the time, if we run just the SQL statement without 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: how to transfer specific db users and passwords to another db??

    Use the SSIS transfer login task or use a script that copies the SIDs over as well as the login names. With either of those you won't have orphaned login...

    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: What are the different types of errors in sql server ?

    Maybe they were looking for severities, maybe they were looking for error behaviours, maybe they were looking for the points at which errors can occur during query execution. Can't say....

    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: Question regarding Index.

    http://www.sqlservercentral.com/articles/Indexing/68439/

    http://www.sqlservercentral.com/articles/Indexing/68563/

    http://www.sqlservercentral.com/articles/Indexing/68636/

    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: SQL 2008R2 just keeled over

    C3PO's twin (4/18/2012)


    Yeah I know that. But has SQL Server matured enough to be an Enterprise DBMS that can up for more than 6 months?

    Absolutely. I know of many companies...

    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: Index spool to physical index for performance

    Could you post the exec plan please (the .sqlplan file)? I don't feel comfortable advising you on details without seeing the plan

    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: Log Shipping or Tran Dump to Devices

    Agent job or maintenance plan would be my preference. Maintenance plan is easy if you're fairly new.

    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: Dropping indexes with low read to write ratio?

    These 4 can be replaced with one index

    _dta_index_line_item_disposition_5_1662628966__K1NONCLUSTERED00order_numberNULL

    _dta_index_line_item_disposition_5_1662628966__K1_9987NONCLUSTERED00order_numberNULL

    _dta_index_line_item_disposition_5_1662628966__K1_32NONCLUSTERED00order_numberupdate_dtm

    _dta_index_line_item_disposition_6_1662628966__K1_K15_5379NONCLUSTERED00order_number, date_shippedNULL

    Single index on OrderNumber, DateShipped include UpdateDTM

    These 4 can be replaced with one index

    _dta_index_line_item_disposition_5_1662628966__K1_K2NONCLUSTERED00order_number, line_numberNULL

    _dta_index_line_item_disposition_5_1662628966__K1_K2_18NONCLUSTERED00order_number, line_numberquantity_shipped

    PK_line_item_disposition__order_number__line_number__backorder_numberCLUSTERED11order_number, line_number, backorder_numberNULL

    _dta_index_line_item_disposition_5_1662628966__K1_K2_K8_18NONCLUSTERED00order_number, line_number, backorder_numberquantity_shipped

    Single index on...

    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: Index spool to physical index for performance

    An index spool is a temporary index built in TempDB because the optimiser really needed an index on that column but there wasn't one.

    Without seeing the exec plan, it's hard...

    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: Tech Recruiters That Don't Understand the Tech

    drew.allen (4/18/2012)


    GilaMonster (4/18/2012)


    That was just an example. Sub any 2008-specific feature.

    I realize it was just an example, but if there were a 2008-specific feature that was required for 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: Are SQL views efficient?

    Depends on the complexity of the view. If it's view upon view upon view it's probably inefficient. If it's a single view that's not particuarly complex, there's probably little to...

    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: Tech Recruiters That Don't Understand the Tech

    That was just an example. Sub any 2008-specific feature.

    Thing is, if the job spec states SQL 2008 skills required, the recruiter may not want to risk his relationship with...

    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: Want to create a Log Shipping

    dsohal (4/18/2012)


    I will have the same version, I will upgrade them to SQL 2008 R2

    Still, for reporting look at replication.

    Both mirroring and log shipping are DR techniques that can...

    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: Want to create a Log Shipping

    Lynn Pettis (4/18/2012)


    GilaMonster (4/18/2012)


    Lynn Pettis (4/18/2012)


    Also, mirroring would require both instances be the same version of SQL Server as well.

    No it doesn't.

    Except for doing an upgrade a mirror needs to...

    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: Tech Recruiters That Don't Understand the Tech

    drew.allen (4/18/2012)


    How do you get the recruiter to understand that the differences between SQL 2005 and SQL 2008 are inconsequential?

    How do you know they're inconsequential for the particular job? 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

Viewing 15 posts - 18,976 through 18,990 (of 49,552 total)