Oracle, PostgreSQL Postgres vs. Oracle access paths – intro 01.08.2017 by Oracle Team By Franck Pachot . This is the start of a series on PostgreSQL execution plans, access path, join methods, hints and execution statistics. The approach will compare Postgres and Oracle. It is not a comparison to see which one is(…)
PostgreSQL PostgreSQL on Cygwin 01.08.2017 by Oracle Team By Franck Pachot . I run my laptop with Windows 10 for office programs, and VirtualBox machines with Linux for the big stuff (Oracle databases). I have also Cygwin installed on Windows for GNU programs. I wanted to quickly install(…)
Oracle, PostgreSQL Postgres vs. Oracle access paths VII – Bitmap Index Scan 31.07.2017 by Oracle Team By Franck Pachot . In the previous post we have seen the Index Scan, where a where clause condition uses the index structure to find rows and then fetches remaining columns from the table. The case(…)
Database Administration & Monitoring Re-assigning all objects from on role to another in PostgreSQL 31.07.2017 by Daniel Westermann From time to time it might be required to move objects (tables, indexes, whatever) from one user to another user in a database system. You could do that by dumping all the objects with pg_dump and then(…)
Database Administration & Monitoring Setting up default parameters for roles in PostgreSQL 28.07.2017 by Daniel Westermann As you might know you can set various parameters on the session level in PostgreSQL by using the "set" command: postgres=# h set Command: SET Description: change a run-time parameter Syntax: SET [ SESSION | LOCAL ] configuration_parameter { TO(…)
Database Administration & Monitoring Can I do it with PostgreSQL? – 17 – Identifying a blocking session 25.07.2017 by Daniel Westermann One single blocking session in a database can completely halt your application so identifying which session is blocking other sessions is a task you must be able to perform quickly. In Oracle you can query v$session for(…)
Database Administration & Monitoring Can I do it with PostgreSQL? – 16 – DDL triggers 14.07.2017 by Daniel Westermann A question I received recently from a customer: Oracle gives you the possibility to create DDL triggers. DDL triggers fire (as the name implies) when DDL events occur. Can we do that in PostgreSQL? Yes, this feature(…)
Database Administration & Monitoring What are typed tables in PostgreSQL? 13.07.2017 by Daniel Westermann While reading the PostgreSQL documentation for "CREATE TABLE" I came across this: "OF type_name: Creates a typed table, which takes its structure from the specified composite type (name optionally schema-qualified). A typed table is tied to its(…)
Database Administration & Monitoring Did you ever wonder what PostgreSQL is executing in the background when you use the psql shortcuts? 13.07.2017 by Daniel Westermann When you work with PostgreSQL you are probably using psql and when you use psql you are probably using one or more of the shortcuts psql is providing. These shortcuts provide a quick and convenient way to(…)
Database Administration & Monitoring Can I do it with PostgreSQL? – 15 – invisible indexes 12.07.2017 by Daniel Westermann It has been quite a while since the last post in this series. Today we'll look at what you know from Oracle as: Invisible indexes. In case you wonder what they might be useful for: Imagine you(…)