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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:00:09+00:00 2026-06-15T17:00:09+00:00

I am new to database but have been researching techniques, but not quite clear

  • 0

I am new to database but have been researching techniques, but not quite clear on the best plan for my DB?

I have a ‘index_table’ with the following columns (with about 65,000 rows)

dbo.index_table
Line
Locality
Route (unique)

I then plan about 65,000 tables with the following columns: (each with about 20-40 rows)

dbo.table2,3.4....etc
Route 
Place
Name
Stop 

My C# web service with find a match between line and locality in the index_table and the result will be the Route.
I then need to return all matching rows in the other tables.
Basically each table (apart from the index_table) contains stops on a transit route, so I am finding the stops from the Route identifier.

Is this the correct way to design or should I be doing it a different way to ease and performance reasons.

I am a beginner, please be gentle 🙂

  • 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-15T17:00:10+00:00Added an answer on June 15, 2026 at 5:00 pm

    I see absolutely no need for 65,000 tables. You should read up on database normalization to understand the principles around having an efficient and organized schema. You would be making your life much harder to try to implement and manage 65,000 tables. A single table that has (65000 * 20-40) 1300000-2600000 rows could be very efficiently managed.

    On your index_table, when you mean route, do you mean a single value? Or will this route have more than one value in it?

    My thought on the design would be:

    route (route, line, locality)

    route_stop (route, place, name, stop)

    • route_stop.route would be a foreign key to route.route
    • Since I don’t have sample data, your primary key on route_stop could be a composite of the columns that make a unique value
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm not a WinForms developer, but have been doing ASP.NET for quite some time.
I am new to LINQ to SQL, but have done a lot of database
I have a database connection that I got like this: db = Mongo::Connection.new.db(app-development) but
I'm pretty new to Python but have been running a few programs locally using
I'm fairly new to Visual Studio (specifically Visual Basic .NET) but have been programming
I am new to design patterns, but I have been trying hard to implement
I am new to Ruby as well as Rails but have been around a
I have already managed to connect to the database, but I used the following
I have been following a tutorial to better understand php's oop, but have come
I have tried connecting with php to my database but have been completely unsuccessful

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.