Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Maximum columns of a data table

EcoStruxure Geo SCADA Expert Forum

Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forย 
Showย ย onlyย  | Search instead forย 
Did you mean:ย 
  • Home
  • Schneider Electric Community
  • Remote Operations
  • EcoStruxure Geo SCADA Expert Forum
  • Maximum columns of a data table
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
sbeadle
Kirk sbeadle Kirk
307
AndrewScott
Admiral AndrewScott
95
BevanWeiss
Spock BevanWeiss
89
AdamWoodlandToo
Lt. Commander AdamWoodlandToo
36
View All
Related Products
product field
Schneider Electric
EcoStruxureโ„ข Geo SCADA Expert

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to EcoStruxure Geo SCADA Expert Forum
Solved
DavidSkilbeck
Lt. Commander DavidSkilbeck
Lt. Commander

Posted: โ€Ž2020-09-18 10:58 AM . Last Modified: โ€Ž2023-05-03 12:10 AM

0 Likes
7
4193
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2020-09-18 10:58 AM . Last Modified: โ€Ž2023-05-03 12:10 AM

Maximum columns of a data table

Hi,

what is the maximum number of columns in a data table and where can you find this information?

Thanks,

Labels
  • Labels:
  • SCADA
  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
BevanWeiss
Spock BevanWeiss
Spock

Posted: โ€Ž2020-09-18 09:26 PM

0 Likes
6
4185
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2020-09-18 09:26 PM

Do you mean columns, or do you mean rows?

 

If you are thinking that you will run into an issue with too many columns, then I think your design is flawed.  You should not have this many columns.  I suspect that you will run into performance issues long before you start to hit the theoretical limits of the number of columns.

 

SQL itself supports 255 columns, so this will be the absolute upper limit.

ODBC / OLEDB have similar limits.

 

In regards to the number of rows, I believe the RowId value is a 32-bit Integer, so that puts a cap at something a little over 2 million.  But the Server Configuration query limits will also put a cap on it.

 

If you're getting towards the limits of the row count, then you likely also have a flawed design.  Geo SCADA's Data Table functionality isn't really intended to be a replacement for a stand alone database.  You will almost certainly suffer from performance limitations if trying to query for so many records from Geo SCADA.


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..

See Answer In Context

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 7
BevanWeiss
Spock BevanWeiss
Spock

Posted: โ€Ž2020-09-18 09:26 PM

0 Likes
6
4186
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2020-09-18 09:26 PM

Do you mean columns, or do you mean rows?

 

If you are thinking that you will run into an issue with too many columns, then I think your design is flawed.  You should not have this many columns.  I suspect that you will run into performance issues long before you start to hit the theoretical limits of the number of columns.

 

SQL itself supports 255 columns, so this will be the absolute upper limit.

ODBC / OLEDB have similar limits.

 

In regards to the number of rows, I believe the RowId value is a 32-bit Integer, so that puts a cap at something a little over 2 million.  But the Server Configuration query limits will also put a cap on it.

 

If you're getting towards the limits of the row count, then you likely also have a flawed design.  Geo SCADA's Data Table functionality isn't really intended to be a replacement for a stand alone database.  You will almost certainly suffer from performance limitations if trying to query for so many records from Geo SCADA.


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

DavidSkilbeck
Lt. Commander DavidSkilbeck
Lt. Commander

Posted: โ€Ž2020-09-19 01:18 AM

In response to BevanWeiss
0 Likes
5
4183
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2020-09-19 01:18 AM

Hi,

thanks Bevan. Automation Interface externally and I am looking at approx. 70 columns to add.

I have added 5 test columns through code and was hoping I could create the rest in the next day or so.

Sounds like there should be no issues.

Thanks,

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

BevanWeiss
Spock BevanWeiss
Spock

Posted: โ€Ž2020-09-20 04:34 AM

In response to DavidSkilbeck
0 Likes
4
4170
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2020-09-20 04:34 AM

