Upload
adi-hadrian
View
219
Download
2
Embed Size (px)
DESCRIPTION
Simple knowledge sharing about database (OLTP, OLAP) that beginner should know. From database types, until some programming level concept to be implemented. Stack of software that will lead some person to give critical thought further.
Citation preview
Database for Developers
Garis Besar MateriTujuan
Database for Developers
Rangkuman
OLTP & OLAP Difference
OLTPOLAP Data SourceOperationalConsolidation Data PurposeControl & RunPlanning, Solving, Decission View HorizonWeek, MonthYears Data ModelEntity RelationshipMultidimensional Data SchemaNormalizedDe-Normalized Data RefreshImmediatePeriodic Data ProcessRealtimeBatching Type of QuerySimpleComplex
Hardware:StorageProcessorMemorySoftware:Firmware (BIOS)Virtual MachineOperating SystemConfigurationNetwork
Infrastructure Entity Stack
Database ObjectsTable-spacesTablesViewsSequencesDB-LinkSchedulerAdd-on Language
Constraints
Indexes
Clustering
PartitioningDatabase Tables Feature
Constraints
Speed-up SELECT Statement
Slows-down INSERT Statement
Fragmentation
Clustering & Partitioning
StatisticIndexes
Clustering
Partitioning
Clustering & Partitioning
Clustering & Partitioning (Contd.)
Clustering & Partitioning (Contd.)
Basic SQLSELECTUPDATEDELETEINSERTJOINSEXISTSWHEREORDER BYGROUP BYIF THEN ELSECASE WHENLOOPANDOR
ImplementsScriptingProcedureFunctionPackageTriggersTypeCursorTemporary TablesTemporary ParametersOther Language add-on
Important ChecklistLogic
Data BehaviorInput (Source)Output (Result)
Knowledge of Target Database
Technical Skill
Advance Design GuideExists VS InVarchar VS CharNumber VS Char as Key (ID)DB Sequence for Key (ID)Implementing PK FK (Relational)Implementing TCN (Transaction Control Number) for Concurrent TransactionUse persistent layer for Parameters
Lets Do Some TrialMake Query to provide result like this:
MOBILMOTOR24491104
Q & A
Good day every one, its great to see you all here, thank you for coming. My name is Adi Hadrian, friends call me Adi.--I am a software engineer by profession and working with ABC Ltd. Today we are here to know about my proposal so that we can take most of it. Firstly, we will look what am i going to proposed, next we will discuss where can we use it,then we will learn what are its advantagesand finally we will discuss what precautions are required to kept in mind while implementing it.*Fragmentation (Cause of DELETE or UPDATE Statement)
*