As you know, if I execute a SQL statement, SQL Developer returns the first 50 rows. To make the database return all the rows, I sometimes select the output and press CTRL+A. So it reads all the rows from the database.
When I run the query below and select all the rows, it reads the whole rows in about 10 seconds.
select c.cust_city,s.amount_sold from sales s, customers c
where s.cust_id = c.cust_id and
channel_id = 3;
However, if I write * in the selected columns area and run, and when I select all the rows, the execution never ends and the SQL Developer gets locked.
If I monitor with the real-time monitoring, I see that the query seems still being executed. But only the duration increases. None of other statistics doesn't change. So that means the query doesn't continue being executed.
So, what might be the reason of that the SQL Developer never shows the output? When I check the performance metrics, I see that it doesn't use all the resources of my PC. So it doesn't seem because of the PC resources I think. But I am not sure of course.
So what can be the reason of that?
Thanks in advance.