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 7853153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:36:01+00:00 2026-06-02T19:36:01+00:00

I must parse HTML files, which can be up to 500 000 links. Of

  • 0

I must parse HTML files, which can be up to 500 000 links.
Of which 400 000 will be desired by me.

Should I put all the links that satisfy the condition for the new list and then for the elements of this list and put it into the database.

Or when I find links to satisfy the condition to add it to the database (sqlite) (and commit it).
Is that a large number of commits is not a problem?

I do not want to lose data in case of failure such as power. Thats why i want commit after insert to the database.

How best to place a large number of items in the database?

  • 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-06-02T19:36:04+00:00Added an answer on June 2, 2026 at 7:36 pm

    Consider just doing a commit after every 1000 records or so

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

Sidebar

Related Questions

i want to parse all links in html document string in php in such
I've a function that parse Twitter search result and put into my HTML document.
I am using this code to parse this date. It must show new date
Is it possible to pass HTML to a browser through JavaScript and parse it
I have an application written in wpf, which downloads some webpages, parses html code
This seems like it should work, but I just can't seem to figure out
A recent blog entry by a Jeff Atwood says that you should never parse
I have image in html. I parse it to DOMDocument and start working with
I'm trying to parse some html using jsoup (1.3.3) in my android activity. When
I know that using Regular expressions to parse or manipulate HTML/XML is a bad

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.