OceanBase logo

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

International - English
中国站 - 简体中文
日本 - 日本語
Sign In
Start on Cloud

A unified distributed database ready for your transactional, analytical, and AI workloads.

DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS
OceanBase CloudOceanBase Database
ToolsConnectors and Middleware
QUICK START
OceanBase CloudOceanBase Database
BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

Start on Cloud
编组
All Products
    • Databases
    • iconOceanBase Database
    • iconOceanBase Cloud
    • iconOceanBase Tugraph
    • iconInteractive Tutorials
    • iconOceanBase Best Practices
    • Tools
    • iconOceanBase Cloud Platform
    • iconOceanBase Migration Service
    • iconOceanBase Developer Center
    • iconOceanBase Migration Assessment
    • iconOceanBase Admin Tool
    • iconOceanBase Loader and Dumper
    • iconOceanBase Deployer
    • iconKubernetes operator for OceanBase
    • iconOceanBase Diagnostic Tool
    • iconOceanBase Binlog Service
    • Connectors and Middleware
    • iconOceanBase Database Proxy
    • iconEmbedded SQL in C for OceanBase
    • iconOceanBase Call Interface
    • iconOceanBase Connector/C
    • iconOceanBase Connector/J
    • iconOceanBase Connector/ODBC
    • iconOceanBase Connector/NET
icon

OceanBase Database

