'2010/02'에 해당되는 글 21건

  1. 2010/02/28 2010년 정월대보름
  2. 2010/02/26 WMI 원격 접속 방법
  3. 2010/02/25 Community Guide to PostgreSQL GUI Tools
2010/02/28 23:55

2010년 정월대보름



정월(正月)은 한 해를 처음 시작하는 달로서 그 해를 설계하고, 일년의 운세를 점쳐보는 달이다. 율력서(律曆書)에 의하면 "정월은 천지인(天地人) 삼자가 합일하고 사람을 받들어 일을 이루며, 모든 부족이 하늘의 뜻에 따라 화합하는 달"이라고 한다. 따라서 정월은 사람과 신, 사람과 사람, 사람과 자연이 하나로 화합하고 한해 동안 이루어야 할 일을 계획하고 기원하며 점쳐보는 달인 것이다.

정월 대보름날을 한자어로는 '상원(上元)'이라고 한다. 상원은 도가(道家)에서 말하는 삼원(三元) 의 하나로, 삼원이란 상원(1월 15일), 중원(7월 15일), 하원(10월 15일)을 말한다. 도가에서 이 날은 천상(天上)의 선관(仙官)이 인간의 선악을 살핀다고 하는데, 그때를 '원(元)'이라고 한다.

한편으로 전통사회의 절일(節日)로서 정월 대보름(1월 15일)·7월 백중(7월 15일)·8월 한가위(8월 15 일) 등이 있는데, 이러한 명일(名日)은 보름을 모태로 한 세시풍속들이다. 대보름은 음력을 사용하는 전통사회에 있어서 각별한 의미를 지닌다. 농경을 기본으로 하였던 우리 문화의 상징적인 측면에서 보면, 달은 생생력 (生生力)을 바탕으로 한 풍요로움의 상징이었다. 음양사상(陰陽思想)에 의하면 태양을 '양(陽)' 이라 하여 남성으로 인격화되고, 이에 반하여 달은 '음(陰)' 이라 하여 여성으로 인격화된다. 따라서 달의 상징적 구조를 풀어 보면 달-여신-대지로 표상되며, 여신은 만물을 낳는 지모신(地母神)으로서의 출산력을 가진다. 이와 같이 대보름은 풍요의 상징적 의미로 자리매김한다.

저작자 표시
크리에이티브 커먼즈 라이선스
Creative Commons License

Trackback 0 Comment 0
2010/02/26 20:00

WMI 원격 접속 방법


오늘은 WMI 를 원격에서 사용하는 방법에 대해 알아보겠다.

WMI는 로컬컴퓨터에서도 가능하지만 원격에 있는 컴퓨터의 정보를 가져오는 것도 가능하다.

이 의미는 자신의 컴퓨터에서 몇대의 컴퓨터의 상태를 script작성을 통해 알 수 있다는 것을 의미한다.

예시 1을 보자
해당 Script는 해당 컴퓨터에 올라가 있는 Service를 확인하기 위한 Script이다.
strComputer가 평상시엔 .(즉 자신의 컴퓨터) 였으나 지금은 IP가 들어가 있는 것을 알 수 있다.
strComputer의 값에는 IP or Hostname이 가능하다.

원격에 접속하는 부분은 이 부분을 확인하면 된다.
Set objWMIService = objSWbemLocator.ConnectServer(strComputer, _
    "root\CIMV2", _
    strUser, _
    strPassword, _
    "MS_409", _
    "ntlmdomain:" + strDomain)

즉 원격서버정보, 유저ID, Password, 서버 Domain을 입력하면 된다.
그러면 root\CIMV2와 MS_409의 의미는 무엇일까?
 root\CIMV2\ms_409
안에는 다양한 WMI의 Class가 등록되어 있다.

http://www.webtropy.com/articles/wmi-namespace.asp?wmi=root-CIMV2-ms_409

해당 링크를 확인하면 해당 Class의 정보를 확인 할 수 있다.
이것을 통해 WMI의 Class를 지정해 줌으로써 더 빠르게 Class들의 정보를 확인할 수 있게 한것을
알 수 있다.

