Diane (@sql2go) profile picture

DBA by trade... No really, wanna trade? Unfortunately, I've only achieved 66.66% uptime, my system continually crashes between 12-6 am. Maybe I need a patch!

Vancouver, BC
Joined October 2011
Photo by Diane (@sql2go)Photo by Diane (@sql2go)Photo by Diane (@sql2go)Photo by Diane (@sql2go)Photo by Diane (@sql2go)Photo by Diane (@sql2go)Photo by Diane (@sql2go)Photo by Diane (@sql2go)Photo by Diane (@sql2go)Photo by Diane (@sql2go)
Hey friends! Want to work somewhere exciting and fun? Great colleagues and perks? Make a difference in helping people find love and connection? Then check this out & apply or let me know if you want more info #sql #BigData #aws #sqlserver #databricks join.matchgroupcareers.com/c…
13
If anyone understands why this is happening I'm all ears! dba.stackexchange.com/q/3002… #PostgreSQL @pgexperts
1
1
1
I actually updated the question as it's the reverse where the standby is trying to connect to the primary, not the other way around. However I've already ensured the primary_conninfo is removed as well as the trigger file, so it's still an issue.
1
1
If anyone is interested please let me know! linkedin.com/posts/activity-…
Why does a 3000 line row-by-row INSERT script perform better with a GO after each statement than without? Script is only 481KB and takes a few seconds with GO and a few minutes without. It can’t all be parse/compile? #sqlhelp
5
2
Even though it's a pretty tiny read, it is executed hundreds of of times per second. Changing the FILLFACTOR from 100 to 80 resulted in either no change or slightly worse performance. Original tables did contain 50% fragmentation. Would like to know what else could be a factor?
#sqlhelp I have a query plan which doesn't change after an index rebuild incl. costs, rows, row size, etc. Even though reads & writes remain the same, worker time increases (0.1 to 0.6 ms). Reads are 99.9% logical reads, and back-end storage is high-end SAN. Any explanations?
#sqlhelp I have a query plan which doesn't change after an index rebuild incl. costs, rows, row size, etc. Even though reads & writes remain the same, worker time increases (0.1 to 0.6 ms). Reads are 99.9% logical reads, and back-end storage is high-end SAN. Any explanations?
1
1
Vancouver PASS Chapter Meetup August 2019 - Power BI Report Server: a Deep Dive by Luca Gualtieri, Co-founder & CTO PBILab this Thursday. Sponsored by #POF and our very own @SQLSocialite Don’t miss out, RSVP and details at vancouver.pass.org! #SQLServer #sqlpass #PowerBI
1
1
#sqlhelp optimizing indexes showed interesting impact when rebuilding sometimes: logical reads, worker time cut in half, but elapsed time doubles anyways. Could this be stats? No blocking wait diffs. Same test workload. Difference is use of parallelism.
If anyone is interested or knows someone who is, please pass them on to me for filling some careers. I can definitely vouch for how great it is to work at POF! Check it out here: #careers #businessintelligence #itdevelopment #itmanagement #poflife pof.com/careers.aspx?api=1
1
#sqlhelp. I’ve reposted this question more clearly here about possible issue with DMV perf of dm_exec_query_stats: dba.stackexchange.com/q/2029…
1
#sqlhelp weird issue with job to collect from dm_exec_query_stats INNER JOIN sys.dm_exec_cached_plans CROSS APPLY dm_exec_sql_text suddenly jumped in reads, writes, and cpu time 10x. No changes to code. Seems like autostats issue but how can it be fixed?
#sqlhelp weird issue of blocking where lead blocker on sp_whoisactive involves different table then the one blocked, and open_tran_count=0. Checked SP and app code and no explicit trans. What else could it be?
3
No we just impl. RG and moved on. It's been a week now and memory hasn't grown nor page life expectancy dropped since. teapawt.org/nedotter/status/897798…
Replying to @sql2go
Wondering if you opened a ticked with Microsoft about this.
Yup, strange but true. We have 6TB of RAM, and memoryclerk_XTP consumed over 5TB, eventually paging out the buffer pool thrashing PLE too teapawt.org/nedotter/status/897633…
Replying to @sql2go
Since RG is only in Ent. Ed., seems strange that it would be required. GC does not work for in-mem tbl variables only in-mem tbls.
1
We used to replace highly active user tables to queue notifications via push/pop. Ins/del ops mostly. Some table variable usage as well. teapawt.org/nedotter/status/897572…
Replying to @sql2go
Would love to hear more about how you are using In-Mem in your environment. Tmp table replacement? User tables also?
A requirement it seems, not just best practice. 5TB RAM w/ user tables needing only 1GB for ins/del ops. GC ran sparingly, no long trans. teapawt.org/nedotter/status/897571…
Replying to @sql2go
You had update/delete workload, and GC did not kick in?. Should be aggressive, but glad RG solved it 4 u. Is also best practice. #sqlhelp
1
#sqlhelp Obviously it didn't require that memory but did not give it up or reuse it either. Only with RG was it released. teapawt.org/sql2go/status/89756035…
Thanks, we were until impl. RG. W/O RG, memoryclerk_XTP climbed to 90%. After, <1%. Why no cleanup to prevent pushing out buffer pool? teapawt.org/nedotter/status/894002…
1
1
Thanks, we were until impl. RG. W/O RG, memoryclerk_XTP climbed to 90%. After, <1%. Why no cleanup to prevent pushing out buffer pool? teapawt.org/nedotter/status/894002…
Replying to @sql2go
Are you experiencing an issue, or just curious? GC only runs when it needs to. #sqlhelp
1
1
#sqlhelp we will be impl. Resource Governor, but aside from that, anything we can do to drop memory now non-impactfully? teapawt.org/sql2go/status/89358896…
#sqlhelp very high memoryclerk_xtp value for db in dm_os_memory_clerks tho low values in dm_db_xtp_table_memory_stats. GC runs fine. Why?
1