Development & Performance, SQL Server RCSI with foreign keys, NULL values and paramater sniffing behavior 04.04.2019 by Microsoft Team In this blog post let’s go back to the roots (DBA concern) with a discussion with one of my friends about a weird transaction locking issue. In fact, this discussion was specifically around two questions. The(…)
Oracle, PostgreSQL Postgres vs. Oracle access paths XI – Sample Scan 26.08.2017 by Oracle Team By Franck Pachot . I was going to end this series with the previous post because the last access path available in Postgres is a bit special: a Seq Scan that returns only a sample of(…)
Oracle, PostgreSQL Postgres vs. Oracle access paths X – Update 24.08.2017 by Oracle Team By Franck Pachot . In the previous post we have seen the cheapest way to get one row, reading only one block from its physical location. But that's the optimal case where the row has not(…)
Oracle, PostgreSQL Postgres vs. Oracle access paths IX – Tid Scan 23.08.2017 by Oracle Team By Franck Pachot . In the previous post we have seen how Postgres and Oracle finds the table row from the index entry. It uses the TID / ROWID. I’ll focus on this access path(…)
Oracle, PostgreSQL Postgres vs. Oracle access paths VIII – Index Scan and Filter 20.08.2017 by Oracle Team By Franck Pachot . In the previous post we have seen a nice optimization to lower the consequences of bad correlation between the index and the table physical order: a bitmap, which may include false positives(…)
Oracle, PostgreSQL Postgres vs. Oracle access paths VI – Index Scan 09.08.2017 by Oracle Team By Franck Pachot . In the previous post my queries were still reading the indexed column only, from a table which had no modifications since the last vacuum, and then didn't need to read table pages:(…)
PostgreSQL Postgres vs. Oracle access paths V – FIRST ROWS and MIN/MAX 08.08.2017 by Oracle Team By Franck Pachot . We have seen how an index can help to avoid a sorting operation in the previous post. This avoids a blocking operation: the startup cost is minimal and the first rows can(…)
Oracle, PostgreSQL Postgres vs. Oracle access paths IV – Order By and Index 05.08.2017 by Oracle Team By Franck Pachot . I realize that I'm talking about indexes in Oracle and Postgres, and didn't mention yet the best website you can find about indexes, with concepts and examples for all RDBMS: http://use-the-index-luke.com. You(…)
Oracle, PostgreSQL Postgres vs. Oracle access paths III – Partial Index 03.08.2017 by Oracle Team By Franck Pachot . In the previous post I said that an Index Only Access needs to find all rows in the index. Here is a case where, with similar data, Postgres can find all rows(…)
Oracle, PostgreSQL Postgres vs. Oracle access paths II – Index Only Scan 02.08.2017 by Oracle Team By Franck Pachot . In the previous post I've explained a sequential scan by accident: my query needed only one column which was indexed, and I expected to read the index rather than the table. And(…)