Author Topic: Reports generating very slowly  (Read 5532 times)

evail

  • Full Member
  • ***
  • Posts: 109
Reports generating very slowly
« on: January 08, 2013, 09:48:28 am »
Hello Emre,

Being long time, my only issue and support that i need is regarding the slow reports.

It takes a long time to generate monthly reports. Is there anyway i can solve this.

thanks

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: Reports generating very slowly
« Reply #1 on: January 08, 2013, 10:25:30 am »
Hello evail,
*Which database are you using?
*Are you using 2,99?
*What do you mean by long time? Seconds or minutes?

evail

  • Full Member
  • ***
  • Posts: 109
Re: Reports generating very slowly
« Reply #2 on: January 09, 2013, 05:57:44 am »
I am using 2.99

To be specific my monthly transaction is around 10,000.

It takes like more than 5 minutes maybe closer to 10 minutes for the report to generate.

System is a quad i would is it is very fast.

Thanks

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: Reports generating very slowly
« Reply #3 on: January 09, 2013, 06:15:32 am »
If it is SQL Compact database you should upgrade to SQL Express. 10.000 Transactions is too much for SQL Compact.

If it is already SQL Express please send a backup of your database to info@sambapos.org
« Last Edit: January 09, 2013, 06:18:30 am by emre »

evail

  • Full Member
  • ***
  • Posts: 109
Re: Reports generating very slowly
« Reply #4 on: January 14, 2013, 11:20:17 pm »
Hey Emre,

Sorry for the late response.

Well i do not know which one I have, I only installed SambaPOS.

I am guessing its SQL Compact.

How can I change it to Express?

Thanks

evail

  • Full Member
  • ***
  • Posts: 109
Re: Reports generating very slowly
« Reply #5 on: January 15, 2013, 09:30:30 pm »
I just found this link, to change to sqlexpress

http://doc.sambapos.org/doku.php/en/dbase/client_server_baglantisi_nasil_yapilir

I am trying this right now, another question is how can i have all the data transferred?

thanks

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: Reports generating very slowly
« Reply #6 on: January 16, 2013, 04:37:58 am »
You can use this tool to generate a data transfer script
http://sqlcetoolbox.codeplex.com/


evail

  • Full Member
  • ***
  • Posts: 109
Re: Reports generating very slowly
« Reply #7 on: January 16, 2013, 09:12:46 am »
I used the tool to create the scripts.

how do i insert it to the sqlexpress db?

thanks

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: Reports generating very slowly
« Reply #8 on: January 16, 2013, 03:25:37 pm »
The easiest way will be using SQL Management Studio tool for your SQL Express version. I'm using it.
If you didn't installed it while setting up SQL Express you can download it separately. But unfortunately SQL Management studio is a big download.

I didn't tried them before but you can try one of these free alternatives
http://forum2.sambapos.org/index.php/topic,828.msg4286.html#msg4286
If you try them please share your experiences.

Thanks.
« Last Edit: January 16, 2013, 03:27:11 pm by emre »

evail

  • Full Member
  • ***
  • Posts: 109
Re: Reports generating very slowly
« Reply #9 on: January 16, 2013, 09:52:03 pm »
Thanks emre,

Searched the forum and found the link below, it worked great, and its so fast :D
Thanks again.

http://forum2.sambapos.org/index.php/topic,271.msg2716.html#msg2716