원격 접속은 하나의 Component를 사용하는 개념으로 보면된다.
간단한 예로 Visual Basic의 Ado를 사용하기 위해 해당 Component를 추가한 후
접속 함수와 접속 변수의 값을 설정해 주면 접속이 되는 것과 같은 이치라고 할 수 있겠다.

[예시1] 원격서버(127.0.0.1은 loopback이므로 Local Computer)에 접속하여 현재 실행중인 서비스 확인
strComputer = "127.0.0.1"
strDomain = "Workgroup"
strUser = "유저이름"
strPassword = "유저패스워드"

Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator")
Set objWMIService = objSWbemLocator.ConnectServer(strComputer, _
    "root\CIMV2", _
    strUser, _
    strPassword, _
    "MS_409", _
    "ntlmdomain:" + strDomain)

Set colItems = objWMIService.ExecQuery( _
    "SELECT * FROM Win32_Service",,48)
For Each objItem in colItems 
    Wscript.Echo "Caption: " & objItem.Caption
Next


출처 : http://rockball.tistory.com
저작자 표시
크리에이티브 커먼즈 라이선스
Creative Commons License

Trackback 0 Comment 0
2010/02/25 18:41

Community Guide to PostgreSQL GUI Tools


Open Source / Free Software

pgAdmin III

http://www.pgadmin.org/

MS Windows, GNU/Linux, FreeBSD, Mac OS X, OpenBSD, Solaris

Admin

pgAdmin III is THE Open Source management tool for your PostgreSQL databases. Features full Unicode support, fast, multithreaded query and data editting tools and support for all PostgreSQL object types.

pgAdmin III is bundled with the Windows installer, and you can use that such a client to administer a remote server on another OS. Note that binary packages for platforms like RPM don't show up in every point release, you currently have to go back to v1.8.0 to get the last full set of packages.

Free Administration Centre for the PostgreSQL database. Includes a graphical administration interface, an SQL query tool, a procedural code editor and much more. pgAdmin III is designed to answer the needs of most users, from writing simple SQL queries to developing complex databases. The graphical interface supports all PostgreSQL features and makes administration easy. Available in more than 30 languages and for several operating systems. (2005-04-19)

PGAccess

http://www.pgaccess.org/

Most platforms

ERD

The original PostgreSQL GUI, with an MS Access-style database browser, written in Tcl/Tk. Allows browsing, adding and editing tables, views, functions, sequencese, databases, and users, as well as graphically-assisted queries. A form and report designer are also under development by the PGAccess team, who could use help from some more Tcl/Tk coders and doc writers. (JMB 11.2002)

PGAccess has not been actively maintained for some time.

phpPgAdmin

http://sourceforge.net/projects/phppgadmin

browser-based, requires webserver

Admin

Similar to the ever-popular phpMyAdmin, enhanced for PostgreSQL, supports browsing and modification of most types of PostgreSQL database objects, plus execution of ad-hoc queries. Maintained by (who else?) the phpPgAdmin team. (JMB 11.2002).

phpPgAdmin (and the required Apache and PHP packages) may be easily installed using Stack Builder if you are running a one-click-installer PostgreSQL distribution.

OpenOffice.org

http://dba.openoffice.org/drivers/postgresql/index.html

Windows, Linux, Solaris

Verbatim from the above URL :

The postgresql SDBC Driver allows to use the postgresql database from OpenOffice.org without any wrapper layer such as odbc or jdbc. The current version 0.7.6 can be considerded as good beta quality ( with some known issues and missing features). The driver is aimed at the 1.1 OpenOffice.org and OpenOffice.org 2.x versions, it does not work with OOo1.0.x trees. The final aim is to have an easier to use, faster, more feature rich database driver than the jdbc-odbc solution. The current version should already allow this in most places.

The Red Hat Database Graphical Tools, RHDB Administrator and Visual Explain

http://sources.redhat.com/rhdb

