OceanBase logo

OceanBase

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

Product Overview
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

OceanBase

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

Product Overview
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.6.0

    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.6.0
    iconOceanBase Database
    SQL - V 4.6.0
    SQL
    KV
    • V 4.6.0
    • 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-05-07 11:26:24  Updated
    share
    What is on this page
    Purpose
    Columns
    Sample query

    folded

    share

    Note

    This view is available starting with V4.0.0.

    Purpose

    This 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. This column is not currently used.
    SCHEDULE_OWNER varchar(4000) NO The owner of the window's schedule. This column is not currently used.
    SCHEDULE_NAME varchar(4000) NO The name of the window's schedule. This column is not currently used.
    SCHEDULE_TYPE varchar(8) NO The type of the window's schedule:
    • ONCE: The repeat interval is NULL.
    • NAMED: A named schedule.
    • CALENDAR: A calendar expression used as a schedule.

    This column is not currently used.
    START_DATE datetime(6) YES The start date of the window (for inline schedules)
    REPEAT_INTERVAL varchar(4000) YES The repeat interval for the window
    END_DATE datetime(6) YES The end date of the window
    DURATION bigint(20) YES The duration of the window
    WINDOW_PRIORITY varchar(4) NO The priority of the window relative to other windows:
    • HIGH
    • LOW

    This column is not currently used.
    NEXT_RUN_DATE datetime(6) NO The next start date of the window
    LAST_START_DATE datetime(6) YES The last start date of the window
    ENABLED varchar(5) YES Indicates whether the window is enabled (TRUE) or disabled (FALSE)
    ACTIVE varchar(5) NO Indicates whether the window is open (TRUE) or closed (FALSE). This column is not currently used.
    MANUAL_OPEN_TIME datetime(6) NO The time when the window was manually opened, or NULL if it was not manually opened. This column is not currently used.
    MANUAL_DURATION bigint(0) NO The duration of the manually opened window, or NULL if it was not manually opened. This column is not currently used.
    COMMENTS varchar(4000) YES The description of the window

    Sample query

    Query information about all scheduler windows 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