Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Oracle 10g Express Connection Limitations?

2 views
Skip to first unread message

Jason D.

unread,
May 6, 2008, 8:51:32 AM5/6/08
to
Hello,

I used Oracle 10g XE a lot last summer and will likely be using it
again this summer. My database is essentially for experiment purposes
and most connections to it are VIA ODBC. I noticed last year after so
many (like 20 perhaps? I'm not sure an exact number) sequential ODBC
connections (that is connect and disconnect, the connections were
*not* concurrent) XE would suddenly refuse more anymore connections
until I restarted the service (running Windows XP). I thought this
might be a limitation of XE but I can't find any documentation on it
as a limitation, so that's making me think it might have been a
problem with my setup. Are there any suggestions on what might be
causing this?

Thanks a Bunch!

yossarian

unread,
May 6, 2008, 9:34:58 AM5/6/08
to
Jason D. wrote:

Keep the V$SESSION dictionary table monitored and you will find out that
the ODBC app doesn't really close the database session.

Y.


Jason D.

unread,
May 6, 2008, 2:00:08 PM5/6/08
to

Thanks for the reply!

Interesting...is V$SESSION the same as V_$SESSION ? I found the latter
when logging on as "sys" under Views in the Object Browser but
couldn't find one without the underscore.

In any case, it shows 15 tuples all marked as "Active" under Status. I
log on with my ODBC app, and a new tuple pops up showing me with a new
SID, and application info it launched from, etc, but then when I log
off, the tuple (and SID) does indeed disappear. My application calls
SQLDisconnect() and SQLFreeHandle()
when quitting, is there something else I need to do to "close" the
session?

Thanks!

gazzag

unread,
May 7, 2008, 5:58:12 AM5/7/08
to
On 6 May, 19:00, "Jason D." <Tron...@gmail.com> wrote:
> Interesting...is V$SESSION the same as V_$SESSION ? I found the latter
> when logging on as "sys" under Views in the Object Browser but
> couldn't find one without the underscore.

select object_name, object_type
from dba_objects
where object_name in ('V$SESSION','V_$SESSION');

OBJECT_NAME OBJECT_TYPE
------------------------------ ----------------
V_$SESSION VIEW
V$SESSION SYNONYM

Just as an aside, why is your usage of Oracle XE a summer-based
affair? ;)

HTH

-g

Jason D.

unread,
May 7, 2008, 9:32:37 AM5/7/08
to

It's for a summer research project at university I worked on last
summer and am continuing my research this summer. I'm basically
working on multi-database querying, I've been experimenting mainly
with Oracle, MySQL and Postgres for the time being. I've never used
synonym's before but I googled them to get the basics. I noticed the
owner for V$SESSION is 'public' but I still can't see it in the object
Browser (I can however see it when I log in on the command line/SQL
Plus). So anyway I queried V$SESSION but it didn't tell me anything
new, a extra tuple gets added showing my application connected when it
is, and then the tuple disappears when my application disconnects!

gazzag

unread,
May 7, 2008, 11:04:11 AM5/7/08
to
On 7 May, 14:32, "Jason D." <Tron...@gmail.com> wrote:
> It's for a summer research project at university I worked on last
> summer and am continuing my research this summer. I'm basically
> working on multi-database querying, I've been experimenting mainly
> with Oracle, MySQL and Postgres for the time being. I've never used
> synonym's before but I googled them to get the basics. I noticed the
> owner for V$SESSION is 'public' but I still can't see it in the object
> Browser (I can however see it when I log in on the command line/SQL
> Plus). So anyway I queried V$SESSION but it didn't tell me anything
> new, a extra tuple gets added showing my application connected when it
> is, and then the tuple disappears when my application disconnects!

V$SESSION is a public synonym (as opposed to a private one) and is
therefore potentially visible to all users of the database, providing
that the relevant user has been granted SELECT privilege on the
underlying table, in this case V_$SESSION.

HTH

-g

Jason D.

unread,
May 7, 2008, 3:21:03 PM5/7/08
to

Ahh, I see, when I log in in SQL Plus I can see the tables, but I
still find it odd that they are not visible in the object browser.

0 new messages