how to use the powerpoint template...datafile1 undo datafile2 hot clone • source pdb remains open...

13
Multitenant i Oracle 12.2 “Always on, never stop” Trond Brenna Principal Sales Consultant Oracle Norway October, 2017

Upload: others

Post on 07-Jul-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: How to Use the PowerPoint Template...DataFile1 Undo DataFile2 Hot Clone • Source PDB remains open read/write • Read and copy in parallel • On-going operations imply a “dirty

Multitenant i Oracle 12.2

“Always on, never stop”

Trond Brenna

Principal Sales Consultant

Oracle Norway

October, 2017

Page 2: How to Use the PowerPoint Template...DataFile1 Undo DataFile2 Hot Clone • Source PDB remains open read/write • Read and copy in parallel • On-going operations imply a “dirty

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.2

Safe Harbor Statement

The following is intended to outline our general product direction. It is

intended for information purposes only, and may not be incorporated

into any contract. It is not a commitment to deliver any material, code, or

functionality, and should not be relied upon in making purchasing

decisions. The development, release, and timing of any features or

functionality described for Oracle’s products remains at the sole

discretion of Oracle.

Page 3: How to Use the PowerPoint Template...DataFile1 Undo DataFile2 Hot Clone • Source PDB remains open read/write • Read and copy in parallel • On-going operations imply a “dirty

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |

Oracle Multitenant: What’s new in 12.2

Ease of Provisioning and Tenant Mobility

Hot Clone

Refresh Clone

PDB Relocate

Isolation withEconomies of Scale

4k PDBs

Memory & IO Resource Mgt

Lockdown Profiles

Centralized Management of Application Tenants

Application Root

Application Container

Proxy PDB

Container Map

Confidential – Highly Restricted

Page 4: How to Use the PowerPoint Template...DataFile1 Undo DataFile2 Hot Clone • Source PDB remains open read/write • Read and copy in parallel • On-going operations imply a “dirty

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |

Oracle Multitenant: What’s new in 12.2

Ease of Provisioning and Tenant Mobility

Hot Clone

Refresh Clone

PDB Relocate

Isolation withEconomies of Scale

4k PDBs

Memory & IO Resource Mgt

Lockdown Profiles

Centralized Management of Application Tenants

Application Root

Application Container

Proxy PDB

Container Map

Confidential – Highly Restricted

Page 5: How to Use the PowerPoint Template...DataFile1 Undo DataFile2 Hot Clone • Source PDB remains open read/write • Read and copy in parallel • On-going operations imply a “dirty

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |

Demos

• Demo 1

– Cloning when Source in Read/Write mode

• Demo 2

– Create a Refreshable clone

• Demo 3– Relocate PDB

Confidential – Highly Restricted

Multitenant in Oracle DB 12.2

Page 6: How to Use the PowerPoint Template...DataFile1 Undo DataFile2 Hot Clone • Source PDB remains open read/write • Read and copy in parallel • On-going operations imply a “dirty

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |

PDB Hot Clone

• PDB Hot Clone

– Online test master instantiation

CDB1PDB1

CDB1

CDB1

6

Hot Clone

Snap Clone

Snap Clone

CDB1PDB2

Developers

Page 7: How to Use the PowerPoint Template...DataFile1 Undo DataFile2 Hot Clone • Source PDB remains open read/write • Read and copy in parallel • On-going operations imply a “dirty

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |

PDB Refresh

• PDB Hot Clone

– Online test master instantiation

• PDB Refresh

– Incremental refresh of clone with latest data

CDB1PDB1

CDB2

CDB1

7

CDB2PDB1

Snap Clone

Snap Clone

Dev1 Dev2

Developers

TIME

Changes made to database

Cloned version no longer in sync

Only changes copied and applied

Page 8: How to Use the PowerPoint Template...DataFile1 Undo DataFile2 Hot Clone • Source PDB remains open read/write • Read and copy in parallel • On-going operations imply a “dirty

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |

• PDB Hot Clone

– Online test master instantiation

• PDB Refresh

– Incremental refresh of clone with latest data

• PDB Relocate– Relocate with no downtime

8

PDB Relocate

8

Relocate

CDB2PDB1

CDB2

CDB1

Relocate

Page 9: How to Use the PowerPoint Template...DataFile1 Undo DataFile2 Hot Clone • Source PDB remains open read/write • Read and copy in parallel • On-going operations imply a “dirty

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |

Cold Clone12.1 capability requires outage in source PDB

DataFile1 DataFile2 DataFile1 DataFile2

• Source PDB transitions to read-only

• Read and copy in parallel

• Open source database read-write when complete

Page 10: How to Use the PowerPoint Template...DataFile1 Undo DataFile2 Hot Clone • Source PDB remains open read/write • Read and copy in parallel • On-going operations imply a “dirty

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |

Legend

Uncommitted blockchanged in intervalBlock changed in intervalCommitted in intervalUncommitted redoUndo written in intervalCommitted in interval

DataFile2DataFile1 Undo

Modeling Database Changes Over Time

Redo Log

P P P P P

P P P P

P P P

PP P

P P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P P

P

P

Page 11: How to Use the PowerPoint Template...DataFile1 Undo DataFile2 Hot Clone • Source PDB remains open read/write • Read and copy in parallel • On-going operations imply a “dirty

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |

P P P P P

P P P P

P P P

PP P

DataFile2DataFile1 Undo

Hot Clone• Source PDB remains open read/write

• Read and copy in parallel

• On-going operations imply a “dirty read”

• Some data changes not included in initial file copy

• Ship and apply redo to catch up with source

• Apply undo to rollback uncommitted transactions

DataFile1 DataFile2Undo

Redo Log

P P P P P

P P P P

P P P

PP P

P P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P P

P

P P

P

P

P

P

P

P P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

P

Page 12: How to Use the PowerPoint Template...DataFile1 Undo DataFile2 Hot Clone • Source PDB remains open read/write • Read and copy in parallel • On-going operations imply a “dirty

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |

Page 13: How to Use the PowerPoint Template...DataFile1 Undo DataFile2 Hot Clone • Source PDB remains open read/write • Read and copy in parallel • On-going operations imply a “dirty