473,396 Members | 1,898 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Working with Complex DataSet - Creating and Pass thru Transformati

Have a complex process where I need to Import a large amount of data
then run some transformations on this data then import into DataBase.

The transformation involves multiple fields and multiple process - so the
data needs to be read in 1 record at a time then run thru the transformation
that may create new data value then everything is imported into a db to store.

I have multiple questions
1)we used to have an internal data structure of Dictionary and lists that
would hold the dats and pass from 1 transformation or process till another
till it was time to import. Now the database is too complex and I am looking
for ideas on how to create a dynamic structure that relates to final db.
I was thinking of using a Dataset - is there a way to create a dataset that
mirors the db??? There would only need to be 1 record in the structure then
it is
imported into db.
The present db has 30 tables and many parent child relationsships

2)For large DataMining what do people use to store large complex data
structures that
have various processed done to them then moved to a db???

Thanks

Jul 9 '08 #1
2 1699
This is probably a bit too much data to do efficiently in .NET as it isnt the
best thing to process large amounts of data in. It might be better to think
about loading all the data into a set of tables in the database directly,
then running a stored procedure to do the transformations and then moving the
data over to the final destination tables.
In direct answer to your questions, a dataset can be created which holds a
number of tables structured like a database. It is also possible to hold all
the rows in the dataset and then bulk upload table by table to SQL Server if
thats what your using as a dbms. That performs a lot faster then running an
insert statement per row.

Does that help?
--
Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com
"sippyuconn" wrote:
Have a complex process where I need to Import a large amount of data
then run some transformations on this data then import into DataBase.

The transformation involves multiple fields and multiple process - so the
data needs to be read in 1 record at a time then run thru the transformation
that may create new data value then everything is imported into a db to store.

I have multiple questions
1)we used to have an internal data structure of Dictionary and lists that
would hold the dats and pass from 1 transformation or process till another
till it was time to import. Now the database is too complex and I am looking
for ideas on how to create a dynamic structure that relates to final db.
I was thinking of using a Dataset - is there a way to create a dataset that
mirors the db??? There would only need to be 1 record in the structure then
it is
imported into db.
The present db has 30 tables and many parent child relationsships

2)For large DataMining what do people use to store large complex data
structures that
have various processed done to them then moved to a db???

Thanks
Jul 9 '08 #2
Hello Sippyuconn,

Apart from Ciaran¡¯s suggestions, I think we may also use LINQ to SQL.

LINQ to SQL is capable of quickly building an object model based on your
complex DB table relations by ¡°drag and drop¡± in its designer.
http://dotnetslackers.com/articles/c...tudio2008.aspx
Then we can update the data in the almost same way as we did for .NET
objects:
http://blogs.msdn.com/wriju/archive/...ect-model.aspx

Regarding the data mining question, I¡¯m not familiar with DM. You may want
to try the question in the microsoft.public.sqlserver.datamining newsgroup.

Regards,
Jialiang Ge (ji****@online.microsoft.com, remove ¡®online.¡¯)
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

"Ciaran O''Donnell" <Ci************@discussions.microsoft.comwrote in
message news:2C**********************************@microsof t.com...
This is probably a bit too much data to do efficiently in .NET as it isnt
the
best thing to process large amounts of data in. It might be better to
think
about loading all the data into a set of tables in the database directly,
then running a stored procedure to do the transformations and then moving
the
data over to the final destination tables.
In direct answer to your questions, a dataset can be created which holds a
number of tables structured like a database. It is also possible to hold
all
the rows in the dataset and then bulk upload table by table to SQL Server
if
thats what your using as a dbms. That performs a lot faster then running
an
insert statement per row.

Does that help?
--
Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com
"sippyuconn" wrote:
>Have a complex process where I need to Import a large amount of data
then run some transformations on this data then import into DataBase.

The transformation involves multiple fields and multiple process - so the
data needs to be read in 1 record at a time then run thru the
transformation
that may create new data value then everything is imported into a db to
store.

I have multiple questions
1)we used to have an internal data structure of Dictionary and lists that
would hold the dats and pass from 1 transformation or process till
another
till it was time to import. Now the database is too complex and I am
looking
for ideas on how to create a dynamic structure that relates to final db.
I was thinking of using a Dataset - is there a way to create a dataset
that
mirors the db??? There would only need to be 1 record in the structure
then
it is
imported into db.
The present db has 30 tables and many parent child relationsships

2)For large DataMining what do people use to store large complex data
structures that
have various processed done to them then moved to a db???

Thanks

Jul 9 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Tcs | last post by:
I've been stumped on this for quite a while. I don't know if it's so simple that I just can't see it, or it's really possible. (Obviously, I HOPE it IS possible.) I'm trying to get my queries...
1
by: Nedu N | last post by:
Hi All, I am facing problem in copying content of table from a untyped dataset into to a table inside the typed dataset. I wanted to copy the data into typed dataset in order to ease the further...
3
by: JJ | last post by:
Hi, I need to pass a dataset to another win form along with a SqldataAdapter. I don't want to recreate the SqlDataAdapter again either. So to pass to another Win form in my windows form app, do...
4
by: Dan | last post by:
Hi, I pass datasets back and forth between client app and web services (hosted on iis 5). When written to xml file these datasets can be 500kb+. From a bandwitdth meter it seems this amount...
4
by: techiepundit | last post by:
I'm a Python newbie who just started learning the language a few weeks ago. So these are beginner questions. I have a list of sockets that I use for select.select calls like this: ...
0
by: John | last post by:
Hi, I am using VB in Visual Studio.Net and crystal report inside it. I have a question in creating a dataset to pass to the crystal report. The following is my problem that I need help to...
2
by: Joe | last post by:
Hi I have a dataset with 3 tables and 2 relations Is there a way to when I am at 1 row to tell if there is a relation on that row ??? I have the code hardcoded but try to make it work if the #...
10
by: dauphian | last post by:
Hello, I am new to .net and am trying to build a report application that queries 4 different tables based on a id, and I need to return them in the same table for easy viewing. Basically, I...
3
by: David P. Donahue | last post by:
I'm re-writing an application in C# that was originally written in Delphi 7. The heart of the application is a DataSet displayed in a DataGrid. One of the main functions of the previous...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.