SlideShare une entreprise Scribd logo
1  sur  28
Télécharger pour lire hors ligne
Embedded Databases
for Mobile Apps
Stress-Free Solutions with InterBase
Replay: https://embt.co/2qUPwWY
April 18, 2018
Duration: 24 min + Q&A
Twitter: #InterBase
Type your question in the GoToWebinar Control Panel
“Questions” window. We’ll try to answer them at the end.
This webinar is being recorded for future playback.
You’ll get an email with the replay link.
For quality purposes, all lines except the presenter are muted.
Webinar Reminders:
Tweet about this Webinar: #InterBase
?
Your Presenters
Mary Kelly
InterBase Engineer & RAD Software Consultant
mary.kelly@embarcadero.com
Twitter: @interbasetechie
Jim McKeeth
Chief Developer Advocate & Engineer
jim.mckeeth@embarcadero.com
Twitter: @jimmckeeth
Podcast/blog: delphi.org
Today’s Agenda:
1
2
3
4
Introduction to InterBase, IBToGo and IBLite
Why Choose an Embedded Database?
Mobile Applications with Embedded InterBase
Mobile Syncing between Client and Server
5 All About Change Views
6 Live Questions and Answers
InterBase Overview
Overview
www.embarcadero.com/products/interbase
Documentation
docwiki.embarcadero.com/InterBase/
What is InterBase?
Small Footprint Cloud Certified Multi-Platform Change Views
Lightweight Low Cost Zero Admin Encryptable
InterBase is a highly scalable, powerful, embeddable and encryptable database
that works on multiple platforms, including iOS and Android
In the Cloud
Server Databases
Oracle, MS SQL Server, MySQL,
PostgreSQL, ...
DesktopDatabases
MSAccess,FileMakerPro,
Paradox,...
EmbeddedDatabases
SQLite,AdvantageDB,....
InterBase Overview
• Usage Scenarios
• Desktop database
• Server database
• Embedded database
• Cloud certified
• Best in Class Features
• Change views
• Strong encryption and security
• Ultra fast, self tuning, & small footprint
• Journaling & incremental backups
• Platforms
• Windows, Linux, Android, macOS, & iOS
Embed, Deploy, Relax!
InterBase installations are found everywhere; Trusted for
solid, reliable use in mission-critical contexts such as
patient management, railways, medical labs,
multi-national POS, CRM, and emergency response
systems. InterBase runs non-stop, round-the-clock.
Lightweight, yet rock-solid. It’s the database solution
chosen by NASA for the MARS Rover. So you might say
that it’s out of this world!
InterBase contains award winning
technologies, built with ISV business
solutions and the IoT age in mind.
● Admin Free
● Change Views (SQL based
change tracking)
● Transparent Data Encryption
● Journaling and Point in Time
Recovery
● Disaster Recovery
Feature Rich Database for Enterprise and IoT
Internet of Things Awards
Winner
Most Innovative Use of Data
Cross Language
Database Support
● Supports all major development
paradigms - including Java, C, C++,
.NET, Delphi, JavaScript, PHP, and
Ruby.
● Closely integrated with C++Builder,
RAD Studio, and Delphi with
embedded deploy.
● Visual Studio developers can work
with InterBase through ADO.NET or
ODBC.
InterBase Editions
No DBA Needed!
IBLite
Free (runtime royalty free)
Binary compatible with all
platforms/editions
Zero installation embedded
Very small footprint
100 MB database size limit
No encryption
Directly upgradable to
IB ToGo
InterBase ToGo
All the features of IBLite
Strong at rest encryption
Strong network encryption
Unlimited database size
4 CPU Cores
8 Simultaneous connections
Change Views
InterBase Desktop
Install on desktop
Accessible by any local
application
Other IB ToGo features
Full user security
Multiple instances /
installations
1 simultaneous user
InterBase Server
All InterBase Desktop
Features
Accessible from remote
computers/clients
Multiple simultaneous users
8 CPU Cores
4 Connections per user
TCP listening server
Journaling & Journal Archives
www.embarcadero.com/products/interbase/product-editions
InterBase Customers Get Results!
Why Choose an Embeddable Database?
Zero Installation
EncryptionFull SQL
Scalability Reliability
Caching
Working with InterBase
FireDAC & InterBase
Connecting docwiki.embarcadero.com/RADStudio/en/Connect_to_InterBase_(FireDAC)
Using docwiki.embarcadero.com/RADStudio/en/Using_InterBase_with_FireDAC
FAQ docwiki.embarcadero.com/RADStudio/en/InterBase_Servers_Questions_(FireDAC)
License & Deployment
docwiki.embarcadero.com/RADStudio/en/IBLite_and_IBToGo_Test_Deployment_Licensing
License and Deployment Steps (For both IBLite & IBToGo)
• Install Redistributables
• via GetIt -> InterBase 2017 ToGo
• Go to reg.embarcadero.com
• Enter your serial key
• Download license files
• Place license files in IBRedistDir Folder
• Tools -> Options
• Environment Options -> Environment Options
• Find IBRedistDir in System Var or User Overrides
• e.g. C:UsersPublicDocumentsEmbarcaderoInterBaseredistInterBase2017
• Add to project via
• Project -> Deployment
• Featured Files
• InterBase ToGo
Full documentation on licensing and deployment
docwiki.embarcadero.com/RADStudio/en/IBLite_and_IBToGo_Test_Deployment_Licensing
3
2
1
5
Choose one
license file
4 Add featured files
Rename and save the license files
downloaded from
reg.embarcadero.com as shown
FireDAC Driver Configuration
IBLite
InterBase Server/ InterBase ToGo
Connecting with FireDAC Documentation
docwiki.embarcadero.com/RADStudio/en/Connect_to_InterBase_(FireDAC)
Create Table Script
SET SQL DIALECT 3;
SET NAMES UTF8;
/* table */
CREATE TABLE tasks
(
id INT NOT NULL,
created TIMESTAMP NOT NULL,
completed TIMESTAMP,
title VARCHAR(255)
);
/* generator */
CREATE GENERATOR generate_task_id;
SET GENERATOR generate_task_id to 0;
/* trigger */
SET TERM ^;
CREATE TRIGGER newtask FOR tasks
BEFORE INSERT AS
BEGIN
NEW.id = GEN_ID(generate_task_id, 1);
NEW.created = CURRENT_TIMESTAMP;
END^
SET TERM ;^
Change Views
What is Change Views?
A “subscription based” model to “subscribe” to
data and identify what data has changed in the
database.
Subscriptions can run both:
• During a connection
• Spanning connections and time
Each subscriber can have multiple devices that are
each subscribed
Traditional Data Briefcase
Using Change Views
5 Benefits to Using Change Tracking
● Reduce costs and disk I/O by minimizing data syncs on
mobile devices
● No impact on performance
● No external log tables
● Scalability of users
● Track the changes the way you want
Briefcase models just got a boost, when change views syncs only
the changes between local and server databases keeping data
accurate and current!
How Does it Work?
• Create a subscription to specific data that can allow you to identify at the
column and field level what data has been changed
• Multiple users can subscribe to the same subscription configuration
• A subscription can be any mix of tables/columns
• Each user can subscribe multiple devices with their own tracking IDs
• CV reports back what others have changed, not your changes
• You don’t need to stay connected since it runs across connections
• Included with all IB licenses, not including the IBLite edition
Creating a Change View
When in IBConsole, click on Subscriptions and Create Subscription adding
in details or in ISQL add the following code changing your tables names:
CREATE SUBSCRIPTION "SUB_MEDICINEUPDATES" ON
"CATEGORY" FOR ROW (INSERT, UPDATE, DELETE),
"MEDICINE" FOR ROW (INSERT, UPDATE, DELETE),
"MEDICINE_CATEGORIES" FOR ROW (INSERT, UPDATE, DELETE)
DESCRIPTION 'Track inserts, updates and deletes to medicine data';
Privileges for accessing tables
GRANT SUBSCRIBE ON SUBSCRIPTION <subscription_name> TO <user_name>
REVOKE SUBSCRIBE ON SUBSCRIPTION <subscription_name> TO <user_name>
More information: http://docwiki.embarcadero.com/InterBase/en/Change_Views
Final Thoughts
Reduce network traffic and data costs associated with syncing
Keep your data up-to-date
Fast access to secure data, even when offline
1
2
3
• More information and Free Trial: www.embarcadero.com/products/interbase
• InterBase DocWiki: docwiki.embarcadero.com/InterBase/
• ChangeViews: docwiki.embarcadero.com/InterBase/en/Change_Views
• Samples: docwiki.embarcadero.com/CodeExamples/en/Category:Sample
• Change Views: docwiki.embarcadero.com/InterBase/en/Change_Views
• FireDAC & InterBase
• Using: docwiki.embarcadero.com/RADStudio/en/Using_InterBase_with_FireDAC
• Connecting: docwiki.embarcadero.com/RADStudio/en/Connect_to_InterBase_(FireDAC)
• FAQ: docwiki.embarcadero.com/RADStudio/en/InterBase_Servers_Questions_(FireDAC)
• License Installation & Deployment:
docwiki.embarcadero.com/RADStudio/en/IBLite_and_IBToGo_Test_Deployment_Licensing
• Replay: https://embt.co/2qUPwWY
Resources
ANY QUESTIONS?
SELECT Answers FROM InterBase
WHERE Questions IS NOT NULL;
More Information and Free Trial at:
www.embarcadero.com/interbase
Replay: https://embt.co/2qUPwWY

