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(…)
Database Administration & Monitoring Developer GUI tools for PostgreSQL 04.08.2017 by Daniel Westermann There was a recent thread on the PostgreSQL general mailing list asking for GUI tools for PostgreSQL. This is question we get asked often at customers so I though it might be good idea to summarize(…)
Database Administration & Monitoring A wonderful PostgreSQL feature: default privileges 04.08.2017 by Daniel Westermann Imagine this scenario (which is not so uncommon): You have a lot of objects in a user schema and you want to grant another user access to that tables. You can easily do this by granting select(…)
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(…)