SlideShare a Scribd company logo
1 of 33
Download to read offline
Postgres Database

By : Ibrahem Batta
and Emad Shakhsheer
What Is Postgres ?

• PostgreSQL, often simply Postgres, is an
  object-relational database management
  system (ORDBMS).


• available for many platforms including Linux,
  FreeBSD, Solaris, MS Windows and Mac OS.
Cont.

• Free and open source software.
        • No copy right.
        • Access core code.
        • Development part .

• Global community of developers and
  companies develops the system.
History

• The Ingres project at the University of
  California, Berkeley, in 1982.


• In 1985 started a post-Ingres project to
  address the problems with contemporary
  database systems that had become.


• Starting in 1986, the team published a number
  of papers describing the basis of the system
Cont.

• by 1988 had a prototype version.


• The team released version 1 to a small
  number of users in June 1989.


• Version 2 with a re-written rules system in
  June 1990.
Cont.


• By 1993 the great number of users began to
  increase.


• In 1996, the project was renamed to
  PostgreSQL to reflect its support for SQL.
Parts and Database administration

• Psql : appreciation to PostgreSQL.


• pgAdmin : graphical front-end administration
  tool .


• phpPgAdmin : phpPgAdmin is a web-based
  administration tool for PostgreSQL written in
  PHP and based on the popular phpMyAdmin
  interface.
Cont.

• pgFouine : to generate detailed reports from a
  PostgreSQL log file and is also capable of
  providing VACUUM analysis.
• Postgres Enterprise Manager : is a non-free
  tool consisting of a service, multiple agents,
  and a GUI which provides remote monitoring,
  management, reporting, capacity planning and
  tuning.
Prominent users
• Yahoo!
• MySpace, a popular social networking
  website,
• OpenStreetMap, a collaborative project to
  create a free editable map of the world.
• Sony Online multiplayer online games.
• Skype VoIP application, central business
  databases.
General advantages
•   Free.


•   open source software.


• Has excellent commercial and community
  support options
Cont.
•   High reliability.


• High stability.


• Is very scalable and extensible.


•   Cross platforms.
Cont.
•    GUI database design and administration
    tools.


• High level of concurrency.


• Data always in a consistent state.
Comparison.

Feature                   Oracle    PostgreSQL
Open Source               Not all       X
Free / No License Costs     -           X
Replication                 X           X
Views                       X           X
Triggers                    X           X
Unicode                   Not all       X
Sequences                   X           X
Inheritance                 X           X
Open API                    -           X
Native SSL Support        No all        X
Spatial database.
•    Is a database that is optimized to store and
    query data that is related to objects in
    space, including points, lines and polygons.
    While typical databases can understand
    various numeric and character types of
    data, additional functionality needs to be
    added for databases to process spatial data
    types.
PostGIS.
•   Is an open source software program that
    adds support for geographic objects to the
    PostgreSQL object-relational database.
    PostGIS follows the Simple Features for
    SQL specification from the Open Geospatial
    Consortium (OGC).
•   ArcGIS is the most Prominent user.
pgRouting.
• provides routing functionality on a PostGIS
  database. Free & open source.


• Added to the set of functions in PostGis.


• The most important function is shortest
  path.
Postgres Database installation
Postgres Database installation
Installed programe
Install Apache server for Postgres
Test Apache Server
Install pg php admin
Cont.
cont.
Cont.
What is Template and what is POSTGIS
template ?
Installing POSTGIS Template
Application Stack Builder
Cont.
Cont.
Create PostGis Database
Create PostGis table
Application on spatial Types

More Related Content

What's hot

MapReduce and Hadoop
MapReduce and HadoopMapReduce and Hadoop
MapReduce and Hadoop
Salil Navgire
 
Dremel: interactive analysis of web-scale datasets
Dremel: interactive analysis of web-scale datasetsDremel: interactive analysis of web-scale datasets
Dremel: interactive analysis of web-scale datasets
Hung-yu Lin
 

What's hot (20)

R for Pirates. ESCCONF October 27, 2011
R for Pirates. ESCCONF October 27, 2011R for Pirates. ESCCONF October 27, 2011
R for Pirates. ESCCONF October 27, 2011
 
Spark - Alexis Seigneurin (English)
Spark - Alexis Seigneurin (English)Spark - Alexis Seigneurin (English)
Spark - Alexis Seigneurin (English)
 
Getting started with pandas
Getting started with pandasGetting started with pandas
Getting started with pandas
 
Getting Started with PostGIS geographic database - Lasma Sietinsone, EDINA
Getting Started with PostGIS geographic database - Lasma Sietinsone, EDINAGetting Started with PostGIS geographic database - Lasma Sietinsone, EDINA
Getting Started with PostGIS geographic database - Lasma Sietinsone, EDINA
 
Getting started with PostGIS geographic database
Getting started with PostGIS geographic databaseGetting started with PostGIS geographic database
Getting started with PostGIS geographic database
 
Use Redis in Odd and Unusual Ways
Use Redis in Odd and Unusual WaysUse Redis in Odd and Unusual Ways
Use Redis in Odd and Unusual Ways
 
Modern software design in Big data era
Modern software design in Big data eraModern software design in Big data era
Modern software design in Big data era
 
MapReduce and Hadoop
MapReduce and HadoopMapReduce and Hadoop
MapReduce and Hadoop
 
Fundamental of Big Data with Hadoop and Hive
Fundamental of Big Data with Hadoop and HiveFundamental of Big Data with Hadoop and Hive
Fundamental of Big Data with Hadoop and Hive
 
Machine learning at Scale with Apache Spark
Machine learning at Scale with Apache SparkMachine learning at Scale with Apache Spark
Machine learning at Scale with Apache Spark
 
Optimization Techniques
Optimization TechniquesOptimization Techniques
Optimization Techniques
 
Dremel: interactive analysis of web-scale datasets
Dremel: interactive analysis of web-scale datasetsDremel: interactive analysis of web-scale datasets
Dremel: interactive analysis of web-scale datasets
 
Apache spark on planet scale
Apache spark on planet scaleApache spark on planet scale
Apache spark on planet scale
 
Apache pig presentation_siddharth_mathur
Apache pig presentation_siddharth_mathurApache pig presentation_siddharth_mathur
Apache pig presentation_siddharth_mathur
 
Data storage systems
Data storage systemsData storage systems
Data storage systems
 
Probabilistic Data Structures (Edmonton Data Science Meetup, March 2018)
Probabilistic Data Structures (Edmonton Data Science Meetup, March 2018)Probabilistic Data Structures (Edmonton Data Science Meetup, March 2018)
Probabilistic Data Structures (Edmonton Data Science Meetup, March 2018)
 
Apache Tajo on Swift: Bringing SQL to the OpenStack World
Apache Tajo on Swift: Bringing SQL to the OpenStack WorldApache Tajo on Swift: Bringing SQL to the OpenStack World
Apache Tajo on Swift: Bringing SQL to the OpenStack World
 
Xephon K A Time series database with multiple backends
Xephon K A Time series database with multiple backendsXephon K A Time series database with multiple backends
Xephon K A Time series database with multiple backends
 
