Click here to Skip to main content
15,890,557 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello Everyone

I have a requirement where I have to get info from almost 10000 sources over net and store it in a single table in fly time. These resources u can say are like millions of devices having unique id and I need to pump data into a single table in PostgreSQL.

What can be best possible approach to do this so that it doesn't degrades the performance of database and also doesn't acquire any lock as well to impact other transaction as well.
Posted
Updated 30-Jun-15 2:19am
v2
Comments
Suvendu Shekhar Giri 30-Jun-15 8:32am    
10000 sources? What kind of sources those are?
Member 11802905 30-Jun-15 8:40am    
these are different media devices like TV or some other player from which I need to get media playing information as well as hardware related info.
So what can be best approach to insert these details data in a single table on fly time

1 solution

Performance depends on many factors, but in your case you should specify the input rate and how you are going to query the data first.

Depending on those two factors your indexing strategy or the use of relational databases in general, will change.

In any case with the limited information you have provided, the only valid answer is try and see.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900