Showing posts with label accounting. Show all posts
Showing posts with label accounting. Show all posts

Monday, March 26, 2012

Multi connection problem

Hi all,
In my accounting application if one user tries to execute a long report that
my take several minutes, the other users who are entering invoices almost
hang, and the process of enter products into the invoices or the saving the
invoices slow down significantly.
I'm using VC++ 2003, ODBC, SQL 2000 Ent.
Any body know how to overcome this problem.
Thanks in advance.You could try running the report query inside a transaction with READ
UNCOMMITTED isolation level.
The next time the report runs, take a look at the locks in the database. If
there are a lot of locks, running the report under READ UNCOMMITTED should
help.
"ATS967" wrote:

> Hi all,
> In my accounting application if one user tries to execute a long report th
at
> my take several minutes, the other users who are entering invoices almost
> hang, and the process of enter products into the invoices or the saving th
e
> invoices slow down significantly.
> I'm using VC++ 2003, ODBC, SQL 2000 Ent.
> Any body know how to overcome this problem.
> Thanks in advance.|||A seperate reporting database would solve this. A simple solution is to
restore a backup of the production db with a different name on a nightly
basis. Data is a day old but that's usually OK for reporting. If you mark th
e
reporting db read-only it will speed up those reports too.
"ATS967" wrote:

> Hi all,
> In my accounting application if one user tries to execute a long report th
at
> my take several minutes, the other users who are entering invoices almost
> hang, and the process of enter products into the invoices or the saving th
e
> invoices slow down significantly.
> I'm using VC++ 2003, ODBC, SQL 2000 Ent.
> Any body know how to overcome this problem.
> Thanks in advance.

Saturday, February 25, 2012

MSSQL Server accounting

Hello,

How can I see which login make more traffic to MSSQL ? Not by IP and
external firewall , but with binding to database loginHi

I think you may want to look at SQL profiler. More information is in Books
Online

John
"Andy" <djANTISPAMhd@.computerman.de> wrote in message
news:btp354$83u$06$1@.news.t-online.com...
> Hello,
> How can I see which login make more traffic to MSSQL ? Not by IP and
> external firewall , but with binding to database login|||External to the database network operational traffic?

"Andy" <djANTISPAMhd@.computerman.de> wrote in message
news:btp354$83u$06$1@.news.t-online.com...
> Hello,
> How can I see which login make more traffic to MSSQL ? Not by IP and
> external firewall , but with binding to database login