---
title: "Oracle查询数据库连接数"
author: "daoshud1"
date: "2011-03-14T17:42:30Z"
tags: []
categories: ["数据库"]
slug: "oracle"
draft: false
lastmod: "2011-03-14T17:42:30Z"
id: 961554
url: "https://daoshud1.iteye.com/blog/961554"
---

oracle查询数据库连接数：
select username,count(username) from v$session where username is not null group by username;