Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
slow db performance after blackberry application is restarted
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sherwin  
View profile  
 More options Jun 15 2010, 12:57 am
Newsgroups: sybase.public.sqlanywhere.ultralite
From: Sherwin <rskart...@gmail.com>
Date: Mon, 14 Jun 2010 21:57:56 -0700 (PDT)
Local: Tues, Jun 15 2010 12:57 am
Subject: slow db performance after blackberry application is restarted

I'm using UltraLiteJ 11.0.1.2436 on
BlackBerry (OS 4.6 thru 5.0) and am experiencing extremely
slow commits after the app is restarted.  The database is in
persistence store memory and created the first time the app
is started and inserts of a simple row (an id and varchar)
are very fast. (0.1s per 100 on device).  After exiting and
restarting the app the database config is identical to how
it was initially created, however the connect is atrociously
slow (15s) and the subsequent inserts take 4s per 100.  Any
insights?

I've tinkered with page size, cache size, index persistence,
lazy load index, shadow paging and write at end but nothing
seems to work.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sherwin  
View profile  
 More options Jun 17 2010, 3:12 pm
Newsgroups: sybase.public.sqlanywhere.ultralite
From: Sherwin <rskart...@gmail.com>
Date: Thu, 17 Jun 2010 12:12:16 -0700 (PDT)
Local: Thurs, Jun 17 2010 3:12 pm
Subject: Re: slow db performance after blackberry application is restarted
Solved: Use the Connection.disableSynchronization( table-name ) method
for tables that aren't intended to be synchronized to a server.  In my
case it was needed for all the tables.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »