-
Notifications
You must be signed in to change notification settings - Fork 147
Tadpole DB HUB(MongoDB) User Guide
- Date : 17 Aug 2013
- Written : HyunJong Cho([email protected])
Welcome to Tadpole! This is a web-based DB Query tool. You can connect variety DB in web browser and can control function for each users(user or admin or dba and so on). The goal is a DB HUB for all DB.
Homepage : https://github.com/hangum/TadpoleForDBTools/wiki License : Lesser General Public License(LGPL) Donate with paypal itโs easy to give with PayPal for Tadpole. Detail see - https://github.com/hangum/TadpoleForDBTools/wiki/Donor-List Contact : TADPOLE([email protected]) Now we are supporting - Amazon RDS, CUBRID, MarisDB, Oracle, MySQL, MSSQL, PostgreSQL, SQLite, MongoDB. Tadpole lets you creatively focus on your project by simply the amount of work needed for a given task.
List of tested
- Amazon RDS : aws-java-sdk-1.4.7
- CUBRID : 8.4.x ~
- Oracle : 10g ~
- MySQL : 5.4.x ~
- MariaDB : 5.5.x ~
- MSSQL : 2000 ~
- PostgreSQL : 9.1.x ~
- SQLite : 3.7.2 ~
- MongoDB : 2.0.5 ~
Documentation
This is explain for MongoDB.
- Install
- Getting started
- Standalone
- Tomcat
- Login
- Authorization
- The whole view of Tadpole
- Toolbar
- Database List
- Object Explorer
- Dataabase Information ์๋ํฐ
- Find Collection
- GridF
- Profiling
- ERD
- Import
- Session List
- User Management
- JAVA 1.6.x(Mac 1.7.x)
- Linux, Mac, Windows, Tomcat 6.x (If you want to user the other O.S, connect me : [email protected])
- Download ๋ฐ์์ ์ ๋นํ ๋๋ ํ ๋ฆฌ์ ์์ถ์ ํ๋๋ค.
- Reference more
- Execute TadpoleDBHub-1.x.x\tadpole-standalone.exe
- After install, automatically run a web-browser(OR you can install the TadpoleForDBToolsStartup by double click). It will happen to you when you first start that you can't find the page to the web-browser cause engine is starting. Don't freak out. Let's click F5(Refresh).
- Open the web-browser and start 'http://127.0.0.1:10081/tadpole'
ps) Tadpole DB is TadpoleDBHub-1.x.x/configuration/tadpole/db/tadpole-system.db. Please install new version and backup.
- Did you have installed Tadpole before? OK. Please backup a apache-tomcat-6.x.x/work/Catalina/localhost/tadpole/eclipse/configuration/tadpole/db/tadpole-system.db file. And delete apache-tomcat-6.x.x/work directory.
- Change war name to 'tadpole.war' from 'TadpoleDBHub1.x.x-tadpole.war'.
- The WAR file should be in the webapp directory path. And Tomcat should be installed and running.
- If the context root is tadpole, start http://127.0.0.1:8080/tadpole/tadpole in the web-browser.
- If you upgrade to datas of old data, copy to tadpole-system.db from a backup file(number1. apache-tomcat-6.x.x/work/Catalina/localhost/tadpole/eclipse/configuration/tadpole/db/tadpole-system.db) in same directory.
- Test mode window.
- Tadpole has Admin, Manager, User(Developer). First DEFAULT USER made.
- Let's login as a Admin([email protected]/admin), Manager([email protected]/manager), User([email protected]/guest).
- If you want to try test mode, you don't need to EMAIL ADDRESS, PASSWORD. We supported 'admin login/user login' for test mode. Do you want use to test mode? Click the button.
- Add new user : (https://github.com/hangum/TadpoleForDBTools/wiki/RDB-User-Guide-Kor#%EC%8B%A0%EA%B7%9C-%EC%9C%A0%EC%A0%80-%EB%93%B1%EB%A1%9D)
- ์ด๋๋ฏผ์ ์์คํ ์ ๋ฑ๋ก๋ ๋ชจ๋ ๋๋น(ํจ์ค์๋ ์ ์ธ)์ ์ฌ์ฉ์๋ฅผ ๊ด๋ฆฌ ํฉ๋๋ค.
- ๊ด๋ฆฌ์๋ ์ฌ์ฉ์ ๊ทธ๋ฃน์ ๊ด๋ฆฌ ํฉ๋๋ค. ์ฌ์ฉ์๋ค๊ณผ DB, ๋ฆฌ์์ค๋ฑ์ ๊ณต์ ํ๋ฉฐ ํจ๊ป ์ฌ์ฉ ํฉ๋๋ค. ์ฒ์ ๊ด๋ฆฌ์๋ฅผ ๋ง๋์ค๋๋ ํ๋ก์ ํธ ๊ทธ๋ฃน ์ฒ์๋ฑ๋ก์ ์ด๋๋ฏผ์ ํ๋ฝ์ด ํ์ํฉ๋๋ค. DB๋ฅผ ๋ฑ๋ก ์ญ์ ํ ์ ์์ต๋๋ค. ์ฌ์ฉ์๋ ๋๋น๋ฅผ ๋ฑ๋ก ํ ์ ์์ต๋๋ค.
- DBA๋ ์ฌ์ฉ์ ๋ฆฌ์คํธ์ ๋๋น๋ฅผ ๋ณผ ์ ์์ผ๋ฉฐ, ์ฌ์ฉ์๊ฐ ์คํํ ์ฟผ๋ฆฌ๋ฅผ ๊ด๋ฆฌํ ์ ์์ต๋๋ค.
- ์ฌ์ฉ์๋ ์ค์ ์ฌ์ฉ์ ์ ๋๋ค. ์ฌ์ฉ์๋ ํน์ ๊ทธ๋ฃน์ ์์ ๋์ด์ผ ํ๋ฉฐ ๊ด๋ฆฌ์์ ์น์ธ ํ ๋ก๊ทธ์ธ ๊ฐ๋ฅํฉ๋๋ค. ๊ด๋ฆฌ์๊ฐ ๋ฑ๋กํด ๋์ ๋๋น๋ฅผ ์ฌ์ฉํ ์ ์์ผ๋ฉฐ, ์ฟผ๋ฆฌ๋ฑ์ ๋ค๋ฅธ ์ฌ์ฉ์์ ๊ณต์ ํ ์ ์์ต๋๋ค.
- Toolbar(https://github.com/hangum/TadpoleForDBTools/wiki/RDB-User-Guide-Kor#%ED%88%B4%EB%B0%94) : Connection DB, save, authority(if it is a 'manager' or an 'admin' user), environment and so on.
- Database List(https://github.com/hangum/TadpoleForDBTools/wiki/RDB-User-Guide-Kor#%EB%8D%B0%EC%9D%B4%ED%84%B0%EB%B2%A0%EC%9D%B4%EC%8A%A4-%EB%AA%A9%EB%A1%9D) : New create DB, delete, shared user's data.
- Object Explorer(https://github.com/hangum/TadpoleForDBTools/wiki/RDB-User-Guide-Kor#%EC%98%A4%EB%B8%8C%EC%A0%9D%ED%8A%B8-%ED%83%90%EC%83%89%EA%B8%B0) : Show the Object(Table, View)' list of select to the Database List.
- Main UI(https://github.com/hangum/TadpoleForDBTools/wiki/RDB-User-Guide-Kor#sql-editor) : Show the DB Query editor, MongoDB profile viewer and main job viewer.
A toolbar is a GUI widget on which on-screen buttons, icons, menus, or other input or output elements are placed. And limited permission. 'Manager' can use all function, 'User' can't create DB, delete, profile functions.
- Show connection DB window.
- Save data in current SQL Editor.
- Show SQL Editor selected 'Database List' window.
- Show ERD Editor selected 'Database List' window.
- Delete shared resources selected 'Database List' window.
- Show user, db information.
- Show query statements history information all DB.
- Show environment information.
- Show bug, request issues.(need to Github account)
- Show system preferences.
- Close button.(If standalone, program shutdown, or run Tomcat, logout)
Display DB list which do allow the connections. Managing DB. Use shared connection information to user in same groups.
Only Manager permission user can add DB.
- DB List for connection
- System preference to management Tadpole
- Server type : Input DB of server type
- Server type -> Production Server : Create management DB. If the database is active, 'user' can't delete Collection.
- Server type -> Developer Server : This is development DB and you can do all thing for except permission.
- Server type -> Others Server : This is add other uses of a DB and you can do all thing for except permission.
- Group : DB group to add each other easier.
- Name : DB name for Database List.
- Input database information selected no.1.
- Additional information connected no.2.
- Readonly Connection : Can't remove, Modify and so on connected DB. Only SELECT statements is possible in SQL Editor.
- Auto Commit : When the auto-commit mode is enabled, the operation commits the transaction immediately after an INSERT, UPDATE or DELETE operation. When auto-commit is disabled, the transaction must be committed (through the effective SQL session) as required.
- Table Filters : The filter is hidden and shown in the 'Object Explore'.
- Profile : Query description, query execution time, monitor, result, and measure your application's SQL statements and stored procedures.
- Show Tables : Display all of the tables in 'Object Explore'. When single schema has large tables, hide table and it prevent much slow for current status.
- Test, Save, Cancel to saved DB.
- Test Connection : Display the information, when it is possible for a connection to input information of no.2.
- Confirm : Add input DB connection information.
- Cancel : Cancel add DB and close job..
If you add DB in the 'Database List', display in the group. And open SQL Editor of DB.
- DB๋ 'DB์์ด์ฝ [D] ๋ฑ๋ก์ด๋ฆ (๊ฐ์ ์ ๋ณด)' ํ์ ๋ฉ๋๋ค.
- ์ฒซ ๋ฒ์งธ๋ DB์ ์ข ๋ฅ์ ๋๋ค.
- [D]๋ Developer Server์ ์ฝ์ด์ ๋๋ค. Production Server๋ [P]๋ก ํ์๋๋ฉด Others Server๋ [O]๋ก ํ์๋ฉ๋๋ค.
- ๋ฑ๋กํ๋ ์ด๋ฆ ์ ๋๋ค.
- ๋ฑ๋กํ๋ DB์ ๊ณ์ ์ ๋ณด์ ๋๋ค. (์ฌ์ฉ์ ๊ถํ์ ์ ์ ๋ ๋ณด์ด์ง ์์ต๋๋ค)
- DB๋ฅผ ์ ํํ๋ฉด, '์ค๋ธ์ ํธ ํ์๊ธฐ'์ Object(์๋ฅผ ๋ค์ด. ์ ํ๋ DB์ Collections, Indexes, JavaScript)๊ฐ ํ์๋ฉ๋๋ค.
- DB๋ฅผ ๋๋ธ ํด๋ฆญํ๋ฉด DB์ ์ธ์คํด์ค ์ ๋ณด, Collection ์์ฝ, ๋๋น ๋ฝ, ๋ฆฌํ๋ฆฌ์นด ์ , ์ค๋ฉ ์ ๋ณด ์ฐฝ์ด ์ด๋ฆฝ๋๋ค.
- DB๋ฅผ ์ ํ ํ ๋ง์ฐ์ค ์ค๋ฅธ์ชฝ ๋ฒํผ์ ํด๋ฆญํ๋ฉด ์ฌ์ฉ์ ๊ถํ์ ์์ ์ด ํ์ ๋ฉ๋๋ค.
- Refresh : '๋ฐ์ดํฐ๋ฒ ์ด์ค ๋ชฉ๋ก'์ฐฝ์ ์ต์ ์ ๋ณด๋ก ๊ฐฑ์ ํฉ๋๋ค.
- ์น ์ฝ์ : MongoDB WebConsole ์ฐฝ์ด ์ด๋ฆฝ๋๋ค.
- Server Status : DB ํ๋ก์ธ์ค ์ฌ์ฉ์ ๋ณด ๋ค์ด์ผ๋ก๊ทธ๊ฐ ๋ณด์ฌ ์ง๋๋ค.
- GridFS : GridFS ๋ช ๋ น์ ๊ฒฐ๊ณผ ๋ค์ด์ผ๋ก๊ทธ๊ฐ ๋ณด์ฌ์ง๋๋ค.
- Top : DB ์ฌ์ฉ ์ ๋ณด ๋ค์ด์ผ๋ก๊ทธ ์คํ๋ฉ๋๋ค.
- ERD -> ๋ชจ๋ ํ ์ด๋ธ ERD : DB์ ๋ชจ๋ ํ ์ด๋ธ์ ๊ด๊ณ๋ฅผ ๋ณด์ฌ์ค๋๋ค.
- ERD -> ERD ๊ธฐ๋ณธ์ฐฝ ์์ฑ : ERD์ ๊ทธ๋ฆด ์ ์๋ ์ฐฝ์ด ์์ฑ ๋ฉ๋๋ค. ์ฌ์ฉ์๋ '์ค๋ธ์ ํธ ํ์๊ธฐ'์์ ํ ์ด๋ธ๋ค์ ๊ฐ์ ธ๋ค ๋์์ ์์ต๋๋ค.
- Administer -> ํ๋กํ์ผ : DB์์ ์คํ ํ๋ ์ฟผ๋ฆฌ ์ ๋ณด๋ฅผ ๋ณด์ฌ์ค๋๋ค.
- Administer -> ์ฌ์ฉ์ ๊ด๋ฆฌ : DB ์ฌ์ฉ์ ๊ด๋ฆฌ ๋ค์ด์ผ๋ก๊ทธ๊ฐ ์คํ๋ฉ๋๋ค.
- Administer -> DB Information : '์ค๋ธ์ ํธ ํ์๊ธฐ'์ Object(์๋ฅผ ๋ค์ด. ์ ํ๋ DB์ Collections, Indexes, JavaScript)๊ฐ ํ์๋ฉ๋๋ค.
- Administer -> Session List : DB์์ ํ์ฌ ์คํ ์ค์ธ Session ๋ชฉ๋ก์ ๋ณด์ฌ์ค๋๋ค.
- Administer -> ์ํฌํธ : ์ฌ์ฑ์ด์ ์ฐ๊ฒฐ๋ DB์ ๋ฐ์ดํฐ๋ฅผ MongoDB๋ก ๋ฐ์ดํฐ๋ฅผ ๊ฐ์ ธ์ต๋๋ค.
- Administer -> Delete Database : DB๋ฅผ ์ญ์ ํฉ๋๋ค. ๋ชจ๋ ์ฌ์ฉ์์ DB๊ฐ ์ญ์ ๋๋ ์ ์คํ๊ฒ ์ ํํด์ผ ํฉ๋๋ค.
'๋ฐ์ดํฐ๋ฒ ์ด์ค ๋ชฉ๋ก'์์ DB๊ฐ ์ ํ๋๋ฉด, Collections, Indexes, JavaScript๊ฐ ํ์๋ฉ๋๋ค.
Filter : Collection์ ๊ฒ์ํฉ๋๋ค
- Collection์ด ์ ํ๋๋ฉด Collection์ field์ ๋ณด๊ฐ ํ์๋ฉ๋๋ค.
- Collection์ ๋๋ธํด๋ฆญํ๋ฉด Collection ์กฐํ ์ฐฝ์ด ๋ํ๋ฉ๋๋ค.
- Collection์ ์ ํํ๊ณ ๋ง์ฐ์ค ์ค๋ฅธ์ชฝ ๋ฒํผ์ ๋๋ฅด๋ฉด ํ์ ๋ฉ๋ด๊ฐ ๋ํ๋ฉ๋๋ค.
- Create Collection : Collection์ ์์ฑํฉ๋๋ค.
- Drop Collection : Collection์ ์ญ์ ํฉ๋๋ค.
- Refresh Collection : ํ์ฌ ์ฐฝ์ ์ต์ ์ ๋ณด๋ก ๊ฐฑ์ ํฉ๋๋ค.
- Generate Statement : Collection : Collection์ ์๋ก์ด row๋ฅผ ์ถ๊ฐํฉ๋๋ค.
- Rename Collection : Collection ์ด๋ฆ์ ์์ ํฉ๋๋ค.
- ReIndex Collection : Connection์ ์ธ๋ฑ์ค๋ฅผ ์๋กญ๊ฒ ๊ตฌ์ฑํฉ๋๋ค. Collection์ ๋ฐ์ดํฐ๊ฐ ๋ง์ ๊ฒฝ์ฐ ์ฃผ์๊ฐ ํ์ํฉ๋๋ค.
์ฐ๊ฒฐ๋ ๋ชฝ๊ณ ๋๋น์ ๋ชจ๋ Collection ์ ๋ณด๋ฅผ ๋ณด์ฌ ์ค๋๋ค. ์ด ํ๋ฉด์ Connectection Manager์์ ๋๋น๋ฅผ ๋๋ธํด๋ฆญํ์ฌ ๋ณผ ์ ์์ต๋๋ค.
- Name Filter : Collection ์ด๋ฆ์ ๊ธฐ์ค์ผ๋ก ํํฐ๋ง ํฉ๋๋ค.
- Collection์ ์ ํํ๋ฉด ํด๋น Collection์ field์ ๋ณด๊ฐ ์ถ๋ ฅ๋ฉ๋๋ค.
- Collection์ ๋๋ธ ํด๋ฆญํ๋ฉด ํด๋น Collection์ ๊ฒ์ํ๋ ์ฐฝ์ผ๋ก ์ด๋ํฉ๋๋ค.
- ํ๋จ์๋ DB์ summary์ ๋ณด๊ฐ ์ถ๋ ฅ๋ฉ๋๋ค.
Collection ์ ๋ณด๋ฅผ ๊ฒ์ํฉ๋๋ค. ๊ธฐ๋ณธ์ ์ผ๋ก JSON ์ผ๋ก ๊ฒ์ ํ ์ ์๋ ์ฐฝ์ด ์กด์ฌํฉ๋๋ค. ๊ธฐ๋ณธ์ ์ธ ๊ฒ์ ๊ฒฐ๊ณผ๋ฅผ Tree, Tableํํ๋ก ๋ณด์ฌ์ค๋๋ค. ์๋ํฐ์์ Ctrl + Space๋ฅผ ๋๋ฅด๋ฉด Field์ ๋ณด๊ฐ ํ์ ๋ฉ๋๋ค.
- Collection ๊ฒ์ ์ฐฝ
- ์กฐ๊ฑด์ ๋ค์๊ณผ ๊ฐ์ด ์ ๋ ฅํฉ๋๋ค. op field ๊ฐ query์ธ ํญ๋ชฉ์ ๊ฒ์ํ๋ค๊ณ ํ๋ฉด ๋ค์๊ณผ ๊ฐ์ต๋๋ค. {op : 'query'}
- Find : ๊ฒ์ ์ ๋ณด๋ฅผ ์ ๋ ฅ ํฉ๋๋ค ์๋ฅผ ๋ค์ด ์์ ์บก์ณํ๋ฉด์์๋ item_id๊ฐ 7์ธ ์ ๋ณด๋ฅผ ๊ฒ์ํ๋ ์์ ์ ๋๋ค.
- Field : ์์ ์บก์ณํ๋ฉด์์ ๊ฒ์ ๊ฒฐ๊ณผ ํ๋๋ฅผ quantity๋ฅผ ๋ณด์ฌ์ค๋๋ค. ๋ง์ฝ์ ๋ชจ๋ Field๋ฅผ ๋ณด์ฌ์ฃผ๋ ค๋ฉด ์ ๋ ฅํ์ง ์์ต๋๋ค.
- Sort : ์์ ์บก์ณํ๋ฉด์์ ํ๋ quantity๋ฅผ ๋ด๋ฆผ์ฐจ์์ผ๋ก ๊ฒ์ํฉ๋๋ค.
- Skip : ๊ฒ์ ๊ฒฐ๊ณผ ์ค์ Skipํฉ๋๋ค.
- Limit : ๊ฒ์ ๊ฒฐ๊ณผ ์ค์ ์กฐ๊ฑด์ 100๊ฑด ๋ง ํ์ํฉ๋๋ค.
- ์ฟผ๋ฆฌ ํ๋ : ๊ฒ์ ์กฐ๊ฑด์ query explain ์ ๋ณด๋ฅผ ๋ค์ด์ผ๋ก๊ทธ ํ๋ฉด์ ์คํํฉ๋๋ค.
- ์๋ฒ ๋ฉ์์ง : ๊ฒ์ ์ค์ ์๋ฒ์์ ๋ฐ์ํ ๋ฉ์์ง ๋ค์ด์ผ๋ก๊ทธ ํ๋ฉด์ ์คํํฉ๋๋ค.
- ๊ฒ์ : ๊ฒ์์ ์์ํฉ๋๋ค.
- ๊ฒ์ ๊ฒฐ๊ณผ๋ฅผ ์ถ๋ ฅํฉ๋๋ค.
- Tree View : ๊ฒ์ ๊ฒฐ๊ณผ๋ฅผ Tree ํํ๋ก ์ถ๋ ฅํฉ๋๋ค. Valueํด๋ฆญํ์ฌ ๊ฐ์ ์์ ํ ์ ์์ต๋๋ค. ๊ฒฐ๊ณผ๋ฅผ ๋๋ธํด๋ฆญํ๋ฉด JSONํ์์ผ๋ก ํ์๋ฉ๋๋ค.
- Table View : ๊ฒ์ ๊ฒฐ๊ณผ๋ฅผ Table ํํ๋ก ์ถ๋ ฅํฉ๋๋ค. ๊ฒฐ๊ณผ๋ฅผ ๋๋ธํด๋ฆญํ๋ฉด TREEํ์์ผ๋ก ํ์๋ฉ๋๋ค.
- Tadpole Message : ๊ฒ์ ์คํจ์ ์ ๋ณด๋ฅผ ์ถ๋ ฅํฉ๋๋ค.
- ๊ฒ์ ๊ฒฐ๊ณผ์ ๋ฐ๋ฅธ ๋ช ๋ น์ ์ํํฉ๋๋ค.
GridFS์ ๋ชฝ๊ณ ๋๋น์์ ํ์ผ์ ์ฌ๋ฆฌ๊ฑฐ๋ ๋ด๋ฆด ์ ์์ต๋๋ค.
- bucket : ๊ฒ์ ํ bucket ์ด๋ฆ
- File Name : ๊ฒ์ ํ ํ์ผ ์ด๋ฆ
- Skip : ๊ฒ์ ๊ฒฐ๊ณผ skip ์
- Limit : ๊ฒ์ ๊ฒฐ๊ณผ Limit ์
- Search Button : ๊ฒ์ ๊ฒฐ๊ณผ
- Insert Button : ์ ๋ ฅ ๋ค์ด์ผ๋ก๊ทธ
- Delete Button : file ์ ํ ํ ์ญ์ ๋ฒํผ
- Download Button : file download
Insert ๋ฒํผ์ ํด๋ฆญํ๋ฉด ๋ค์๊ณผ ๊ฐ์ ํ๋ฉด์ด ์คํ ๋ฉ๋๋ค.
- Bucket Name : ์ ์ฅ ํ bucket ์ด๋ฆ์ ์ ๋ ฅํฉ๋๋ค.
- Select File ๋ฒํผ : ์ ๋ก๋ ํ ํ์ผ์ ์ ํํฉ๋๋ค.
- Upload ๋ฒํผ : Select File์์ ์ ํํ ํ์ผ์ ์ ๋ก๋ ํฉ๋๋ค.
- OK ๋ฒํผ : ์ ์ฅ ํฉ๋๋ค.
๋ชฝ๊ณ ๋๋น๋ ์คํํ ์ง์๋ฅผ ํ๋กํ์ผ ํ๋ ๊ธฐ๋ฅ์ด ์์ต๋๋ค.
- Start Profiling ๋ฒํผ : ๋ชฝ๊ณ ๋๋น์ ํ๋กํ์ผ์ ํ๋ฒ๋ ์ํํ์ง ์์๋ค๋ฉด ํด๋ฆญํ์ฌ ์ฟผ๋ฆฌ์ ํ๋กํ์ผ์ ์์ํฉ๋๋ค.
- Stop Profiling ๋ฒํผ : ๋ชฝ๊ณ ๋๋น์ ํ๋กํ์ผ์ ์ค์งํฉ๋๋ค.
- Remove Profile Data ๋ฒํผ : ํ๋กํ์ผ ๋ฐ์ดํฐ๋ฅผ ์ญ์ ํฉ๋๋ค.
- Display ํ ์คํธ : ํ๋ฉด ๊ฐฑ์ ์ฃผ๊ธฐ
- Great then(millis) ํ ์คํธ : ์ฟผ๋ฆฌ ์ํ ์๋
- Limit ํ ์คํธ : ์ฟผ๋ฆฌ ๊ฒ์ ๊ฒฐ๊ณผ ํ๋
- Start Refresh : Great then, limit ์กฐ๊ฑด์ผ๋ก ๊ฒ์์ ์์ํฉ๋๋ค.
- Stop Refresh : ๊ฒ์์ ์ค์งํฉ๋๋ค.
Query๊ฐ ์๋ ๊ฒ์ ์กฐ๊ฑด์ ๊ฒฝ์ฐ ์ฟผ๋ฆฌ๋ฅผ ํ๋ ํ ์ ์์ต๋๋ค. ํ๋์ด ํ์ํ ํ์ ๋๋ธ ํด๋ฆญํ๊ฑฐ๋, Show Detail ๋ฒํผ์ ํด๋ฆญํ๋ฉด ํ๋ ํ๋ฉด์ด ์คํ ๋ฉ๋๋ค.
๋ชฝ๊ณ ๋๋น์ ์ปฌ๋์ ์ ๋ณด๋ฅผ ์ฝ์ด์ ๋ค์ด์ด๊ทธ๋จ ํํ๋ก ๋ณด์ฌ์ง๋๋ค. Connection Manager์์ All Table ERD๋ฅผ ํด๋ฆญํ๋ฉด, ๋๋น์ ๋ชจ๋ Collection ๋ฅผ diagram์ผ๋ก ํํ ํฉ๋๋ค. Create ERD Diagram์ ํด๋ฆญํ๋ฉด Object Explorer์์ ์ฌ์ฉ์๊ฐ ์ํ๋ Collection๋ง ์ถ๋ ฅ ํ ์ ์์ต๋๋ค.
์ฌ์ฑ์ด์ ์ฐ๊ฒฐ๋ ๋๋น์ ๋ฐ์ดํฐ๋ฅผ ๋ชฝ๊ณ ๋๋น๋ก Importํ๋ ๊ธฐ๋ฅ์ ๋๋ค. ํ ์ด๋ธ์ ์ ์ฒด ํน์ ์ฟผ๋ฆฌ๋ฅผ ์ ๋ ฅํ์ฌ ๋ชฝ๊ณ ๋๋น์ ๋ฐ์ดํฐ๋ฅผ importํฉ๋๋ค.
ํ ์ด๋ธ ๋ฐ์ดํฐ๋ ๊ฐ์ ธ์ฌ ๋๋ RDB์ ํ ์ด๋ธ ๋ช ์ ๋ชฝ๊ณ ๋๋น ์์๋ Collection ๋ช ์ผ๋ก ๊ฐ์ ธ์ต๋๋ค.
์ฟผ๋ฆฌ ์ ๋ณด๋ฅผ ์ด์ฉํ์ฌ ๋ฐ์ดํฐ๋ฅผ ์ํฌํธ ํฉ๋๋ค
- MariaDB, MySQL์ Session List๋ฅผ ๋ณผ ์ ์์ต๋๋ค.
Session List๋ DB์์ ์คํ ์ค์ธ Session ๋ชฉ๋ก์ด ํ์๋ฉ๋๋ค. ์ฅ์๊ฐ ์คํ ์ค์ธ ์ฟผ๋ฆฌ๋ ๋น์ ์์ ์ธ ์ฟผ๋ฆฌ๋ฅผ ์ข ๋ฃ ํ ์ ์์ต๋๋ค.
- Session List์์ ์คํํ ์ ์๋ ๊ธฐ๋ฅ์ ๋ชจ์ ๋์์ต๋๋ค.
- ํ์ฌ์คํ ์ค์ธ ์ฟผ๋ฆฌ ๋ชฉ๋ก์ ํ์ํฉ๋๋ค.
- โก๋ฒ์ ์ฟผ๋ฆฌ๋ฅผ ์ ํํ๋ฉด, ์ด๋ค ์ฟผ๋ฆฌ๊ฐ ์คํ ์ค์ธ์ง ์ค์ SQL ๋ฌธ์ด ํ์๋ฉ๋๋ค.
๊ทธ๋ฃน์ ์ฌ์ฉ์ ๋ฆฌ์คํธ์, DB ๋ฆฌ์คํธ๋ฅผ ๊ด๋ฆฌํ๋ฉฐ ์ฌ์ฉ์๋ฅผ ์ถ๊ฐํ๊ฑฐ๋, ์ฌ์ฉ์ค์ง ์ํ๋ก ๋ณ๊ฒฝ ํ ์ ์์ต๋๋ค. ํน์, ์ฌ์ฉ์๊ฐ ์คํ ํ๋ ์ฟผ๋ฆฌ๋ชฉ๋ก์ ์กฐํํ ์ ์์ผ๋ฉฐ ์ด ๊ธฐ๋ฅ์ ๊ด๋ฆฌ์์ DBA๋ง ์ฌ์ฉ ํ ์ ์์ต๋๋ค.
์ ์ฒด ์ฌ์ฉ์ ๋ฆฌ์คํธ๊ฐ ํ์๋๋ฉฐ ์ฌ์ฉ์๋ฅผ ๋๋ธํด๋ฆญํ๋ฉด 'Executed SQL Management' ํ๋ฉด์ด ํ์๋ฉ๋๋ค. ์ด ํ๋ฉด์ ์ฌ์ฉ์๊ฐ ์คํํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ค์ ์คํํ ์ ์์ต๋๋ค.