screen shots oct 2010 english

Upload: jgomez709

Post on 03-Jun-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/11/2019 Screen Shots Oct 2010 English

    1/37

    Screen Shots

  • 8/11/2019 Screen Shots Oct 2010 English

    2/37

    sql.ini File, Servers

    SQLBrowser reads an sql.ini file

    Servers can be organised in groups

    A color can be assigned to servers. It will beused as the windows background color

  • 8/11/2019 Screen Shots Oct 2010 English

    3/37

    SQLBrowser reads servers from

    sql.ini

    that you can move to groups (DEV,

    PROD SERVERS for example)

  • 8/11/2019 Screen Shots Oct 2010 English

    4/37

    Regexp qualifying

    server name

    Window

    background color

  • 8/11/2019 Screen Shots Oct 2010 English

    5/37

    Objects Window

    2 tabs:

    By database, alphabetical order

    Global view, lookup by name (recommendedapproach when you know what you look for -

    faster)

  • 8/11/2019 Screen Shots Oct 2010 English

    6/37

    Current

    Server:

    V15CS_PRD1

    Tab 1: Databases

    Alphabetical order

  • 8/11/2019 Screen Shots Oct 2010 English

    7/37

    Tab 2: Objects

    Quick search on all objects

    Type substring to show

    matching objects

    Activated by Ctrl-Shift-O.

    Up/Dn/Enter key allows

    mouseless operations for

    better productivity

  • 8/11/2019 Screen Shots Oct 2010 English

    8/37

    Actions available on procs and

    tables

    Dependencies of this object

    (Parent / Children)

    (read from Batch Analysis)

  • 8/11/2019 Screen Shots Oct 2010 English

    9/37

    Actions are also available in

    the Dependencies panel

  • 8/11/2019 Screen Shots Oct 2010 English

    10/37

    Actions on Objects

    Analyze: Analyze an object and its sub-procs.

    Allows to see defects, queries

    Extract: Extracts the body of an object (not

    recommended for code maintenance!)

    Source: Opens the source file matching this

    object (recommended for code maintenance!)

  • 8/11/2019 Screen Shots Oct 2010 English

    11/37

    Results of Analyze onprocedure sp_help

    - Yellow Screen (Read Only)

    - All sub procs are parsed

    The Defects tab shows forinstance defects found on this

    proc and sub procs

  • 8/11/2019 Screen Shots Oct 2010 English

    12/37

    Source Option:

    where to find the sources

    Path for objects qualifying the

    regexps

  • 8/11/2019 Screen Shots Oct 2010 English

    13/37

    SQL Editor

    Coloration

    Auto Completion for names

    Auto Completion for joins Reformatting

    Commenting

    Inline Defects Analysis Abbreviations and Macros

  • 8/11/2019 Screen Shots Oct 2010 English

    14/37

    Edition of sp_help (assumingwe have the sources, which is

    the case for this demo

    D:\V15CS

    sources\sybsystemprocs\sp_

    help.sql)

    Defects are parsed

  • 8/11/2019 Screen Shots Oct 2010 English

    15/37

    Editor:

    Contextual actions.

    For instance Show Diagram

  • 8/11/2019 Screen Shots Oct 2010 English

    16/37

    Shows this

  • 8/11/2019 Screen Shots Oct 2010 English

    17/37

    Editor:

    Ctrl-Space on object shows

    choices and definitions

  • 8/11/2019 Screen Shots Oct 2010 English

    18/37

    Editor:

    Ctrl-Space on joins show

    possible joins

    (read from Batch Analysis)

  • 8/11/2019 Screen Shots Oct 2010 English

    19/37

    Running Queries

    With possible options (showplan, fmtonly)

    Interruptible

    Colorized IO and plans Concurrent executions in multiple windows

    Various actions on Result-Sets

  • 8/11/2019 Screen Shots Oct 2010 English

    20/37

    Batch execution

    Results

    Possible Actions

  • 8/11/2019 Screen Shots Oct 2010 English

    21/37

    Colorized

    IOs

  • 8/11/2019 Screen Shots Oct 2010 English

    22/37

    Debugger

    Step by Step

    Break Points

    Interruptible Inspection / Change of variables

    On the fly executions in the debugger pad

    (allows for tuning for instance)

  • 8/11/2019 Screen Shots Oct 2010 English

    23/37

    Interactive

    DebuggerPad

    Current

    Instruction

    Results

    Stack

    Variables

  • 8/11/2019 Screen Shots Oct 2010 English

    24/37

    Data Analysis

    Simple function which shows most

    representative values in a table

    Allows to understand table content

    Interesting complement of select *

    Spots useless columns

  • 8/11/2019 Screen Shots Oct 2010 English

    25/37

    Analysis of sysobjects.

    Values are shown by order of frequency

  • 8/11/2019 Screen Shots Oct 2010 English

    26/37

    Monitor

    Shows Active Processes

    Shows Locked Tables

    Shows Locked Processes

  • 8/11/2019 Screen Shots Oct 2010 English

    27/37

    Most active

    processes or

    blocked

    Historization

    Locks

  • 8/11/2019 Screen Shots Oct 2010 English

    28/37

    Capture

    SQLBrowser can act as a gateway

    The application to trace connects to

    SQLBrowser which acts as a server

    Traffic is recorded

    Allows to see what an unknown application

    effectively sends

    (Sort of Ribo)

  • 8/11/2019 Screen Shots Oct 2010 English

    29/37

    Captured Client

    CapturedStatements

  • 8/11/2019 Screen Shots Oct 2010 English

    30/37

    Batch Analysis

    Analyze one or more databases

    Produces an HTML site with indented code

    Serves as a reference for developers Can be executed as part of a Windows Task

    Generates dependencies and schema (joins)

    used by interactive SLQBrowser sessions

  • 8/11/2019 Screen Shots Oct 2010 English

    31/37

    Main index

    Defects Found

  • 8/11/2019 Screen Shots Oct 2010 English

    32/37

    Table orProc

    Other Information

  • 8/11/2019 Screen Shots Oct 2010 English

    33/37

    Dependencies

    Other Information

  • 8/11/2019 Screen Shots Oct 2010 English

    34/37

    More Information

    Manual:http://www.sqlbrowser.com/wiki/index.php/Manual

    Batch Analysis example:http://www.sqlbrowser.com/wikiHTML/sqlbhtml/index.html

    Index of detected Defects:http://www.sqlbrowser.com/wikiHTML/DetectedDefects/defectsALLIndex.php

    http://www.sqlbrowser.com/wiki/index.php/Manualhttp://www.sqlbrowser.com/wiki/index.php/Manualhttp://www.sqlbrowser.com/wikiHTML/sqlbhtml/index.htmlhttp://www.sqlbrowser.com/wikiHTML/sqlbhtml/index.htmlhttp://www.sqlbrowser.com/wikiHTML/DetectedDefects/defectsALLIndex.phphttp://www.sqlbrowser.com/wikiHTML/DetectedDefects/defectsALLIndex.phphttp://www.sqlbrowser.com/wikiHTML/DetectedDefects/defectsALLIndex.phphttp://www.sqlbrowser.com/wikiHTML/DetectedDefects/defectsALLIndex.phphttp://www.sqlbrowser.com/wikiHTML/sqlbhtml/index.htmlhttp://www.sqlbrowser.com/wikiHTML/sqlbhtml/index.htmlhttp://www.sqlbrowser.com/wiki/index.php/Manualhttp://www.sqlbrowser.com/wiki/index.php/Manual
  • 8/11/2019 Screen Shots Oct 2010 English

    35/37

  • 8/11/2019 Screen Shots Oct 2010 English

    36/37

  • 8/11/2019 Screen Shots Oct 2010 English

    37/37