Search notes:

Oracle: Init parameter _GBY_HASH_AGGREGATION_ENABLED

create table tq84_objs as
select
   owner       own,
   object_name nam,
   object_type typ
from
   dba_objects;

explain plan for
select distinct
   nam,
   typ
from
   tq84_objs;
--
-- ----------------------------------------
-- | Id  | Operation          | Name      |
-- ----------------------------------------
-- |   0 | SELECT STATEMENT   |           |
-- |   1 |  HASH UNIQUE       |           |
-- |   2 |   TABLE ACCESS FULL| TQ84_OBJS |
-- ----------------------------------------

select * from table(dbms_xplan.display(format=>'basic'));

alter session set "_gby_hash_aggregation_enabled" = false;


explain plan for
select distinct
   nam,
   typ
from
   tq84_objs;
--
-- ----------------------------------------
-- | Id  | Operation          | Name      |
-- ----------------------------------------
-- |   0 | SELECT STATEMENT   |           |
-- |   1 |  SORT UNIQUE       |           |
-- |   2 |   TABLE ACCESS FULL| TQ84_OBJS |
-- ----------------------------------------

select * from table(dbms_xplan.display(format=>'basic'));

alter session set "_gby_hash_aggregation_enabled" = true;

drop table tq84_objs;

See also

init parameters

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758198904, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/adminstration/init-parameters/gby/hash_aggregation_enabled(82): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78