How Are My SSAS Cubes / Tabular Models Performing?: Performance Monitoring
How Are My SSAS Cubes / Tabular Models Performing?: Performance Monitoring
UPS Airlines
UPS operates one of the world's largest, safest and most on-time
airlines
Over 500 aircraft
Nearly 2,000 flight segments / day
Reaching more than 700 destinations in over 200 countries
Air system includes air hubs in
Cologne, Germany; Shanghai,
Miami (to serve Latin America)
intra-Asia hub in China, and
Louisville (Worldport)
Worldport has over 5.2 million square feet
Heart of UPSs global air network
Air sort capacity is 416,000 packages/documents per hour
300 acres with 135 aircraft parking positions
Average # Daily UPS Flights 251 in/out bound flights
SSAS Cubes or Tabular Models Performance
Agenda and Welcome
Profile
UPS
Background Questions
What to monitor in SSAS?
What questions to ask about resource usage?
How to monitor with Demos?
SSAS Performance Architecture
Tables and Scripts
SSAS Performance Tabular Model
Reports
Questions
SSAS Performance Monitoring
BI Questions
Discover_object_memory_usage
Lists the memory usage for each object
cube, dimension, cache, measure, partition, etc.
select * from $system.discover_object_memory_usage
order by Object_Memory_nonshrinkable desc
Discover_object_activity
Stores information since start up; like reads, rows scanned
What object is consuming the most CPU?
What aggregations are missing
How many times these objects were read, and how many rows were returned
select * from $system.discover_object_activity
order by Object_CPU_Time_MS desc
order by Object_Aggregation_Miss desc
Discover_sessions
Lists the MDX/command used by each user, which SSAS database/cube they are using
Session Reads and writes,
How much CPU and memory is used
Last Command
select * from $system.discover_sessions
Discover_connections
Lists whos connecting to the server,
Since when, for how long, and
From which PC (IP) and using what client
Select * from $system.discover_connections
SSAS Performance Counters
Memory
SSAS
Servers
Performance Profiler
Performance DMV
Counters Trace
Views
Data
Mart SSAS
Servers Perf
SSRS (Native)
Reporting Servers
SSRS
Clients
SSAS Performance Database
BI_Mon_SSAS (Tables)
[BI_AppData].[ssas_Command_Objects] contains
$system.discover_command_objects
[BI_AppData].[ssas_Commands] contains
$system.discover_commands
[BI_AppData].[ssas_connections] contains
$system.discover_connections
[BI_AppData].[ssas_memory] contains
Memory Performance Counters
[BI_AppData].[ssas_memory_usage] contains
$system.discover_object_memory_usage
[BI_AppData].[ssas_object_activity] contains
$system.discover_object_activity
[BI_AppData].[ssas_sessions] contains
$system.discover_sessions
[dbo].[ASTraceTable_<SSAS_server>] contains
ASTrace MDX query data
SSAS Performance Tabular Model Dimensions / Facts
Data Loaded into the model Rows Loaded
SSAS Performance Reports
SSRS
Kenney Snell
Contact Info [email protected]