pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedpostgres with graph model
4+ messages / 3 participants
[nested] [flat]
* postgres with graph model
@ 2018-04-19 14:53 Philipp Kraus <philipp.kraus@tu-clausthal.de>
0 siblings, 2 replies; 4+ messages in thread
From: Philipp Kraus @ 2018-04-19 14:53 UTC (permalink / raw)
To: pgsql-general
Hello,
I’m using in a project Postgresql and PostGIS for a geospatial data model, but now I need also a graph in this structure, so my question is, is there any existing
extension for Postgres to build a graph. I found ltree but this is for tree structures only, not for graphs. In general I have different undirected weighted graphs. So
I need some routing algorithms based on the graph weights, distance calculation between nodes. My first idea was to use a graph database e.g neo4j, but I have
got a limitation, that the whole system should be designed in Postgres.
Did you can give some ideas to build a graph within Postgres?
Thanks
Phil
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: postgres with graph model
@ 2018-04-19 16:42 Fabrízio de Royes Mello <fabrizio@timbira.com.br>
parent: Philipp Kraus <philipp.kraus@tu-clausthal.de>
1 sibling, 1 reply; 4+ messages in thread
From: Fabrízio de Royes Mello @ 2018-04-19 16:42 UTC (permalink / raw)
To: Philipp Kraus <philipp.kraus@tu-clausthal.de>; +Cc: pgsql-general
Em qui, 19 de abr de 2018 às 11:54, Philipp Kraus <
philipp.kraus@tu-clausthal.de> escreveu:
> Hello,
>
> I’m using in a project Postgresql and PostGIS for a geospatial data model,
> but now I need also a graph in this structure, so my question is, is there
> any existing
> extension for Postgres to build a graph. I found ltree but this is for
> tree structures only, not for graphs. In general I have different
> undirected weighted graphs. So
> I need some routing algorithms based on the graph weights, distance
> calculation between nodes. My first idea was to use a graph database e.g
> neo4j, but I have
> got a limitation, that the whole system should be designed in Postgres.
> Did you can give some ideas to build a graph within Postgres
Do you already check the pgrouting [1] project?
Regards,
[1] http://pgrouting.org/
> --
Fabrízio de Royes Mello Timbira - http://www.timbira.com.br/
PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: postgres with graph model
@ 2018-04-19 16:46 Philipp Kraus <philipp.kraus@tu-clausthal.de>
parent: Fabrízio de Royes Mello <fabrizio@timbira.com.br>
0 siblings, 0 replies; 4+ messages in thread
From: Philipp Kraus @ 2018-04-19 16:46 UTC (permalink / raw)
To: Fabrízio de Royes Mello <fabrizio@timbira.com.br>; +Cc: pgsql-general
Thanks,
seems to be a good idea, but I need some routing on geo position data, but also some graph algorithm depends on machine learning structures,
if I can use the pgRouting project to deal with a „feature graph“ and geo-partial data this will be great, I will test it
Thanks for this hint
Am 19.04.2018 um 18:42 schrieb Fabrízio de Royes Mello <fabrizio@timbira.com.br<mailto:fabrizio@timbira.com.br>>:
Em qui, 19 de abr de 2018 às 11:54, Philipp Kraus <philipp.kraus@tu-clausthal.de<mailto:philipp.kraus@tu-clausthal.de>> escreveu:
Hello,
I’m using in a project Postgresql and PostGIS for a geospatial data model, but now I need also a graph in this structure, so my question is, is there any existing
extension for Postgres to build a graph. I found ltree but this is for tree structures only, not for graphs. In general I have different undirected weighted graphs. So
I need some routing algorithms based on the graph weights, distance calculation between nodes. My first idea was to use a graph database e.g neo4j, but I have
got a limitation, that the whole system should be designed in Postgres.
Did you can give some ideas to build a graph within Postgres
Do you already check the pgrouting [1] project?
Regards,
[1] http://pgrouting.org/
--
Fabrízio de Royes Mello Timbira - http://www.timbira.com.br/
PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: postgres with graph model
@ 2018-04-19 17:21 Thomas Kellerer <spam_eater@gmx.net>
parent: Philipp Kraus <philipp.kraus@tu-clausthal.de>
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Kellerer @ 2018-04-19 17:21 UTC (permalink / raw)
To: pgsql-general
Philipp Kraus schrieb am 19.04.2018 um 16:53:
> I’m using in a project Postgresql and PostGIS for a geospatial data
> model, but now I need also a graph in this structure, so my question
> is, is there any existing extension for Postgres to build a graph. I
> found ltree but this is for tree structures only, not for graphs. In
> general I have different undirected weighted graphs. So I need some
> routing algorithms based on the graph weights, distance calculation
> between nodes. My first idea was to use a graph database e.g neo4j,
> but I have got a limitation, that the whole system should be designed
> in Postgres.
> Did you can give some ideas to build a graph within Postgres?
There is a Postgres fork that claims to combine the graph and relational world
http://bitnine.net/agensgraph
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2018-04-19 17:21 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-04-19 14:53 postgres with graph model Philipp Kraus <philipp.kraus@tu-clausthal.de>
2018-04-19 16:42 ` Fabrízio de Royes Mello <fabrizio@timbira.com.br>
2018-04-19 16:46 ` Philipp Kraus <philipp.kraus@tu-clausthal.de>
2018-04-19 17:21 ` Thomas Kellerer <spam_eater@gmx.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox