Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Postgres database Ibrahem Batta


Published on

PostgreSQL database presentation and tutorial for installation

Published in: Education, Technology
  • Be the first to comment

  • Be the first to like this

Postgres database Ibrahem Batta

  1. 1. Postgres DatabaseBy : Ibrahem Battaand Emad Shakhsheer
  2. 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. 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. 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. 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. 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. 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. 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. 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. 10. General advantages• Free.• open source software.• Has excellent commercial and community support options
  11. 11. Cont.• High reliability.• High stability.• Is very scalable and extensible.• Cross platforms.
  12. 12. Cont.• GUI database design and administration tools.• High level of concurrency.• Data always in a consistent state.
  13. 13. Comparison.Feature Oracle PostgreSQLOpen Source Not all XFree / No License Costs - XReplication X XViews X XTriggers X XUnicode Not all XSequences X XInheritance X XOpen API - XNative SSL Support No all X
  14. 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. 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. 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.
  17. 17. Postgres Database installation
  18. 18. Postgres Database installation
  19. 19. Installed programe
  20. 20. Install Apache server for Postgres
  21. 21. Test Apache Server
  22. 22. Install pg php admin
  23. 23. Cont.
  24. 24. cont.
  25. 25. Cont.
  26. 26. What is Template and what is POSTGIStemplate ?
  27. 27. Installing POSTGIS Template
  28. 28. Application Stack Builder
  29. 29. Cont.
  30. 30. Cont.
  31. 31. Create PostGis Database
  32. 32. Create PostGis table
  33. 33. Application on spatial Types