SQL Performance (MOSC)

MOSC Banner

Does the create baseline template, creates baselines for all the sql's with the given start and end

Hi team,

Can someone please help me clarify this…

Does the create baseline template, creates baselines for all the sql's with the given start and end time??

does duration 3 mean- 3 hours from 17??

how do i run the same for 30min should I give 0.5 hours?

BEGIN

DBMS WORKLOAD REPOSITORY.CREATE BASELINE_TEMPLATE

(

day of week => 'monday', hour in day => 17,

duration => 3,

expiration => 30,

start time => '2021-04-02 17:00:00 PST', end_time => '2022-04-04 17:00:00 PST',

baseline_name_prefix => 'baseline_2021_', template_name => 'template 2021',

dbid => 3310949047

) ;

END;

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center