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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T10:58:56+00:00 2026-06-05T10:58:56+00:00

I created some scripts which generate the data at intervals. Say, for each hour

  • 0

I created some scripts which generate the data at intervals. Say, for each hour some set of data is generated. The generated data is represented in the form of text/XML. I haven’t chosen the format to store. But currently I am thinking as XML. If at each hour an XML file generated based on test results, I want to store the hour instance in a databse table row. If it is TXT format, then i have to parse the document. The better would be an XML. If I add the each horu instance as new node to XML, end of the day, I want to move the complete day result to database. If not, each hour instance I have to make a new XML file and push the data into database. Can you suggest me the best way of doing it. I am confused whether to push the data at hour instance or end of the day. I don’t have any supported API in the scripting to connect database directly. I am planning to write a java program and trigger it end of the day to push the complete day data into database. I hope this topic would be intresting to others. 🙂

  • 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-05T10:58:58+00:00Added an answer on June 5, 2026 at 10:58 am

    The description of the task sounds like gathering log data and storing into a database. The decision to push hourly or daily should be taken upon the need to query the database later. If you want to create daily reports on the collected data – it might be OK to store it as 1 row = 1 day. But if you want to get reports by hour – then storing 1 row = 1 hour is better approach, otherwise you’ll have to additionally parse the data to extract the hour usage.

    Anyway it could be hard to process stored XML later(although there are database servers to support that). If this is really a log data database, a NoSQL solution could be better in this case.

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

Sidebar

Related Questions

I tried to create a package using some functions and scripts I created (using
I have created a custom PHP script which uploads information submitted by a form
HI , I have created a model , which adds some fixture and model
In SQL we have a scheme script that creates tables which has some logic
I want to create some scripts for filling some templates and inserting them into
I have created a script that saves some files in the Documents directory of
I have created a simple JQuery script with hovering effect on some links. The
I have created an R script that it needs to load some libraries first.
I've created a batch script to automatically update some files using wget for Windows.
I have created one ruby script that I want to run with some flags

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.