Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 497001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T05:44:24+00:00 2026-05-13T05:44:24+00:00

I am joining 3 xml logfiles with LINQ to XML by id, but when

  • 0

I am joining 3 xml logfiles with LINQ to XML by id, but when my logfiles become too big, LINQ to XML doesn’t work anymore, so i have to use XmlReader.

But now I am asking myself how to do this?

Should i loop through every document for each id, or is there a more simple elegant solution?

Anybody?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T05:44:24+00:00Added an answer on May 13, 2026 at 5:44 am

    The XMLReader has an affinity for one file. So you can only process one file at a time. I suppose in your scenario its possible to fire up 3 readers and load the files into memory. A possible problem I see here is how you would efficiently “join” the 3 files. Say the first id in the first record is located somewhere in the middle of the second and at the end of the third. In order to find them you would have to repeatedly traverse the xml. That doesnt make sense. Personally I would try to load the information into a db in relate the files there -a s tables. As db structures you have all the power of indexing available to quickly link data.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am joining two tables Employee and Wages . Now an employee can have
I am cutting and joining a video file using mencoder. But the output file
I have table a joining table b, I only want the records from table
I have some tables that I'm joining in a query with Postgres (9). However,
I have a relatively simple query joining two tables. The Where criteria can be
If I am joining two tables and the result set will have ambiguous coloumn
I have joining two tables,There are hundreds of records in table a and there
i have problem when joining tables(left join) table1: id1 amt1 1 100 2 200
I have a normal joining table with two columns that are keys to other
Need some help joining these two tables I have two views that looks like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.