# Connecting to PeopleSoft running on Sql Server

**URL:** <https://forums.toadworld.com/t/connecting-to-peoplesoft-running-on-sql-server/40406>\
**Category:** Toad Data Point & Toad Intelligence Central\
**Created:** [December 27, 2017, 1:09pm UTC](https://forums.toadworld.com/t/connecting-to-peoplesoft-running-on-sql-server/40406 "2017-12-27T13:09:31Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![jschaufus](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@jschaufus](https://forums.toadworld.com/u/jschaufus)\
**Post date:** [January 22, 2018, 12:27pm UTC](https://forums.toadworld.com/t/connecting-to-peoplesoft-running-on-sql-server/40406/7 "2018-01-22T12:27:43Z")

</div>

The PeopleSoft database is 480GB and contains 71,312 tables in production.

I agree with you that TDP is very quick with all of my Sql Server databases, except for PeopleSoft. With the ODBC connection it connects quickly and even with a filter on tables as soon as I click on the tables it hangs for 30 minutes. Below is what one of my DBAs found on the query that is executing during the 30 minute connection time. I cannot include the SQL code in the post but an more than willing to email it.

If you comment out/take out the piece of code that calculates [RowCount] column in SELECT list, the query executes in 5 seconds. It is kind of understandable, since for each returned row in main query (71,312 rows for this db) it is executing another correlated SELECT, which in its turn being executed 71,312 times.

---

_[View the full topic](https://forums.toadworld.com/t/connecting-to-peoplesoft-running-on-sql-server/40406)._
