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

  • Home
  • SEARCH
  • 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 899385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T15:12:32+00:00 2026-05-15T15:12:32+00:00

All that I will do is insert records into the database. However, I would

  • 0

All that I will do is insert records into the database.
However, I would definitly like the database-independence that Ruby/ActiveRecord can offer me.

What would be the reccommended choice?

  1. Using simple insert queries, and rewriting them, and also maintaining my own database class for things as batch insertions;
  2. Using the power of ActiveRecord, but also having the overhead;
  3. Some other solution, mayhaps?

For the record, optimistically speaking I’ll be doing an insertion per second/couple of seconds.
I’ll also (probably) be using ActiveRecord for reading from the database later on – but, in a different application.

  • 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-15T15:12:32+00:00Added an answer on May 15, 2026 at 3:12 pm

    The main reason for writing your own queries would be to optimize performance if Active Record would prove too inefficient. But since one insert per second isn’t really that much of a load, Active Record’s performance will probably be more than enough for your needs.

    Thus, I would definitely use Active Record in this situation — there’s no need to bother with your own database wrapper unless you really need to. Also, an extra bonus is that you can reuse the model definitions for reading data later on.

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

Sidebar

Related Questions

I have a large multi-step form that will insert a record into a database.
Is there a SQL command that will list all the tables in a database
I know that Java enforce the programmer to list all exceptions that will be
I'm trying to build a function that will remove all the files that start
I have this application that will recurse all folders in a given directory and
Is there a SQL statement that will list the names of all the tables,
I need a VBA function that will perform the following: Find all unique values
I need a MySql statement that will select all the rows, as well as
I am writing an App that will allow users to browse through all files
I have an image file that has all the character sprites that I will

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.