| |

VerySource

 Forgot password?
 Register
Search
View: 1270|Reply: 10

Problems with library design?

[Copy link]

2

Threads

7

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 United States

Post time: 2020-2-16 19:00:01
| Show all posts |Read mode
I just came into contact with the database. I now make a monitoring system. There are more than 200 monitoring points. Each monitoring point reports data to the center once an hour. How should I design the database to make the query more efficient. I think it is feasible to build a watch every month? How should I query multiple tables when querying? Thank you, boss!
Reply

Use magic Report

0

Threads

211

Posts

108.00

Credits

Newbie

Rank: 1

Credits
108.00

 China

Post time: 2020-4-18 15:00:02
| Show all posts
How to check multiple tables when querying?

Associate multiple tables to check
Reply

Use magic Report

2

Threads

7

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 Korea, Republic of

 Author| Post time: 2020-4-18 19:30:01
| Show all posts
Can you elaborate? How to check the same structure?
Reply

Use magic Report

0

Threads

48

Posts

30.00

Credits

Newbie

Rank: 1

Credits
30.00

 China

Post time: 2020-4-18 19:45:01
| Show all posts
No need to separate, there will be no multi-table query problem
Reply

Use magic Report

0

Threads

211

Posts

108.00

Credits

Newbie

Rank: 1

Credits
108.00

 China

Post time: 2020-4-18 22:30:01
| Show all posts
Is it feasible to build a watch every month?

-
Not necessary
Reply

Use magic Report

2

Threads

7

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 Invalid IP Address

 Author| Post time: 2020-4-19 03:30:01
| Show all posts
If it takes a long time to build a table, will there be too much data, and the query will be too slow?
Reply

Use magic Report

0

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-4-19 09:00:01
| Show all posts
1. Set up pk
2. Create an index
3. Improve hardware configuration
4. Optimize SQL
Reply

Use magic Report

2

Threads

7

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-4-19 13:30:01
| Show all posts
If there are 10 million records in a table, will the query speed be full?
Reply

Use magic Report

0

Threads

100

Posts

53.00

Credits

Newbie

Rank: 1

Credits
53.00

 China

Post time: 2020-4-19 23:30:01
| Show all posts
The amount of data is definitely slow.
Reply

Use magic Report

0

Threads

48

Posts

30.00

Credits

Newbie

Rank: 1

Credits
30.00

 China

Post time: 2020-4-20 17:45:01
| Show all posts
Multi-table joint query is definitely slower than query in Dan table
Ten million items also depend on the amount of data (size), if occasionally joint queries, it is best to do separately
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list