Yash Sanghvi

Yash Sanghvi

192 Articles Published

Articles by Yash Sanghvi

Page 20 of 20

How to Kill queries in pgAdmin in PostgreSQL?

Yash Sanghvi
Yash Sanghvi
Updated on 02-Feb-2021 5K+ Views

Sometimes, some rogue queries can take too long to execute. If the queries are blocking in nature, i.e., they restrict access to a table while they are executing, then any other query on the same table will be put on hold, and this leads to a pile-up of queries. This can, depending on your DB load, even cause the max connections to be exceeded. Luckily, you can easily kill long queries in pgAdmin.Go to Dashboard in your pgAdmin. At the bottom, in the Server Activity section, under the Sessions Tab, you can see all the Active queries.Now, notice the cross ...

Read More

How to Query a DB in pgAdmin in PostgreSQL?

Yash Sanghvi
Yash Sanghvi
Updated on 02-Feb-2021 4K+ Views

Querying a DB in pgAdmin is quite straightforward. Locate your DB in the Servers dropdown on the left, and extend its dropdown, till you see the Schemas dropdown.Once you click on Schemas, the black button on the top, with the DB symbol and the play arrow will become clickable.Click on that button, and you will see a Query Tab open up. That’s it, you can type your queries for this particular DB in that box, and click the play arrow button to execute the queries.The output will be seen on the bottom, in the ‘Data Output’ section.

Read More
Showing 191–192 of 192 articles
« Prev 1 16 17 18 19 20 Next »
Advertisements