PostgreSQL Database Support Engineer - AMERICAS (Remote)
Technical supportPosted over 2 months agofrom Percona's own hiring page
- Work type
- On-siteToronto, Vancouver
- Experience
- Not stated
- Pay
- Not listedUsually C$66k a yearTechnical support, median, all levels, in Canada (Payscale)
- Posted
- Over 2 months agoOpen over a year
Skills it mentions
Add your skills to see which ones you have.
About the job
Percona Support is a global, elite team of engineers who love getting to the bottom of weird and interesting database behaviour. We understand our customers’ business needs and the nuances of their technical environments. This allows us to help our customers see the big picture and identify opportunities to improve their overall database infrastructures.
*THIS ROLE IS BASED IN THE AMERICAS TIME ZONE*
What you’ll be doing…
You’ll be teaming with some of the most well-known database experts in the industry who are even better teammates, friends and mentors. You’ll have the opportunity to develop your own skills and become more powerful than you can possibly imagine…. with databases.
This is not a boring, entry-level role where you’ll just be triaging the boring and monotonous.
Your main responsibility will be helping our customers’ DBA teams when they need expert assistance. You’ll do that by gathering relevant data and investigating issues to provide a detailed analysis of your findings in a digestible format by email, instant message or voice. For more serious and production-impacting issues, you’ll perform screen-sharing sessions to help them quickly navigate and resolve issues.
When you’re not fixing things, you’ll be authoring new blog posts on interesting topics for our open-source community to digest, answering questions on our forum, creating new articles in our customer-facing knowledge base for more frequently seen issues, and hosting webinars amongst other things.
This is a remote role, so you can be located anywhere in the world. All you need is a decent, stable internet connection.
What Have You Done:
Good hands-on knowledge of PostgreSQL, PostgreSQL Provided tools and Contribution modules
Be a skilled with some of the PostgreSQL ecosystem of tools and technologies
Knowledgeable about performance tuning, query optimization, & index tuning
Know-how of backup solutions such as pg base backup, pgBackRest and WAL-G, etc, and also the Point-in-Time-Recovery
Some experience with high availability solutions (replication, routers, proxies, etc)
Exposure and practice with zero-downtime procedures
Good understanding of monitoring requirements
Demonstrable experience of administering Linux based systems
Ability to troubleshoot methodically, identifying and applying fixes for known errors, and when necessary, capacity to think outside of the box to resolve complex issues
Self-taught and enthused to grow your skill set with new technologies as the industry continues to evolve
Availability to travel for the occasional team meeting, conference or customer visit
Experience working with customers in English
Very desirable to have related Kubernetes knowledge
What Would Make You Stand Out:
MySQL knowledge
Experience working in SLA-bound operations
OpenSource Community contributions (could be a blog)
Good practice with working over screen-sharing/phone
Patroni / Repmgr / Stolon
Cloud Services such as AWS and RDS, Azure, GCP
Percona Monitoring & Management (PMM) and other monitoring tools
Configuration management solutions such as Ansible, Puppet or Chef
Good grasp of ANSI SQL 92 to 2016 and ability to write/rewrite SQL statements involving Window functions and recursive CTEs
Indexing methods including Full-Text Indexing
Contrib Modules of PostgreSQL
Most popular extensions - pg_repack, pg_partman, pg_audit etc
Foreign Data Wrappers of PostgreSQL (postgres_fdw, oracle_fdw, tde_fdw, file_fdw etc)
Advanced Linux troubleshooting tools (gdb, perf, strace, bpftrace, tcpdump, etc)
Experience programming in C
<!--WEB-ONLY-->
Why Percona?
At Percona, we believe an open world is a better world. Our mission is to enable everyone to innovate freely, by providing the best open source database software, support, and services. We make databases and applications run better through a unique combination of expertise and open source software built with the community for you. Our technical teams are experts in MySQL, MongoDB, PostgreSQL, and MariaDB.
Percona is proud to be a remote-only and globally dispersed workforce – we have colleagues in more than 50 countries! We offer a collaborative, highly-engaged culture where your ideas are welcome and your voice is heard.
Our staff receives generous benefits including flexible work hours and various paid time off programs, all your equipment for your remote office, funds for career development (external training, certifications, conferences), ongoing connectivity allowances, and the opportunity to participate in our equity incentive plan. We also have benefits that support a healthy work/life balance such as The Percona Adventure Team, Work-from-Anywhere, FlowDays, FryDays, and overall flexibility. We also support being socially responsible through our PAVE volunteering program and Women Transforming Technology.
If you love the idea of working with a high-growth tech company that is one of the best in the business and known globally as a leader in the open-source database space, let’s talk!
Connect with us and stay up to date on our latest news and developments by following us on LinkedIn and Twitter. We look forward to connecting with you!
1 more opening for this job
Percona posts this job once per place or skill set. Pick the one that fits you.
Interested?PostgreSQL Database Support Engineer - AMERICAS (Remote) at Percona
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on PostgreSQL, MySQL, Ansible and 7 more
Interview questions for this job
For the skills the ad mentions: PostgreSQL, MySQL, Ansible, Linux, SQL, Kubernetes, AWS, Azure, Google Cloud and MongoDB.
What is a valid use case for using TIMESTAMP WITHOUT TIME ZONE?PostgreSQL
This is stated in a lot of places, but I think it worth mentioning always when we compare the
timestamp with time zonewithtimestamp without time zonetypes: thetimestamp WITH time zonedoes not store the time zone information along with the timestamp. What it does is to store every data in UTC time zone, as stated in the docs:For timestamp with time zone, the internally stored value is always in UTC (Universal Coordinated Time, traditionally known as Greenwich Mean Time, GMT). An input value that has an explicit time zone specified is converted to UTC using the appropriate offset for that time zone. If no time zone is stated in the input string, then it is assumed to be in the time zone indicated by the system's TimeZone parameter, and is converted to UTC using the offset for the timezone zone.
It is considered valid for some to use
timestamp WITHOUT time zonein situations where (1) everything is in the same timezone or (2) the application layer handles the time zone and just store everything in a certain time zone (usually UTC). But it is also considered an anti-pattern, simple because the correct solution for (1) is to configure the TimeZone setting to the given one timezone for the system and (2) is already solved, as PostgreSQL already stores everything on the same timezone (UTC).Now, with those two down, I can came with only one good reason to use
timestamp WITHOUT time zone. That is when you want to store events in the future and that some kind of alert must be triggered when we got to that time. That could be good fortimestamp WITH time zoneif, and only if, the rules defined by region's laws about time zone didn't ever change. The most common rule that changes is about the adoption or not of day light saving time (DST).For example, imagine that you are at, let's say,
2013-06-15(not yet in DST) schedule some event to happen at2013-01-15 10:00(which would be already in DST), and at2013-06-15your region was designated to adopt DST; but, some time after that, the government changed the rule and say your region will no longer use DST, and suddenly your scheduled time becomes2013-01-15 11:00(instead of10:00), that if you usetimestamp WITH time zone, and keep your TZ configurations up-to-date. Of course you may also notice that it is possible to treat such cases also with time zone, if you keep track of the rule changes in the regions/timezones of your interest, and update the affected records.Worth mentioning that some regions does often change these rules (like at Brazil, some states - not the entire country - often change), but in most cases it changes it very earlier, so your users would be affected only by events scheduled very far from the current time.
With all that said, I only have one more suggestion. If you do have users, logs, or anything on different timezones, store the timezone they are coming from somewhere and choose and use
timestamp with time zone. That way you can (1) cross events happening closer to each other for different sources (independent of their timezones) and (2) show the original time (the clock time) the event has happened.From Database Administrators Stack Exchange: asked by Marcus Junius Brutus, answered by MatheusOl (CC BY-SA 3.0)
Difference between On Delete Cascade & On Update Cascade in mysqlMySQL
A very good thread on this subject is to be found here and also here. The definitive guide for MySQL is, of course, the documentation, to be found here.
In the SQL 2003 standard there are 5 different referential actions:
- CASCADE
- RESTRICT
- NO ACTION
- SET NULL
- SET DEFAULT
To answer the question:
CASCADE
ON DELETE CASCADEmeans that if the parent record is deleted, any child records are also deleted. This is not a good idea in my opinion. You should keep track of all data that's ever been in a database, although this can be done usingTRIGGERs. (However, see caveat in comments below).ON UPDATE CASCADEmeans that if the parent primary key is changed, the child value will also change to reflect that. Again in my opinion, not a great idea. If you're changingPRIMARY KEYs with any regularity (or even at all!), there is something wrong with your design. Again, see comments.ON UPDATE CASCADE ON DELETE CASCADEmeans that if youUPDATEORDELETEthe parent, the change is cascaded to the child. This is the equivalent ofANDing the outcomes of first two statements.
RESTRICT
RESTRICTmeans that any attempt to delete and/or update the parent will fail throwing an error. This is the default behaviour in the event that a referential action is not explicitly specified.For an
ON DELETEorON UPDATEthat is not specified, the default action is always RESTRICT`.
NO ACTION
NO ACTION: From the manual. A keyword from standard SQL. In MySQL, equivalent toRESTRICT. The MySQL Server rejects the delete or update operation for the parent table if there is a related foreign key value in the referenced table. Some database systems have deferred checks, andNO ACTIONis a deferred check. In MySQL, foreign key constraints are checked immediately, soNO ACTIONis the same asRESTRICT.
SET NULL
SET NULL- again from the manual. Delete or update the row from the parent table, and set the foreign key column or columns in the child table toNULL. This is not the best of ideas IMHO, primarily because there is no way of "time-travelling" - i.e. looking back into the child tables and associating records withNULLs with the relevant parent record - eitherCASCADEor useTRIGGERs to populate logging tables to track changes (but, see comments).
SET DEFAULT
SET DEFAULT. Yet another (potentially very useful) part of the SQL standard that MySQL hasn't bothered implementing! Allows the developer to specify a value to which to set the foreign key column(s) on an UPDATE or a DELETE. InnoDB and NDB will reject table definitions with aSET DEFAULTclause.
As mentioned above, you should spend some time looking at the documentation, here.
From Database Administrators Stack Exchange: asked by Smokey, answered by Vérace (CC BY-SA 3.0)
Ansible Playbooks vs RolesAnsible
Playbook vs Role vs [databases] and similar entries in /etc/ansible/hosts
[databases]is a single name for a group of hosts. It allows you to reference multiple hosts by a single name.Role is a set of tasks and additional files to configure host to serve for a certain role.
Playbook is a mapping between hosts and roles.
Example from documentation describes example project. It contains two things:
- Playbooks.
site.yml,webservers.yml,fooservers.ymlare playbooks. - Roles:
roles/common/androles/webservers/contain definitions ofcommonandwebserversroles accordingly.
Inside playbook (
webservers.yml) you have something like:--- - hosts: webservers <- this group of hosts defined in /etc/ansible/hosts, databases and mail_servers in example from your question roles: <- this is list of roles to assign to these hosts - common - webserversIf Playbooks are defined inside of YAML files, then where are Roles defined?
They are defined inside
roles/*directories. Roles are defined mostly using YAML files, but can also contain resources of any types (files/,templates/). According to documentation role definition is structured this way:- If roles/x/tasks/main.yml exists, tasks listed therein will be added to the play
- If roles/x/handlers/main.yml exists, handlers listed therein will be added to the play
- If roles/x/vars/main.yml exists, variables listed therein will be added to the play
- If roles/x/meta/main.yml exists, any role dependencies listed therein will be added to the list of roles (1.3 and later)
- Any copy tasks can reference files in roles/x/files/ without having to path them relatively or absolutely
- Any script tasks can reference scripts in roles/x/files/ without having to path them relatively or absolutely
- Any template tasks can reference files in roles/x/templates/ without having to path them relatively or absolutely
- Any include tasks can reference files in roles/x/tasks/ without having to path them relatively or absolutely
The most important file is
roles/x/tasks/main.yml, here you define tasks, which will be executed, when role is executed.Aside from the ansible.cfg living on the Ansible server, how do I add/configure Ansible with available Playbooks/Roles? For instance, when I run ansible-playbook someplaybook.yaml, how does Ansible know where to find that playbook?
$ ansible-playbook someplaybook.yamlWill look for a playbook inside current directory.
$ ansible-playbook somedir/somedir/someplaybook.yamlWill look for a playbook inside
somedir/somedir/directory.It's your responsibility to put your project with all playbooks and roles on server. Ansible has nothing to do with that.
From Stack Overflow: asked by smeeb, answered by Yaroslav Admin (CC BY-SA 4.0)
- Playbooks.
How to recursively change permissions for all directories except files and for all files except directories?LinuxBasic
To change all the directories e.g. to 755 (
drwxr-xr-x):find /opt/data -type d -exec chmod 755 {} \;To change all the files e.g. to 644 (
-rw-r--r--):find /opt/data -type f -exec chmod 644 {} \;Useful resources:
From Test your Sysadmin Skills (MIT)
Round up to the nearest integer?SQL
CEILING()orCEIL():SELECT CEIL(25.01); -- 26 SELECT FLOOR(25.99); -- 25 SELECT ROUND(25.5); -- 26From Cracking the SQL Interview (MIT)
Have you ever failed at a task?Behavioural
Employers usually base questions on jobs you have done in the past. This gives you the chance to talk about your experience. For instance, they might ask:
- when have you faced a challenging situation?
- can you tell us about a personal achievement at work?
- have you ever taken the initiative?
- have you ever failed at a task?
Your answers should reflect the skills the employer wants. Be positive and tailor your examples to the job description.
If you don't have much work history, you can use examples from outside of work. You can also use examples from volunteering experience.
Use the STAR method to help structure your answers.From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Senior Application Support AnalystRoyal Bank of Canada, Vancouver, on-site4 days ago
- Guidewire Developer (Support Engineer)Gore Mutual Insurance, Toronto, on-site4 days ago
- Sr Support Engineer 1 (Supply Chain Planning)Blue Yonder, Toronto, Montréal +1, on-site12 days ago
- Product Support Specialist - Future OpportunitiesJobber, Remote, Toronto +12 weeks ago
More like this: Jobs in Toronto (1,712) and Technical support jobs in Canada (42)



