@Walter, i tried that out. Instead of sb.toString() , i put the insert
statement string over there with Compile statement format..
Its taking *27* *seconds *!!
The database schema is as follows
Table *Artist*
id Integer Primary Key
name nvarchar(200)

Table *Album*
name nvarchar(200)
label nvarchar(200)
multiple_artists integer
artist_id integer
id integer Primary Key

Table *Songs*
artist_id integer
album_id integer
id integer Primary Key
name nvarchar(200)


On Mon, Apr 12, 2010 at 9:26 PM, Dave Johnston <john...@gmail.com> wrote:

> On Apr 12, 7:50 am, Alok Kulkarni <kulsu...@gmail.com> wrote:
> > Hi,
> > I am inserting around 7000 to 8000 records in my database having 4 tables
> > each having 3 to 4 columns.Its taking me around 22 seconds to do the
> > insertion which is i think is too long.
>
> Can you post the schema of the database you're inserting into?
>
> -d
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
> To unsubscribe, reply using "remove me" as the subject.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to