Posted onApril 24, 2017
CommentsLeave a comment
Many people think that the problem of application performance, security and networking lies in supported services. Like Nginx is proxying too slow or remote DBMS cannot see my network. Frequently the problem in OS. Default values of system settings can restrict our environment to make the service jobs quick and simple. The best way to change your system configuration – change the system variables.
In first steps young DBA can greedily soak up all kinds of database knowledges: as RDBMS as NoSQL. We’re realising things like how table index works, how to optimize memory caching, write triggers and procedurs etc.. But we still can forget a simple command to create user or show tables list. Also we can get stuck when switching from MySQL to PostgreSQL or whatever else, cause command syntax is different.
File ~/.bashrc is a simple configuration of Linux user where user can describe all shell instructions necessary for each session. It’s a frequent practice to leave useful command at this file, but aliases and functions looks much more suitable for this configuration file.