Contenu connexe

Tendances

Technical Architect on Embedded System.
Technical Architect on Embedded System.Technical Architect on Embedded System.
Technical Architect on Embedded System.
Prasad Roy Raju
 

Tendances (20)

Hybrid Mobile Applications
Hybrid Mobile ApplicationsHybrid Mobile Applications
Hybrid Mobile Applications
 
Designing Machine-level HMI with Studio 5000 View Designer® Demonstration
Designing Machine-level HMI with Studio 5000 View Designer® DemonstrationDesigning Machine-level HMI with Studio 5000 View Designer® Demonstration
Designing Machine-level HMI with Studio 5000 View Designer® Demonstration
 
swampUP: Over-The-Air (OTA) firmware upgrades for Internet of Things devices ...
swampUP: Over-The-Air (OTA) firmware upgrades for Internet of Things devices ...swampUP: Over-The-Air (OTA) firmware upgrades for Internet of Things devices ...
swampUP: Over-The-Air (OTA) firmware upgrades for Internet of Things devices ...
 
Getting Your Windows and MeeGo Apps into AppUp
Getting Your Windows and MeeGo Apps into AppUpGetting Your Windows and MeeGo Apps into AppUp
Getting Your Windows and MeeGo Apps into AppUp
 
RAD Studio XE7 Tour Live Online - Move your VCL Into the Future
RAD Studio XE7 Tour Live Online - Move your VCL Into the FutureRAD Studio XE7 Tour Live Online - Move your VCL Into the Future
RAD Studio XE7 Tour Live Online - Move your VCL Into the Future
 
