PostgreSQL is an object-relational database system. NoSQL on the other hand is a non-relational database and is document-oriented. Learn how the PostgreSQL database gives one the flexible options to combine NoSQL workloads with the relational query power by offering JSON data types. With PostgreSQL, new capabilities can be developed and plugged into the database as required.
Attend this webinar to learn:
- The new features and capabilities in PostgreSQL for new workloads, requiring greater flexibility in the data model
- NoSQL with JSON, Hstore and its performance and features for enterprises
- Spatial SQL - advanced features in PostGIS application with PostGIS extension
3. Doing More with Postgres…
How to do more
with Postgres
Open source alternative to
commercial RDBMS
• Reduce cost
• Leverage in-house talent
• Flexible license model
RDBMS platform for
new developments
• Proven RDBMS
• SQL compliant
• Extremely stable
Innovative DBMS Platform
• Not only SQL (SQL + JSON/KVP)
• Foreign Data Wrappers
• PostGIS
4. Diversity of Use Cases Diversity of Workloads Diversity of Deployments
Why did PostgreSQL win (Multimodel)
Migration
New App Development
Replatforming to
Cloud and Containers
System of Record
System of Analysis
System of
Engagement
Public Cloud – IaaS
Public Cloud – DBaaS
Private Cloud
Virtual Machines
Containers
5. Postgres – ORDBMS
PostgreSQL is an Object-Relational Database
• O-R development foundation completed in 1994
• Built upon classes and inheritance
• O-R foundation continues driving innovation today
ORDBMS properties
• Highly extensible architecture (also easy)
• Data types and Indexes
• Operators, functions, casts, and aggregates
• Procedural languages
• New features easily added to original feature set
Consistency between Original and New features in:
• Design
• Implementation
• Behaviors
• Performance
6. NoSQL capabilities in Postgres
Foreign Data Wrapper
• Hadoop Foreign data Wrapper
• MangoFW
PostGIS
• Geospatial extension
• Considered one of the best geospatial modules in the world
HSTORE
• Key-Value store
• Excellent for handling rows with sparse data collections
JSON:
• NoSQL Document data store
• Full support for JSON document functions and operators
• Embed JSON in your SQL
• Easy bi-directional interchange of JSON and relational data
• FAST
7. Postgres’ Unstructured Data Capabilities
HSTORE: Key-value pairs
• Simple, fast and easy
• In Postgres – pre-dates many NoSQL solutions
• Ideal for flat data structures that are sparsely populated
JSON
• Hierarchical document model popular in web applications
JSONB
• Binary version of JSON
• Faster, more operators and even more robust
8. DevOps, Agile,
MicroService’s
Based Apps:
Deploying databases in RH
OpenShift Container
Platform to provide a key
database platform with
robust capabilities for :
Data management and HA
Read Scalability
Administration
Backup and
Recovery
Schema-less/
NoSQL: Best of Both
The Worlds:
Document store capabilities:
XML, JSON, JSONB, PLV8;
HStore (key-value store) :
Full Text Indexing
Performance: Postgres
Vs MongoDB
Multiple
Programming
Language Support:
Freedom for Developers to
suit their skills and needs for
new apps
Oracle’s PL/SQL
PL/pgSQL
PL/Perl
PL/Python
PL/TCL
PL/Java
GIS Support:
Best in Class
GIS/Spatial
Extension:
PostGIS: An advanced,
proven and widely used
Geospatial extension,
compared to Oracle,
Microsoft and other
proprietary or open source
options.
9. NoSQL Features in Postgres
EDB supercharges PostgreSQL
• Postgres - NoSQL Features
• Structured and Unstructured Data
• Spatial data with PostGIS
• Foreign data wrapper,
10. How NoSQL is Possible in Postgres ?
With new features and capabilities along side several long standing components and
extensions, Postgres can support virtually all of today’s data types as well as unstructured
and semi-structured data. Data has changed.
Bigger volumes, needs for faster processing and new data types mean organizations today
are facing new problems. Big Data problems.
• Postgres can power many applications written for NoSQL technologies.
• Developers can build applications in Postgres that achieve the same results as NoSQL
solutions
11. Most Prominent NoSQL technologies
The four most prominent NoSQL technologies most often referenced in Big Data
conversations are:
• Key Value Store
• Document Database
• Column Store
• Graph database
The technologies that address the most common kinds of challenges are key value store and document
databases
Relational technologies are advancing on the data load threshold and already can support some NoSQL
capabilities
Companies also looked to NoSQL for transactional applications that could support new data types and new
ways to store and work with them
12. NoSQL Database Limitations
• Lack of aggregate or data Analysis function
• Lack of powerful query language
• Not ACID Compliant
• No Query language, Query Optimizer
• No Support for Joins, referential integrity
• NoSQL technologies stores data , they don’t process data
13. Postgres Capabilities for NoSQL Workloads
Postgres was originally architected to be an object-relational database designed
specifically to be extensible.
There are capabilities in Postgres that enable it to achieve much of what NoSQL technologies
have been designed to do
• It supports objects and classes and custom data types and methods
• New capabilities could be developed as needs evolved and plugged into the database
seamlessly.
• Using this level of extensibility, Postgres developers were able to build new features and
capabilities as needs emerged. The perfect examples are JSON/JSONB for document
storage support and HStore for key-value support.
• With JSON/JSONB and HStore, Postgres can support applications that require a great deal
of flexibility in how data is handled.