Quack Chat | Partitioning - Black Magic or Silver Bullet

Preview:

Citation preview

Partitioning: Black Magic or Silver Bullet

November 15, 2016

2

Agenda

What is Partitioning? Developer Checklist DBA Checklist Likely Problem Areas DBArtisan & DB Optimizer Demo Q&A

3

What is Partitioning?

Vertical vs. Horizontal Partitioning vs. Sharding Databases that support partitioning Common partition and sub-partition combinations Which databases and editions offer partitioning

4

NOTE: DB Version Specific

NOSORT DOES NOT WORK WITH REVERSE OR CASES 1,3,5,7,8,9,10,11,12

UNIQUE DOES NOT WORK WITH CASES 3,5,8,11

REVERSE DOES NOT WORK WITH NOSORT OR CASES 3,5,8,11

LOGGING/NOLOGGING & PARALLEL/NOPARALLEL WORK FOR ALL CASES

Partitioning tables and Indexes

5

Developer Checklist

Writing queries Writing loading programs Execution / explain plans (show example)

6

DBA Checklist

Tables vs indexes (or both) – various combinations – add diagram

Why use partitions?• Performance (20%)• Administration (80%)

7

Likely Problem Areas

Static partitions• Pre-allocation

Dynamic partitions Partition imbalances Storage considerations Data lifecycle management

8

DBArtisan

Manage multiple platforms (Oracle, SQL Server, DB2, SAP Sybase) from one UI

Proactively manage space, data and performance with built-in analytics

Easily find and fix performance issues using intelligent diagnostics Move schema and table data across different platforms with ease Protect data security with view, grant and revoke of permissions

9

DB Optimizer

Streamline tuning of SQL code on major DBMSs from one interface

Tune SQL like a pro with automated performance optimization suggestions

Tackle complex SQL queries with visual SQL tuning diagrams Pinpoint problem SQL with database profiling of wait-time

analysis Load test alternative SQL queries in simulated production

environment

10

11

Q&A

If you have questions, please submit them in the control panel window

Join the discussion: http://community.idera.com/

Recommended