Click here to Skip to main content
15,898,035 members
Home / Discussions / Database
   

Database

 
AnswerRe: time-consuming insert operation Pin
Eddy Vluggen18-Jan-24 16:41
professionalEddy Vluggen18-Jan-24 16:41 
AnswerRe: time-consuming insert operation Pin
jschell19-Jan-24 4:40
jschell19-Jan-24 4:40 
AnswerRe: time-consuming insert operation Pin
RedDk12-May-24 9:38
RedDk12-May-24 9:38 
QuestionCREATE INDEX Pin
mike741117-Jan-24 17:22
mike741117-Jan-24 17:22 
AnswerRe: CREATE INDEX Pin
Victor Nijegorodov17-Jan-24 20:37
Victor Nijegorodov17-Jan-24 20:37 
AnswerRe: CREATE INDEX Pin
jschell18-Jan-24 4:44
jschell18-Jan-24 4:44 
AnswerRe: CREATE INDEX Pin
Eddy Vluggen18-Jan-24 7:38
professionalEddy Vluggen18-Jan-24 7:38 
QuestionSQL behind the scenes Pin
mike741116-Jan-24 17:02
mike741116-Jan-24 17:02 
AnswerRe: SQL behind the scenes Pin
Richard MacCutchan16-Jan-24 21:54
mveRichard MacCutchan16-Jan-24 21:54 
AnswerRe: SQL behind the scenes Pin
Eddy Vluggen16-Jan-24 22:40
professionalEddy Vluggen16-Jan-24 22:40 
AnswerRe: SQL behind the scenes Pin
jschell17-Jan-24 4:29
jschell17-Jan-24 4:29 
AnswerRe: SQL behind the scenes Pin
RedDk17-Jan-24 8:30
RedDk17-Jan-24 8:30 
AnswerRe: SQL behind the scenes Pin
Eddy Vluggen18-Jan-24 7:33
professionalEddy Vluggen18-Jan-24 7:33 
GeneralRe: SQL behind the scenes Pin
jschell19-Jan-24 4:52
jschell19-Jan-24 4:52 
QuestionRe: SQL behind the scenes Pin
Eddy Vluggen10-Feb-24 10:08
professionalEddy Vluggen10-Feb-24 10:08 
QuestionSql Server Database goes into Recovery mode Pin
Nilesh M. Prajapati17-Nov-23 17:59
Nilesh M. Prajapati17-Nov-23 17:59 
AnswerRe: Sql Server Database goes into Recovery mode Pin
Andre Oosthuizen18-Nov-23 7:35
mveAndre Oosthuizen18-Nov-23 7:35 
AnswerRe: Sql Server Database goes into Recovery mode Pin
Mycroft Holmes18-Nov-23 11:38
professionalMycroft Holmes18-Nov-23 11:38 
AnswerRe: Sql Server Database goes into Recovery mode Pin
CHill6020-Nov-23 4:10
mveCHill6020-Nov-23 4:10 
AnswerRe: Sql Server Database goes into Recovery mode Pin
jschell20-Nov-23 7:48
jschell20-Nov-23 7:48 
QuestionSQLite Thread Safety Pin
Richard Andrew x6410-Nov-23 12:23
professionalRichard Andrew x6410-Nov-23 12:23 
AnswerRe: SQLite Thread Safety Pin
Gerry Schmitz10-Nov-23 14:04
mveGerry Schmitz10-Nov-23 14:04 
It's "rereads" that are (usually) the problem. If one is writing, and another reading, one for one makes little difference; if the record aren't related. On the other hand, if you're not writing "complete" records at one time, then they have to be "locked".

For "rereads" you have to check for "dirty" (e.g. timestamp changes). "Screen data has been updated".

With related records, you may need need to lock a table or the entire DB (for a very short time).

All calls should be async to avoid UI waits.


"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

GeneralRe: SQLite Thread Safety Pin
Richard Andrew x6410-Nov-23 15:33
professionalRichard Andrew x6410-Nov-23 15:33 
GeneralRe: SQLite Thread Safety Pin
Gerry Schmitz13-Nov-23 11:14
mveGerry Schmitz13-Nov-23 11:14 
AnswerRe: SQLite Thread Safety Pin
Jörgen Andersson12-Nov-23 21:16
professionalJörgen Andersson12-Nov-23 21:16 

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.