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

Allow checking of LOGGING status via SQL/JDBC

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            ilyak Ilya Kasnacheev

            Dates

              Created:
              Updated:

              Slack

                Issue deployment