Forum Replies Created

Viewing 15 posts - 7,261 through 7,275 (of 49,552 total)

  • RE: Restore db without ldf file, special case db was shutdown in mid tranaction

    mario17 (11/18/2014)


    Thanks, DeWayne

    This works !!!!

    Mario

    It's also potentially left the database transactionally inconsistent and maybe even structurally inconsistent.

    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 file doesn't emptied

    DBA_AUS (11/18/2014)


    sys.databases ->log_reuse_wait_desc LOG_BACKUP

    The log is not getting cleared because there's a log backup needed.

    DBCC SQLPERF(LOGSPACE) 0.017 % used

    However the log is almost entirely empty and is available...

    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: Performance Trouble Shooting

    Can you post the query, execution plan and statistics IO/TIME output?

    How many rows is the query returning?

    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: Why are my transactions running in SERIALIZABLE isolation level?

    Innerise (11/18/2014)


    So, my question is: Why is SERIALIZABLE being used for these transactions? What other factors would cause a transaction to run SERIALIZABLE?

    A SET TRANSACTION ISOLATION LEVEL statement or a...

    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: MY Data

    Stefan Krzywicki (11/18/2014)


    Why run a credit check on a DBA?

    Sysadmin access to a server that processes millions of dollars of transactions a day... (what I had when I worked at...

    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: OLE DB provider "MSDAORA" for linked server "OracleLinkedServer" returned message "Error while trying to retrieve text for error ORA-12154 ".

    http://ora-12154.ora-code.com/

    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: High availability without shared stores technique?

    SQL Galaxy (11/18/2014)


    What witness type do you intend to use for your Windows Server failover Cluster?

    It means FULL RECOVERY MODE. For data synchronize both database, but I am not sure.

    Witness...

    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: Bucket List Data

    I causally track countries visited (not something which changes fast), and books read per year (well behind on updating that). Not much else.

    Countries visited so far: 12 (including one I...

    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: Long running update stats exclusive lock

    Urgh.

    No, I don't think the trace flag would help. Both automatic and user stats updates run implicitly in read uncommitted, they don't take any locks other than schema stability.

    Gut feel,...

    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: Sum two money field columns in SQL

    ksatpute123 (11/18/2014)


    Here is the MSDN reference:

    That's not an MSDN reference, that's a forum, it's no more or less reliable than any other forum. MSDN reference would be one 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: Long running update stats exclusive lock

    Update stats doesn't normally take any locks at all. It runs read uncommitted. It could be that something earlier in that session started a transaction and took the lock 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: Database Server and Web Server: Which should get the faster server?

    Database server. Web servers typically aren't very CPU intensive, and if they become a bottleneck you can add more web servers and a load balancer. SQL however doesn't scale out...

    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: Sum two money field columns in SQL

    and the table definition please.

    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: dot notation where all columns are not referenced

    Lynn Pettis (11/17/2014)


    Even in single table queries I recommend using table aliases in the FROM clause and using that alias on the columns in the select list.

    I would go...

    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: Is table partitioning available in azure sql server?

    Horizontal partitioning is just having multiple tables each storing part of the data with a view 'merging' 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

Viewing 15 posts - 7,261 through 7,275 (of 49,552 total)