Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-8948

Allow checking of LOGGING status via SQL/JDBC

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • jdbc, sql
    • None

    Description

      It is now possible to enable/disable WAL via ALTER TABLE tblName

      {LOGGING|NOLOGGING}

      ;

      However, it's not possible to check current LOGGING status. It is desired that this is available.

      The suggested method is via JDBC metadata table info: right now we return null as REMARKS, but we could return the WITH "..." string in REMARKS. Which will allow more introspection to JDBC clients. We could store this line somewhere, or reconstruct it from scratch. And, we can allow WITH "logging=

      {true|false}

      " and return the current logging status in the same fashion.

      The problem here is that non-JDBC SQL clients still can't do that. So maybe we need a dedicated statements for this eventually.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ilyak Ilya Kasnacheev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: