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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T00:26:26+00:00 2026-06-07T00:26:26+00:00

Greetings Overflowers, Is there an SQL DBMS that allows me to create an indexed

  • 0

Greetings Overflowers,

Is there an SQL DBMS that allows me to create an indexed view in which I can insert new rows without modifying the original tables of the view? I will need to query this view after performing the in-view-only inserts. If the answer is no, what other methods can do the job? I simply want to merge a set of rows that comes from another server with the set of rows in the created view -in a specific order- to be able to perform fast queries against the merged set, ie the indexed view, without having to persist the received set in disk. I am not sure if using in-memory database would perform well as the merged sets grow ridiculously?

What do you think guys?

Kind regards

  • 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-07T00:26:28+00:00Added an answer on June 7, 2026 at 12:26 am

    Well, there’s no supported way to do that, since the view has to be based on some table(s).

    Besides that, indexed views are not meant to be used like that. You don’t have to push any data into the index view thinking that you will make data retrieval faster.

    I suggest you keep your view just the way it is. And then have a staging table, with the proper indexes created on it, in which you insert the data coming from the external system.

    The staging table should be truncated anytime you want to get rid of the data (so right before you’re inserting new data). That should be done in a SNAPSHOT ISOLATION transaction, so your existing queries don’t read dirty data, or deadlock.

    Then you have two options:

    1. Use an UNION ALL clause to merge the results from the view and the staging table when you want to retrieve your data.
    2. If the staging table shouldn’t be merged, but inner joined, then you perhaps can integrate it in the indexed view.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Greetings Overflowers, What is wrong with this PHP code: <?php define(DB_FILE, sqlite:database.sql); define(QUERY, INSERT
Greetings, Overflowers! I am writing an application in PHP that will allow for editing
Greetings I've been working on a homework in which I must create a linked
Greetings Stack Overflow community. I'm trying to make a function that can pop all
Greetings! I have an issue here that i can't find. I am getting a
Greetings, I have a particular object which can be constructed from a file, as
Greetings! I have a Repeater control that's using an XmlDataSource control. <asp:FormView id=myFormView runat=server
Greetings! I'm trying to have a UIWebView controlled from generated events. Is there a
Greetings all, Is there a built in way to know when a user is
Greetings, I'm working on a game project that uses a 3D variant of hexagonal

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.