<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=2826169&amp;fmt=gif">
Start  trial

    Start trial

      With pgRouting, Fujitsu Enterprise Postgres users can implement sophisticated graph algorithms to perform complex spatial analyses and routing tasks.

      In response to the growing trend towards hybrid and remote working, I've decided to present a paper at the Fujitsu Convention on optimizing routes and schedule for collaboration, with a particular focus on sustainability.

      This initiative builds on the single-destination shortest path problem but introduces many more complexities -
      we need to calculate the cost of edges, considering greenhouse gas emissions based on transportation modes, typical congestions at different times of day, and the necessity of integrating with calendars to identify essential attendees.

      Understanding graph databases

      At the core of a graph database are two fundamental components: vertices and edges.

      Vertices represent entities, such as cities, customers, or products, while edges represent the relationships or connections between these entities. This structure allows for efficient and intuitive modelling of complex networks, making graph databases ideal for a variety of applications, including social networks, logistics, and telecommunication networks.

      Enhancing Fujitsu Enterprise Postgres with advanced routing capabilities

      pgRouting is a powerful and versatile extension of PostgreSQL, designed to provide geospatial routing functionalities.

      With pgRouting, Fujitsu Enterprise Postgres users can implement sophisticated graph algorithms directly within their database, enabling them to perform complex spatial analyses and routing tasks with ease.

      Two of the most powerful and widely-used algorithms provided by pgRouting are Dijkstra's algorithm and the Bellman-Ford algorithm.

      Dijkstra's algorithm

      Dijkstra's algorithm is a well-known method for finding the shortest path between nodes in a graph, making it incredibly useful for applications like GPS navigation, network routing, and urban planning.

      By leveraging pgRouting in Fujitsu Enterprise Postgres, you can easily determine the most efficient routes for various transportation and logistical needs, optimize delivery paths, and enhance overall operational efficiency.

      Bellman-Ford algorithm

      The Bellman-Ford algorithm extends the capabilities of Dijkstra's algorithm by handling graphs with negative edge weights, making it suitable for more complex scenarios.

      This algorithm can detect negative cycles in a graph, providing valuable insights for financial modelling, risk assessment, and other applications where dynamic changes and diverse conditions are prevalent.

      Practical applications of graph database functionality

      The integration of pgRouting within Fujitsu Enterprise Postgres opens a world of possibilities for businesses and organizations:

      • Urban planning and traffic management

        Optimize traffic flow, reduce congestion, and plan efficient public transportation routes by analysing city road networks.

        You can view an application example where pgRouting is used to find the safest bike route between any two points in New York City here.

      • Logistics and supply chain optimization

        Improve delivery times and reduce costs by finding the shortest and most efficient routes for transportation and distribution networks.

      • Telecommunication networks

        Enhance network performance and reliability by analyzing and optimising the routing of data through complex telecommunication infrastructures.

      • Social network analysis

        Uncover hidden patterns and relationships within social networks, enabling targeted marketing and improved customer engagement strategies.

      Final thoughts

      The use of pgRouting with Fujitsu Enterprise Postgres empowers users with advanced graph database capabilities, transforming how data relationships are analyzed and optimized. By implementing powerful algorithms like Dijkstra's and Bellman-Ford, businesses can harness the full potential of their data, driving innovation and efficiency across various industries.

       

      Topics: Fujitsu Enterprise Postgres, Graph databases, Spatial analysis, Routing algorithms

      Receive our blog

      Search by topic

      Posts by Tag

      See all
      Learn more about the extended and unique features that
      Fujitsu Enterprise Postgres
      provides to harness your data.
      Click below to view the list of features.
      photo-gary-evans-in-hlight-circle-cyan-to-blue-02
      Gary Evans
      Senior Offerings and Center of Excellence Manager
      Gary Evans heads the Center of Excellence team at Fujitsu Software, providing expert services for customers in relation to PostgreSQL and Fujitsu Enterprise Postgres.
      He previously worked in IBM, Cable and Wireless based in London and the Inland Revenue Department of New Zealand, before joining Fujitsu. With over 15 years’ experience in database technology, Gary appreciates the value of data and how to make it accessible across your organization.
      Gary loves working with organizations to create great outcomes through tailored data services and software.

      Receive our blog

      Fill the form to receive notifications of future posts

      Search by topic

      see all >