70 columns does seem like a lot of data which is all strictly associated, and which you would expect to retrieve all at once.

I really can't think of a situation that would actually need 70 columns of data.

 

70 columns shouldn't be a problem for most of the data platforms you'd encounter, although possibly Excel CSV export might have problems with it, and you might start to push into untested territory around some other interfaces (like Crystal Reports, or the ClearSCADA ODBC driver etc).


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

AdamWoodland
AdamWoodland Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: โ€Ž2020-09-22 03:09 PM

In response to BevanWeiss
0 Likes
3
4148
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2020-09-22 03:09 PM

Also the maximum recommended size of a data table is 100MB, and if its updated frequently it really shouldn't be anywhere near that size as the whole blob is synchronised each change.

  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA control
  • SCADA data
  • SCADA integration
  • SCADA network
  • SCADA programming
  • SCADA software
  • scada system
  • SCADA tutorial
  • SCADA web application
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

BevanWeiss
Spock BevanWeiss
Spock

Posted: โ€Ž2020-09-23 08:16 PM

In response to AdamWoodland
0 Likes
2
4137
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2020-09-23 08:16 PM

I did not know the whole blob would be sent for every change.

I really would have expected only 'transactions' to be sent.

 

I guess there's probably not much motivation to optimise this, it's a bit of a niche situation, and I wouldn't consider it 'recommended' usage of the Data Table items in Geo SCADA to be used for a volume of data approaching this (he says as he then thinks about those situations where he's probably got huge string tables being stored in Geo SCADA right now... like some alarm instruction database that allows for something like 4000 characters per alarm instruction, and many tens of thousands of alarm instructions)


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA control
  • SCADA data
  • SCADA integration
  • SCADA network
  • SCADA programming
  • SCADA software
  • scada system
  • SCADA tutorial
  • SCADA web application
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

du5tin
Lt. Commander du5tin
Lt. Commander

Posted: โ€Ž2020-09-29 12:01 PM

In response to BevanWeiss
0 Likes
1
4091
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2020-09-29 12:01 PM

We use DataSets (different, but similar) with lots of columns to summarize data for oil and gas sites. Our master dataset has over 100 columns with various pieces of information possible at the different sites. The system has over 1,000 wells and maybe 25 major site types with lots of different meters and types of equipment. 

 

Because ClearSCADA JOIN performance is so terrible and types of joins are limited we decided to create this monster dataset instead. We were hitting major performance limitations joining two or more datasets together. If we re-architected with separate datasets and joins we could use more than 5 joins to get all the information the operations group is looking for.

 

It actually works, and works much better than doing joins. 

  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA control
  • SCADA data
  • SCADA integration
  • SCADA network
  • SCADA programming
  • SCADA software
  • scada system
  • SCADA tutorial
  • SCADA web application
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

BevanWeiss
Spock BevanWeiss
Spock

Posted: โ€Ž2020-10-01 08:44 PM

In response to du5tin
0 Likes
0
4046
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2020-10-01 08:44 PM

That is definitely quite a wide dataset.

I'm surprised that there are 100 items of information per well though, even with a sewer pump station there's typically not that much meaningful information.

 

It is indeed challenging to get good performance out of Geo SCADA joins.  You really need to use a unique and indexed ID column to bridge the tables, and having that ID column index be cheap to compute is important also.

 

Things like FullName might be nice for us humans to reference, but they are expensive for the computer, even when indexed it still requires a hash calculation for every modification, and may still result in a partial linear search if there are hash collisions.

And having an ID column that is not explicitly unique and indexed is worthless.

 

I don't believe Data Sets themselves can have index columns, so joins will always exhibit performance challenges there ๐Ÿ˜ž

I think the same situation applies for Data Grids.  I believe it is ONLY Data Tables that can have indexes.


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA control
  • SCADA data
  • SCADA integration
  • SCADA network
  • SCADA programming
  • SCADA software
  • scada system
  • SCADA tutorial
  • SCADA web application
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

ย 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings ยฉ 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of