Linux

Admin

Red Hat has stood by their word and open-sourced their database tools which ship with Red Hat Database for the benefit of the PostgreSQL community. I haven't used these, a review would be nice. Developed by Red Hat, Inc. (JMB 11.2002)

Xpg: Java PostgreSQL client

http://www.kazak.ws/xpg

Most platforms

Admin

Java-based PostgreSQL database administrator, with access to tables and data entry, query interface and ability to export query results to HTML reports. Developed by Soluciones Kazak, in Spanish, but available in English as well. (JMB 11.2002)

(xpg has not been updated since 2004)

Mergeant

http://www.gnome-db.org/

Linux, Unix

Admin

Database administration/user tool for GNOME, based on libgda/libgnomedb, which are a complete database-independent access layer for UNIX systems, with support for PostgreSQL, MySQL, Sybase, MS SQL Server, Oracle, Interbase/Firebird, MS Access files, xBase.

TOra, an Oracle tool with some PostgreSQL support

http://tora.sf.net./

Linux & Windows

Admin

An Oracle database administration interface, with limited ability to browse PostgreSQL databases (tables, views, and functions only). I'm told that if you have the Oracle libraries, Tora's sophisticated function editor will work for PostgreSQL as well. Developed by Henrik Johnson as a Quest Toad clone. (JMB 11.2002)

KNoda

http://www.knoda.org/

FreeBSD & Linux

Admin

knoda is a database frontend for KDE. It is based on hk_classes and is released under the GNU General Public License (GPL).

PGInhaler

http://pginhaler.ifrance.com/pginhaler/

Admin

It's a free Java based PostgreSQL GUI. Haven't used it yet, but worth knowing about. (J.C.)

(PGInhaler has not been updated since 2002)

SQuirreL

http://squirrel-sql.sourceforge.net/

Macintosh/Windows

SQuirreL SQL Client is a graphical SQL client written in Java that will allow you to view the structure of a JDBC compliant database, browse the data in tables, issue SQL commands etc.

AnySQL Maestro

http://www.sqlmaestro.com/products/anysql/maestro/

Windows

AnySQL Maestro is a freeware tool for administering any database engine (PostgreSQL, SQL Server, Oracle, MySQL, MS Access, etc.), which is accessible via ODBC driver or OLE DB provider. Includes Database Designer, Visual Query Builder, BLOB Viewer/Editor, SQL Editor, Data export/import and other features.

SQL Workbench/J

http://www.sql-workbench.net/

Java (multi-platform)

An OpenSource SQL GUI tool similar to Squirrel. Data can be edited directly in the result set. It has strong support for exporting and importing data between databases using its own SQL command extension. It can be used in GUI mode or as a console application. All SQL Workbench specific commands can also be run in batch mode to automate export and import task. It supports schema comparison ("diff") and copying data between databases.

PostgreSQL PHP Generator

http://www.sqlmaestro.com/products/postgresql/phpgenerator/

Windows

PostgreSQL PHP Generator is a freeware but powerful PostgreSQL GUI frontend that allows you to generate high-quality PHP scripts for the selected tables, views and queries for the further working with these objects through the web.

WaveMaker Ajax GUI Design Tool

http://www.wavemaker.com/

Windows, Macintosh, Linux

WaveMaker is an Ajax-based GUI design tool for Postgres. WaveMaker is built using itself! WaveMaker generates a standard Java WAR file based on Spring, Hibernate and Dojo. WaveMaker supports Postgres schema creation and import and includes a visual query editor.

Druid III

http://druid.sourceforge.net/

Java (multi-platform)

The druid is a tools that allows users to create databases in a graphical way. The user can add tables, fields, folders to group tables and can modify most of the database options that follow the SQL-92 standard. In addition to sql options, the user can document each table and each field with HTML information. Once the database is created, the druid can generate:

  • HTML documentation: for all tables, with browsing facilities
  • PDF documentation: for all tables
  • Java classes: (one class for each table) that contain tables' constants (such as fields size) plus java code added by the user
  • A data dictionarythat contains all tables and fields present in the database
  • SQL script which contains all table definitions that can be piped to the DBMS
  • And much more info...