Intel® Developer Zone
Intel® Developer ZoneIntel® Developer Zone
Intel® Developer Zone
 
ARM
ARMARM
ARM
 
Samsung Indonesia: Tizen Web Apps
Samsung Indonesia: Tizen Web AppsSamsung Indonesia: Tizen Web Apps
Samsung Indonesia: Tizen Web Apps
 
Building advanced Chats Bots and Voice Interactive Assistants - Stève Sfartz ...
Building advanced Chats Bots and Voice Interactive Assistants - Stève Sfartz ...Building advanced Chats Bots and Voice Interactive Assistants - Stève Sfartz ...
Building advanced Chats Bots and Voice Interactive Assistants - Stève Sfartz ...
 
DAVE: Free development platform for XMC code generation
DAVE: Free development platform for XMC code generationDAVE: Free development platform for XMC code generation
DAVE: Free development platform for XMC code generation
 
Technical Architect on Embedded System.
Technical Architect on Embedded System.Technical Architect on Embedded System.
Technical Architect on Embedded System.
 
'Hear' & Now: Software Integration for the Qualcomm Snapdragon Audio Feature
'Hear' & Now: Software Integration for the Qualcomm Snapdragon Audio Feature 'Hear' & Now: Software Integration for the Qualcomm Snapdragon Audio Feature
'Hear' & Now: Software Integration for the Qualcomm Snapdragon Audio Feature
 
