oracle timesten 18.1.2.1 · • linux x64 –11.2.0.4.0 and 12.1.0.2.0 ... 18.1.2 classic new...
TRANSCRIPT
Copyright©2018,Oracleand/oritsaffiliates.Allrightsreserved.|
OracleTimesTen18.1.2.1.0Patchset Update
TimesTen ProductManagement
Copyright©2018,Oracleand/oritsaffiliates.Allrightsreserved.|
18.1.2patchset releaseschedule,contents,platforms
18.1.2.1.0isapatchset releaseContents
• First18.1releasewithsupportforTimesTen ClassicandCache• BugfixesandminorenhancementsforScaleout
Platforms• Server
• Linuxx86-64(Scaleout andClassic)andAIX(Classic)• Clientonly
• Windowsx64andmacOS• Clientswillshipsometimeafter theinitial18.1.2.1.0patchset
3
Copyright©2018,Oracleand/oritsaffiliates.Allrightsreserved.|
18.1.2patchset releaseschedule,contents,platforms(cont)
OSversionssupported• OracleLinux6and7• RedHatEnterpriseLinux6and7• SUSEEnterpriseServer12• AIX7.1TL3andTL4• WindowsServer2012and2016• Windows8.1and10• macOS– TBCbutshouldbe10.12,10.13and10.14
Javaversionssupported• OracleJDK8,9and10• OpenJDK8,9and10(Linuxonly)
Clusterwareversionssupported• Linuxx64– 11.2.0.4.0and12.1.0.2.0• AIX64– 11.2.0.4.0and12.1.0.2.0
4
Copyright©2018,Oracleand/oritsaffiliates.Allrightsreserved.|
18.1.2Classicchangesvs.11.2.2
• B+-Treeindexesarenowthedefaultforrangeindexes• MoreconcurrentandscalablethanT-Trees
• Aggregatefunctionreturntypechanges(TT_BIGINT)• Systemviews(V$andGV$)• Increasedupperlimitonnumberofconnections
• 11.2.2• Maxis2,000• Default determinedbyOSsemaphoreconfiguration
• 18.1• Maxis32,000• Default isthelesser of2,000andOSsemaphoreconfiguration
• IPv6supportisenabledbydefault
5
Changes
Copyright©2018,Oracleand/oritsaffiliates.Allrightsreserved.|
18.1.2Classicchangesvs.11.2.2
• Severaldefaultshavechanged:• Preallocate=1– checkpointfilespacealwayspre-allocated• LogFileSize=LogBufMB• CkptFrequency=0– timeintervalbasedcheckpointingisdisabledbydefault• CkptLogVolume=LogBufMB – logvolumebasedcheckpointingisenabledbydefauklt• CommitBufferSizeMax=10MB
6
Changes
Copyright©2018,Oracleand/oritsaffiliates.Allrightsreserved.|
18.1.2ClassicNewFeatures
• Improvedmemorymanagementforindexes• Eachindexhasitsownheap• FasterDROPINDEX• Fasterrecovery
• AutomaticallydetectandusehugepagesonLinuxandAIX• ttBulkCp enhancements
• -directLoad• Avoidsundologgingandformattingoverheads• Can’tbeusedontablesthathaveindexesorconstraints
7
Copyright©2018,Oracleand/oritsaffiliates.Allrightsreserved.|
18.1.2ClassicNewFeatures
• SupportforODBC3.5API• ODBC2.5stillsupportedandstillthedefault
• SupportformanyJDBC4.1features• Oracledatabasecompatiblebitmanipulationfunctions
• BITAND(),BITOR(),BITXOR,BITNOT()• Optimiser cannowgatheradditionalintervalstatistics
• NewoptiontottOptUpdateStats()toenable• ttOptUpdateStats([‘tablename’],[invalidate],[intervalstats]);
• NULLor0->collectfullintervalsstatsforcolumnsthatarepartofrangeindexesandsingleintervalstatsotherwise(default)
• 1->onlycollectsingleintervalstats(asper11.2.2)• Connectionleveloptimizerhints
• SpecifieshintstobeappliedtoallSQLfromthisconnection• Connectionattribute- OptimizerHint
8
Copyright©2018,Oracleand/oritsaffiliates.Allrightsreserved.|
18.1.2ClassicNewFeatures
• ttLoadFromOracle()improvements• Improvederrormessages• Optiontostopaftern errorsnotjustafterthefirsterror• Optiontoignorealluniquenesserrors
• Enablesrestartofafailed/partialload• ReturnsOracleSCNofload
• CanspecifytheSCNinordertorestartloadfromthatSCN• Enablesrestartofapartialload
9
Copyright©2018,Oracleand/oritsaffiliates.Allrightsreserved.|
18.1.2ClassicNewFeatures
• Supportforreplicated READONLYAUTOREFRESHCacheGroupswhentheOracleDatabaseusesActive DataGuard withasynchronous transport• IfthestandbyOracleDatabaseispromotedtoactive,TimesTencacherefreshwillautomatically
switchtothenewactive• TimesTen replicationwillonlyreplicateOracletransactionsthatarepresentonboththeOracle
activeandOraclestandby• NodatalossorcacheinconsistencyafteraDataGuard failover
10
Copyright©2018,Oracleand/oritsaffiliates.Allrightsreserved.|
18.1.2ClassicNewFeatures• Forceddisconnect
• Theinstanceadministratorcansafely forciblydisconnectapplicationconnections• Nomoreneedtokillprocesses(risky!)• NeedsForceDisconnectEnabled=1 tobespecifiedintheDSNattributes.
ttAdmin –disconnect urgency [granularity] { DSN | -connStr connstr }
urgency -transactional – Disconnectconnectionsaftertheycommitorrollback.-immediate – Rollbackanyopentransactionsanddisconnect.-abort – Abortalldirectmodeprocessesandservers!
granularity -unload – Disconnectsallconnectionsincludingthesub-daemon.Allowsforacleanunloadofthedatabase.
-users – Disconnectsonlyuserconnections– thedefault
11
Copyright©2018,Oracleand/oritsaffiliates.Allrightsreserved.|
18.1.2ClassicDeprecatedFeatures
• BitmapIndexes• Userdefined parallelreplication• AsynchronousMaterializedViews• TT_DECIMALdatatype• LegacyfeaturesnotcompatiblewithOracleDatabase
• DDLCommitBehaviour=1• DuplicateBindMode=1• PLSQL=0• TypeMode=1• TheTIMESTEN8‘characterset’
12
Don’tstartusingthese,plantostopusingthemASAP
Copyright©2018,Oracleand/oritsaffiliates.Allrightsreserved.|
18.1.2ClassicRemovedFeatures• CacheGrid• CacheAdvisor
13
Copyright©2018,Oracleand/oritsaffiliates.Allrightsreserved.|
18.1.2Scaleout NewFeatures• Forceddisconnect
• Theinstanceadministratorcansafelyforciblydisconnectapplicationconnections• Nomoreneedtokillprocesses(risky)• Alwaysenabled,cannotbedisabled.• Databasemustbe‘closed’beforeyoucanusethis.
ttGridAdmin dbDisconnect dbname–transactional|-immediate|-abort [-nowait | -wait timeout]
-transactional – Disconnectconnectionsaftertheycommitorrollback.-immediate – Rollbackanyopentransactionsanddisconnect.-abort – Abortalldirectmodeprocessesandservers!
14
Copyright©2018,Oracleand/oritsaffiliates.Allrightsreserved.|
18.1.2Scaleout NewFeatures
• ExtraoptionsforttGridAdmin dbStatus (introducedin18.1.1.4.0Ibelieve)-epochs – Showinformationonepochsforallelements.-connections – Displaysinformationonapplicationconnectionstothedatabase..-system – Includessystemconnectionsinthedisplay.-proxy – Includesproxyconnectionsinthedisplay.
15
Copyright©2018,Oracleand/oritsaffiliates.Allrightsreserved.| 16