QUERY PLAN
Delete on tbl_visit_object_histories (cost=0.00..19.20 rows=10 width=6)
-> Seq Scan on tbl_visit_object_histories (cost=0.00..19.20 rows=10 width=6)
Filter: ((user_id = 5388) AND (id <> ALL ('{183229,183099,183098,183097,183096,183095,183094,183093,183092,183090}'::integer[])))