-
Notifications
You must be signed in to change notification settings - Fork 148
RDB User Guide ID
Selamat datang di Tadpole! Ini adalah web-based DB Query tool. Anda dapat menghubungkan berbagai DB di web browser dan dapat mengontrol fungsi untuk setiap pengguna (user atau admin atau dba dan sebagainya). Tujuannya adalah HUB DB untuk semua 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(adi.tadpole@gmail.com)
Sekarang kami mendukung - Amazon RDS, CUBRID, MariaDB, Oracle, MySQL, MsSQL, PostgreSQL, SQLite, MongoDB. Tadpole memungkinkan Anda kreatif fokus pada proyek Anda dengan hanya jumlah pekerjaan yang dibutuhkan untuk tugas yang diberikan.
Daftar yang telah diuji
- 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 ~
Penjelasan untuk RDBMS.
- Instalasi
- Login
- The whole view of Tadpole
- Toolbar
- Daftar database
- Object Explorer
- SQL Editor
- ERD
- Environment
- Penambahan pengguna baru
- Table Data Editor
- Procedure command window
- Daftar session
- Manajemen pengguna
- Eksekusi manajemen SQL
- JAVA 1.6.x(Mac 1.7.x)
- Linux, Mac, Windows, Tomcat 6.x (Jika Anda ingin menggunakan OS lain, silahkan hubungi saya: adi.tadpole@gmail.com)
- Unduh - https://code.google.com/p/tadpole-for-db-tools/downloads/list
- Referensi lainnya : https://github.com/hangum/TadpoleForDBTools/issues?direction=desc&sort=created&state=open
- Jalankan TadpoleDBHub-1.x.x\tadpole-standalone.exe
- Setelah menginstal, secara otomatis menjalankan browser web (Atau Anda dapat menginstal TadpoleForDBToolsStartup dengan klik ganda). Ini akan terjadi pada Anda ketika Anda pertama kali memulai bahwa Anda tidak dapat menemukan halaman. Jangan panik. Mari kita klik F5 (Segarkan).
- Buka browser web dan mulai 'http://127.0.0.1:10081/tadpole' ps) Tadpole DB adalah TadpoleDBHub-1.x.x/configuration/tadpole/db/tadpole-system.db. Silahkan install versi baru dan cadangkan.
- Apakah Tadpole sudah pernah diinstal sebelumnya? Baiklah. Mohon backup file
apache-tomcat-6.x.x/work/Catalina/localhost/tadpole/eclipse/configuration/tadpole/db/tadpole-system.db
, lalu hapus direktoriapache-tomcat-6.x.x/work
. - Ubahlah nama
war
menjaditadpole.war
dariTadpoleDBHub1.x.x-tadpole.war
. - File
WAR
harus terletak di direktori webapp. Dan Tomcat harus terinstal dan berjalan. - Jika context root adalah tadpole, bukalah http://127.0.0.1:8080/tadpole/tadpole pada web-browser.
- Untuk upgrade, salinlah ke tadpole-system.db dari file backup (number1. apache-tomcat-6.x.x/work/Catalina/localhost/tadpole/eclipse/configuration/tadpole/db/tadpole-system.db) pada direktori yang sama.
- Test mode window.
- Tadpole mampunyai Admin, Manajer, Pengguna(Developer). First DEFAULT USER made.
- Mari login sebagai seorang Admin(adi.tadpole@gmail.com/admin), Manajer(manager.tadpole@gmail.com/manager), Pengguna(guest.tadpole@gmail.com/guest).
- Jika anda ingin mencoba test mode, anda tidak membutuhkan ALAMAT EMAIL, PASSWORD. Kami mendukung 'admin login/user login' untuk test mode.
- Menambahkan pengguna baru : (https://github.com/hangum/TadpoleForDBTools/wiki/RDB-User-Guide-Eng#create-a-new-user)
- Toolbar(https://github.com/hangum/TadpoleForDBTools/wiki/RDB-User-Guide-Eng#toolbar) : 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-Eng#database-list) : New create DB, delete, shared user's data.
- Object Explorer(https://github.com/hangum/TadpoleForDBTools/wiki/RDB-User-Guide-Eng#object-explorer) : Show the Object(Table, View)' list of select to the Database List.
- Main UI(https://github.com/hangum/TadpoleForDBTools/wiki/RDB-User-Guide-Eng#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 user 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 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. 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 : You are able to add a new admin user directly to the database. Then generate user can SELECT in the SQL Editor, we are marked to edit frame red color.
- 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.
- Execute after the confirmation message except SELECT : It must execute after the confirmation message except SELECT in SQL Editor.
- 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..
Warning) SQLite database file to be worked on as an absolute path of your hdd executed Tadpole DB Hub. It is not local path connected user as "C:\TEMP\SQLite.DB".
If you add DB in the 'Database List', display in the group. And open SQL Editor of DB.
- Display 'DB icon [D] create name (account information)'.
- First : DB list
- [D] : acronym of Developer Server. Production Server is [P], Others Server is [O].
- Input name to create window.
- Added account DB information. (Normal user can't see).
- If you select DB, display Object(For example, Managing selected Tables of DB, Views, Indexes, Procedures, Functions, Trigger) to 'Object exeplore'.
- If you double-click DB, open SQL Editor.
- If you select DB, and right-click display
<2013.08.25.23:24 시작.>
If it is a SELECT DB after, right-click on this mouse, display action for execute as user permission.
- Refresh : Search again from the 'Database List' for the newest.
- SQL query window : open SQL Editor - Administer -> Session List : Display Session List of DB.
- Administer -> Delete Database : Remove DB. Notice! DROP database drops all tables in the database and deletes the database and connected DB information.
- ERD -> All Table ERD : Display relationship by referential integrity.
- ERD -> Create ERD : Display window to draw ERD, drag and drop tables to 'Object Explore'.
- Create DML : Display CREATE TABLE, VIEW, Index, Procedure, Function, Trigger template in the SQL Editor.
If database selected in the Database List, display Table, View, Indexes, Procedures, Functions, Triggers information of Object Explorer'.(Display current running objects)
Explain table based and same the other object(Views, Indexes, Procedures..).
- Search table name.
- Input Object name and command enter.
- Don't care upper case and lower case.
- Display table name, description. Display column list of ③, when you click the table name.
- Double click Table name -> display select query in SQL Editor.
- Display comments on table name Table to mouseover event.
- You can modify comment in grid windows for Oracle, MSSQL DB.
- Display column of table information selected ②.
- You can modify comment in grid windows for Oracle, MSSQL DB.
- There is Procedure run button in Procedure. [Next]
Select Table > Right-click and select Create > Here is the functions. (It is different as permission.)
- Create Table : Create to SQL Editor what create table query in template.
- Drop Table : Drop the table.
- Refresh Table : Refresh Table List.
- Generate Sample Data : Display dialog generate sample data selected table to Oracle.
- Generate Statement : Select : Display selected select query of table in SQL Editor.
- Generate Statement : Insert : Display selected insert query of table in SQL Editor.
- Generate Statement : Update : Display selected update query of table in SQL Editor.
- Generate Statement : Delete : Display selected delete query of table in SQL Editor..
- View DDL : Display selected DDL table in SQL Editor.
- Table Data Editor : Display data to grid for modify data of table.
SQL Editor is a database query editor window. Double click the database in the 'Database List' Manager or double click the table in the 'Object explore', or execute template, then you can use SQL Editor. The semicolon(;) as a separator of all query in the SQL Editor. If you create Procedure, input multi line semicolon(;). Then it is not a valid rules. Ok I will solve the problem. You can execute drag block. If you click 'Ctrl + Space(Mac : Command + Space)'in the SQL Editor, display table list. Then you can write sql statement at all.
-
SQL Toolbar : Quick collection shortcuts of number 2.
-
Toolbar
- Display DB information connected to SQL Editor .
- Execute : The shell command execute in the query editor. If there is select the block with mouse in the query editor, execute the block query statement and display the result in the query editor.
- Execute ALL : Displaying about executes all SQL statements in the query editor.
- Execute Plan : Displaying about describes the SQL statements EXPLAIN PLAN, and explains how to interpret its output.
- Format SQL : Sorting SQL statements formatter/beautifier.
- SQL to Application : Converting SQL statements to Java or PHP.
- Download SQL : Downloding SQL statements to local file.
- Auto Commit : Execute to Auto-Commit mode for DDL.
- Commit : Disabled AutoCommit. And if you used to disabled auto-commit mode, commit executed query in DB.
- Rollback : Disabled AutoCommit. And if you used to disabled auto-commit mode, rollback executed query in DB.
- Display help in the editor.
- Query editor : Executing DML, DDL statements.
- Input executed sql statements and append such a semicolon at the end. There is no each SQL command with a semicolon, it will consider the execution of a SQL statement.
- Execute drag and drop the blocks you need from the sql statements, it will consider the execution of a SQL statement. And create Procedure too. You can use the middle query you executed for test.
- Supported shortcut to SQL Editor
- Windows, Linux : Ctrl key, Mac : Command key.(Explain about windows)
- Which displays a list of all the keyboard shortcut like eclipse -> Ctrl + Shift + l
- Save: Ctrl + S
- Execute SQL statements: Ctrl + enter, F5
- Optimizer: Ctrl + E
- Sort query : Ctrl + Shift + F
- Move current selection: Ctrl + H
- Convert lowercase to blocking : Ctrl + Shift + Y
- Convert uppercase to blocking : Ctrl + Shift + X
- Displays a list of all the keyboard shortcut combinations : Ctrl + Shift + L
- Delete all : F7
- Selects all : Ctrl + A
- Move to selected line in the editor : Ctrl + L
- Copy to user blocking : Ctrl + C
- Press Ctrl-C to paste : Ctrl + V
- View table list : Ctrl + Space
- Delete from cursor to end of line : Ctrl + D
- Result SQL
- Result SQL : Display result SQL. If you double-click column of result table, display the data to pop-up. If you click Export CSV Data button, downloading data to user's computer. Here the picture. If you are in an input to 'city=r', searching include 'r' in city column. If you are not in an input anything, searching all columns.
- Executed sql statements : Display current executing query and query information. If you click import SQL or double-click query, insert sql statements to SQL Editor. 'View detail' is viewing query in dialog. 'Export' is save SQL statements to local file. 'Delete' is deleted sql statements. 'Refresh' button search and get executed all query statements.
- Message : Display error message when you run a query. Export data or double-click, you can see more detail.
ERD select a database in the 'Database List' and select the ERD of toolbar , after select database, click the right-button and you can execute.
- All Table ERD : Arrange all tables of the database in the ERD editor
- Create ERD Diagram : To open a ERD editor for ERD arrange user only wants tables Drag & drop SQL editer after select mouse on Tables of 'Object Explorer' what users wants tables.
Table auto sort option : Open a popup window after a button right-click in the editor and click 'Tree Auto Layout'. So sorting user of user lists in a visually readable format.
- General tab : Input separator when you try to Session and Export.
- MongoDB tab : Setting the default limit count and max count information.
- RDB tab : Setting the select limit value and page count value.
- User tab : Change user password.
- Click the New button in the login page.
Users must register as a group member.
- User type : Manager : Create user groups. Get a manager of the permissions. Manager can Create / Remove DB and User. Share what's new member in groups, db and user sql statements, ERD and so on. You don't have permission to access to system before confirm administrator.(If test mode in the system, you have created an automatic approval.)
- User type : DBA : DBA User in groups. DBA can create, remove and at all.
- User type : User : Create a user. Limit part functions.
If all user can use and connect, you need your parent permission to access.
- If you have primary key, you can edit.
- where : select table again to db.
- filter : filtering only current window.
- Data edit : click column and after change to edit mode from view mode.
- Data save : finished edit data, click save button.
- Oracle, MariaDB, MySQL, MSSQL can execute Procedure.
- Blue icon is successed, yellow icon is failed or syntax error or dependent errors in the Procedure. Then you can debug object error and after compile to user View DDL function.
- Display execte window double click or click pop-up 'Execute Procedure'
- MariaDB, MySQL can see Session List
Session List is displayed Session list executed in the DB. And you can close Long time to execute or shutdown query.
- Collection shortcuts of Session List.
- Display current sql statements.
- If you select query of number ②, display SQL statements executed query.
User list of group, manage db list and add a user, change stop use. Or select executed query list of user, but only administrator and DBA can be use.
Display all user list, if you click user, display 'Executed SQL Management'. This is executed previously is executed again on the viewer.
You will search job history, and if you double click to the history, copy to SQL Editor. Then you can test the job.