InTouch Machine Edition Advantages and Features
InTouch Machine Edition Advantages and FeaturesInTouch Machine Edition Advantages and Features
InTouch Machine Edition Advantages and Features
 
“Full-stack developer: з чого розпочати кар’єру?”
 “Full-stack developer: з чого розпочати кар’єру?”  “Full-stack developer: з чого розпочати кар’єру?”
“Full-stack developer: з чого розпочати кар’єру?”
 
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDESAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
 
Tizen Native Application Development with C/C++
Tizen Native Application Development with C/C++Tizen Native Application Development with C/C++
Tizen Native Application Development with C/C++
 
Qualcomm Hexagon SDK: Optimize Your Multimedia Solutions
Qualcomm Hexagon SDK: Optimize Your Multimedia SolutionsQualcomm Hexagon SDK: Optimize Your Multimedia Solutions
Qualcomm Hexagon SDK: Optimize Your Multimedia Solutions
 
Samsung Indonesia: Tizen Native App
Samsung Indonesia: Tizen Native AppSamsung Indonesia: Tizen Native App
Samsung Indonesia: Tizen Native App
 
Studio 5000® Application Code Manager: Introduction and Demonstration
Studio 5000® Application Code Manager: Introduction and DemonstrationStudio 5000® Application Code Manager: Introduction and Demonstration
Studio 5000® Application Code Manager: Introduction and Demonstration
 
Samsung Indonesia: Tizen Platform Overview and IoT
Samsung Indonesia: Tizen Platform Overview and IoTSamsung Indonesia: Tizen Platform Overview and IoT
Samsung Indonesia: Tizen Platform Overview and IoT
 

Similaire à Embeddable Databases for Mobile Apps: Stress-Free Solutions with InterBase

Thomas_Rock_Resume_50B
Thomas_Rock_Resume_50BThomas_Rock_Resume_50B
Thomas_Rock_Resume_50B
Thomas Rock
 
Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan
 

Similaire à Embeddable Databases for Mobile Apps: Stress-Free Solutions with InterBase (20)

Bfc Presentation
Bfc PresentationBfc Presentation
Bfc Presentation
 
Project seminar
Project seminarProject seminar
Project seminar
 
IBExpert 13 Min Film
IBExpert 13 Min FilmIBExpert 13 Min Film
IBExpert 13 Min Film
 
Liquibase – a time machine for your data
Liquibase – a time machine for your dataLiquibase – a time machine for your data
Liquibase – a time machine for your data
 
bfx and studio server - Bluebeam eXtreme Conference 2014
bfx and studio server - Bluebeam eXtreme Conference 2014bfx and studio server - Bluebeam eXtreme Conference 2014
bfx and studio server - Bluebeam eXtreme Conference 2014
 
Instant J Chem - Introduction and latest
Instant J Chem - Introduction and latestInstant J Chem - Introduction and latest
Instant J Chem - Introduction and latest
 
FIWARE Wednesday Webinars - How to Debug IoT Agents
FIWARE Wednesday Webinars - How to Debug IoT AgentsFIWARE Wednesday Webinars - How to Debug IoT Agents
FIWARE Wednesday Webinars - How to Debug IoT Agents
 
