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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:18:04+00:00 2026-05-30T16:18:04+00:00

I am having this big database on one MSSQL server that contains data indexed

  • 0

I am having this big database on one MSSQL server that contains data indexed by a web crawler.
Every day I want to update SOLR SearchEngine Index using DataImportHandler which is situated in another server and another network.

Solr DataImportHandler uses query to get data from SQL. For example this query

SELECT * FROM DB.Table WHERE DateModified > Config.LastUpdateDate

The ImportHandler does 8 selects of this types. Each select will get arround 1000 rows from database.

To connect to SQL SERVER i am using com.microsoft.sqlserver.jdbc.SQLServerDriver

The parameters I can add for connection are:

  • responseBuffering=”adaptive/all”
  • batchSize=”integer”

So my question is:

What can go wrong while doing this queries every day ? ( except network errors )
I want to know how is SQL Server working in this context ?

Further more I have to take a decicion regarding the way I will implement this importing and how to handle errors, but first I need to know what errors can arise.

Thanks!

Later edit

My problem is that I don’t know how can this SQL Queries fail. When i am calling this importer every day it does 10 queries to the database. If 5th query fails I have to options:
rollback the entire transaction and do it again, or commit the data I got from the first 4 queries and redo somehow the queries 5 to 10. But if this queries always fails, because of some other problems, I need to think another way to import this data.

Can this sql queries over internet fail because of timeout operations or something like this?

  • 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-30T16:18:05+00:00Added an answer on May 30, 2026 at 4:18 pm

    The only problem i identified after working with this type of import is:

    • Network problem – If the network connection fails: in this case SOLR is rolling back any changes and the commit doesn’t take place. In my program I identify this as an error and don’t log the changes in the database.

    Thanks @GuidEmpty for providing his comment and clarifying out this for me.

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

Sidebar

Related Questions

In MVC app, I am having this big object that is used in classic
At my company we have a database with one table being so big that
I'm having a very big struct in an existing program. This struct includes a
Here is a (big) example of the massive problem I am having, when this
Having this div: <div id=advSearchDialog style=visibility:hidden;> <xx:search ID=searchUC runat=server /> </div> And a button:
I have a big database (~4GB), with 2 large tables (~3M records) having ~180K
I am using PHP with an odbc connection to MSSQL database. Currently, I having
When designing tables, I've developed a habit of having one column that is unique
I'm using pyodbc to data-mine a big database in a .mbd (access) file. I
I've recently learned that i shouldn't store html encoded data in the database, but

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.