Без рубрики
postgresql script to find excess indexes
here how excess indexes can be found, excess mean that there is a single column index which is covered by first value of complex index
oracle how to get disk event waits estimates
base took from ASH Architecture and Advanced Usage — RMOUG
postgresql configure separate directory for config files
first of all we need to create directory for config files outside $PGDATA: in my case this is /u01/postgres/9.5/main/conf/ next we need to modify service and add option with path of postgresql.conf in config file we modify location of other config files:
PgSQL Indexes and «LIKE»
Original from Paul Ramsey Hi all, because English is not my native language, that’s why I will write as little as possible =) here is the case, when we write a query with like and get Seq Scan (full table scan), instead index scan this material can be usefull for you if we create same … Читать далее
ORA-42016: shape of interim table does not match specified column mapping
try to make table partitioned: create dummy table: start redef and get error: this is because original table have a timestamp with local timezone format how to fix it:
linux how-to find who use swap
original
Oracle 12c Adaptive Query Optimization overhead
Trying to find out overhead of new Adaptive Query Optimization feature use perf to find out process cpu usage ( eg:perf stat -e task-clock -p 9576 sleep 5 ) to disable adaptive features I used so the result is: 3000 hpares 3000 hpares 3000 hpares 3000 hpares 3000 hpares avg adaptive off 1724,46 1786,04 1696,22 … Читать далее