Whats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product SuiteWhats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product Suite
 
Java Development on Bluemix
Java Development on BluemixJava Development on Bluemix
Java Development on Bluemix
 
Understanding the Windows Azure Platform - Dec 2010
Understanding the Windows Azure Platform - Dec 2010Understanding the Windows Azure Platform - Dec 2010
Understanding the Windows Azure Platform - Dec 2010
 
Power BI Report Server: a Deep Dive for SQL PASS Vancouver
Power BI Report Server: a Deep Dive for SQL PASS VancouverPower BI Report Server: a Deep Dive for SQL PASS Vancouver
Power BI Report Server: a Deep Dive for SQL PASS Vancouver
 
Best Practices for Monitoring Postgres
Best Practices for Monitoring Postgres Best Practices for Monitoring Postgres
Best Practices for Monitoring Postgres
 
EDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJ
 
Thomas_Rock_Resume_50B
Thomas_Rock_Resume_50BThomas_Rock_Resume_50B
Thomas_Rock_Resume_50B
 
Object oriented design patterns for distributed systems
Object oriented design patterns for distributed systemsObject oriented design patterns for distributed systems
Object oriented design patterns for distributed systems
 
Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2
 
SQL Server 2014 for Developers (Cristian Lefter)
SQL Server 2014 for Developers (Cristian Lefter)SQL Server 2014 for Developers (Cristian Lefter)
SQL Server 2014 for Developers (Cristian Lefter)
 
Top ten integration productivity tools and frameworks - Integration Saturday ...
Top ten integration productivity tools and frameworks - Integration Saturday ...Top ten integration productivity tools and frameworks - Integration Saturday ...
Top ten integration productivity tools and frameworks - Integration Saturday ...
 
Sql interview question part 10
Sql interview question part 10Sql interview question part 10
Sql interview question part 10
 
Ebook10
Ebook10Ebook10
Ebook10
 

Plus de Embarcadero Technologies

Plus de Embarcadero Technologies (20)

PyTorch for Delphi - Python Data Sciences Libraries.pdf
PyTorch for Delphi - Python Data Sciences Libraries.pdfPyTorch for Delphi - Python Data Sciences Libraries.pdf
PyTorch for Delphi - Python Data Sciences Libraries.pdf
 
Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...
Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...
Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...
 
Linux GUI Applications on Windows Subsystem for Linux
Linux GUI Applications on Windows Subsystem for LinuxLinux GUI Applications on Windows Subsystem for Linux
Linux GUI Applications on Windows Subsystem for Linux
 
Python on Android with Delphi FMX - The Cross Platform GUI Framework
Python on Android with Delphi FMX - The Cross Platform GUI Framework Python on Android with Delphi FMX - The Cross Platform GUI Framework
Python on Android with Delphi FMX - The Cross Platform GUI Framework
 
Introduction to Python GUI development with Delphi for Python - Part 1: Del...
Introduction to Python GUI development with Delphi for Python - Part 1:   Del...Introduction to Python GUI development with Delphi for Python - Part 1:   Del...
Introduction to Python GUI development with Delphi for Python - Part 1: Del...
 
FMXLinux Introduction - Delphi's FireMonkey for Linux
FMXLinux Introduction - Delphi's FireMonkey for LinuxFMXLinux Introduction - Delphi's FireMonkey for Linux
FMXLinux Introduction - Delphi's FireMonkey for Linux
 
Python for Delphi Developers - Part 2
Python for Delphi Developers - Part 2Python for Delphi Developers - Part 2
Python for Delphi Developers - Part 2
 
Python for Delphi Developers - Part 1 Introduction
Python for Delphi Developers - Part 1 IntroductionPython for Delphi Developers - Part 1 Introduction
Python for Delphi Developers - Part 1 Introduction
 
RAD Industrial Automation, Labs, and Instrumentation
RAD Industrial Automation, Labs, and InstrumentationRAD Industrial Automation, Labs, and Instrumentation
RAD Industrial Automation, Labs, and Instrumentation
 
