Click here to Skip to main content
15,899,313 members
Home / Discussions / Database
   

Database

 
GeneralRe: compare two tables in different environments. Pin
vanikanc10-Mar-11 2:16
vanikanc10-Mar-11 2:16 
GeneralRe: compare two tables in different environments. Pin
vanikanc10-Mar-11 10:40
vanikanc10-Mar-11 10:40 
GeneralRe: compare two tables in different environments. Pin
Wendelius11-Mar-11 11:54
mentorWendelius11-Mar-11 11:54 
AnswerRe: compare two tables in different environments. Pin
dingoishere13-Mar-11 21:09
dingoishere13-Mar-11 21:09 
AnswerRe: compare two tables in different environments. Pin
Om Prakash Pant14-Mar-11 2:04
Om Prakash Pant14-Mar-11 2:04 
QuestionMaintaing DB Pin
Hum Dum8-Mar-11 23:45
Hum Dum8-Mar-11 23:45 
AnswerRe: Maintaing DB Pin
Wendelius9-Mar-11 0:20
mentorWendelius9-Mar-11 0:20 
GeneralRe: Maintaing DB Pin
Hum Dum9-Mar-11 0:41
Hum Dum9-Mar-11 0:41 
You got it right.

I think about moving data to separate table as query which has to run on table, will need only information of 1 previous day , today, 1 after day on any given day.

Like if run my queries today i.e 09 Mar 11 17:04 PM
then query will look for data of 8, 9, 10 march

that's why i think about moving data after 10 days to separate table.


Mika Wendelius wrote:
- correct indexing strategy must be implemented (depending on the needs)
- I wouldn't use separate tables since it would affect program logic
- think carefully about the table structure, optimize it for typical use-cases


If apply all these will it still work after 5 year (assuming 12000 * 12 * 365 * 5 rows) ?


Mika Wendelius wrote:
consider using partitioning.


I don't have any clue about this?
Will be helpful if you point to an article (targeting less then have DBA exp)
GeneralRe: Maintaing DB Pin
Wendelius9-Mar-11 0:55
mentorWendelius9-Mar-11 0:55 
AnswerRe: Maintaing DB Pin
PIEBALDconsult9-Mar-11 1:58
mvePIEBALDconsult9-Mar-11 1:58 
QuestionAliasing Problem In SQL Query Pin
Anubhava Dimri8-Mar-11 22:24
Anubhava Dimri8-Mar-11 22:24 
AnswerRe: Aliasing Problem In SQL Query Pin
Luc Pattyn8-Mar-11 22:37
sitebuilderLuc Pattyn8-Mar-11 22:37 
AnswerRe: Aliasing Problem In SQL Query Pin
Simon_Whale8-Mar-11 22:55
Simon_Whale8-Mar-11 22:55 
GeneralRe: Aliasing Problem In SQL Query Pin
Anubhava Dimri8-Mar-11 22:58
Anubhava Dimri8-Mar-11 22:58 
GeneralRe: Aliasing Problem In SQL Query Pin
Simon_Whale8-Mar-11 23:01
Simon_Whale8-Mar-11 23:01 
GeneralRe: Aliasing Problem In SQL Query Pin
Anubhava Dimri8-Mar-11 23:08
Anubhava Dimri8-Mar-11 23:08 
GeneralRe: Aliasing Problem In SQL Query Pin
Simon_Whale8-Mar-11 23:18
Simon_Whale8-Mar-11 23:18 
GeneralRe: Aliasing Problem In SQL Query Pin
Mycroft Holmes8-Mar-11 23:30
professionalMycroft Holmes8-Mar-11 23:30 
AnswerRe: Aliasing Problem In SQL Query Pin
Wendelius9-Mar-11 0:27
mentorWendelius9-Mar-11 0:27 
AnswerRe: Aliasing Problem In SQL Query Pin
venkynataraj9-Mar-11 0:52
venkynataraj9-Mar-11 0:52 
AnswerRe: Aliasing Problem In SQL Query Pin
Prasanta_Prince15-Apr-11 1:00
Prasanta_Prince15-Apr-11 1:00 
GeneralRe: Aliasing Problem In SQL Query Pin
Anubhava Dimri15-Apr-11 1:06
Anubhava Dimri15-Apr-11 1:06 
QuestionTransactional Replicated Databases And Changing Schema Pin
wizardzz8-Mar-11 6:50
wizardzz8-Mar-11 6:50 
AnswerRe: Transactional Replicated Databases And Changing Schema Pin
Wendelius8-Mar-11 8:21
mentorWendelius8-Mar-11 8:21 
GeneralRe: Transactional Replicated Databases And Changing Schema Pin
wizardzz8-Mar-11 8:34
wizardzz8-Mar-11 8:34 

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.