GreenPlum environment: 1 master host (memory: 16G), 2 segment host (2 segments, memory: 16G), version: 5.3.0
postgresql environment: 1 (hardware configuration with GreenPlum), version: 8.3.23
Table: alert_log_sm_http is the same size as gp in pg, with 5000000 rows and ID as the primary key index.
the running result is as follows:
PG:
GP:
question:
running time is too different, respectively: PG:0.056ms,GP:1974.565ms. From the analysis results of explain, it takes too much time for segmet to scan the full table.
how can a problem like this be solved?