11
Partitioning: Black Magic or Silver Bullet November 15, 2016

Quack Chat | Partitioning - Black Magic or Silver Bullet

Embed Size (px)

Citation preview

Page 1: Quack Chat | Partitioning - Black Magic or Silver Bullet

Partitioning: Black Magic or Silver Bullet

November 15, 2016

Page 2: Quack Chat | Partitioning - Black Magic or Silver Bullet

2

Agenda

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

Page 3: Quack Chat | Partitioning - Black Magic or Silver Bullet

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

Page 4: Quack Chat | Partitioning - Black Magic or Silver Bullet

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

Page 5: Quack Chat | Partitioning - Black Magic or Silver Bullet

5

Developer Checklist

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

Page 6: Quack Chat | Partitioning - Black Magic or Silver Bullet

6

DBA Checklist

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

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

Page 7: Quack Chat | Partitioning - Black Magic or Silver Bullet

7

Likely Problem Areas

Static partitions• Pre-allocation

Dynamic partitions Partition imbalances Storage considerations Data lifecycle management

Page 8: Quack Chat | Partitioning - Black Magic or Silver Bullet

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

Page 9: Quack Chat | Partitioning - Black Magic or Silver Bullet

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

Page 10: Quack Chat | Partitioning - Black Magic or Silver Bullet

10

Page 11: Quack Chat | Partitioning - Black Magic or Silver Bullet

11

Q&A

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

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