You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I have a use case to get the sequence of commands execution from the same host within timestamp
Describe the solution you'd like
Correlate sequence commands on the same host
Describe alternatives you've considered
If we can do the same via Parent process ID
Additional context
The text was updated successfully, but these errors were encountered:
Finding rows that share the same email could be done by with grouping:
# select * from mydata where email in (select email from mydata group by email having count(*) > 1);
name | email
-------+-------------------
alice | [email protected]
carol | [email protected]
(2 rows)
Another possibility is joins:
# select L.* from mydata L join mydata R on L.email = R.email where L.name != R.name;
name | email
-------+-------------------
alice | [email protected]
carol | [email protected]
(2 rows)
In postgres, the grouping method is less expensive according to the EXPLAIN output.
Is your feature request related to a problem? Please describe.
I have a use case to get the sequence of commands execution from the same host within timestamp
Describe the solution you'd like
Correlate sequence commands on the same host
Describe alternatives you've considered
If we can do the same via Parent process ID
Additional context
The text was updated successfully, but these errors were encountered: