My query as a small duration time when the Fetch time is quite large. What is exactly the fetching time. Can it be reduced ? Is it dependent on the network since the server is a remote one.
my Query is a simple one SELECT * FROM Table WHERE id = a primary_Key;
Usually, the query returns between 5 and 50k rows.
But the table has 9 million Rows. The count(*) takes 82 seconds (duration) and 0 for fetching time.