Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Data access using Table Buffers or SQL Connection?

(0) ShareShare
ReportReport
Posted on by 411

Does anyone have any knowledge, documentation or performance metrics comparing accessing SQL Server GP tables using their Global Table Buffers versus a SQL Connection when developing Dot Net integrations?

I have used both extensively and haven't noticed any performance difference from the client perspective. Years ago I originally used SQL Connections exclusively but we started have connection timeouts (not related to the integration) and I recoded things to use Table Buffers whenever possible. We are looking at developing a new integration and since any non-GP tables cannot use the Table Buffers anyway we are considering using SQL exclusively to access even the GP tables.

I'm interested if anyone has information on how SQL Server is impacted between these two methods or if they have sound reasoning to use Table Buffers whenever possible. With SQL Connection pooling I can't imagine the overhead of new connections is an issue and am just thinking that Global Table Buffers would have no advantage then.

Thank you.

Categories:
  • Craig Fuller Profile Picture
    411 on at
    RE: Data access using Table Buffers or SQL Connection?

    Thank you David.

  • Verified answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,012 Most Valuable Professional on at
    RE: Data access using Table Buffers or SQL Connection?

    Hi Craig

    Using Table buffers means that you don't have to worry about a separate SQL connection. It also means that Dexterity triggers from other developers will work.

    I used to recommend creating. Dexterity dictionary with table definition even if you were developing in .Net.

    I still think Dexterity is the best environment as it is native and compatible with web client.

    You can also look at GP Power Tools which combines best of Dexterity, SQL and .Net development. But does not allow creation of table definitions.

    If you have a table definition use it, otherwise direct SQL will do.

    Hope this helps

    David 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,245 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,925 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans