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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:10:08+00:00 2026-06-01T10:10:08+00:00

which will take more execution time insert operation or select operation if both are

  • 0

which will take more execution time insert operation or select operation if both are single query affecting only one row.
for eg:

insert into example values('id','name','email')

or

select *from example where id='id';
  • 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-01T10:10:10+00:00Added an answer on June 1, 2026 at 10:10 am

    For all benchmarking, you need to keep in mind:

    • It’s not usually a simple matter, there are a large number of factors that can affect the figures.
    • Some of these factors are the number of indexes, historical patterns of read/write, database tuning, disk layout, fragmentation and so forth.
    • It rarely matter for small thing like a one-row operation, provided you have an intelligent setup (correct indexes and so on).
    • The best way to tell, for a given setup, is to test.

    In any case, this sort of question usually arises when you want to choose the fastest of two functionally identical choices.

    In this case, there is zero crossover in functionality so I’m not sure what you will gain with this answer. If you want to insert information, use insert. If you want to extract it, use select.

    It’s not like you can use select (no matter how fast it may be) to insert data into your database (well, other than as part of insert into ... select ...).

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

Sidebar

Related Questions

I am looking for a tool which will take an XML instance document and
I need a simple function which will take a FileInfo and a destination_directory_name as
So I have this method which will take an ArrayList of Integers, I compare
I am trying to create a function which will take arguments arg1, arg2... then
I want to create a combobox in flex which will take three values, Available,
Is there a standard C function similar to strtol which will take a char*
I am trying to implement a generic timer function in OCaml which will take
I have been trying out the NameValueDeserializer from MVCContrib, which will take a IList
We have an interface which will be implemented by classes that take care of
This question could easily take multiple paths, so I will hit the more specific

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.