Nikolay Savvinov

2.7K posts

Nikolay Savvinov

Nikolay Savvinov

@oradiag

Oracle developer and performance analyst

Katılım Mayıs 2010
519 Takip Edilen970 Takipçiler
Nikolay Savvinov
Nikolay Savvinov@oradiag·
@Zoito3221 @kylie__tyler вопрос на засыпку: а почему мы тогда не ходим регистрировать дружбу с друзьями, с которыми нам по кайфу и пр. в госорганы и религиозные заведения? и даже обходимся без обрядов, церемоний и камланий, и вроде всем как-то норм?
Русский
1
0
1
81
Александр
Александр@Zoito3221·
@kylie__tyler Можно третий вариант: семья создается двумя людьми которым просто по кайфу находиться в окружении друг друга каждый день, без манипуляций, детей и унижений 🙂
Русский
4
0
31
726
Nikolay Savvinov
Nikolay Savvinov@oradiag·
@JemHaydonMoore @tylerblack32 @notyourleader New order would open up some exciting possibilities for Mr Putin (or "deals" as his friend Trump would say). He can start charging reasonable fees for not attacking neighboring countries, for example.
English
0
0
2
75
Tyler Black, MD
Tyler Black, MD@tylerblack32·
How, exactly, did Zelenskyy disrespect America? by pointing out that Russia has violated ceasefires in the past? by pointing out that Russia was the aggressor? Please, someone explain the disrespect.
English
7K
7.4K
114.3K
4.8M
Nikolay Savvinov
Nikolay Savvinov@oradiag·
@JemHaydonMoore @notyourleader @tylerblack32 As a Russian, let me tell you something. The most simplistic interpretation here is the most accurate one. This is a simple shameless land grab. The goal of the land grab is not so much land per se, but crushing the existing rule-based order.
English
0
0
3
37
Jemma Moore
Jemma Moore@JemHaydonMoore·
@notyourleader @tylerblack32 Personally I’d expect some sort of reflection on the history of the conflict & of the periods of alliance between countries. There’s a simplistic rhetoric from the mainstream which quite frankly is insulting.
English
14
0
2
1.7K
Nikolay Savvinov
Nikolay Savvinov@oradiag·
@PerlDBA @tmmdv @MDWidlake @JLOracle @TanelPoder @NenadNoveljic I haven't seen any mention of it, but we empirically established that clearing the stale flag by manually updating the stats resolves the problem with the bad plan. it's just that the flag reappears after some some time (for indexes only) so this solution only works short term
English
1
0
0
58
Nikolay Savvinov
Nikolay Savvinov@oradiag·
@JLOracle @MDWidlake @PerlDBA @TanelPoder @NenadNoveljic # of blocks as per dba_segments seems reasonable so it doesn't seem to be the case here. interestingly, catost.sql shows that while for tables staleness logic is straightforward (a case stmt compares modifications to threshold), for views it's done with an internal function
English
1
0
0
60
Nikolay Savvinov
Nikolay Savvinov@oradiag·
@MDWidlake @PerlDBA @JLOracle @TanelPoder @NenadNoveljic I think the flag does make a difference here. my understanding is that stale stats make the optimizer go for dynamic sampling which is known to be suffering from some bugs. I don't have any other explanation why the full table scan cost would be so wrong and so inconsistent
English
3
0
3
79
Nikolay Savvinov
Nikolay Savvinov@oradiag·
@PerlDBA @JLOracle @MDWidlake @TanelPoder @NenadNoveljic locking stats is the option we are inclining to, but we still need to understand what's happening here because we know there are other tables with similar behavior, and tables are being added from time to time, so it would be more of a workaround and not a solution
English
1
0
1
42
Jared Still
Jared Still@PerlDBA·
@oradiag @JLOracle @MDWidlake @TanelPoder @NenadNoveljic Maybe consider locking stats on that object, and unlocking only to gather stats. Haven't played with this in awhile, but I believe that if stats are locked they cannot be marked stale. Easy enough to test on a test table/indexes.
English
1
0
0
36
Jared Still
Jared Still@PerlDBA·
@oradiag @JLOracle @MDWidlake @TanelPoder @NenadNoveljic I had once thought STALE stats affected the optimizer. Everything I could find on that topic said 'No, stale stats do not affect the optimizer' Multiple 10053 traces were examined where STALE stats were involved, nothing found STALE affected optimizer.
English
3
0
1
68
Hemant K Chitale
Hemant K Chitale@HemantKChitale·
@PerlDBA @oradiag @JLOracle @MDWidlake @TanelPoder @NenadNoveljic Good question. How do DBAs (and worse Developers and Managers !) react when they see the data dictionary stating that some statistics are "stale" ? We have to be careful to interpret "staleness". In my experience most "stale" statuses can be ignored. Only some are important.
English
2
0
0
33
Nikolay Savvinov
Nikolay Savvinov@oradiag·
@PerlDBA @JLOracle @MDWidlake @TanelPoder @NenadNoveljic I have a very serious reason to care. With stale index stats, the optimizer seems to use dynamic sampling instead of stats, and there seems to be a bug, so the costing comes out all wrong and it ends up doing a full scan of a 700+ block table instead of a UQ index lookup
English
2
0
1
94