[how to] How often does the Impala StateStore refresh? |
- How often does the Impala StateStore refresh?
- sql server-mirroring 3 sql server
- How to determine when to reduce physical memory for SQL Server?
- What exactly is notarization in an Oracle database? [on hold]
- MongoDB GUI written on Node.js
- what are the ways to use SYSDATE and timestamp pattern? [on hold]
- I an not able to fetch a record based on a condition [on hold]
- Does a re-index update statistics?
- How to make Postgres autovacuum not impact performance?
- ORA-21780: Maximum number of object durations exceeded
- Targeting MSX with job on Multi-Server Administration
- FileWatcher Troubleshooting Options
- restrict user host settings to socket connection only
- Unable to create a new listener in oracle 11g
- Grant access to a table to all users
- Performance difference between MySQL and PostgreSQL for the same schema/queries
- Should I keep pg_xlog on the same disk as data if using disk snapshotting?
- mysql second slave not syncing while first slave works fine
- How does MySQL determine the 'index first key' and 'index last key' with indexes?
- Viewing MySQL Account Resource Limits
- heroku pg:info shows 0 tables
- When using a master plus multiple slaves, how do I change over from one server to a brand new one with minimal downtime?
- Does pt-table-checksum point out rows that are different between Master and Slave?
How often does the Impala StateStore refresh? Posted: 31 Aug 2013 03:41 PM PDT I am using Hive and Impala on the same cluster. I find that when I create new tables, the Impala StateStore does not refresh automatically even after a few hours. I know that I can accomplish this by running " |
sql server-mirroring 3 sql server Posted: 31 Aug 2013 07:36 PM PDT we are developing an application for a company and this company has 3 branches, we design a SQL server for our application we can put this server in one of the branches but as the connection between these branches is over internet and this connection can be lost some times but the SQL server availability is vital so we decided to mirror the server in each branch, I need a simple solution for how should i config these servers to be mirror of each other with the same privilege to do changes in DBs, all we want to do is configuring 3 SQL server exactly with the same data. we read about merge replication but we want a simpler solution because our scenario is not really enterprise. |
How to determine when to reduce physical memory for SQL Server? Posted: 31 Aug 2013 06:38 AM PDT If I repeatedly notice SQL Server reporting a lot of free memory, can I likely remove about that amount of memory from the server without affecting performance? Or, can/should it use more for caching? For this particular example, the server is running SQL Server 2012 Standard Edition on Windows Server 2012. It has 20 GB of physical memory and hosts over 100 GB of data. SQL Server is the only application running on the server. SQLServer;Buffer Manager Buffer cache hit ratio 99.737 % Page life expectancy 874 s SQLServer:Memory Manager Database Cache Memory 6,744 MB Free Memory 5,937 MB Optimizer Memory 5 MB SQL Cache Memory 29 MB Target Server Memory 19,015 MB Total Server Memory 18,407 MB |
What exactly is notarization in an Oracle database? [on hold] Posted: 31 Aug 2013 10:47 AM PDT Recently, I was reading this article that talks about how SSL (Secure Socket Layer) can be applied to an Oracle database. Sometimes one of the requirements for obtaining a certification authority involves notarization of the certificate request form. I wanted to know what exactly notarization is, and how can it be applied to a database in general. |
MongoDB GUI written on Node.js Posted: 31 Aug 2013 04:30 AM PDT Maybe I doubt it - but more than a third instance of MongoDB working with Node.js. I read on official site about Admin UIs, answers on stackoverflow and haven't found GUI's @ Node.js. Why should I install this hateful PHP for RockMongo or plating with django and Fang of Mongo - there is really no MongoDB Admin UI's on Node.js |
what are the ways to use SYSDATE and timestamp pattern? [on hold] Posted: 31 Aug 2013 04:22 AM PDT what are the ways to use SYSDATE and timestamp pattern? I would like to know the importance of sysdate and timestamp in the database query language. Database experts kindly help me also as beginner to SQL which website I can refer and what topics I need to cover. |
I an not able to fetch a record based on a condition [on hold] Posted: 31 Aug 2013 06:03 AM PDT I have a table with these records: I want to transform it into another table like this: In the above up to the 4th record I can handle a loop and do the same, but I am not able to do the 5th record. Best Code I have Got in this they are clearing the Record : |
Does a re-index update statistics? Posted: 31 Aug 2013 05:28 AM PDT I've been doing the MS10775A course this past week and one question that came up that the trainer couldn't answer reliably is:
We found discussions online arguing both that it does and that it doesn't. |
How to make Postgres autovacuum not impact performance? Posted: 31 Aug 2013 07:11 PM PDT I am running into problems where Postgres autovacuum processes are interfering with the overall performance of my database. It is making my select, insert, and update queries slower than usual. What are some settings, and optimization strategies that will make autovacuum have less of an impact on my database performance? Is there a way to make it not consume as much memory/CPU so that client queries can run more efficiently? |
ORA-21780: Maximum number of object durations exceeded Posted: 31 Aug 2013 06:23 AM PDT I am getting this error when records are streamed over to another database Please advise. |
Targeting MSX with job on Multi-Server Administration Posted: 31 Aug 2013 02:17 PM PDT I am using Multi-Server Administration to execute jobs on multiple targets. This works well, but I am not able to enlist the master as a target. I receive the following error when attempting to enlist the MSX as a TSX:
I would think that running these same jobs on the master would not require managing a local job as well as the multi-server jobs. Any help is appreciated. |
FileWatcher Troubleshooting Options Posted: 31 Aug 2013 11:17 AM PDT I have setup a Credential/Procedure/Program/File Watcher/Job to monitor a folder for new files, but it is not working. I am trying to figure out what I can check to troubleshoot why this isn't working. After scaling back the code to a bare minimum, here are somethings I have already done.
Could someone explain what I am doing wrong or give me a way to troubleshoot this further? Here is my test code: |
restrict user host settings to socket connection only Posted: 31 Aug 2013 01:17 PM PDT Is there a way to restrict a user's host setting so that (s)he can only connect by socket and not TCP/IP? I'd like to have this setting for the root account. edit: As Abdul Manaf pointed out |
Unable to create a new listener in oracle 11g Posted: 31 Aug 2013 03:17 PM PDT In net manager i get an error message "A valid logfile is required" when i click on listener and choose '+' button. and then it keeps on giving me that error when i click on any other tab or button in net manager. |
Grant access to a table to all users Posted: 31 Aug 2013 10:17 AM PDT Is it possible to assign a grant to a table for all users, or a default permission so that when new users are created they will have the specific grants for that table to |
Performance difference between MySQL and PostgreSQL for the same schema/queries Posted: 31 Aug 2013 07:14 PM PDT I'm a newbie DBA, and I have experience in Microsoft SQL Server but I want to jump to FLOSS. I'm starting a company, and we develop an app (PHP) with a Postgres backend, and we did some tests comparing with MySQL too. We observe that MySQL is twice as fast as PostgreSQL. I did a tangible performance test:
What am I doing wrong? P.S: I read many "howtos" on performance tuning for database engines. Hi Mat! I did the three common select (and hardest) queries. The question about disk, certainly it's not the same; In Postgres it's a SSD (almost three time fastest). MySQL cache data: I don't know how to view this in PostgreSQL. Thanks in advance. |
Should I keep pg_xlog on the same disk as data if using disk snapshotting? Posted: 31 Aug 2013 07:22 PM PDT We're running on EBS volumes on EC2. We're interested in leveraging EBS snapshotting for backups. However, does this mean we'd need to ensure our pg_xlog is on the same EBS volume as our data? (I believe) the usual reasoning for separating pg_xlog onto a separate volume is for performance. However, if they are on different volumes, the snapshots may be out of sync. |
mysql second slave not syncing while first slave works fine Posted: 30 Aug 2013 10:17 PM PDT I have a master (m) - slave (s1) setup using mysql 5.1.45 When I try to add a second slave (s2) the slave lags behind and never catches up on the sync. Even after having synced the s2 with the whole system offline and there were (Seconds_Behind_Master = 0) after a few hours the s2 gets out of sync. Strange is that s1 is always on sync. any ideas? iperf results between servers: vmstat for s2 top output on s2 Any ideas? Is there any chance that the Mysql version is the culprit of all this in conjuction with the nearly 5 fold increase in traffic to the master ? If that is the case then why s1 syncs and not s2? Any ideas if 5.6.x solves similar probs ? |
How does MySQL determine the 'index first key' and 'index last key' with indexes? Posted: 31 Aug 2013 12:17 AM PDT In other words, how does MySQL find the result range with indexes on the first step when it's executing a select query? |
Viewing MySQL Account Resource Limits Posted: 31 Aug 2013 03:17 AM PDT Is there any way of viewing an account's remaining resources that are allocated to it? I setup an account that's allowed 7200 queries an hour. At any point, could I then run a query to find out how many remaining queries it's allowed? MySQL must be storing this information somewhere as Is it just not possible to retrieve that information? |
Posted: 31 Aug 2013 08:38 PM PDT My heroku app has dev plan. The app is useable and works and if I use pg:backups to download a backup and view it locally I can see that it has data. However, when I do What's going on? |
Posted: 31 Aug 2013 12:17 AM PDT In my particular case, I'm using Heroku Postgres (repackaged Amazon EC2 instances running PostgreSQL), but platform-agnostic answers are also good! Heroku's instructions describe the process for transfering over a single database (i.e. without slaves):
This all works fine if you have a single database, but what happens when you have slaves? Heroku's docs only say that you'll have to re-create the slaves, without going into further depth. (n.b. Once you've done the process above, you can't immediately create the new slaves. The server needs a few hours before it can be forked/followed.) Now, if your app can handle ditching the slaves entirely, then you can do the following:
But if reducing your server farm to just a single server is going to cause the app to crash and burn, you need a way to keep your slaves up and running throughout this whole process! My first thought was to create a server C, following B, even while B is still following A. When switching over, B becomes the new master and C the new slave. But, alas, Heroku (and presumably also PostgreSQL) doesn't support followers-following-followers. QUESTION: How do you change over from one whole master/slave set to another set? How do you change over your master without having to run without slaves for an extended period of time? And just in case it's note clear: I'm not asking about failing over to an existing slave. I want to upgrade all of the servers to a different-sized EC2 instance. And I want to maintain my master/slave setup throughout the process. |
Does pt-table-checksum point out rows that are different between Master and Slave? Posted: 30 Aug 2013 11:17 PM PDT Trying to verify replication integrity of my replica. And I found that I have a simple Master->Slave set up. Have created a sample table with 10 rows on the Master, which has successfully replicated on the Slave. Intentionally on the slave I have changed a column in one of the rows of that table. Executed - And indeed in my Output was - Strangely the DIFF column says 0 which is incorrect. What am I missing here? Percona tool kit version: 2.1.3 |
You are subscribed to email updates from Recent Questions - Database Administrators Stack Exchange To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
No comments:
Post a Comment