Power*Architect

http://www.sqlpower.ca/page/architect

Java (multi-platform)

Power*Architect is an ERD modelling tool that is based on Java and JDBC. Support for forward and reverse engineering PostgreSQL databases is supported. It's OpenSource with a GPL license.

Proprietary

Lightning Admin for PostgreSQL

http://www.amsoftwaredesign.com/lightning_admin

Windows, other platforms via WINE

Admin

Lightning Admin is one of the best GUI admin tools available and sports a modern tabbed MDI interface and is the least expensive full featured GUI admin tool on the market. Compare to Navicat or EMS and save big. Current price is $19.99 per user.

Borland Kylix

http://www.borland.com/kylix

Linux

ERD

driver: http://www.vitavoom.com/Products/pgExpress_Driver/index.html

The third most popular IDE for Linux, according to a recent Linux Journal poll. Focuses on interface-building for database applications, with some support for browsing database objects (I think). PostgreSQL native drivers are available free from Vita Voom Software. (JMB 11.2002)

DBOne

http://www.dbone.info/

Windows

Admin

DBOne is a shareware Database Administration Tool for PostgreSQL and Oracle, MSSQL, Sybase, DB2, SAPDB, Interbase/Firbird, MySQL.

DBTools Manager

http://www.dbtools.com.br/

Windows

Admin

Freeware, available for PostgreSQL and MySQL, allows managing all aspects of the database: db, table, triggers, functions, etc. Includes import/export wizards to migrate data and structure to/from other database engines. Developed by DBTools Software.

PgManager

http://www.ems-hitech.com/pgmanager

Windows, Linux version just released

Admin

Basically a proprietary, more powerful version of PGAdmin II or PGAccess. Adds support for trigger and constraint editing, metadata logging, and query monitoring. Also includes multiple-format data import/export tools, which are also available on their own for Linux. Developed by EMS Hitech. (JMB 4.2003).


Rekall

http://www.thekompany.com/products/rekall

Linux

ERD

Designed by The Kompany as a Linux-based competitor to MS Access, this simple interface and database interface-builder is unfortunately designed for MySQL and has some problems with PostgreSQL. Was still buggy in May 2002, but may be improved by now. Supports limited browsing of database objects, creation of data entry forms and reports. (JMB 11.2002)

Data Architect

http://www.thekompany.com/products/dataarchitect

Linux

ERD

I'm trying DataArchitect 2 from theKompany now for 6 month. Highly recommended if you want an easy to use DB-Design Tool, but generated SQL-Scripts needs some rework. PostgreSQL is supported, you easily can create Stored Procedures, Foreign Keys, Views and Triggers. (Bernd, 1.2003)

SyBase Power Designer

http://www.sybase.com/products/enterprisemodeling/powerdesigner

Admin

Sybase PowerDesigner is power tool with built in PostgreSQL support. It support tables, views, triggers, constraints and referential integrity. More advanced than Data Architect.

Microsoft Access

http://office.microsoft.com/

Windows + ODBC only

ERD, Admin

Yes, you can use MS Access as a PostgreSQL database interface. Supports data access to PostgreSQL tables and views; many ODBC-based limitations and errors. I don't need to tell anyone what MS Access' other capabilities are. (JMB 11.2002)

eRWin

http://www.ca.com/products/alm/erwin.htm

Windows

ERD

Apparently a high-end tool by Computer Associates with PostgreSQL support as a downloadable addon for some version(s). Haven't tried this. JC

DeZign for Databases

http://www.datanamic.com/

Windows

ERD

DeZign is a database development tool using an entity relationship diagram. It visually supports the lay out of the entities and relations and automatically generates SQL schemas for most leading databases including PostgreSQL.

PGExplorer

http://www.pgexplorer.com/

Windows (Shareware)

Admin NOTE this software is not maintained and has not had a new release in many years. Because of it's age it does not support schemas on PGSQL versions 7.3 and up.