Rad Server Industry Template - Connected Nurses Station - Setup Document
Rad Server Industry Template - Connected Nurses Station - Setup DocumentRad Server Industry Template - Connected Nurses Station - Setup Document
Rad Server Industry Template - Connected Nurses Station - Setup Document
 
TMS Google Mapping Components
TMS Google Mapping ComponentsTMS Google Mapping Components
TMS Google Mapping Components
 
Useful C++ Features You Should be Using
Useful C++ Features You Should be UsingUseful C++ Features You Should be Using
Useful C++ Features You Should be Using
 
ER/Studio 2016: Build a Business-Driven Data Architecture
ER/Studio 2016: Build a Business-Driven Data ArchitectureER/Studio 2016: Build a Business-Driven Data Architecture
ER/Studio 2016: Build a Business-Driven Data Architecture
 
The Secrets of SQL Server: Database Worst Practices
The Secrets of SQL Server: Database Worst PracticesThe Secrets of SQL Server: Database Worst Practices
The Secrets of SQL Server: Database Worst Practices
 
Driving Business Value Through Agile Data Assets
Driving Business Value Through Agile Data AssetsDriving Business Value Through Agile Data Assets
Driving Business Value Through Agile Data Assets
 
Troubleshooting Plan Changes with Query Store in SQL Server 2016
Troubleshooting Plan Changes with Query Store in SQL Server 2016Troubleshooting Plan Changes with Query Store in SQL Server 2016
Troubleshooting Plan Changes with Query Store in SQL Server 2016
 
Great Scott! Dealing with New Datatypes
Great Scott! Dealing with New DatatypesGreat Scott! Dealing with New Datatypes
Great Scott! Dealing with New Datatypes
 
Agile, Automated, Aware: How to Model for Success
Agile, Automated, Aware: How to Model for SuccessAgile, Automated, Aware: How to Model for Success
Agile, Automated, Aware: How to Model for Success
 
What's New in DBArtisan and Rapid SQL 2016
What's New in DBArtisan and Rapid SQL 2016What's New in DBArtisan and Rapid SQL 2016
What's New in DBArtisan and Rapid SQL 2016
 
Is This Really a SAN Problem? Understanding the Performance of Your IO Subsy...
Is This Really a SAN Problem? Understanding the Performance of  Your IO Subsy...Is This Really a SAN Problem? Understanding the Performance of  Your IO Subsy...
Is This Really a SAN Problem? Understanding the Performance of Your IO Subsy...
 

Dernier

AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Dernier (20)

Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 