Is there a perfect data-parallel programming language? (Experiments with More...
Is there a perfect data-parallel programming language? (Experiments with More...Is there a perfect data-parallel programming language? (Experiments with More...
Is there a perfect data-parallel programming language? (Experiments with More...
 
pandas - Python Data Analysis
pandas - Python Data Analysispandas - Python Data Analysis
pandas - Python Data Analysis
 

Viewers also liked (6)

Using PostGIS To Add Some Spatial Flavor To Your Application
Using PostGIS To Add Some Spatial Flavor To Your ApplicationUsing PostGIS To Add Some Spatial Flavor To Your Application
Using PostGIS To Add Some Spatial Flavor To Your Application
 
Building Community Information Systems with Drupal and Open Layers
Building Community Information Systems with Drupal and Open LayersBuilding Community Information Systems with Drupal and Open Layers
Building Community Information Systems with Drupal and Open Layers
 
DATABASE & WEBGIS - GIS BOOTCAMP
DATABASE & WEBGIS - GIS BOOTCAMPDATABASE & WEBGIS - GIS BOOTCAMP
DATABASE & WEBGIS - GIS BOOTCAMP
 
Intro To PostGIS
Intro To PostGISIntro To PostGIS
Intro To PostGIS
 
Open Source Databases And Gis
Open Source Databases And GisOpen Source Databases And Gis
Open Source Databases And Gis
 
[Pgday.Seoul 2017] 1. PostGIS의 사례로 본 PostgreSQL 확장 - 장병진
[Pgday.Seoul 2017] 1. PostGIS의 사례로 본 PostgreSQL 확장 - 장병진[Pgday.Seoul 2017] 1. PostGIS의 사례로 본 PostgreSQL 확장 - 장병진
[Pgday.Seoul 2017] 1. PostGIS의 사례로 본 PostgreSQL 확장 - 장병진
 

Similar to Postgres database Ibrahem Batta

Webdevcon Keynote hh-2012-09-18
Webdevcon Keynote hh-2012-09-18Webdevcon Keynote hh-2012-09-18
Webdevcon Keynote hh-2012-09-18
Pierre Joye
 

Similar to Postgres database Ibrahem Batta (20)

Introduction to GIS
Introduction to GISIntroduction to GIS
Introduction to GIS
 
Data mining tools (R , WEKA, RAPID MINER, ORANGE)
Data mining tools (R , WEKA, RAPID MINER, ORANGE)Data mining tools (R , WEKA, RAPID MINER, ORANGE)
Data mining tools (R , WEKA, RAPID MINER, ORANGE)
 
Beyond Postgres: Interesting Projects, Tools and forks
Beyond Postgres: Interesting Projects, Tools and forksBeyond Postgres: Interesting Projects, Tools and forks
Beyond Postgres: Interesting Projects, Tools and forks
 
Data mining tools overall
Data mining tools overallData mining tools overall
Data mining tools overall
 
Rootconf 2017 - State of the Open Source monitoring landscape
Rootconf 2017 - State of the Open Source monitoring landscape Rootconf 2017 - State of the Open Source monitoring landscape
Rootconf 2017 - State of the Open Source monitoring landscape
 
PostgreSQL and MySQL
PostgreSQL and MySQLPostgreSQL and MySQL
PostgreSQL and MySQL
 
Know thy logos
Know thy logosKnow thy logos
Know thy logos
 
Node.js
Node.jsNode.js
Node.js
 
Letters from the open source trenches - Postgres community
Letters from the open source trenches - Postgres communityLetters from the open source trenches - Postgres community
Letters from the open source trenches - Postgres community
 
Visual, scalable, and manageable data loading to and from Neo4j with Apache Hop
Visual, scalable, and manageable data loading to and from Neo4j with Apache Hop Visual, scalable, and manageable data loading to and from Neo4j with Apache Hop
Visual, scalable, and manageable data loading to and from Neo4j with Apache Hop
 
Modern Web development and operations practices
Modern Web development and operations practicesModern Web development and operations practices
Modern Web development and operations practices
 
Introduction to python history and platforms
Introduction to python history and platformsIntroduction to python history and platforms
Introduction to python history and platforms
 
New Developments in H2O: April 2017 Edition
New Developments in H2O: April 2017 EditionNew Developments in H2O: April 2017 Edition
New Developments in H2O: April 2017 Edition
 
Webdevcon Keynote hh-2012-09-18
Webdevcon Keynote hh-2012-09-18Webdevcon Keynote hh-2012-09-18
Webdevcon Keynote hh-2012-09-18
 
Apache Arrow: Cross-language Development Platform for In-memory Data
Apache Arrow: Cross-language Development Platform for In-memory DataApache Arrow: Cross-language Development Platform for In-memory Data
Apache Arrow: Cross-language Development Platform for In-memory Data
 
Spark Uber Development Kit
Spark Uber Development KitSpark Uber Development Kit
Spark Uber Development Kit
 
An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...
An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...
An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...
 
Sanger, upcoming Openstack for Bio-informaticians
Sanger, upcoming Openstack for Bio-informaticiansSanger, upcoming Openstack for Bio-informaticians
Sanger, upcoming Openstack for Bio-informaticians
 
Flexible compute
Flexible computeFlexible compute
Flexible compute
 
.NET per la Data Science e oltre
.NET per la Data Science e oltre.NET per la Data Science e oltre
.NET per la Data Science e oltre
 

More from Ibrahem Batta (7)

Irlc computer controlling circuit
Irlc computer controlling circuitIrlc computer controlling circuit
Irlc computer controlling circuit
 
Business model
Business modelBusiness model
Business model
 
Rubik’s cube
Rubik’s cubeRubik’s cube
Rubik’s cube
 
Smart phones
Smart phonesSmart phones
Smart phones
 
intel Processor i7, xeon
intel Processor i7, xeonintel Processor i7, xeon
intel Processor i7, xeon
 
cooling system in computer -air / water cooling
cooling system in computer -air / water coolingcooling system in computer -air / water cooling
cooling system in computer -air / water cooling
 
Tilera tile64 by Ibrahem Batta
Tilera tile64  by Ibrahem BattaTilera tile64  by Ibrahem Batta
Tilera tile64 by Ibrahem Batta
 

Recently uploaded

Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 

Postgres database Ibrahem Batta

  • 1. Postgres Database By : Ibrahem Batta and Emad Shakhsheer
  • 2. What Is Postgres ? • PostgreSQL, often simply Postgres, is an object-relational database management system (ORDBMS). • available for many platforms including Linux, FreeBSD, Solaris, MS Windows and Mac OS.
  • 3. Cont. • Free and open source software. • No copy right. • Access core code. • Development part . • Global community of developers and companies develops the system.
  • 4. History • The Ingres project at the University of California, Berkeley, in 1982. • In 1985 started a post-Ingres project to address the problems with contemporary database systems that had become. • Starting in 1986, the team published a number of papers describing the basis of the system
  • 5. Cont. • by 1988 had a prototype version. • The team released version 1 to a small number of users in June 1989. • Version 2 with a re-written rules system in June 1990.
  • 6. Cont. • By 1993 the great number of users began to increase. • In 1996, the project was renamed to PostgreSQL to reflect its support for SQL.
  • 7. Parts and Database administration • Psql : appreciation to PostgreSQL. • pgAdmin : graphical front-end administration tool . • phpPgAdmin : phpPgAdmin is a web-based administration tool for PostgreSQL written in PHP and based on the popular phpMyAdmin interface.
  • 8. Cont. • pgFouine : to generate detailed reports from a PostgreSQL log file and is also capable of providing VACUUM analysis. • Postgres Enterprise Manager : is a non-free tool consisting of a service, multiple agents, and a GUI which provides remote monitoring, management, reporting, capacity planning and tuning.
  • 9. Prominent users • Yahoo! • MySpace, a popular social networking website, • OpenStreetMap, a collaborative project to create a free editable map of the world. • Sony Online multiplayer online games. • Skype VoIP application, central business databases.
  • 10. General advantages • Free. • open source software. • Has excellent commercial and community support options
  • 11. Cont. • High reliability. • High stability. • Is very scalable and extensible. • Cross platforms.
  • 12. Cont. • GUI database design and administration tools. • High level of concurrency. • Data always in a consistent state.
  • 13. Comparison. Feature Oracle PostgreSQL Open Source Not all X Free / No License Costs - X Replication X X Views X X Triggers X X Unicode Not all X Sequences X X Inheritance X X Open API - X Native SSL Support No all X
  • 14. Spatial database. • Is a database that is optimized to store and query data that is related to objects in space, including points, lines and polygons. While typical databases can understand various numeric and character types of data, additional functionality needs to be added for databases to process spatial data types.
  • 15. PostGIS. • Is an open source software program that adds support for geographic objects to the PostgreSQL object-relational database. PostGIS follows the Simple Features for SQL specification from the Open Geospatial Consortium (OGC). • ArcGIS is the most Prominent user.
  • 16. pgRouting. • provides routing functionality on a PostGIS database. Free & open source. • Added to the set of functions in PostGis. • The most important function is shortest path.
  • 20. Install Apache server for Postgres
  • 22. Install pg php admin
  • 23. Cont.
  • 24. cont.
  • 25. Cont.
  • 26. What is Template and what is POSTGIS template ?
  • 29. Cont.
  • 30. Cont.