SQL - V4.4.2

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogLive DemosTraining & Certification
    Company
    About OceanBaseTrust CenterLegalPartnerContact Us
    Follow Us

    © OceanBase 2026. All rights reserved

    Cloud Service AgreementPrivacy PolicySecurity
    Contact Us
    Document Feedback
    1. Documentation Center
    2. OceanBase Database
    3. SQL
    4. V4.4.2
    iconOceanBase Database
    SQL - V 4.4.2
    SQL
    KV
    • V 4.4.2
    • V 4.3.5
    • V 4.3.3
    • V 4.3.1
    • V 4.3.0
    • V 4.2.5
    • V 4.2.2
    • V 4.2.1
    • V 4.2.0
    • V 4.1.0
    • V 4.0.0
    • V 3.1.4 and earlier

    oceanbase.DBA_SCHEDULER_WINDOWS

    Last Updated:2026-04-02 06:23:58  Updated
    share
    What is on this page
    Purpose
    Columns
    Sample query

    folded

    share

    Note

    This view is introduced since OceanBase Database V4.0.0.

    Purpose

    The oceanbase.DBA_SCHEDULER_WINDOWS view displays information about all scheduler windows in the current tenant.

    Columns

    Column Type Nullable? Description
    OWNER varchar(128) NO The owner of the scheduler window.
    WINDOW_NAME varchar(128) NO The name of the scheduler window.
    RESOURCE_PLAN varchar(128) NO The resource plan associated with the window. At present, this column is not used.
    SCHEDULE_OWNER varchar(4000) NO The owner of the schedule for the window. At present, this column is not used.
    SCHEDULE_NAME varchar(4000) NO The name of the schedule for the window. At present, this column is not used.
    SCHEDULE_TYPE varchar(8) NO The type of the schedule. Valid values:
    • ONCE: The repeat interval is NULL.
    • NAMED: a named schedule.
    • CALENDAR: The schedule is a calendar expression.

    At present, this column is not used.
    START_DATE datetime(6) YES The start date of the window (for an inline plan).
    REPEAT_INTERVAL varchar(4000) YES The repeat interval of the window.
    END_DATE datetime(6) YES The end time of the window.
    DURATION bigint(20) YES The duration of the window.
    WINDOW_PRIORITY varchar(4) NO The priority of the job in relative to other windows. Valid values:
    • HIGH
    • LOW

    At present, this column is not used.
    NEXT_RUN_DATE datetime(6) NO The time when the window starts the next time.
    LAST_START_DATE datetime(6) YES The time when the window started the last time.
    ENABLED varchar(5) YES Indicates whether the window is enabled (TRUE) or disabled (FALSE).
    ACTIVE varchar(5) NO Indicates whether the window is activated (TRUE) or deactivated (FALSE). At present, this column is not used.
    MANUAL_OPEN_TIME datetime(6) NO The time when the window was manually activated. If the window was not manually activated, the value is NULL. At present, this column is not used.
    MANUAL_DURATION bigint(0) NO The duration for which the window has been manually activated. If the window was not manually activated, the value is NULL. At present, this column is not used.
    COMMENTS varchar(4000) YES The description of the window.

    Sample query

    Query all the scheduling window information in the current tenant.

    obclient [oceanbase]> SELECT * FROM oceanbase.DBA_SCHEDULER_WINDOWS;
    

    The query result is as follows:

    +--------+------------------+---------------+----------------+---------------+---------------+----------------------------+-------------------------+----------------------------+----------+-----------------+----------------------------+----------------------------+---------+--------+------------------+-----------------+---------------------------------+
    | OWNER  | WINDOW_NAME      | RESOURCE_PLAN | SCHEDULE_OWNER | SCHEDULE_NAME | SCHEDULE_TYPE | START_DATE                 | REPEAT_INTERVAL         | END_DATE                   | DURATION | WINDOW_PRIORITY | NEXT_RUN_DATE              | LAST_START_DATE            | ENABLED | ACTIVE | MANUAL_OPEN_TIME | MANUAL_DURATION | COMMENTS                        |
    +--------+------------------+---------------+----------------+---------------+---------------+----------------------------+-------------------------+----------------------------+----------+-----------------+----------------------------+----------------------------+---------+--------+------------------+-----------------+---------------------------------+
    | root@% | FRIDAY_WINDOW    | NULL          | NULL           | NULL          | NULL          | 2025-03-21 22:00:00.000000 | FREQ=WEEKLY; INTERVAL=1 | 4000-01-01 00:00:00.000000 |    14400 | NULL            | 2025-03-21 22:00:00.000000 | NULL                       | 1       | NULL   | NULL             |            NULL | used to auto gather table stats |
    | root@% | MONDAY_WINDOW    | NULL          | NULL           | NULL          | NULL          | 2025-03-24 22:00:00.000000 | FREQ=WEEKLY; INTERVAL=1 | 4000-01-01 00:00:00.000000 |    14400 | NULL            | 2025-03-24 22:00:00.000000 | NULL                       | 1       | NULL   | NULL             |            NULL | used to auto gather table stats |
    | root@% | SATURDAY_WINDOW  | NULL          | NULL           | NULL          | NULL          | 2025-03-22 22:00:00.000000 | FREQ=WEEKLY; INTERVAL=1 | 4000-01-01 00:00:00.000000 |    14400 | NULL            | 2025-03-22 22:00:00.000000 | NULL                       | 1       | NULL   | NULL             |            NULL | used to auto gather table stats |
    | root@% | SUNDAY_WINDOW    | NULL          | NULL           | NULL          | NULL          | 2025-03-23 22:00:00.000000 | FREQ=WEEKLY; INTERVAL=1 | 4000-01-01 00:00:00.000000 |    14400 | NULL            | 2025-03-23 22:00:00.000000 | NULL                       | 1       | NULL   | NULL             |            NULL | used to auto gather table stats |
    | root@% | THURSDAY_WINDOW  | NULL          | NULL           | NULL          | NULL          | 2025-03-20 22:00:00.000000 | FREQ=WEEKLY; INTERVAL=1 | 4000-01-01 00:00:00.000000 |    14400 | NULL            | 2025-03-27 22:00:00.000000 | 2025-03-20 22:00:00.002084 | 1       | NULL   | NULL             |            NULL | used to auto gather table stats |
    | root@% | TUESDAY_WINDOW   | NULL          | NULL           | NULL          | NULL          | 2025-03-25 22:00:00.000000 | FREQ=WEEKLY; INTERVAL=1 | 4000-01-01 00:00:00.000000 |    14400 | NULL            | 2025-03-25 22:00:00.000000 | NULL                       | 1       | NULL   | NULL             |            NULL | used to auto gather table stats |
    | root@% | WEDNESDAY_WINDOW | NULL          | NULL           | NULL          | NULL          | 2025-03-19 22:00:00.000000 | FREQ=WEEKLY; INTERVAL=1 | 4000-01-01 00:00:00.000000 |    14400 | NULL            | 2025-03-26 22:00:00.000000 | 2025-03-19 22:00:00.002020 | 1       | NULL   | NULL             |            NULL | used to auto gather table stats |
    +--------+------------------+---------------+----------------+---------------+---------------+----------------------------+-------------------------+----------------------------+----------+-----------------+----------------------------+----------------------------+---------+--------+------------------+-----------------+---------------------------------+
    7 rows in set
    

    Previous topic

    oceanbase.DBA_SCHEDULER_JOB_RUN_DETAILS
    Last

    Next topic

    oceanbase.DBA_SEQUENCES
    Next
    What is on this page
    Purpose
    Columns
    Sample query