Click here to Skip to main content
15,914,416 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Multi-computer access to program's data Pin
copec25-Jul-09 16:36
copec25-Jul-09 16:36 
GeneralRe: Multi-computer access to program's data Pin
Eddy Vluggen26-Jul-09 3:18
professionalEddy Vluggen26-Jul-09 3:18 
GeneralRe: Multi-computer access to program's data Pin
copec26-Jul-09 5:56
copec26-Jul-09 5:56 
GeneralRe: Multi-computer access to program's data Pin
Eddy Vluggen26-Jul-09 8:32
professionalEddy Vluggen26-Jul-09 8:32 
GeneralRe: Multi-computer access to program's data Pin
copec26-Jul-09 10:17
copec26-Jul-09 10:17 
GeneralRe: Multi-computer access to program's data Pin
Eddy Vluggen26-Jul-09 21:41
professionalEddy Vluggen26-Jul-09 21:41 
GeneralRe: Multi-computer access to program's data Pin
riced27-Jul-09 0:23
riced27-Jul-09 0:23 
GeneralRe: Multi-computer access to program's data [modified] Pin
copec27-Jul-09 8:01
copec27-Jul-09 8:01 
GeneralRe: Multi-computer access to program's data Pin
riced27-Jul-09 20:21
riced27-Jul-09 20:21 
GeneralRe: Multi-computer access to program's data Pin
copec31-Jul-09 12:16
copec31-Jul-09 12:16 
Questionapplication Integration Pin
kebedetesema19-Jul-09 23:17
kebedetesema19-Jul-09 23:17 
AnswerRe: application Integration Pin
David Skelly20-Jul-09 2:45
David Skelly20-Jul-09 2:45 
GeneralRe: application Integration Pin
kebedetesema20-Jul-09 4:08
kebedetesema20-Jul-09 4:08 
GeneralRe: application Integration Pin
David Skelly20-Jul-09 22:38
David Skelly20-Jul-09 22:38 
GeneralRe: application Integration Pin
kebedetesema21-Jul-09 21:43
kebedetesema21-Jul-09 21:43 
GeneralRe: application Integration Pin
Robin_Roy21-Jul-09 19:25
Robin_Roy21-Jul-09 19:25 
AnswerRe: application Integration Pin
Rozis20-Jul-09 11:04
Rozis20-Jul-09 11:04 
QuestionLarge number of storage / insertion of records in MySQL Pin
ajitsunny18-Jul-09 3:54
ajitsunny18-Jul-09 3:54 
AnswerRe: Large number of storage / insertion of records in MySQL Pin
Eddy Vluggen18-Jul-09 9:42
professionalEddy Vluggen18-Jul-09 9:42 
AnswerRe: Large number of storage / insertion of records in MySQL Pin
Robin_Roy26-Jul-09 17:50
Robin_Roy26-Jul-09 17:50 
GeneralRe: Large number of storage / insertion of records in MySQL Pin
ajitsunny4-Aug-09 0:00
ajitsunny4-Aug-09 0:00 
I my case we need to optimize two tables to stores very large number of records (in millions / billions) - just change the table structure and apply horizontal partitions on date range or no. of records. The new table structure should be able to minimize the records required to store.

1.
location_BookedAdvertisement (loc_id, advt_id, start_date, end_date, inventory_text)
And data would be like this for location_BookedAdvertisement table:
(12, 132, 2009-07-20, 2009-07-25, '1000~2000~5000~8900~3000')

This structure reduces the number of rows required to store 100,000 location's date wise assigned inventory by 364 times. Now I only need to store 100,000 rows instead of 100,000 x 365. So I am giving this table structure OK DONE. Also partition this table on no. of records such as 10 millions rows per partition.

2.
Now change the structure of tinventory table..
location_ inventory (loc_id, date, Total_available_inventory, booked_inventory)
.. to
location_ inventory (loc_id, year, Jan1, Jan2, Jan3, Jan4 ,.. ..., Dec29, Dec30, Dec31)
And data would be like this for location_ inventory table:
(12, 2009, '5000~2000', '10000~8900',... ...,'12000~2000','12000~2000','12000~2000')

Here within date column we have 'Total_available_inventory~booked_inventory'.

I know there would be 366 column in one table... but today I tested it.... SELECT / INSERT / UPDATE works very very fast as compared to in the earlier table structure. I'll partition this table year-wise i.e based on year column. And this table structure again reduces the required number of records by 364 time... i.e. to store one year inventory of 100,000 locations I would need to store only 100,000 rows.

This solution is acceptable.
QuestionHibernate-style coding? Pin
NandoMan16-Jul-09 21:17
NandoMan16-Jul-09 21:17 
AnswerRe: Hibernate-style coding? Pin
NandoMan16-Jul-09 21:46
NandoMan16-Jul-09 21:46 
AnswerRe: Hibernate-style coding? Pin
Curtis Schlak.17-Jul-09 15:24
Curtis Schlak.17-Jul-09 15:24 
GeneralRe: Hibernate-style coding? Pin
NandoMan19-Jul-09 7:03
NandoMan19-Jul-09 7:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.