23 lines
1.4 KiB
Plaintext
23 lines
1.4 KiB
Plaintext
DROP INDEX
|
|
QUERY PLAN
|
|
------------------------------------------------------------------------------------------------------------------------------
|
|
Insert on messages (cost=0.00..22.50 rows=0 width=0) (actual time=12.555..12.557 rows=0 loops=1)
|
|
-> Function Scan on generate_series i (cost=0.00..22.50 rows=1000 width=88) (actual time=0.212..7.001 rows=1000 loops=1)
|
|
Planning Time: 2.225 ms
|
|
Trigger for constraint messages_chat_id_fkey: time=12.169 calls=1000
|
|
Trigger for constraint messages_sender_id_fkey: time=11.114 calls=1000
|
|
Execution Time: 39.576 ms
|
|
(6 rows)
|
|
|
|
CREATE INDEX
|
|
QUERY PLAN
|
|
------------------------------------------------------------------------------------------------------------------------------
|
|
Insert on messages (cost=0.00..22.50 rows=0 width=0) (actual time=17.904..17.906 rows=0 loops=1)
|
|
-> Function Scan on generate_series i (cost=0.00..22.50 rows=1000 width=88) (actual time=0.146..7.585 rows=1000 loops=1)
|
|
Planning Time: 0.126 ms
|
|
Trigger for constraint messages_chat_id_fkey: time=15.733 calls=1000
|
|
Trigger for constraint messages_sender_id_fkey: time=15.707 calls=1000
|
|
Execution Time: 49.733 ms
|
|
(6 rows)
|
|
|