web
You’re offline. This is a read only version of the page.
close
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:
I have the same question (0)
  • Verified answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,095 Most Valuable Professional on at

    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 

  • Craig Fuller Profile Picture
    411 on at

    Thank you 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 549 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans