57
Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All rights reserved worldwide.

Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Embed Size (px)

Citation preview

Page 1: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

© 2012 Total System Services, Inc.® All rights reserved worldwide.

Real Edition Based Redefinition Roads and Wild West

Eter PaniSenior Database Administrator TSYS International

Page 2: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

About Me

1983

> Senior Oracle DBA at TSYS International

> Oracle Developer since 1993

© 2012 Total System Services, Inc.® All rights reserved worldwide.2

> Oracle DBA since 2001

> OCA, OCP, OCE

> And just a regular guy

> http://uk.linkedin.com/in/epani

> [email protected]

Page 3: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Agenda

• Who are TSYS?• Why EBR?• What is EBR?

– Introduction– EBR Features– EBR Architecture

• EBR at TSYS– EBR Implementation– Deployment Process– Database Links

• Known Issues• Summary

© 2012 Total System Services, Inc.® All rights reserved worldwide.3

Page 4: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Who Are TSYS ?

1983 > TSYS is incorporated in a spin-off from CB&T, then issues shares in an initial public offering.

1989 > TSYS begins processing in Canada; shares begin trading on the New York Stock Exchange.

1999> TSYS Europe opens for business.> TSYS completes the largest portfolio conversion in payments history to date.

2000> TSYS opens its first data centre in the U.K., then converts one of Europe’s largest card portfolios.> TSYS enters Asia-Pacific with a 51% stake in GP Network Corp., a payments gateway for more than 120,000 merchants in Japan.

2005> TSYS acquires Visa’s 50% stake in Vital to form a wholly owned subsidiary renamed TSYS Acquiring Solutions.> TSYS acquires an equity stake in China UnionPay Data Services Co., Ltd. (CUP Data), a subsidiary of China’s only

state-sanctioned payments network.

2006 > TSYS expands its global footprint with the acquisition of TSYS Card Tech, marking the single greatest geographic expansion event in the company’s history.

> TSYS sets a new record for the largest single-phase conversion of Visa or MasterCard accounts.> TSYS becomes the largest processor of contactless credit cards in the world.> TSYS becomes the first third-party processor in Japan to support multi-currency debit cards.> TSYS becomes the largest processor of transaction-enabled healthcare cards.

2007> TSYS establishes London as its hub for global payment services.> TSYS is spun-off from its parent company, Synovus, to become a fully independent company.

2008> TSYS acquires a Silicon Valley technology firm to simplify the acceptance of many new forms of payment.> TSYS adds new data centre in Okinawa, Japan garnering more than 600,000 accounts and three new clients.

2009 > TSYS Launches Credit Card Program for Regional and Community Financial Institutions.

2010> TSYS acquires a 51-percent ownership of First National Merchant Solutions (FNMS), which provides electronic payment

acceptance services to merchants.

2011> TSYS acquires full ownership of the FNMS joint venture and Atlanta-based TermNet Merchant Services — both rebranded as

TSYS Merchant Solutions.

© 2012 Total System Services, Inc.® All rights reserved worldwide.4

Page 5: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

5

Where are TSYS ?

5 © 2012 Total System Services, Inc.® All rights reserved worldwide.

~ 400Clients Around

the World

>80Countries Where

TSYS Does Business

>14 BillionEnterprise-wide

Transactions

> 8,000Team Members

Page 6: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

FUNDSFUNDSFUNDS

SETTLEMENTBANK

BANK

APPROVALAPPROVALAPPROVAL

What do TSYS do ?

© 2012 Total System Services, Inc.® All rights reserved worldwide.6

MERCHANTNETWORK/SWITCHES

ISSUERS

BANK

PROCESSOR

ACQUIRERS

BANK

PROCESSOR

CARDHOLDERACCOUNT

AUTH.REQUESTREQUESTREQUEST

SALES TICKETITEMSITEMS

Page 7: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Who are our Clients ?

©2012 Total System Services, Inc.® Proprietary. All rights reserved worldwide.7

Updated: July 10, 2012`

Page 8: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Agenda

• Who are TSYS?• Why EBR?• What is EBR?

– Introduction– EBR Features– EBR Architecture

• EBR at TSYS– EBR Implementation– Deployment Process– Database Links

• Known Issues• Summary

© 2012 Total System Services, Inc.® All rights reserved worldwide.8

Page 9: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Drivers for EBR in TSYS

• 99.99% Availability SLAs with our clients.• Daily/Weekly Application Patching & Quarterly

Releases all require planned downtime.• We need “silver bullet” to fit all application changes

into a 10min planned downtime window.• Compilation time after application changes can take

up to 20 minutes.– 2 Databases (PRIME & ONLINE) , 4 DB Links, 3 Schemas,

1300 Packages, 750 Procedures, 500 Triggers, 1100 other schema objects.

• EBR is part of Enterprise Edition license.

© 2012 Total System Services, Inc.® All rights reserved worldwide.9

Page 10: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Agenda

• Who are TSYS?• Why EBR?• What is EBR?

– Introduction– EBR Features– EBR Architecture

• EBR at TSYS– EBR Implementation– Deployment Process– Database Links

• Known Issues• Summary

© 2012 Total System Services, Inc.® All rights reserved worldwide.10

Page 11: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Introduction

• Provides high availability during patches & upgrades of application code.

• Code changes are deployed in the privacy of an edition.

• EBR Provides “Online Application Upgrade”– An application does not need to be taken offline when

upgrades & patches are applied.– Users of the existing system continue uninterrupted.– Users of the upgraded system use the new code.

© 2012 Total System Services, Inc.® All rights reserved worldwide.11

Page 12: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Introduction

• Introduced at Oracle 11G R2.• Oracle’s enhanced free “no-downtime” feature.• Introduces the dimension of an edition to the object

tablespace in the database.• Provides a route for providing High Availability for

PL/SQL Object maintenance in applications.

© 2012 Total System Services, Inc.® All rights reserved worldwide.12

Page 13: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Introduction

• Edition– New non-schema object type.– Editions are related through parent-child relationships.– All objects prior to a deployment are part of the parent edition.– Every edition can have one child and one parent edition

(except the ORA$BASE).– Patch objects are part of the child edition.– Sufficient when the patch is changing PL/SQL Objects.

• Editioning View– Exposes different projections of a table into each edition.

• Cross-edition Trigger– Propagates data changes made between editions.

© 2012 Total System Services, Inc.® All rights reserved worldwide.13

Page 14: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

• Oracle Users– New property “editions_enabled”.– Users in the dba_registry catalog cannot be edition enabled.

• Editioned Object– Uniquely identified by owner, namespace and name of

edition.

Introduction

Note! One Way only! You could not make user

editions_disabled!

© 2012 Total System Services, Inc.® All rights reserved worldwide.14

Page 15: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

EBR Features

• Every database from 11.2.0.1 onwards, whether brand new or the result of an upgrade from an earlier version, has at least one edition.

• Every foreground database session, at every moment of its lifetime, uses a single edition.

• Once the feature is enabled you cannot switch it off.

© 2012 Total System Services, Inc.® All rights reserved worldwide.15

Page 16: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

EBR Features

• Editionable Objects

• Non-Editionable Objects

1. PL/SQL Objects1. Packages2. Procedures/Functions3. Types4. Triggers

2. Synonyms3. Views

1. Tables2. Materialized Views3. Indexes4. Constraints5. Clusters6. Database Links7. Jobs8. Types used in table definitions

© 2012 Total System Services, Inc.® All rights reserved worldwide.16

Page 17: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

EBR Features

TABLES

TriggersTriggers

PL/SQL OBJECTS

PL/SQL OBJECTS

V1ORA$BASE

V2ChildEdition

© 2012 Total System Services, Inc.® All rights reserved worldwide.17

Page 18: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

EBR Features

1000 referring objects Pre-upgrade application

990 referring objects+

10 changed objects

Post-upgrade application

ORA$BASE

V2

When a new edition is used by a schema, all editionable objects are inherited by the new edition from the previous edition.

Inheritance is realised by creation of an oracle internal stub structure for each inherited object. This feature can affect compilation by making the name resolution path longer.

© 2012 Total System Services, Inc.® All rights reserved worldwide.18

Page 19: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

OBJ$

USER$

Object CodeObject Code

EBR Architecture – Overview

Object ID

Object Owner

Object Name

Object Edition

Object ID

Object Owner

Object Name

Object Edition

Compiled code uses object_IDs not object_names for resolution. Internal representation.

DBA_OBJECTS_AE STUBs

DBA_USERS Editions

Object Name

© 2012 Total System Services, Inc.® All rights reserved worldwide.19

Page 20: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

EBR Architecture – UGA and Editions

Package variables Context variables

UGA SHARED POOL

Edition 1

Package variables Edition 2

Context variablesPackage variables

Package variables

Session store separate set of package variables for each used edition.

Shared pool usage stay un touched.

© 2012 Total System Services, Inc.® All rights reserved worldwide.20

Page 21: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

EBR Architecture – Data Pump

© 2012 Total System Services, Inc.® All rights reserved worldwide.21

• expdp– New parameter called “source_edition”. – Dump file does not store the object edition.

• impdp– New parameter called “target_edition”.– Inherited or existing object are not overwriting

(exception for TYPES where you can set TRANSFORM=oid:n).– Types & Packages actualised.– Libraries, Synonyms, Views not actualised.

Page 22: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

EBR Architecture – Editioning Views

© 2012 Total System Services, Inc.® All rights reserved worldwide.22

• Editioning views are different from conventional views !!!• Provide an alias for a subset of columns in a table.• Columns cannot be modified.• Editioning views rely on Fine Grained Dependency

Tracking – stay compiled if a new column is added. – Invalidate if used column dropped.– Invalidate dropping a unique index on a base table.

Page 23: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

EBR Architecture – Editioning Views

© 2012 Total System Services, Inc.® All rights reserved worldwide.23

Limitations– Only one Editioning view in one edition for single table.– Column could be specified only once.– Wildcard symbol * is supported.– Editioning view can be built on one table only.– Index hints should use logical names of the columns.– ON DELETE CASCADE does not fire triggers on Editioning

Views.

Page 24: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

• Cross-Edition trigger is DML trigger visible only in actual edition but fires in descendant (for forward) or ancestor (for reverse triggers). – propagates data changes made by the old edition into the new

edition’s columns, or (in hot-rollover) vice-versa.– defines the transformation algorithm between old and new table

structure.

EBR Architecture – Cross-Edition Triggers

Note! Do not use on big tables ! You can code things more optimally for

big volumes of data!

© 2012 Total System Services, Inc.® All rights reserved worldwide.24

Page 25: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

© 2012 Total System Services, Inc.® All rights reserved worldwide.

EBR Architecture – Cross-Edition Triggers

25

Name Surname Full Name

Parent Edition Child Edition

Forward Cross- Edition Trigger

Reverse Cross- Edition Trigger

INSERT INTO .. (NAME,SURNAME) ..

INSERT INTO .. (Full Name) ..

Jo Brown Jo Brown

Lee Heart Lee Heart

© 2012 Total System Services, Inc.® All rights reserved worldwide.25

Page 26: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

© 2012 Total System Services, Inc.® All rights reserved worldwide.26

Limitations– Must be defined on a table, not a view– Must be a DML trigger – Must be Deterministic– Invalidated after column modification or dropping

• if it depends on entire row• a column specified in its definition • specified column to the right of the dropped column

– Cross-Edition trigger would not affect statements that were compiled before trigger was enabled.

EBR Architecture – Cross-Edition Triggers

Page 27: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

EBR Architecture – Session Edition

OCI, JDBC, SQL* PLUSConnection?

Is edition specified in connect definition?

Is edition specified on the database service?

Use specified Edition

Use Database Default Edition

Yes

Yes

No

No

Current Edition

Session Edition

Database Edition

No

© 2012 Total System Services, Inc.® All rights reserved worldwide.27

Page 28: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Agenda

• Who are TSYS?• Why EBR?• What is EBR?

– Introduction– EBR Features– EBR Architecture

• EBR at TSYS– EBR Implementation– Deployment Process– Database Links

• Known Issues• Summary

© 2012 Total System Services, Inc.® All rights reserved worldwide.28

Page 29: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

EBR Implementation

• Enable editions in the application schema in the PRIME & ONLINE databases.

• Create a new schema.– Migrate types that have non-editioned objects (queues, tables)

dependencies.

• Rebuild referenced objects.

© 2012 Total System Services, Inc.® All rights reserved worldwide.29

Page 30: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

TABLES

Types

Triggers

PL/SQL OBJECTS

TCTDBSEBR(editions not enabled) TCTDBS

(editions enabled)

QUEUESTypes

Synonyms

© 2012 Total System Services, Inc.® All rights reserved worldwide.30

EBR Implementation

Page 31: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Deployment Process – Overview

Edition1

Edition2

Edition3

Edition4

Edition5

Dropped objects do not disappear from the DBA_OBJECTS view but the object type is changed to NON-EXISTENT!

© 2012 Total System Services, Inc.® All rights reserved worldwide.31

Page 32: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Deployment Process – Overview

© 2012 Total System Services, Inc.® All rights reserved worldwide.32

• All objects in database valid in Edition1.• Switch deployment session to Edition2.• Deploy new code to Edition2. Get number of invalid

objects in Edition2.• Run UTL_RECOMP and bring forward (to the views)

the dependant objects.• All objects in all editions are now valid.• Set default edition to Edition2 and switch all sessions.• Confirm successful deployment.• Drop covered objects from Edition1.• Remove privilege to use Edition1.

Page 33: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Deployment Process – Cleanup Phase

© 2012 Total System Services, Inc.® All rights reserved worldwide.33

• Cleanup is a process that removes unused objects and editions.– The number of rows in the OBJ$ table decrease performance

of resolution process.– Inherited objects create stub rows in OBJ$ table.– Old and retired editions still exist in the database and can be

used by mistake.

Page 34: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Deployment Process – Cleanup (Option 1)

Edition1

Edition2

Edition3

Edition4

Edition5

© 2012 Total System Services, Inc.® All rights reserved worldwide.34

Page 35: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Deployment Process – Cleanup (Option 2)

Edition1

Edition2

Edition3

Edition4

Edition5

ERASED

© 2012 Total System Services, Inc.® All rights reserved worldwide.35

Page 36: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Database Links

© 2012 Total System Services, Inc.® All rights reserved worldwide.36

• DB Links in TSYS– Bi-Directional.– Used for intensive data exchange.– Used by replication between two RAC systems.– Metric of system availability.

Page 37: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Database Links – Architecture

NEW

NEW

OLD

OLD

© 2012 Total System Services, Inc.® All rights reserved worldwide.37

Page 38: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Database Links – Architecture (Option 1)

Edition NEW Edition NEW

Edition OLDEdition OLD

Services

srvctl add service -d * -s * -t NEWDBMS_SERVICE.CREATE_SERVICE(...edition=>'NEW')

11.2.0.2 11.2.0.2

© 2012 Total System Services, Inc.® All rights reserved worldwide.38

Page 39: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Database Links – Architecture (Option 1)

© 2012 Total System Services, Inc.® All rights reserved worldwide.39

• Option 1– Create EditionT2 on Target Database.– Create EditionS2 on Source Database.– Create/modify ServiceT2 using EditionT2 on Target Database.– Create/modify ServiceS2 using EditionS2 on Source Database. – Create DB_LINK_S2T2 from Source Database to Target

Database edition EditionT2.– Create DB_LINK_T2S2 from Target Database to Source

Database edition EditionS2.– Recreate synonyms on remote objects using new DB_LINKS.

a. Complicated

b. Not Automated

c. Changes required in CRS registry

d. Driving site for all queries is source one

Page 40: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Database Links – Architecture (Option 2)

Edition NEW Edition NEW

Edition OLDEdition OLD

Services

On Logon trigger

Configuration table

ServiceSA EditionS2

ServiceSB EditionS3

© 2012 Total System Services, Inc.® All rights reserved worldwide.40

Page 41: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Database Links – Architecture (Option 2)

© 2012 Total System Services, Inc.® All rights reserved worldwide.41

• Option 2– Create EditionT2 on Target Database.– Create EditionS2 on Source Database.– Re-Associate ServiceT2 from EditionT0 to EditionT2 in

configuration table on Target Database.– Re-Associate ServiceS2 from EditionS0 to EditionS2 in

configuration table on Source Database.– Recreate synonyms on remote objects using spare

DB_LINKS.

a. Easy

b. Automatic

c. No changes in CRS registry

d. Driving site for all queries is source one

Page 42: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Agenda

• Who are TSYS?• Why EBR?• What is EBR?

– Introduction– EBR Features– EBR Architecture

• EBR at TSYS– EBR Implementation– Deployment Process– Database Links

• Known Issues• Summary

© 2012 Total System Services, Inc.® All rights reserved worldwide.42

Page 43: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Known Issues – SR 3-5590623201

© 2012 Total System Services, Inc.® All rights reserved worldwide.43

SR 3-5590623201: DROP EDITION <XXX> CASCADE

• Failed command leaves Edition in UNUSABLE state.

• Objects in UNUSABLE edition are unavailable.

• Edition could not be marked VALID back.

• The only way to sort the issue is to recover database from backup.

ORA-38803: edition is unusable

Page 44: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Known Issues – BUG 13855931

© 2012 Total System Services, Inc.® All rights reserved worldwide.44

BUG 13855931: Growing Library cache requirements.

• Growing number of compiled and used code during EBR exercise increased competition for Library cache resources.

• Keep fingers crossed and wait for version 12c.

Page 45: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Known Issues – BUG 13809923

© 2012 Total System Services, Inc.® All rights reserved worldwide.45

BUG 13809923: All oracle automated recompilers compile object in edition where they exist.

• Recompilations in production edition can cause blocking issues and unplanned event trigger firing.

• Do not use standard oracle recompilers until oracle fix the bug.

Page 46: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Known Issues – BUG 13835040

© 2012 Total System Services, Inc.® All rights reserved worldwide.46

BUG 13835040: Implicit types inheritance.

• The types declared in package specification were not actualised in the same edition as package specification.

• Fixed by Oracle.

Page 47: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Known Issues – BUG 13502183

BUG 13502183: Valid Package Body In Child Edition Marked As Invalid When Base Edition Is Invalid.

• If the parent package is invalid and could not be compiled the package in child edition became invalid during the normal process.

• Fixed by Oracle.

© 2012 Total System Services, Inc.® All rights reserved worldwide.47

Page 48: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Known Issues – Growing PGA

© 2012 Total System Services, Inc.® All rights reserved worldwide.48

Issue: Growing PGA memory requirements.

• Package state is stored separately for each edition.

• We decide that each session would use only one edition.

Page 49: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Known Issues – VPD Complexity

Issue: Complexity of VPD in multiple edition environment.

• CONTEXT variables are visible transparently from all editions but policy functions are editionable.

• Take policy functions from editioned schema.

© 2012 Total System Services, Inc.® All rights reserved worldwide.49

Page 50: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Agenda

• Who are TSYS?• Why EBR?• What is EBR?

– Introduction– EBR Features– EBR Architecture

• EBR at TSYS– EBR Implementation– Deployment Process– Database Links

• Known Issues• Summary

© 2012 Total System Services, Inc.® All rights reserved worldwide.50

Page 51: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Summary

• Applications and processes can be builds around EBR. • It is very difficult to configure EBR around existing

complex application.• Deployment success with EBR is no guarantee of

success on an environment without EBR and vice versa.• You still need minimal period of downtime if you could

not accept when part of the sessions working in old edition and part in new edition.

© 2012 Total System Services, Inc.® All rights reserved worldwide.51

Page 52: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Summary

• The application support budget increases.• The development budget increases.• Out of working hours deployment still required for

downtime period.• The overall costs for deployments increases because

of a more complex deployment process.• During the EBR project the deployment process at

TSYS was redesigned and optimised, thus downtime was decreased without EBR.

• The project is currently on hold in QA stage.

© 2012 Total System Services, Inc.® All rights reserved worldwide.52

Page 53: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Any Questions

© 2012 Total System Services, Inc.® All rights reserved worldwide.53

Page 54: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Thank You

© 2012 Total System Services, Inc.® All rights reserved worldwide.

Page 55: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Deployment Architecture – DB_Links Option2

Parameter Source Database Target Database

Default edition EditionS1 EditionT1

DB_LINK in Default edition DB_LINK_S_A DB_LINK_T_A

DB_LINK in Non-Default edition DB_LINK_S_B DB_LINK_T_B

Service for DB_LINK_*_A service_s_a service_t_a

Service for DB_LINK_*_b service_s_b service_t_b

Service Edition

service_s_a EditionS1

service_s_b EditionS0

service_t_a EditionT1

service_t_b EditionT0

Pre-Upgrade stage

© 2012 Total System Services, Inc.® All rights reserved worldwide.55

Page 56: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Deployment Architecture – DB_Links Option2

Service Edition

service_s_a EditionS1

service_s_b EditionS2

service_t_a EditionT1

service_t_b EditionT2

Upgrade stageParameter Source Database Target Database

Default edition EditionS1 EditionT1

New Edition EditionS2 EditionT2

DB_LINK in Default edition DB_LINK_S_A DB_LINK_T_A

DB_LINK in New edition DB_LINK_S_B DB_LINK_T_B

Service for DB_LINK_*_A service_s_a service_t_a

Service for DB_LINK_*_b service_s_b service_t_b

© 2012 Total System Services, Inc.® All rights reserved worldwide.56

Page 57: Real Edition Based Redefinition Roads and Wild West Eter Pani Senior Database Administrator TSYS International © 2012 Total System Services, Inc.® All

Deployment Architecture – DB_Links Option2

Service Edition

service_s_a EditionS1

service_s_b EditionS2

service_t_a EditionT1

service_t_b EditionT2

Post-Upgrade stageParameter Source Database Target Database

Default edition EditionS2 EditionT2

Non-Default Edition EditionS1 EditionT1

DB_LINK in Default edition DB_LINK_S_B DB_LINK_T_B

DB_LINK in Non-Default edition DB_LINK_S_A DB_LINK_T_A

Service for DB_LINK_*_A service_s_a service_t_a

Service for DB_LINK_*_b service_s_b service_t_b

© 2012 Total System Services, Inc.® All rights reserved worldwide.57