Postgres Explorer is a full-featured GUI postgres development tool. Features include a tree view of your databases, and database objects. You can reverse engineer SQL statements from your database objects , modify the SQL and execute it. Wizards will guide you through the process to generate SQL for various objects and statements. The latest release includes a Graphical Select Query Designer (anonymous, 4.2003)

Case Studio 2

http://www.casestudio.com/

Windows

ERD

I just downloaded the trial version, so far it looks real promising and claims to support PostgreSQL. Handles reverse engineering of existing databases, and has a real nice interface for setting up tables, relationships etc. You can get a lite or full version. The description from the website... Professional database modeling tool for various databases. CASE Studio 2 includes following key features:

LITE version features + Reverse Engineering from various database systems Version Manager Data Flow Diagrams Definition of user defined variables Large COM interface Users, User groups and User permission support and many more.

pgEdit

http://pgedit.com/

Macintosh/Windows

pgEdit is a high performance SQL editor and development environment designed specifically for PostgreSQL relational databases. pgEdit features include SQL syntax coloring, direct source code execution, PHP support, integrated documentation, and extensive customizable editing facilities.

pgEdit uses psql, the interactive terminal application included with every PostgreSQL installation. This makes it easy to develop with pgEdit and then transfer your work to any PostgreSQL installation for maintenance and production tasks.

pgEdit is a native application for both Macintosh and Windows. It does not use Java or require installation of external libraries. You have the option of using the version of psql included with pgEdit or a different version installed anywhere on your hard drive.


RazorSQL

http://www.razorsql.com/

Macintosh/Windows/Linux/Solaris

RazorSQL is an SQL query tool, database browser, SQL editor, and database administration tool that supports PostgreSQL and any other JDBC or ODBC compliant database. Some of the major features are tools for creating, dropping, and altering objects such as tables, views, indexes, triggers, functions, users, and databases; a programming editor that supports 20 different programming languages; import and export tools; auto column and table lookup; and a query builder, query scheduler, and SQL formatter.


MicroOLAP Database Designer

http://www.microolap.com/products/database/postgresql-designer/

Windows ODBC

Database Designer for PostgreSQL is an easy CASE tool with intuitive graphical interface allowing you to build a clear and effective database structure visually, see the complete picture (diagram) representing all the tables, references between them, views, stored procedures and other objects. Then you can easily generate a physical database on a server, modify it according to any changes you made to the diagram using fast ALTER statements.

Aqua Data Studio

http://www.aquafold.com/index-postgresql.html

Java: Windows/Linux/Macintosh OSX/Solaris

Aqua Data Studio is a management tool for the PostgreSQL relational database w/ administration capabilities and a database query tool. The visual administration features provide users the ability to browse and modify database structures, including schema objects, database storage and maintain database security. An integrated query tool allows users to quickly create, edit and execute SQL queries and scripts. Aqua Data Studio also provides an import and export tool to allow users to easily move data in and out of the PostgreSQL database in and from different data formats.

EMS SQL Management Studio for PostgreSQL

http://www.sqlmanager.net/en/products/studio/postgresql

Windows

EMS SQL Management Studio for PostgreSQL is a complete solution for PostgreSQL database administration and development. With components that focus on all critical PostgreSQL database management tasks, SQL Studio is a single workbench that provides you with must-have tools for administering PostgreSQL databases, managing database schema and objects as well as for PostgreSQL database design, migration, extraction, PostgreSQL query building, data import, export and database comparison. SQL Studio unites these database tools for PostgreSQL in one powerful and easy-to-use environment that can work round the clock. With SQL Management Studio many database administration objectives, such as migration, data loading and synchronization, database backup and extraction can be automated, allowing PostgreSQL database administrators and PostgreSQL application developers to perform complex tasks on a regular basis with the minimum number of efforts and a high level of flexibility.

Navicat

http://pgsql.navicat.com/

Windows/Macintosh OSX

