Click here to Skip to main content
15,887,027 members
Home / Discussions / Database
   

Database

 
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 
Generalbetter way for moving data from one to three table Pin
mohd imran abdul aziz19-Feb-08 21:45
mohd imran abdul aziz19-Feb-08 21:45 
GeneralAutoincrement character type data in sql server Pin
techie.priyanka19-Feb-08 20:17
techie.priyanka19-Feb-08 20:17 
GeneralRe: Autoincrement character type data in sql server Pin
Hesham Amin19-Feb-08 20:53
Hesham Amin19-Feb-08 20:53 
GeneralRe: Autoincrement character type data in sql server Pin
techie.priyanka21-Feb-08 22:18
techie.priyanka21-Feb-08 22:18 
GeneralRe: Autoincrement character type data in sql server Pin
Hesham Amin21-Feb-08 22:29
Hesham Amin21-Feb-08 22:29 
Generalhelp in inserting into a table Pin
mrcsn19-Feb-08 20:12
mrcsn19-Feb-08 20:12 

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.