SQL Monitor
Want to manages sql server performance? Check out SQL Monitor, it can monitor sql server processes and jobs, analyze performance, analyse system, object version control, view executing sql query, kill process / job, object explorer, database shrink/log truncate/backup/detach/attach etc.:
https://github.com/unruledboy/SQLMonitor
Overflow Stack
The overflow stack family (Web Front End Stack, Database Stack, .NET Stack etc.): http://overflowstack.github.io
Localization
ä¸æ–‡: https://github.com/unruledboy/DatabaseStack/blob/master/README.zh-cn.md
DatabaseStack
database technology stack, including MS SQL Server, Azure etc.
What and why?
Have you ever wondered:
- what technologies database server really includes?
- how many do I possess?
I could not find a really comprehensive diagram that shows the database technology stack, so I come up with my own version.
There might be issues here and there, like the category, the individual ones, but the beautity is you can modify it as you want.
The Database Stack
You can have a graphical preview here (use mouse to move / zoom):
https://rawgit.com/unruledboy/DatabaseStack/master/ux/DatabaseStack.htm
- Database
- RDBMS
- Simple
- dBase ;-)
- Foxbase ;-)
- FoxPro ;-)
- Visual FoxPro ;-)
- Access
- Sqlite
- Basics
- Edgar F. Codd
- Object/relational mapping (O/RM)
- Normalisation
- Normal Form
- First Normal Form (1NF)
- Second Normal Form (2NF)
- Third Normal Form (3NF)
- Normal Form
- Transaction
- ACID
- Atomicity
- Consistency
- Isolation
- Durability
- ACID
- MS SQL Server
- SQL OS
- Memory Management
- Buffer Pool
- Deadlock detection
- Exception handling
- Schedulers
- InterOp
- Storage Engine
- Transaction Services
- File Manager
- Data File
- Extents
- Pages
- Log File
- Write Ahead Log (WAL)
- Dirty Pages
- Lazy Writer
- Checkpoint
- Log Sequence Number (LSN)
- Relational Engine
- Query Processing
- Parser
- Optimizer
- Stat
- Hinting
- Plan
- Compilation
- Caching
- Recompilation
- SQL Manager
- Database Manager
- Query Executor
- Memory Management
- Thread and Task Management
- Buffer Management
- Distributed Query Processing
- Query Processing
- Communication
- SQL Server Network Interface (SNI)
- Tabular Data Stream (TDS)
- Protocols
- TCP/IP
- Named pipes
- Shared memory
- Virtual Interface Adapter (VIA, discontinued from 2012)
- Web Services
- Core Concepts
- Instance
- Default
- Named
- Alias
- Port
- Default: 1433
- Dynamic
- Transaction
- ACID
- Atomic
- Consistent
- Isolated
- Durable
- Types
- Implicit
- single UPDATE/DELETE
- Explicit
- BEGIN/COMMIT/ROLLBACK
- Implicit
- Checkpoint
- Isolation Levels (low to high)
- Read uncommitted
- dirty read
- same as NOLOCK hint
- Read committed (default)
- READ_COMMITTED_SNAPSHOT
- ON
- repeatable read
- OFF (default)
- Nonrepeatable read, phantom
- ON
- READ_COMMITTED_SNAPSHOT
- Repeatable read
- Snapshot
- Database ALLOW_SNAPSHOT_ISOLATION ON
- 2005+
- Serializable
- Read uncommitted
- ACID
- Concurrency
- Lock
- Optimistic
- Pessimistic
- Exclusive
- Shared
- Wait
- Latch
- Deadlock
- Kill
- sync/async
- Blocking
- Row versioning
- Lock
- Instance
- Core Objects
- Database
- Recovery Models
- Purpose
- Backup transaction log
- Affect backup types
- Affect replication types
- Models
- Simple
- Not point-in-time recovery
- Minimum space
- Full (default)
- Point-in-time recovery
- Large space
- Bulk logged
- Point-in-time recovery
- No bulk operation logged
- Save space
- Simple
- Purpose
- Compatibility Levels
- Version Number
- Effectively SQL Server version number
- @@VERSION
- 130:Â SQLÂ Server 2016
- 120:Â SQLÂ Server 2014
- 110:Â SQLÂ Server 2012
- 100:Â SQLÂ Server 2008
- 90:Â SQLÂ Server 2005
- 80:Â SQL Server 2000
- Version Number
- Encryption
- Copy
- Recovery Models
- Table
- Standard
- Partition
- Compression
- Table Variable
- Temp Table
- Local
- Global
- FileTable
- Standard
- View
- Standard
- Indexed
- Partitioned
- Stored Procedure (SP)
- Function (FN)
- Table-valued Function
- Scalar-valued Function
- Data Type
- Types
- System Type
- User-defined Type (UDT)
- Conversion
- Precedence
- Synonym
- Precision/Scale/Length
- XML
- JSON
- Spatial (CLR)
- Types
- Index
- Index Types
- Clustered Index
- Non-clustered Index
- Index Setting
- Include
- Filter
- Index Management
- Rebuild
- Reorganise
- Disable
- Enable
- Drop
- Index Types
- Column
- columnstore
- Suitable for Data warehouse
- NTFS FileStream
- columnstore
- Schema
- Trigger
- Table Trigger
- BEFORE
- FOR/AFTER
- INSTEAD OF
- Table Trigger
- Constraint
- Key
- Default
- Synonym
- Sequence
- Variable
- Local Variable (@)
- Global Variable (@@)
- Common Table Expression (CTE)
- Cursor
- Collation
- Login
- User
- Rule
- Server role
- Endpoint
- Job
- Job Agent
- Job Activity Monitor
- Alert
- Operator
- SQL Job
- Step
- Schedule
- Notification
- SQL CLR (.NET CLR)
- Assembly
- Managed Code Types
- Function
- Stored Procedure
- Trigger
- UDF
- UDA
- UDT
- Security Levels
- Linked Server
- Service Broker
- Basics
- Transactional message queue
- Objects
- Message
- Contract
- Queue
- Service
- Dialog
- Conversation
- Basics
- Database
- Standard
- ANSI 92
- Languages
- Query Language
- T-SQL (Transact-SQL)
- MDX (MultiDimensional eXpressions)
- Data Manipulation Language (DML)
- CRUD
- Create (INSERT)
- Retrieve (SELECT)
- Update (UPDATE)
- Delete (DELETE)
- MERGE
- TEXT
- UPDATETEXT
- WRITETEXT
- READTEXT
- BULK INSERT
- EXECUTE
- CRUD
- Data Definition Language (DDL)
- CREATE
- ALTER
- DROP
- TRUNCATE
- RESTORE
- RECONFIGURE
- Data Control Language (DCL)
- GRANT
- REVOKE
- Transaction Control Language (TCL)
- BEGIN TRANSACTION
- COMMIT
- ROLLBACK
- SAVE TRANSACTION
- Query Language
- System Databases
- master (dbs, logins, configs)
- tempdb (temp tables / sps)
- msdb (jobs/alerts/backups)
- model (template for new db)
- resource (invisible, system objects)
- File
- primary (MDF)
- secondary (NDF)
- log (LDF)
- File/Filegroup
- Auto Grow
- Runtime
- Process
- Worker
- Connection
- Request
- Stall
- Stats
- Query Store
- Cache
- aging
- Catalog Views
- Dynamic Management Views (DMV)
- Execution count
- Execution io/cpu/perf
- Full Text Search (FTS)
- Integrated Full Text Search (iFTS)
- Trace flags
- Replication
- Log Shipping
- Publish/Subscribe
- Transactional
- Merge
- Snapshot
- Mirroring (deprecated from 2012)
- Core
- Principal
- Witness
- Database Mirroring Monitor
- Core
- AlwaysOn
- Clustering
- Core
- Shared Disk Array
- Quorum
- Failover
- Active/Active
- Active/Passive
- Core
- Snapshot
- Versions
- SQL Server 2005
- SSIS
- SSRS
- SSAS
- Common Language Runtime (CLR)
- XML
- Data Service (SOAP)
- Service Broker
- Common Table Expression (CTE)
- Dynamic Management View (DMV)
- Database Mirroring (SP1)
- TRY/CATCH
- SQL Server 2008
- Always On
- FILESTREAM
- Integrated Full-Text Search (iFTS)
- Spatial Types
- GEOMETRY
- GEOGRAPHY
- Transparent Data Encryption (TDE)
- IntelliSense
- SSRS Charting (acquired Dundas charts)
- SQL Server 2012
- Sequence
- THROW
- SQL Server 2014
- In-memory Table
- Clustered Columnstore Index
- SQL Server 2016
- Columnstore Index
- In-memory OLTP
- JSON
- Query Store
- Temporal Tables
- Polybase (connector to BigData)
- Always Encrypted
- SQL Server 2005
- Editions
- Express
- BI
- Web
- Standard
- Enterprise
- Datacenter
- Local DB
- Management
- SQL Server Management Studio (SSMS)
- SQL Server Command Line Util (sqlcmd)
- SQL Monitor ;-)
- Maintenance
- Maintenance Plan
- Logs
- Database Mail
- Database
- Backup/Restore
- Mode
- Full
- Differential
- Transaction log
- Mode
- Online/Offline
- Attach/Dettach
- Shrink
- Backup/Restore
- Import/Export
- DBCC
- Bulk Copy (bcp command line)
- Resource governor
- Facets
- Business Intelligence (BI)
- SQL Server Integration Service (SSIS)
- Extract-Transform-Load (ETL)
- SQL Server Reporting Service (SSRS)
- SQL Server Analysis Service (SSAS)
- OLAP
- SQL Server Integration Service (SSIS)
- Troubleshoot
- Dedicated Administrator Connection (DAC)
- ADMIN:INSTANCE
- SQL Browser service must be running
- SQL Server Profiler
- Activity Monitor
- Error
- Severity Levels
- Error Log
- sys.xp_readerrorlog
- Dedicated Administrator Connection (DAC)
- Performance
- Seek
- Scan
- Fragmentation
- Partitioning
- Database Engine Tuning Advisor
- Services
- SQL Server
- SQL Server Browser
- SQL Server Agent
- Connectivity
- ADO.NET
- ODBC
- JDBC
- Security
- Access Control
- SQL Inject
- Backup
- Testing
- SQL OS
- Oracle
- MySQL
- PostgreSQL
- Informix
- DB2
- Simple
- Cloud
- Azure
- Database
- Redis Cache
- Storage
- Blobs
- Tables
- Queues
- Files and Disks
- StorSimple
- SQL Data Warehouse
- Azure
- NoSQL
- Concepts
- XML/JSON based
- Eventually Consistency
- Limitation
- CAPS/Brewer's theorem
- Consistency
- Availability
- Partition tolerance
- Lack of join
- Lack of true ACID
- CAPS/Brewer's theorem
- Types
- Column
- Key/Value
- Document
- Graph
- Object
- Concepts
- RDBMS