Click here to Skip to main content
15,916,949 members
Home / Discussions / Database
   

Database

 
GeneralRe: How do I update records in one table with values supplied by another. Pin
GuyThiebaut22-Feb-08 2:51
professionalGuyThiebaut22-Feb-08 2:51 
GeneralGet Monday Function Pin
Lash2020-Feb-08 4:56
Lash2020-Feb-08 4:56 
AnswerRe: Get Monday Function Pin
Lash2020-Feb-08 6:24
Lash2020-Feb-08 6:24 
GeneralRe: Get Monday Function Pin
Steven J Jowett20-Feb-08 6:32
Steven J Jowett20-Feb-08 6:32 
Generalhi Pin
mon***z20-Feb-08 2:12
mon***z20-Feb-08 2:12 
GeneralRe: hi Pin
Steven J Jowett20-Feb-08 4:41
Steven J Jowett20-Feb-08 4:41 
GeneralRe: hi Pin
Sandeep Kumar21-Feb-08 3:40
Sandeep Kumar21-Feb-08 3:40 
GeneralRe: hi Pin
Karrar Ketawi21-Feb-08 22:57
Karrar Ketawi21-Feb-08 22:57 
GeneralHelp with WHERE clause please. [modified] Pin
Steven J Jowett19-Feb-08 23:37
Steven J Jowett19-Feb-08 23:37 
GeneralRe: Help with WHERE clause please. Pin
Krish - KP19-Feb-08 23:56
Krish - KP19-Feb-08 23:56 
GeneralRe: Help with WHERE clause please. Pin
Krish - KP20-Feb-08 0:01
Krish - KP20-Feb-08 0:01 
GeneralRe: Help with WHERE clause please. Pin
Steven J Jowett20-Feb-08 0:28
Steven J Jowett20-Feb-08 0:28 
GeneralRe: Help with WHERE clause please. Pin
Steven J Jowett20-Feb-08 0:43
Steven J Jowett20-Feb-08 0:43 
GeneralBest method for keeping website visitor count in database Pin
N a v a n e e t h19-Feb-08 23:00
N a v a n e e t h19-Feb-08 23:00 
One of our project is a content management system something like wikipedia. So I need to calculate the visitors count getting for each article. Each article in this will have a unique id. So I am looking for a best method to keep the visitor count in database.

I have a master table where article details are kept. I tried adding a column named "PageView" which will be updated each time the page is requested. This worked well when website gets very less traffic. But shows incorrect results when it's running on heavy traffic. I guess it's a row level locking issue. Is there any other better approach which can be used to keep the accurate visitor count ?

The work around which is in my mind is, putting a lock to the row when I select "PageView" for updating. Update the count and release the lock. If this is right, will the other select requests to the same row wait until the lock get released ?

All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

My Website | Ask smart questions

GeneralRe: Best method for keeping website visitor count in database Pin
Hesham Amin20-Feb-08 21:08
Hesham Amin20-Feb-08 21:08 
GeneralRe: Best method for keeping website visitor count in database Pin
N a v a n e e t h20-Feb-08 23:27
N a v a n e e t h20-Feb-08 23:27 
GeneralRe: Best method for keeping website visitor count in database Pin
Sandeep Kumar21-Feb-08 3:56
Sandeep Kumar21-Feb-08 3:56 
GeneralRe: Best method for keeping website visitor count in database Pin
Hesham Amin21-Feb-08 9:32
Hesham Amin21-Feb-08 9:32 
GeneralProblem with top clause Pin
kimo code19-Feb-08 22:43
kimo code19-Feb-08 22:43 
GeneralRe: Problem with top clause Pin
Giorgi Dalakishvili19-Feb-08 23:30
mentorGiorgi Dalakishvili19-Feb-08 23:30 
GeneralRe: Problem with top clause Pin
N a v a n e e t h19-Feb-08 23:32
N a v a n e e t h19-Feb-08 23:32 
GeneralRe: Problem with top clause Pin
kimo code20-Feb-08 0:15
kimo code20-Feb-08 0:15 
GeneralRe: Problem with top clause Pin
Ashfield20-Feb-08 1:52
Ashfield20-Feb-08 1:52 
GeneralRe: Problem with top clause Pin
WoutL21-Feb-08 1:54
WoutL21-Feb-08 1:54 
GeneralRe: Problem with top clause Pin
kimo code21-Feb-08 2:19
kimo code21-Feb-08 2:19 

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.