Embeddable Databases for Mobile Apps: Stress-Free Solutions with InterBase

  • 1. Embedded Databases for Mobile Apps Stress-Free Solutions with InterBase Replay: https://embt.co/2qUPwWY April 18, 2018 Duration: 24 min + Q&A Twitter: #InterBase
  • 2. Type your question in the GoToWebinar Control Panel “Questions” window. We’ll try to answer them at the end. This webinar is being recorded for future playback. You’ll get an email with the replay link. For quality purposes, all lines except the presenter are muted. Webinar Reminders: Tweet about this Webinar: #InterBase ?
  • 3. Your Presenters Mary Kelly InterBase Engineer & RAD Software Consultant mary.kelly@embarcadero.com Twitter: @interbasetechie Jim McKeeth Chief Developer Advocate & Engineer jim.mckeeth@embarcadero.com Twitter: @jimmckeeth Podcast/blog: delphi.org
  • 4. Today’s Agenda: 1 2 3 4 Introduction to InterBase, IBToGo and IBLite Why Choose an Embedded Database? Mobile Applications with Embedded InterBase Mobile Syncing between Client and Server 5 All About Change Views 6 Live Questions and Answers
  • 6. What is InterBase? Small Footprint Cloud Certified Multi-Platform Change Views Lightweight Low Cost Zero Admin Encryptable InterBase is a highly scalable, powerful, embeddable and encryptable database that works on multiple platforms, including iOS and Android
  • 7. In the Cloud Server Databases Oracle, MS SQL Server, MySQL, PostgreSQL, ... DesktopDatabases MSAccess,FileMakerPro, Paradox,... EmbeddedDatabases SQLite,AdvantageDB,.... InterBase Overview • Usage Scenarios • Desktop database • Server database • Embedded database • Cloud certified • Best in Class Features • Change views • Strong encryption and security • Ultra fast, self tuning, & small footprint • Journaling & incremental backups • Platforms • Windows, Linux, Android, macOS, & iOS
  • 8. Embed, Deploy, Relax! InterBase installations are found everywhere; Trusted for solid, reliable use in mission-critical contexts such as patient management, railways, medical labs, multi-national POS, CRM, and emergency response systems. InterBase runs non-stop, round-the-clock. Lightweight, yet rock-solid. It’s the database solution chosen by NASA for the MARS Rover. So you might say that it’s out of this world!
  • 9. InterBase contains award winning technologies, built with ISV business solutions and the IoT age in mind. ● Admin Free ● Change Views (SQL based change tracking) ● Transparent Data Encryption ● Journaling and Point in Time Recovery ● Disaster Recovery Feature Rich Database for Enterprise and IoT Internet of Things Awards Winner Most Innovative Use of Data
  • 10. Cross Language Database Support ● Supports all major development paradigms - including Java, C, C++, .NET, Delphi, JavaScript, PHP, and Ruby. ● Closely integrated with C++Builder, RAD Studio, and Delphi with embedded deploy. ● Visual Studio developers can work with InterBase through ADO.NET or ODBC.
  • 11. InterBase Editions No DBA Needed! IBLite Free (runtime royalty free) Binary compatible with all platforms/editions Zero installation embedded Very small footprint 100 MB database size limit No encryption Directly upgradable to IB ToGo InterBase ToGo All the features of IBLite Strong at rest encryption Strong network encryption Unlimited database size 4 CPU Cores 8 Simultaneous connections Change Views InterBase Desktop Install on desktop Accessible by any local application Other IB ToGo features Full user security Multiple instances / installations 1 simultaneous user InterBase Server All InterBase Desktop Features Accessible from remote computers/clients Multiple simultaneous users 8 CPU Cores 4 Connections per user TCP listening server Journaling & Journal Archives www.embarcadero.com/products/interbase/product-editions
  • 13. Why Choose an Embeddable Database? Zero Installation EncryptionFull SQL Scalability Reliability Caching
  • 14. Working with InterBase FireDAC & InterBase Connecting docwiki.embarcadero.com/RADStudio/en/Connect_to_InterBase_(FireDAC) Using docwiki.embarcadero.com/RADStudio/en/Using_InterBase_with_FireDAC FAQ docwiki.embarcadero.com/RADStudio/en/InterBase_Servers_Questions_(FireDAC) License & Deployment docwiki.embarcadero.com/RADStudio/en/IBLite_and_IBToGo_Test_Deployment_Licensing
  • 15. License and Deployment Steps (For both IBLite & IBToGo) • Install Redistributables • via GetIt -> InterBase 2017 ToGo • Go to reg.embarcadero.com • Enter your serial key • Download license files • Place license files in IBRedistDir Folder • Tools -> Options • Environment Options -> Environment Options • Find IBRedistDir in System Var or User Overrides • e.g. C:UsersPublicDocumentsEmbarcaderoInterBaseredistInterBase2017 • Add to project via • Project -> Deployment • Featured Files • InterBase ToGo Full documentation on licensing and deployment docwiki.embarcadero.com/RADStudio/en/IBLite_and_IBToGo_Test_Deployment_Licensing
  • 16. 3 2 1 5 Choose one license file 4 Add featured files Rename and save the license files downloaded from reg.embarcadero.com as shown
  • 17. FireDAC Driver Configuration IBLite InterBase Server/ InterBase ToGo Connecting with FireDAC Documentation docwiki.embarcadero.com/RADStudio/en/Connect_to_InterBase_(FireDAC)
  • 18. Create Table Script SET SQL DIALECT 3; SET NAMES UTF8; /* table */ CREATE TABLE tasks ( id INT NOT NULL, created TIMESTAMP NOT NULL, completed TIMESTAMP, title VARCHAR(255) ); /* generator */ CREATE GENERATOR generate_task_id; SET GENERATOR generate_task_id to 0; /* trigger */ SET TERM ^; CREATE TRIGGER newtask FOR tasks BEFORE INSERT AS BEGIN NEW.id = GEN_ID(generate_task_id, 1); NEW.created = CURRENT_TIMESTAMP; END^ SET TERM ;^
  • 20. What is Change Views? A “subscription based” model to “subscribe” to data and identify what data has changed in the database. Subscriptions can run both: • During a connection • Spanning connections and time Each subscriber can have multiple devices that are each subscribed
  • 23. 5 Benefits to Using Change Tracking ● Reduce costs and disk I/O by minimizing data syncs on mobile devices ● No impact on performance ● No external log tables ● Scalability of users ● Track the changes the way you want Briefcase models just got a boost, when change views syncs only the changes between local and server databases keeping data accurate and current!
  • 24. How Does it Work? • Create a subscription to specific data that can allow you to identify at the column and field level what data has been changed • Multiple users can subscribe to the same subscription configuration • A subscription can be any mix of tables/columns • Each user can subscribe multiple devices with their own tracking IDs • CV reports back what others have changed, not your changes • You don’t need to stay connected since it runs across connections • Included with all IB licenses, not including the IBLite edition
  • 25. Creating a Change View When in IBConsole, click on Subscriptions and Create Subscription adding in details or in ISQL add the following code changing your tables names: CREATE SUBSCRIPTION "SUB_MEDICINEUPDATES" ON "CATEGORY" FOR ROW (INSERT, UPDATE, DELETE), "MEDICINE" FOR ROW (INSERT, UPDATE, DELETE), "MEDICINE_CATEGORIES" FOR ROW (INSERT, UPDATE, DELETE) DESCRIPTION 'Track inserts, updates and deletes to medicine data'; Privileges for accessing tables GRANT SUBSCRIBE ON SUBSCRIPTION <subscription_name> TO <user_name> REVOKE SUBSCRIBE ON SUBSCRIPTION <subscription_name> TO <user_name> More information: http://docwiki.embarcadero.com/InterBase/en/Change_Views
  • 26. Final Thoughts Reduce network traffic and data costs associated with syncing Keep your data up-to-date Fast access to secure data, even when offline 1 2 3
  • 27. • More information and Free Trial: www.embarcadero.com/products/interbase • InterBase DocWiki: docwiki.embarcadero.com/InterBase/ • ChangeViews: docwiki.embarcadero.com/InterBase/en/Change_Views • Samples: docwiki.embarcadero.com/CodeExamples/en/Category:Sample • Change Views: docwiki.embarcadero.com/InterBase/en/Change_Views • FireDAC & InterBase • Using: docwiki.embarcadero.com/RADStudio/en/Using_InterBase_with_FireDAC • Connecting: docwiki.embarcadero.com/RADStudio/en/Connect_to_InterBase_(FireDAC) • FAQ: docwiki.embarcadero.com/RADStudio/en/InterBase_Servers_Questions_(FireDAC) • License Installation & Deployment: docwiki.embarcadero.com/RADStudio/en/IBLite_and_IBToGo_Test_Deployment_Licensing • Replay: https://embt.co/2qUPwWY Resources
  • 28. ANY QUESTIONS? SELECT Answers FROM InterBase WHERE Questions IS NOT NULL; More Information and Free Trial at: www.embarcadero.com/interbase Replay: https://embt.co/2qUPwWY