2026-03-12 20:23:15
This commit is contained in:
15
tpt/ast/04_cbo_selectivity_decay.sql
Normal file
15
tpt/ast/04_cbo_selectivity_decay.sql
Normal file
@@ -0,0 +1,15 @@
|
||||
-- Copyright 2018 Tanel Poder. All rights reserved. More info at http://tanelpoder.com
|
||||
-- Licensed under the Apache License, Version 2.0. See LICENSE.txt for terms & conditions.
|
||||
|
||||
DROP TABLE selectivity_test;
|
||||
|
||||
CREATE TABLE selectivity_test AS
|
||||
SELECT sysdate - rownum d
|
||||
FROM dual connect by level <= 365;
|
||||
|
||||
@gts selectivity_test
|
||||
|
||||
@minmax d selectivity_test
|
||||
|
||||
@descxx selectivity_test
|
||||
|
||||
Reference in New Issue
Block a user