IT. Expert System.

Android Reference

SQLiteDebug


android.database.sqlite

Class SQLiteDebug



  • public final class SQLiteDebug
    extends Object
    Provides debugging info about all SQLite databases running in the current process.
    • Field Detail

      • DEBUG_SQL_LOG

        public static final boolean DEBUG_SQL_LOG
        Controls the printing of informational SQL log messages. Enable using "adb shell setprop log.tag.SQLiteLog VERBOSE".
      • DEBUG_SQL_STATEMENTS

        public static final boolean DEBUG_SQL_STATEMENTS
        Controls the printing of SQL statements as they are executed. Enable using "adb shell setprop log.tag.SQLiteStatements VERBOSE".
      • DEBUG_SQL_TIME

        public static final boolean DEBUG_SQL_TIME
        Controls the printing of wall-clock time taken to execute SQL statements as they are executed. Enable using "adb shell setprop log.tag.SQLiteTime VERBOSE".
      • DEBUG_LOG_SLOW_QUERIES

        public static final boolean DEBUG_LOG_SLOW_QUERIES
        True to enable database performance testing instrumentation.
    • Method Detail

      • shouldLogSlowQuery

        public static final boolean shouldLogSlowQuery(long elapsedTimeMillis)
        Determines whether a query should be logged. Reads the "db.log.slow_query_threshold" system property, which can be changed by the user at any time. If the value is zero, then all queries will be considered slow. If the value does not exist or is negative, then no queries will be considered slow. This value can be changed dynamically while the system is running. For example, "adb shell setprop db.log.slow_query_threshold 200" will log all queries that take 200ms or longer to run.
      • dump

        public static void dump(Printer printer,
                String[] args)
        Dumps detailed information about all databases used by the process.
        Parameters:
        printer - The printer for dumping database state.
        args - Command-line arguments supplied to dumpsys dbinfo


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1457 / 158701684. Delta: 0.12943 с