Navicat is a powerful PostgreSQL Database Server administration and development tool. It works with PostgreSQL 8.0 version or above and supports most of the PostgreSQL features including Trigger, Function, View, Manage User, and so on. It is also not only sophisticated enough for professional developers, but also easy to learn for new users. With its well-designed GUI, Navicat lets you quickly and easily create, organize, access and share information in a secure and easy way.

SQL Maestro Group products for PostgreSQL

http://www.sqlmaestro.com/products/postgresql/

Windows

SQL Maestro Group offers a number of tools for PostgreSQL.

  • PostgreSQL Maestro allows you to create, edit, copy, drop and dump database objects easy and fast. You can also design your database as ER diagram, build queries visually, execute SQL queries and scripts, debug PL/pgSQL functions, view and edit data including BLOBs, represent data as diagrams, export and import data to/from most popular file formats, analyze your data summarized into multidimensional views and hierarchies (OLAP cubes), manage PostgreSQL roles, users, groups and privileges, and use a lot of other admin tools designed for making your work with PostgreSQL database server comfortable and efficient.
  • PostgreSQL Data Wizard provides you with a number of easy-to-use wizards to generate PHP and ASP.NET scripts for the selected tables, views and queries, convert any ADO-compatible database to the PostgreSQL database, export data from PostgreSQL tables, views and queries to most popular formats, and import data into the tables.

SQL Maestro Group also produces similar tools for MySQL, Oracle, MS SQL Server, DB2, SQL Anywhere, SQLite, Firebird and MaxDB.

DB Data Difftective PostgreSQL Edition

http://www.datanamic.com/datadiff/index.html

Windows

DB Data Difftective is a utility for data comparison and synchronization. Compare data for selected tables in two databases, view differences and publish changes quickly and safely. Flexible comparison and synchronization settings will enable you to set up a customized comparison key and to select tables and fields for comparison and for synchronization. DB Data Difftective can be used for data migrations, verification of (corrupt) data, data auditing etc.

DB Schema Difftective PostgreSQL Edition

http://www.datanamic.com/schemadiff/index.html

Windows

DB Schema Difftective is a tool for comparison and synchronization of database schemas. It allows you to compare and synchronize tables, views, functions, sequences (generators), stored procedures, triggers and constraints between two databases.

DB MultiRun PostgreSQL Edition

http://www.datanamic.com/multirun/index.html

Windows

DB MultiRun is a simple tool to execute multiple SQL scripts on multiple databases quickly. Define a list of databases, add SQL scripts to execute on these databases and click "execute" to run those scripts on the databases in the list. The multi-threaded execution of the SQL scripts makes it complete the task fast. After execution of the scripts you can examine the results of the executed scripts on each database.

SQLPro

http://www.vive.net/products/sqlpro.htm

Windows

SqlPro is an easy to use database GUI tool for six popular databases (Oracle, MySQL, PostgreSQL, SQL Server, SQLite and Access). One IDE makes database administration and development faster and error free. SQLPro Key Features: color-coding of the SQL, drag-and-drop of objects into the editor pane to save you from typing their names, retrieval of SQL code for things like stored procedures and triggers from the underlying database, and one-click creation of SELECT and INSERT statements. You can open, save and print SQL scripts. SQLPro uses native drivers to connect to the databases (no ODBS or third party engines to install).

SQL Image Viewer

http://www.sqlimageviewer.com/

Windows

SQL Image Viewer allows you to retrieve, view, convert and export images stored in Firebird, MySQL, Oracle, SQLite, SQL Server, and various ODBC-supported databases (e.g. DB2 and PostgreSQL). It supports the following image formats: BMP, GIF, JPG, PNG, PSD, and TIFF.

It also allows you to export binary data, and recognises the following binary file types: PDF, MP3, WAV, 7Z, BZ2, GZ, RAR, ZIP, and has experimental support for DOC, PPT and XLS file types.


출처 : http://wiki.postgresql.org

저작자 표시
크리에이티브 커먼즈 라이선스
Creative Commons License

Trackback 0 Comment 0